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

        mapserver-8.6.6

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

        Current snapshot ยท amd64

        GIS CGI server

        Project homepage: https://www.mapserver.org/

        Description

        MapServer is a system for developing web-based GIS applications. The basic system consists of a CGI program that can be configured to respond to a variety of spatial requests like making maps, scalebars, and point, area and feature queries. Virtually all aspects of an application, from web interface to map appearance can be developed without any programming. This package contains the mapserv CGI program.

        Package information

        Ports path
        geo/mapserver
        Package architecture
        amd64
        Maintainer
        Landry Breuil <landry@openbsd.org>
        Categories
        geo, www, lang/php, lang/python
        Available flavors
        None listed
        Only for architectures
        aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh

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

        Direct dependencies

        Library

        • devel/proj
        • devel/fribidi
        • devel/harfbuzz
        • devel/protobuf-c
        • graphics/cairo
        • geo/gdal
        • geo/geos
        • graphics/giflib
        • www/fcgi

        Runtime

        • www/spawn-fcgi

        Build

        • databases/postgresql,-server
        • devel/swig
        • devel/py-pip
        • devel/py-setuptools
        • lang/php/8.4 php->=8.4,<8.5
        • lang/python/3
        • devel/cmake/core STEM->=4
        • devel/ninja
        OpenBSD README

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

        +-----------------------------------------------------------------------
        | Running mapserver on OpenBSD
        +-----------------------------------------------------------------------
        
        If you plan to use mapserv CGI with a chrooted web server, make sure to
        copy the libs needed by mapserv binary from ${LOCALBASE}/lib, but also
        the projection definitions from libgeotiff and proj packages to the
        chroot:
        
        # mkdir -p ${PREFIX-main}${LOCALBASE}/share/{epsg_csv,proj}
        # cp ${LOCALBASE}/share/epsg_csv/* ${PREFIX-main}${LOCALBASE}/share/epsg_csv
        # cp ${LOCALBASE}/share/proj/* ${PREFIX-main}${LOCALBASE}/share/proj
        
        If you would like to use FastCGI with nginx, use the provided rc.d(8)
        script to start a spawn-fcgi process and add the following lines to you nginx.conf:
        
        	location /cgi-bin/mapserv {
        		fastcgi_pass  unix:run/mapserv.sock;
        		fastcgi_split_path_info		^(/cgi-bin/mapserv)(.*)$; # split path for ogcapi support
        		fastcgi_param SCRIPT_FILENAME	$fastcgi_script_name;
        		fastcgi_param PATH_INFO		$fastcgi_path_info;
        		include fastcgi_params;
        	}
        
        Doing so, make sure /var is mounted with dev option, otherwise spawn-fcgi will
        fail opening /dev/null in the chroot.
        
        Another option is to use sysutils/supervisor to start a FastCGI process
        pool, using this configuration snippet in ${SYSCONFDIR}/supervisord.d/mapserv.ini:
        
        [fcgi-program:mapserv]
        command=/var/www/cgi-bin/mapserv
        socket=unix:///var/www/run/%(program_name)s.sock
        socket_owner=www
        socket_mode=0700
        process_name=%(process_num)02d
        numprocs=5
        user=www
        
        Used by (4 dependency relationships)

        Includes library, runtime, build and test dependencies.

        Package guides

        • Installing and updating packages

        Package details as JSON

        Report a bug