OpenBSD Handbook

    Theme
    • Part I. Install & Configure
      • Introduction to OpenBSD
      • Installing OpenBSD
      • The X Window System
      • Networking on OpenBSD
      • System Configuration
      • OpenBSD Basics
      • Managing Software: Packages and Ports
    • Part II. Daily Operations
      • OpenBSD Desktop Environments
      • Multimedia
      • Printing
      • Linux Compatibility
      • Windows Compatibility
      • Games
    • Part III. System Administration
      • Virtualization
      • Storage and File Systems
      • Updating and Upgrading
      • Localization
      • The OpenBSD Boot Process
      • Security
    • Part IV. Networking & Daemons
      • Services
        • Database
          • MariaDB
          • PostgreSQL
          • Redis
          • memcached
        • Directory
          • YP (NIS)
          • LDAP
        • File
          • NFS
          • Samba
        • FTP Services
          • ftpd
          • ProFTPD
          • vsftpd
          • Pure-FTPd
          • TFTP
        • Mail
          • OpenSMTPD Mail Server
          • Dovecot IMAP and POP3 Server
          • Postfix
          • Exim
          • Rspamd
        • Name
          • Unbound DNS Resolver
          • NSD Authoritative DNS Server
          • BIND DNS Server
        • Networking
          • OpenBGPD
          • rad
          • DHCP on OpenBSD
          • slaacd
        • Web
          • Apache HTTP Server
          • nginx Web Server
          • OpenBSD httpd Web Server
          • relayd Reverse Proxy
        • Logging
          • syslogd
        • Monitoring
          • SNMP
        • Remote Access
          • Audit OpenSSH
          • OpenSSH Server
        • File Synchronization
          • rsync
        • Messaging
          • RabbitMQ Message Broker
        • Time
          • NTP Time Synchronization
      • PF
        • pfctl cheat sheet
        • PF Anchors
        • PF Filter Rules
        • PF Forwarding
        • PF Lists and Macros
        • PF Load Balancing
        • PF Logging
        • PF NAT
        • PF Options
        • PF Policies
        • PF Shortcuts
        • PF Tables
      • Advanced Networking
        • High Availability and State Replication
        • Multi-WAN and Policy-Based Routing
        • VPN and Cryptographic Tunneling
        • Classic and Lightweight Tunnels
        • IPv6 at Scale
        • QoS and Traffic Shaping
        • MPLS and Label Distribution
        • Network Services at Scale
        • Virtualization and Host Networking
        • Large-Scale L2 and L3 Design
        • Telemetry, Logging, and Flow Export
        • Hardening and Operational Safety
        • Reference Architectures
        • Troubleshooting Playbooks
      • Serial Communication
    • Part V. Miscellaneous
      • Virtualization Cheat Sheet
      • OpenBSD Cheatsheet
      • How-to Guides
        • Complete the First 30 Minutes After Installation
        • Check Hardware Compatibility Before Installing
        • Bootstrap Wi-Fi Firmware Without Ethernet
        • Set Up OpenBSD as a Laptop or Workstation
        • Configure Laptop Power Management
        • Run OpenBSD as a Virtual Machine Guest
        • Install OpenBSD on a VPS or Cloud Server
        • Install OpenBSD with Full-Disk Encryption
        • Troubleshoot Web Browsers on OpenBSD
        • Create an Administrator Account with doas and SSH Keys
        • Establish a Conservative Security Baseline
        • Manage OpenBSD with Ansible
        • Recover Access and Reset the Root Password
        • Collect OpenBSD Diagnostic Evidence
        • Configure Secure Remote Access with OpenSSH
        • Set Up WordPress on OpenBSD
        • Build Third-Party Software from Ports
        • Use FIDO Security Keys with OpenSSH
        • Build OpenBSD from Source
        • Configure Wi-Fi Roaming and Wired Failover
        • Dual-Boot OpenBSD on a UEFI System
        • Troubleshoot PF, NAT, and Routing
        • Automate OpenBSD Installation with Autoinstall and PXE
        • Route Multiple VLANs with PF
        • Configure a Road-Warrior WireGuard VPN
        • Troubleshoot Package Installation and Update Failures
        • Route IPv6 Networks without NAT
        • Schedule Recurring Maintenance
        • Plan a Docker Workload Migration to OpenBSD
        • Build a Mail Server with OpenSMTPD, Dovecot, and Rspamd
        • Build a Simple Router and Firewall
        • Monitor an OpenBSD System
        • Back Up and Restore an OpenBSD System
        • Configure softraid RAID1
        • Recover an OpenBSD System That Does Not Boot
        • Install Z shell (zsh)
      • OpenBSD for Linux Users
      • OpenBSD for FreeBSD Users
      • OpenBSD for macOS Users
    • OpenBSD FAQ
    • OpenBSD Architectures
      • OpenBSD Package Search

        p5-Apache-Gallery-1.0.2p5v0

        Package search / Categories / Current snapshot
        โ† Back to search
        OpenBSD branch
        OpenBSD 8.0 releaseCurrent snapshot

        Current snapshot ยท amd64

        mod_perl Apache gallery handler

        Project homepage: http://www.apachegallery.dk/

        Description

        Apache::Gallery creates an thumbnail index of each directory and allows viewing pictures in different resolutions. Pictures are resized on the fly and cached.

        Package information

        Ports path
        www/p5-Apache-Gallery
        Package architecture
        *
        Maintainer
        The OpenBSD ports mailing-list <ports@openbsd.org>
        Categories
        www, perl5
        Available flavors
        None listed

        Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.

        Direct dependencies

        Runtime

        • www/p5-URI
        • graphics/p5-Image-Info
        • graphics/p5-Image-Size STEM->=3.1.1
        • textproc/p5-Text-Template
        • graphics/p5-Image-Imlib2
        • www/ap2-mod_perl
        • www/p5-libapreq2

        Build

        • www/p5-URI
        • graphics/p5-Image-Info
        • graphics/p5-Image-Size STEM->=3.1.1
        • textproc/p5-Text-Template
        • graphics/p5-Image-Imlib2
        • www/ap2-mod_perl
        • www/p5-libapreq2

        Test

        • devel/p5-Test-Pod
        • devel/p5-Test-MockObject
        • www/p5-URI
        • graphics/p5-Image-Info
        • graphics/p5-Image-Size STEM->=3.1.1
        • textproc/p5-Text-Template
        • graphics/p5-Image-Imlib2
        • www/ap2-mod_perl
        • www/p5-libapreq2
        OpenBSD README

        This README contains unresolved ports variables; replace them before using its commands.

        +-----------------------------------------------------------------------
        | Running p5-Apache-Gallery on OpenBSD
        +-----------------------------------------------------------------------
        
        Installing in a chroot
        ======================
        
        In order to make A::G operate in a chrooted environment, it is
        necessary to copy all of the relevant libraries and perl modules
        that it employs into /var/www.
        
        First, create the basic directory structure:
        
        $ cd /var/www
        # mkdir -p tmp usr
        # chown www:www tmp	(needs to be writeable for the www user)
        
        $ cd /var/www/
        # mkdir -p .${LOCALBASE}/lib
        
        $ cd /var/www/usr
        # mkdir -p libdata/perl5 libexec {.,X11R6}/lib
        
        Next, the run-time link-editor:
        
        $ cd /var/www/usr/libexec
        # cp -p /usr/libexec/ld.so .
        
        Next, the required shared libraries:
        
        $ cd /var/www/usr/lib
        # cp -p /usr/lib/lib{c,crypto,m,z,util,perl,ssl,stdc++}.so* .
        
        $ cd /var/www/usr/X11R6/lib
        # cp -p /usr/X11R6/lib/lib{Xext,freetype,X11,Xau,Xdmcp,xcb,pthread-stubs}.so.* .
        
        Next, the Perl base:
        
        $ cd /var/www/usr/libdata
        # cp -pR /usr/libdata/perl5 .
        
        Finally, install p5-Apache-Gallery and all its deps in the chroot
        
        # env PKG_DBDIR=/var/www/var/db/pkg pkg_add -B /var/www p5-Apache-Gallery
        
        Setting up Apache
        =================
        
        To enable gallery you need to edit /var/www/conf/modules.sample/apache-gallery.conf
        to fit your needs then create a symlink like this :
        
        # ln -s ../modules.sample/apache-gallery.conf \
                /var/www/conf/modules
        # /etc/rc.d/apache2 restart
        
        Finally, create a /var/www/htdocs/gallery directory, put your favourite
        pictures inside it, and browse to your.server.tld/gallery.
        

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug