# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	apache24/
#	apache24/Makefile.options.desc
#	apache24/pkg-descr
#	apache24/files
#	apache24/files/patch-support__apxs.in
#	apache24/files/patch-support__log_server_status.in
#	apache24/files/pkg-message.in
#	apache24/files/patch-support__apachectl.in
#	apache24/files/patch-support__envvars-std.in
#	apache24/files/patch-docs__conf__extra__httpd-ssl.conf.in
#	apache24/files/extra-patch-server_buildmark.c
#	apache24/files/patch-modules_ssl_ssl__util__stapling.c
#	apache24/files/patch-configure.in
#	apache24/files/htcacheclean.in
#	apache24/files/patch-docs__conf__extra__httpd-userdir.conf.in
#	apache24/files/patch-support_ab.c
#	apache24/files/pkg-deinstall.in
#	apache24/files/patch-support__Makefile.in
#	apache24/files/patch-docs__conf__httpd.conf.in
#	apache24/files/patch-modules_ssl_ssl__engine__init.c
#	apache24/files/apache24.in
#	apache24/files/patch-modules_http2_h2_conn.c
#	apache24/files/patch-docs__conf__extra__httpd-autoindex.conf.in
#	apache24/files/patch-modules_ssl_mod__ssl.c
#	apache24/files/patch-modules_md_md__crypt.c
#	apache24/files/patch-Makefile.in
#	apache24/files/README_modules.d
#	apache24/files/patch-config.layout
#	apache24/files/pkg-install.in
#	apache24/files/no-accf.conf
#	apache24/files/patch-modules_ssl_ssl__private.h
#	apache24/Makefile.options
#	apache24/Makefile
#	apache24/distinfo
#	apache24/pkg-help
#	apache24/pkg-plist
#	apache24/pkg-message
#
echo c - apache24/
mkdir -p apache24/ > /dev/null 2>&1
echo x - apache24/Makefile.options.desc
sed 's/^X//' >apache24/Makefile.options.desc << '54bfea9963886fea0a88fc5b9faa98e4'
X# $FreeBSD: head/www/apache24/Makefile.options.desc 465461 2018-03-24 18:26:34Z joneum $
X
X# vim: syntax=make ts=8 noet
X# =====================================
X# OPTIONS HEADING
XPROXY_DESC=			Build enabled PROXY modules
XSESSION_DESC=			Build enabled SESSION modules
XDEFAULT_MPM_DESC=		The default MPM module
XSHARED_MPM_DESC=		Build all MPMs as shared Module
XEXAMPLE_DESC=			Example and devel modules (do not use in prod)
X
X# =====================================
X# MPMs
XMPM_SHARED_DESC=		all MPMs as loadable module
XMPM_PREFORK_DESC=		non-threaded, pre-forking web server
XMPM_WORKER_DESC=		hybrid multi-threaded multi-process web server
XMPM_EVENT_DESC=			MPM worker variant with the goal of consuming threads only for connections with active processing
X
X# =====================================
X# additional (no modules)
XIPV4_MAPPED_DESC=		Allow IPv6 sockets to handle IPv4 connections
XLUAJIT_DESC=			LuaJit Support
X
X# =====================================
X# modules
X# DESC from modules/*/config.m4 files
XACCESS_COMPAT_DESC=		mod_access compatibility
XACTIONS_DESC=			Action triggering on requests
XALIAS_DESC=			Mapping of requests to different filesystem parts
XALLOWMETHODS_DESC=		Restrict allowed HTTP methods
XASIS_DESC=			Sends files that contain their own HTTP headers
XAUTHNZ_FCGI_DESC=		FastCGI authorizer-based authentication and authorization
XAUTHNZ_LDAP_DESC=		LDAP based authentication
XAUTHN_ANON_DESC=		Anonymous user authentication control
XAUTHN_CORE_DESC=		Core authentication module
XAUTHN_DBD_DESC=			SQL-based authentication control
XAUTHN_DBM_DESC=			DBM-based authentication control
XAUTHN_FILE_DESC=		File-based authentication control
XAUTHN_SOCACHE_DESC=		Cached authentication control
XAUTHZ_CORE_DESC=		Core authorization provider vector module
XAUTHZ_DBD_DESC=			SQL based authorization and Login/Session support
XAUTHZ_DBM_DESC=			DBM-based authorization control
XAUTHZ_GROUPFILE_DESC=		"require group" authorization control
XAUTHZ_HOST_DESC=		Host-based authorization control
XAUTHZ_OWNER_DESC=		"require file-owner" authorization control
XAUTHZ_USER_DESC=		"require user" authorization control
XAUTH_BASIC_DESC=		Basic authentication
XAUTH_DIGEST_DESC=		RFC2617 Digest authentication
XAUTH_FORM_DESC=			Form authentication
XAUTOINDEX_DESC=			Directory listing
X
XBROTLI_DESC=			Brotli compression support
XBUCKETEER_DESC=			(dev) buckets manipulation filter
XBUFFER_DESC=			Filter Buffering
X
XCACHE_DESC=			Dynamic file caching
XCACHE_DISK_DESC=		Disk caching module
XCACHE_SOCACHE_DESC=		Shared object cacheing module
XCASE_FILTER_DESC=		(dev) example uppercase conversion filter
XCASE_FILTER_IN_DESC=		(dev) example uppercase conversion input filter
XCERN_META_DESC=			CERN-type meta files
XCGID_DESC=			CGI scripts (threaded MPMs)
XCGI_DESC=			CGI scripts (non-threaded MPMs)
XCHARSET_LITE_DESC=		Character set translation. Enabled by default only on EBCDIC systems
X
XDATA_DESC=			RFC2397 data encoder
XDAV_DESC=			WebDAV protocol handling. --enable-dav also enables mod_dav_fs
XDAV_FS_DESC=			DAV provider for the filesystem. --enable-dav also enables mod_dav_fs
XDAV_LOCK_DESC=			DAV provider for generic locking
XDBD_DESC=			Apache DBD Framework
XDEFLATE_DESC=			Deflate transfer encoding support
XDIALUP_DESC=			Rate limits static files to dialup modem speeds
XDIR_DESC=			Directory request handling
XDUMPIO_DESC=			I/O dump filter
X
XECHO_DESC=			(dev) example echo server
XENV_DESC=			Clearing/setting of ENV vars
XEXAMPLE_HOOKS_DESC=		(dev) example hook callback handler module
XEXAMPLE_IPC_DESC=		(dev) example of shared memory and mutex usage
XEXPIRES_DESC=			Expires header control
XEXT_FILTER_DESC=		External filter module
X
XFILE_CACHE_DESC=		File cache
XFILTER_DESC=			Smart Filtering
X
XHEADERS_DESC=			HTTP header control
XHEARTBEAT_DESC=			Generates Heartbeats
XHEARTMONITOR_DESC=		Collects Heartbeats
XHTTP2_DESC=			HTTP/2 (RFC 7540) support
X
XIDENT_DESC=			RFC 1413 ident lookups
XIMAGEMAP_DESC=			Server-side imagemaps
XINCLUDE_DESC=			Server-side includes
XINFO_DESC=			Server information
X
XLBMETHOD_BYBUSYNESS_DESC=	Apache proxy Load balancing by busyness
XLBMETHOD_BYREQUESTS_DESC=	Apache proxy Load balancing by request counting
XLBMETHOD_BYTRAFFIC_DESC=	Apache proxy Load balancing by traffic counting
XLBMETHOD_HEARTBEAT_DESC=	Apache proxy Load balancing from Heartbeats
XLDAP_DESC=			LDAP caching and connection pooling services
XLOGIO_DESC=			Input and output logging
XLOG_CONFIG_DESC=		logging configuration
XLOG_DEBUG_DESC=			Configurable debug logging
XLOG_FORENSIC_DESC=		Forensic logging
XLUA_DESC=			Apache Lua Framework
X
XMACRO_DESC=			Define and use macros in configuration files
XMD_DESC=			Managing domains across virtual hosts, certificate provisioning via the ACME protocol
XMIME_DESC=			Mapp file-ext. to MIME (recommended)
XMIME_MAGIC_DESC=		Automagically determining MIME type
X
XNEGOTIATION_DESC=		Content negotiation
X
XOPTIONAL_FN_EXPORT_DESC=	(dev) example optional function exporter
XOPTIONAL_FN_IMPORT_DESC=	(dev) example optional function importer
XOPTIONAL_HOOK_EXPORT_DESC=	(dev) example optional hook exporter
XOPTIONAL_HOOK_IMPORT_DESC=	(dev) example optional hook importer
X
X#PRIVILEGES_DESC=		Per-virtualhost Unix UserIDs and enhanced security for Solaris
XPROXY_AJP_DESC=			AJP support module for mod_proxy
XPROXY_BALANCER_DESC=		mod_proxy extension for load balancing
XPROXY_CONNECT_DESC=		mod_proxy extension for CONNECT request handling
XPROXY_EXPRESS_DESC=		Dynamic mass reverse proxy extension for mod_proxy
XPROXY_FCGI_DESC=		FastCGI support module for mod_proxy
XPROXY_FDPASS_DESC=		fdpass external process support module for mod_proxy
XPROXY_FTP_DESC=			FTP support module for mod_proxy
XPROXY_HCHECK_DESC=		Dynamic health check of Balancer members (workers) for mod_proxy
XPROXY_HTML_DESC=		Fix HTML Links in a Reverse Proxy
XPROXY_HTTP_DESC=		HTTP support module for mod_proxy
XPROXY_HTTP2_DESC=		HTTP/2 support module for h2 and h2c
XPROXY_SCGI_DESC=		SCGI gateway module for mod_proxy
XPROXY_UWSGI_DESC=		UWSGI gateway module for mod_proxy
XPROXY_WSTUNNEL_DESC=		Websockets Tunnel module for mod_proxy
X
XRATELIMIT_DESC=			Output Bandwidth Limiting
XREFLECTOR_DESC=			Reflect request through the output filter stack
XREMOTEIP_DESC=			Translate header contents to an apparent client remote_ip
XREQTIMEOUT_DESC=		Limit time waiting for request from client
XREQUEST_DESC=			Request Body Filtering
XREWRITE_DESC=			Rule based URL manipulation
X
XSED_DESC=			Filter request and/or response bodies through sed
XSESSION_COOKIE_DESC=		Session cookie module
XSESSION_CRYPTO_DESC=		Session crypto module
XSESSION_DBD_DESC=		Session dbd module
XSETENVIF_DESC=			Modify ENV vars based on characteristics of the request
XSLOTMEM_PLAIN_DESC=		Slotmem provider that uses plain memory
XSLOTMEM_SHM_DESC=		Slotmem provider that uses shared memory
XSOCACHE_DBM_DESC=		dbm small object cache provider
XSOCACHE_DC_DESC=		distcache small object cache provider
XSOCACHE_MEMCACHE_DESC=		memcache small object cache provider
XSOCACHE_SHMCB_DESC=		shmcb small object cache provider
XSPELING_DESC=			Correct common URL misspellings
XSSL_DESC=			SSL/TLS support (mod_ssl)
XSTATUS_DESC=			Process/thread monitoring
XSUBSTITUTE_DESC=		Response content rewrite-like filtering
XSUEXEC_DESC=			Set uid and gid for spawned processes
X
XUNIQUE_ID_DESC=			Per-request unique ids
XUNIXD_DESC=			(required) security for Unix-family platforms
XUSERDIR_DESC=			Mapping of requests to user-specific directories
XUSERTRACK_DESC=			User-session tracking
X
XVERSION_DESC=			Determining httpd version in config files
XVHOST_ALIAS_DESC=		Mass virtual hosting
X
XWATCHDOG_DESC=			Watchdog module
X
XXML2ENC_DESC=			i18n support for markup filters
X
54bfea9963886fea0a88fc5b9faa98e4
echo x - apache24/pkg-descr
sed 's/^X//' >apache24/pkg-descr << 'bcc21dead6151b19cf6ea86979ae0f12'
XThe Apache HTTP Server Project is an effort to develop and maintain an
Xopen-source HTTP server for various modern desktop and server operating
Xsystems, such as UNIX and Windows NT. The goal of this project is to
Xprovide a secure, efficient and extensible server which provides HTTP
Xservices in sync with the current HTTP standards.
XThe 2.x branch of Apache Web Server includes several improvements like
Xthreading, use of APR, native IPv6 and SSL support, and many more.
X
XWWW: http://httpd.apache.org/
bcc21dead6151b19cf6ea86979ae0f12
echo c - apache24/files
mkdir -p apache24/files > /dev/null 2>&1
echo x - apache24/files/patch-support__apxs.in
sed 's/^X//' >apache24/files/patch-support__apxs.in << '5a46a5e8292ca2f9c4ac37c5ef77bfdb'
X--- support/apxs.in.orig	2013-12-26 18:01:53 UTC
X+++ support/apxs.in
X@@ -636,7 +636,13 @@ if ($opt_i or $opt_e) {
X                 }
X             } else {
X                 # replace already existing LoadModule line
X-                $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s;
X+                # Custom FreeBSD mod
X+                if ($opt_A) {
X+                    $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1|s;
X+                }
X+                else {
X+                    $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1$c$lmd\n|s;
X+                }
X             }
X             $lmd =~ m|LoadModule\s+(.+?)_module.*|;
X             notice("[$what module `$1' in $CFG_SYSCONFDIR/$CFG_TARGET.conf]");
X@@ -645,8 +651,7 @@ if ($opt_i or $opt_e) {
X             if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
X                 print FP $content;
X                 close(FP);
X-                system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " .
X-                       "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
X+                system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
X                        "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
X             } else {
X                 notice("unable to open configuration file");
5a46a5e8292ca2f9c4ac37c5ef77bfdb
echo x - apache24/files/patch-support__log_server_status.in
sed 's/^X//' >apache24/files/patch-support__log_server_status.in << 'a9bd4056fe3d644d90680c7863bf44d0'
X--- support/log_server_status.in.orig	2012-04-28 23:08:09 UTC
X+++ support/log_server_status.in
X@@ -29,7 +29,7 @@ use IO::Socket;
X use strict;
X use warnings;
X 
X-my $wherelog = "@exp_logfiledir@/";  # Logs will be like "@exp_logfiledir@/19960312"
X+my $wherelog = "@exp_logfiledir@/httpd-status-";  # Logs will be like "@exp_logfiledir@/httpd-status-19960312"
X my $server   = "localhost";        # Name of server, could be "www.foo.com"
X my $port     = "@PORT@";               # Port on server
X my $request = "/server-status/?auto";    # Request to send
X@@ -46,7 +46,7 @@ my $time =
X   . sprintf( "%02d", $ltime[1] )
X   . sprintf( "%02d", $ltime[0] );
X 
X-open(OUT,">>$wherelog$day");
X+open(OUT,">>$wherelog$day.log");
X 
X my $socket = new IO::Socket::INET(
X     PeerAddr => $server,
a9bd4056fe3d644d90680c7863bf44d0
echo x - apache24/files/pkg-message.in
sed 's/^X//' >apache24/files/pkg-message.in << '1c458707322ceb96eb4017292bd2fd03'
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
X!! mod_http2 on FreeBSD with OpenSSL from base results in a mostly !!
X!! functionally unusable module due to lack of "Upgrade"           !! 
X!! capability in OpenSSL 1.0.1.                                    !!
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1c458707322ceb96eb4017292bd2fd03
echo x - apache24/files/patch-support__apachectl.in
sed 's/^X//' >apache24/files/patch-support__apachectl.in << 'fc138b5aefec2ee8272db328f39e7342'
X--- support/apachectl.in.orig	2012-02-01 03:47:28 UTC
X+++ support/apachectl.in
X@@ -43,6 +43,7 @@ ARGV="$@"
X # 
X # the path to your httpd binary, including options if necessary
X HTTPD='@exp_sbindir@/@progname@'
X+SERVICE='/usr/sbin/service apache24'
X #
X # pick up any necessary environment variables
X if test -f @exp_sbindir@/envvars; then
X@@ -66,19 +67,21 @@ ULIMIT_MAX_FILES="@APACHECTL_ULIMIT@"
X # --------------------                              --------------------
X # ||||||||||||||||||||   END CONFIGURATION SECTION  ||||||||||||||||||||
X 
X+eval `limits -e -C daemon` >/dev/null 2>&1
X # Set the maximum number of file descriptors allowed per child process.
X if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then
X     $ULIMIT_MAX_FILES
X fi
X 
X ERROR=0
X-if [ "x$ARGV" = "x" ] ; then 
X-    ARGV="-h"
X+if [ "x$ACMD" = "x" ] ; then 
X+    ACMD="-h"
X fi
X 
X case $ACMD in
X-start|stop|restart|graceful|graceful-stop)
X-    $HTTPD -k $ARGV
X+start|stop|restart|rcvar|reload|graceful|gracefulstop|graceful-stop)
X+#    $HTTPD -k $ARGV
X+    $SERVICE $( echo $ACMD | tr -d '-' )
X     ERROR=$?
X     ;;
X startssl|sslstart|start-SSL)
X@@ -88,11 +91,13 @@ startssl|sslstart|start-SSL)
X     ERROR=2
X     ;;
X configtest)
X-    $HTTPD -t
X+#    $HTTPD -t
X+    $SERVICE $ACMD
X     ERROR=$?
X     ;;
X status)
X-    $LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
X+#    $LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
X+    $SERVICE $ACMD
X     ;;
X fullstatus)
X     $LYNX $STATUSURL
fc138b5aefec2ee8272db328f39e7342
echo x - apache24/files/patch-support__envvars-std.in
sed 's/^X//' >apache24/files/patch-support__envvars-std.in << 'f72af1cb17e492be7aa49202db601c35'
X--- support/envvars-std.in.orig	2012-03-08 16:10:51 UTC
X+++ support/envvars-std.in
X@@ -26,3 +26,10 @@ fi
X export @SHLIBPATH_VAR@
X #
X @OS_SPECIFIC_VARS@
X+
X+ENVVARS_DIR=%%PREFIX%%/etc/apache24/envvars.d
X+
X+for envvars_file in $(ls ${ENVVARS_DIR}/*.env 2>/dev/null)
X+do
X+	. ${envvars_file}
X+done
f72af1cb17e492be7aa49202db601c35
echo x - apache24/files/patch-docs__conf__extra__httpd-ssl.conf.in
sed 's/^X//' >apache24/files/patch-docs__conf__extra__httpd-ssl.conf.in << '4e842e8de0ae1ae34ee772ec717dee81'
X--- docs/conf/extra/httpd-ssl.conf.in.orig	2015-05-27 18:59:59 UTC
X+++ docs/conf/extra/httpd-ssl.conf.in
X@@ -124,8 +124,8 @@ SSLSessionCacheTimeout  300
X DocumentRoot "@exp_htdocsdir@"
X ServerName www.example.com:@@SSLPort@@
X ServerAdmin you@example.com
X-ErrorLog "@exp_logfiledir@/error_log"
X-TransferLog "@exp_logfiledir@/access_log"
X+ErrorLog "@exp_logfiledir@/httpd-error.log"
X+TransferLog "@exp_logfiledir@/httpd-access.log"
X 
X #   SSL Engine Switch:
X #   Enable/Disable SSL for this virtual host.
X@@ -284,7 +284,7 @@ BrowserMatch "MSIE [2-5]" \
X #   Per-Server Logging:
X #   The home of a custom SSL log file. Use this when you want a
X #   compact non-error SSL logfile on a virtual host basis.
X-CustomLog "@exp_logfiledir@/ssl_request_log" \
X+CustomLog "@exp_logfiledir@/httpd-ssl_request.log" \
X           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
X 
X </VirtualHost>                                  
4e842e8de0ae1ae34ee772ec717dee81
echo x - apache24/files/extra-patch-server_buildmark.c
sed 's/^X//' >apache24/files/extra-patch-server_buildmark.c << '3dab39afd209c5d24a377063c52973c3'
X# disable build time stamp in favor of reproducible build
X# except building with DEBUG
X==============================================================
X--- server/buildmark.c.orig	2016-07-03 16:09:18 UTC
X+++ server/buildmark.c
X@@ -17,6 +17,9 @@
X #include "ap_config.h"
X #include "httpd.h"
X 
X+/* Allow Reproducible build, do not include build time information */
X+#undef __DATE__
X+
X #if defined(__DATE__) && defined(__TIME__)
X static const char server_built[] = __DATE__ " " __TIME__;
X #else
3dab39afd209c5d24a377063c52973c3
echo x - apache24/files/patch-modules_ssl_ssl__util__stapling.c
sed 's/^X//' >apache24/files/patch-modules_ssl_ssl__util__stapling.c << '5399d867a6ebfe175a39bfdb2dbee3bc'
X--- modules/ssl/ssl_util_stapling.c.orig	2017-07-06 21:11:28 UTC
X+++ modules/ssl/ssl_util_stapling.c
X@@ -91,7 +91,7 @@ static X509 *stapling_get_issuer(modssl_
X     for (i = 0; i < sk_X509_num(extra_certs); i++) {
X         issuer = sk_X509_value(extra_certs, i);
X         if (X509_check_issued(issuer, x) == X509_V_OK) {
X-#if OPENSSL_VERSION_NUMBER < 0x10100000L
X+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2050000fL)
X             CRYPTO_add(&issuer->references, 1, CRYPTO_LOCK_X509);
X #else
X             X509_up_ref(issuer);
5399d867a6ebfe175a39bfdb2dbee3bc
echo x - apache24/files/patch-configure.in
sed 's/^X//' >apache24/files/patch-configure.in << 'd3d389e0bddf0e07e3d3c4a0ffe28599'
X--- configure.in.orig	2016-12-02 11:36:06 UTC
X+++ configure.in
X@@ -838,8 +837,14 @@ AC_DEFINE_UNQUOTED(HTTPD_ROOT, "${ap_pre
X 	[Root directory of the Apache install area])
X AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf",
X 	[Location of the config file, relative to the Apache root directory])
X+AC_DEFINE_UNQUOTED(DEFAULT_ERRORLOG, "${rel_logfiledir}/httpd-error.log",
X+	[Location of error log file])
X+AC_DEFINE_UNQUOTED(DEFAULT_SCOREBOARD, "${rel_runtimedir}/apache_runtime_status",
X+	[Location of ScoreBoard file])
X AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types",
X 	[Location of the MIME types config file, relative to the Apache root directory])
X+AC_DEFINE_UNQUOTED(DOCUMENT_LOCATION, "${rel_htdocsdir}",
X+	[Location of document root])
X 
X perlbin=`$ac_aux_dir/PrintPath perl`
X if test "x$perlbin" = "x"; then
d3d389e0bddf0e07e3d3c4a0ffe28599
echo x - apache24/files/htcacheclean.in
sed 's/^X//' >apache24/files/htcacheclean.in << 'bb423ec32c13641f67ddb265fa225d3d'
X#!/bin/sh
X
X# $FreeBSD: head/www/apache24/files/htcacheclean.in 315335 2013-03-26 21:35:33Z ohauer $
X#
X# PROVIDE: htcacheclean
X#
X# Configuration settings for htcacheclean in /etc/rc.conf
X#
X# htcacheclean_enable (bool) 
X# Set to "NO" by default 
X# Set it to "YES" to enable htcacheclean
X#
X# htcacheclean_cache (str) Set to "%%PREFIX%%/www/proxy" by default Set the
X# location of the mod_disk_cache CacheRoot This should be the same as whats in
X# your httpd.conf
X#
X# htcacheclean_cachelimit (str) Set to "512M" by default Sets the size
X# htcacheclean should prune the disk cache to expressed in bytes by default, K
X# for kilobytes, M for megabytes.
X#
X# htcacheclean_interval (num) 
X# Set to "10" by default
X# Sets how frequently in munutes htcacheclean wakes up and prunes the cache
X#
X# htcacheclean_args (str)
X# Set to "-t -n -i" by default
X# Sets extra command-line arguments to htcacheclean
X# -t Delete all empty directories
X# -n Be nice by sleeping occasionally to not saturate the I/O bandwith of the disk
X# -i Run only when there was a modification of the disk cache
X
X. /etc/rc.subr
X
Xname="htcacheclean"
Xrcvar=htcacheclean_enable
X
Xload_rc_config "${name}"
X
Xhtcacheclean_enable="${htcacheclean_enable:-"NO"}"
Xhtcacheclean_cache="${htcacheclean_cache:-"%%PREFIX%%/www/proxy"}"
Xhtcacheclean_cachelimit="${htcacheclean_cachelimit:-"512M"}"
Xhtcacheclean_interval="${htcacheclean_interval:-"60"}"
Xhtcacheclean_args="${htcacheclean_args:-"-t -n -i"}"
X
Xstart_precmd="htc_check"
Xrestart_precmd="htc_check"
Xrestart_reload="htc_check"
X
Xcommand="%%PREFIX%%/sbin/htcacheclean"
Xflags="-p${htcacheclean_cache} -d${htcacheclean_interval} -l${htcacheclean_cachelimit} ${htcacheclean_args}"
Xrequired_dirs="${htcacheclean_cache}"
X
Xhtc_check()
X{
X	[ ! -d ${htcacheclean_cache} ] && {
X		echo ""
X		return 1
X	}
X	return 0
X}
X
Xrun_rc_command "$1"
bb423ec32c13641f67ddb265fa225d3d
echo x - apache24/files/patch-docs__conf__extra__httpd-userdir.conf.in
sed 's/^X//' >apache24/files/patch-docs__conf__extra__httpd-userdir.conf.in << '9983f62c521160084ce74b4bca22f1d8'
X--- docs/conf/extra/httpd-userdir.conf.in.orig	2011-06-06 21:40:41 UTC
X+++ docs/conf/extra/httpd-userdir.conf.in
X@@ -9,6 +9,8 @@
X #
X UserDir public_html
X 
X+UserDir disabled %%FTPUSERS%%
X+
X #
X # Control access to UserDir directories.  The following is an example
X # for a site where these directories are restricted to read-only.
9983f62c521160084ce74b4bca22f1d8
echo x - apache24/files/patch-support_ab.c
sed 's/^X//' >apache24/files/patch-support_ab.c << '1def150ad614a7b6db092799e5fc4710'
X--- support/ab.c.orig	2017-05-28 21:15:41 UTC
X+++ support/ab.c
X@@ -197,6 +197,14 @@ typedef STACK_OF(X509) X509_STACK_TYPE;
X #if !defined(OPENSSL_NO_TLSEXT) && defined(SSL_set_tlsext_host_name)
X #define HAVE_TLSEXT
X #endif
X+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2060000f
X+# define SSL_CTRL_SET_MIN_PROTO_VERSION	123
X+# define SSL_CTRL_SET_MAX_PROTO_VERSION 124
X+#define SSL_CTX_set_min_proto_version(ctx, version) \
X+   SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)
X+#define SSL_CTX_set_max_proto_version(ctx, version) \
X+   SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)
X+#endif
X #endif
X 
X #include <math.h>
1def150ad614a7b6db092799e5fc4710
echo x - apache24/files/pkg-deinstall.in
sed 's/^X//' >apache24/files/pkg-deinstall.in << 'ce3f7c1aae365b803dd0f8cfe23cef5c'
X#!/bin/sh
X#
X# $FreeBSD: head/www/apache24/files/pkg-deinstall.in 378215 2015-01-31 15:22:51Z ohauer $
X#
X
XMPM_FALLBACK="%%ETCDIR%%/modules.d/%%MPMF%%"
X
X_cleanup(){
X	if [ -f ${MPM_FALLBACK} ]; then
X		echo -n "remove fallback MPM : "
X		/bin/rm -vf ${MPM_FALLBACK}
X	fi
X}
X
X# run only if build with modular MPM
Xif [ "x$2" = "xDEINSTALL" ]; then
X	%%MPM_FALLBACK_CHECK%%_cleanup
Xfi
X
ce3f7c1aae365b803dd0f8cfe23cef5c
echo x - apache24/files/patch-support__Makefile.in
sed 's/^X//' >apache24/files/patch-support__Makefile.in << '0447b2d1cf5bf95fca3004dd5694b4dc'
X--- support/Makefile.in.orig	2012-12-11 10:37:25 UTC
X+++ support/Makefile.in
X@@ -17,10 +17,10 @@ install:
X 	@test -d $(DESTDIR)$(sbindir) || $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
X 	@test -d $(DESTDIR)$(libexecdir) || $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir)
X 	@cp -p $(top_builddir)/server/httpd.exp $(DESTDIR)$(libexecdir)
X-	@for i in apxs dbmmanage; do \
X+	@for i in apxs dbmmanage split-logfile; do \
X 	    if test -f "$(builddir)/$$i"; then \
X-	        cp -p $$i $(DESTDIR)$(bindir); \
X-	        chmod 755 $(DESTDIR)$(bindir)/$$i; \
X+	        cp -p $$i $(DESTDIR)$(sbindir); \
X+	        chmod 755 $(DESTDIR)$(sbindir)/$$i; \
X 	    fi ; \
X 	done
X 	@for i in apachectl; do \
X@@ -30,10 +30,7 @@ install:
X 	    fi ; \
X 	done
X 	@if test -f "$(builddir)/envvars-std"; then \
X-	    cp -p envvars-std $(DESTDIR)$(sbindir); \
X-	    if test ! -f $(DESTDIR)$(sbindir)/envvars; then \
X-	        cp -p envvars-std $(DESTDIR)$(sbindir)/envvars ; \
X-	    fi ; \
X+	    cp -p envvars-std $(DESTDIR)$(sbindir)/envvars; \
X 	fi
X 
X htpasswd.lo: passwd_common.h
0447b2d1cf5bf95fca3004dd5694b4dc
echo x - apache24/files/patch-docs__conf__httpd.conf.in
sed 's/^X//' >apache24/files/patch-docs__conf__httpd.conf.in << '00042f6538c7957da323c23cf075bd15'
X--- docs/conf/httpd.conf.in.orig	2015-11-03 11:58:58 UTC
X+++ docs/conf/httpd.conf.in
X@@ -65,6 +65,9 @@ Listen @@Port@@
X #
X @@LoadModule@@
X 
X+# Third party modules
X+IncludeOptional @rel_sysconfdir@/modules.d/[0-9][0-9][0-9]_*.conf
X+ 
X <IfModule unixd_module>
X #
X # If you wish httpd to run as a different user or group, you must run
X@@ -74,8 +77,8 @@ Listen @@Port@@
X # It is usually good practice to create a dedicated user and group for
X # running httpd, as with most system services.
X #
X-User daemon
X-Group daemon
X+User %%WWWOWN%%
X+Group %%WWWGRP%%
X 
X </IfModule>
X 
X@@ -181,7 +184,7 @@ DocumentRoot "@exp_htdocsdir@"
X # logged here.  If you *do* define an error logfile for a <VirtualHost>
X # container, that host's errors will be logged there and not here.
X #
X-ErrorLog "@rel_logfiledir@/error_log"
X+ErrorLog "@rel_logfiledir@/httpd-error.log"
X 
X #
X # LogLevel: Control the number of messages logged to the error_log.
X@@ -210,13 +213,13 @@ LogLevel warn
X     # define per-<VirtualHost> access logfiles, transactions will be
X     # logged therein and *not* in this file.
X     #
X-    CustomLog "@rel_logfiledir@/access_log" common
X+    CustomLog "@rel_logfiledir@/httpd-access.log" common
X 
X     #
X     # If you prefer a logfile with access, agent, and referer information
X     # (Combined Logfile Format) you can use the following directive.
X     #
X-    #CustomLog "@rel_logfiledir@/access_log" combined
X+    #CustomLog "@rel_logfiledir@/httpd-access.log" combined
X </IfModule>
X 
X <IfModule alias_module>
X@@ -407,3 +410,5 @@ SSLRandomSeed startup builtin
X SSLRandomSeed connect builtin
X </IfModule>
X 
X+Include @rel_sysconfdir@/Includes/*.conf
X+
00042f6538c7957da323c23cf075bd15
echo x - apache24/files/patch-modules_ssl_ssl__engine__init.c
sed 's/^X//' >apache24/files/patch-modules_ssl_ssl__engine__init.c << '01fe292a5e81129a09b1ac40c655f2cd'
X--- modules/ssl/ssl_engine_init.c.orig	2018-02-13 23:43:36 UTC
X+++ modules/ssl/ssl_engine_init.c
X@@ -546,7 +546,7 @@ static apr_status_t ssl_init_ctx_protoco
X     char *cp;
X     int protocol = mctx->protocol;
X     SSLSrvConfigRec *sc = mySrvConfig(s);
X-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
X+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
X     int prot;
X #endif
X 
X 
01fe292a5e81129a09b1ac40c655f2cd
echo x - apache24/files/apache24.in
sed 's/^X//' >apache24/files/apache24.in << '87b194194e9d1d338802a11abc0eb72e'
X#!/bin/sh
X#
X# $FreeBSD: head/www/apache24/files/apache24.in 406607 2016-01-18 19:44:47Z ohauer $
X
X# PROVIDE: apache24
X# REQUIRE: LOGIN cleanvar sshd
X# KEYWORD: shutdown
X
X#
X# Add the following lines to /etc/rc.conf to enable apache24:
X# apache24_enable (bool):      Set to "NO" by default.
X#                             Set it to "YES" to enable apache24
X# apache24_profiles (str):     Set to "" by default.
X#                              Define your profiles here.
X# apache24limits_enable (bool):Set to "NO" by default.
X#                             Set it to yes to run `limits $limits_args`
X#                             just before apache starts.
X# apache24_flags (str):        Set to "" by default.
X#                             Extra flags passed to start command.
X# apache24limits_args (str):   Default to "-e -C daemon"
X#                             Arguments of pre-start limits run.
X# apache24_http_accept_enable (bool): Set to "NO" by default.
X#                             Set to yes to check for accf_http kernel
X#                             module on start up and load if not loaded.
X# apache24_fib (str):	      Set an altered default network view for apache
X# apache24_configcheck_disable (bool): Set to "YES" to disable sanity check on startup
X
X. /etc/rc.subr
X
Xname="apache24"
Xrcvar=apache24_enable
X
Xstart_precmd="apache24_prestart"
Xrestart_precmd="apache24_checkconfig"
Xreload_precmd="apache24_checkconfig"
Xreload_cmd="apache24_graceful"
Xgraceful_cmd="apache24_graceful"
Xgracefulstop_cmd="apache24_gracefulstop"
Xconfigtest_cmd="apache24_checkconfig"
Xcommand="%%PREFIX%%/sbin/httpd"
X_pidprefix="/var/run/httpd"
Xpidfile="${_pidprefix}.pid"
Xrequired_files=%%PREFIX%%/etc/apache24/httpd.conf
Xenvvars="%%PREFIX%%/sbin/envvars"
X
X[ -z "$apache24_enable" ]       && apache24_enable="NO"
X[ -z "$apache24limits_enable" ] && apache24limits_enable="NO"
X[ -z "$apache24limits_args" ]   && apache24limits_args="-e -C daemon"
X[ -z "$apache24_http_accept_enable" ] && apache24_http_accept_enable="NO"
X[ -z "$apache24_configcheck_disable" ] && apache24_configcheck_disable="NO"
X
Xapache24_accf()
X{
X  if checkyesno apache24_http_accept_enable; then
X    /sbin/kldstat -qm accf_http || /sbin/kldload accf_http || return ${?}
X    /sbin/kldstat -qm accf_data || /sbin/kldload accf_data || return ${?}
X  else
X    apache24_flags="${apache24_flags} -DNOHTTPACCEPT"
X  fi
X}
X
Xload_rc_config $name
X
Xif [ -n "$2" ]; then
X	profile="$2"
X	if [ "x${apache24_profiles}" != "x" ]; then
X		pidfile="${_pidprefix}.${profile}.pid"
X		eval apache24_configfile="\${apache24_${profile}_configfile:-}"
X		if [ "x${apache24_configfile}" = "x" ]; then
X			echo "You must define a configuration file (apache24_${profile}_configfile)"
X			exit 1
X		fi
X		required_files="${apache24_configfile}"
X		eval apache24_enable="\${apache24_${profile}_enable:-${apache24_enable}}"
X		eval apache24_flags="\${apache24_${profile}_flags:-${apache24_flags}}"
X		eval apache24_http_accept_enable="\${apache24_${profile}_http_accept_enable:-${apache24_http_accept_enable}}"
X		eval apache24limits_enable="\${apache24limits_${profile}_enable:-${apache24limits_enable}}"
X		eval apache24limits_args="\${apache24limits_${profile}_args:-${apache24limits_args}}"
X		eval apache24_fib="\${apache24_${profile}_fib:-${apache24_fib}}"
X		eval apache24_configcheck_disable="\${apache24_${profile}_configcheck_disable:-${apache24_configcheck_disable}}"
X		eval command="\${apache24_${profile}_command:-${command}}"
X		eval pidfile="\${apache24_${profile}_pidfile:-${pidfile}}"
X		eval apache24_envvars="\${apache24_${profile}_envvars:-${envvars}}"
X		apache24_flags="-f ${apache24_configfile} -c \"PidFile ${pidfile}\" ${apache24_flags}"
X	else
X		echo "$0: extra argument ignored"
X	fi
Xelse
X	eval apache24_envvars=${envvars}
X	if [ "x${apache24_profiles}" != "x" -a "x$1" != "x" ]; then
X		for profile in ${apache24_profiles}; do
X			eval _enable="\${apache24_${profile}_enable}"
X			case "x${_enable:-${apache24_enable}}" in
X			x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee])
X				continue
X				;;
X			x[Yy][Ee][Ss])
X				;;
X			*)
X				if test -z "$_enable"; then
X					_var=apache24_enable
X				else
X					_var=apache24_"${profile}"_enable
X				fi
X				echo "Bad value" \
X				    "'${_enable:-${apache24_enable}}'" \
X				    "for ${_var}. " \
X				    "Profile ${profile} skipped."
X				continue
X				;;
X			esac
X			echo "===> apache24 profile: ${profile}"
X			%%PREFIX%%/etc/rc.d/apache24 $1 ${profile}
X			retcode="$?"
X			if [ "0${retcode}" -ne 0 ]; then
X				failed="${profile} (${retcode}) ${failed:-}"
X			else
X				success="${profile} ${success:-}"
X			fi
X		done
X		exit 0
X	fi
Xfi
X
Xif [ "${1}" != "stop" ] ; then \
X	apache24_accf
Xfi
X
Xif checkyesno apache24_configcheck_disable
Xthen
X        unset restart_precmd
X        unset reload_precmd
Xfi
X
Xapache24_requirepidfile()
X{
X	if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then
X		echo "${name} not running? (check $pidfile)."
X		exit 1
X	fi
X}
X
Xapache24_checkconfig()
X{
X	if test -f ${apache24_envvars}
X	then
X		. ${apache24_envvars}
X	fi
X
X	echo "Performing sanity check on apache24 configuration:"
X	eval ${command} ${apache24_flags} -t
X}
X
Xapache24_graceful() {
X	apache24_requirepidfile
X
X	if ! checkyesno apache24_configcheck_disable
X	then
X		apache24_checkconfig
X	fi
X
X	echo "Performing a graceful restart"
X	eval ${command} ${apache24_flags} -k graceful
X}
X
Xapache24_gracefulstop() {
X	apache24_requirepidfile
X
X	if ! checkyesno apache24_configcheck_disable
X	then
X		apache24_checkconfig
X	fi
X
X	echo "Performing a graceful stop"
X	eval ${command} ${apache24_flags} -k graceful-stop
X}
X
Xapache24_precmd()
X{
X	if ! checkyesno apache24_configcheck_disable
X	then
X		apache24_checkconfig
X	fi
X
X	if checkyesno apache24limits_enable
X	then
X		eval `/usr/bin/limits ${apache24limits_args}` 2>/dev/null
X	else
X		return 0
X        fi
X
X}
X
Xapache24_checkfib () {
X	if command -v check_namevarlist > /dev/null 2>&1; then
X		check_namevarlist fib && return 0
X	fi
X
X	$SYSCTL net.fibs >/dev/null 2>&1 || return 0
X
X	apache24_fib=${apache24_fib:-"NONE"}
X	if [ "x$apache24_fib" != "xNONE" ]
X	then
X		command="/usr/sbin/setfib -F ${apache24_fib} ${command}"
X	else
X		return 0
X	fi
X}
X
Xapache24_prestart() {
X	apache24_checkfib
X	apache24_precmd
X}
X
Xextra_commands="reload graceful gracefulstop configtest"
Xrun_rc_command "$1"
87b194194e9d1d338802a11abc0eb72e
echo x - apache24/files/patch-modules_http2_h2_conn.c
sed 's/^X//' >apache24/files/patch-modules_http2_h2_conn.c << 'd64266df7e0bdd677c0f4ca00de950f2'
X--- modules/http2/h2_conn.c.orig	2018-06-22 00:02:38.101258000 +0200
X+++ modules/http2/h2_conn.c	2018-06-22 00:03:29.482120000 +0200
X@@ -241,6 +241,19 @@
X 
X     if (c->cs) {
X         c->cs->state = CONN_STATE_LINGER;
X+	switch (session->state) {
X+            case H2_SESSION_ST_INIT:
X+            case H2_SESSION_ST_IDLE:
X+            case H2_SESSION_ST_BUSY:
X+            case H2_SESSION_ST_WAIT:
X+                c->cs->state = CONN_STATE_WRITE_COMPLETION;
X+            break;
X+            case H2_SESSION_ST_CLEANUP:
X+            case H2_SESSION_ST_DONE:
X+            default:
X+                c->cs->state = CONN_STATE_LINGER;
X+            break;
X+        }
X     }
X 
X     return APR_SUCCESS;
d64266df7e0bdd677c0f4ca00de950f2
echo x - apache24/files/patch-docs__conf__extra__httpd-autoindex.conf.in
sed 's/^X//' >apache24/files/patch-docs__conf__extra__httpd-autoindex.conf.in << 'e2756d171acb78164ebf27778955ced0'
X--- docs/conf/extra/httpd-autoindex.conf.in.orig	2010-06-15 11:05:13 UTC
X+++ docs/conf/extra/httpd-autoindex.conf.in
X@@ -89,5 +89,5 @@ HeaderName HEADER.html
X # IndexIgnore is a set of filenames which directory indexing should ignore
X # and not include in the listing.  Shell-style wildcarding is permitted.
X #
X-IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
X+IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t *.bak *.orig
X 
e2756d171acb78164ebf27778955ced0
echo x - apache24/files/patch-modules_ssl_mod__ssl.c
sed 's/^X//' >apache24/files/patch-modules_ssl_mod__ssl.c << '45563feca82c9000710b1590b5235629'
X--- modules/ssl/mod_ssl.c.orig	2018-02-13 23:43:36 UTC
X+++ modules/ssl/mod_ssl.c
X@@ -398,7 +398,7 @@ static int ssl_hook_pre_config(apr_pool_
X     /* We must register the library in full, to ensure our configuration
X      * code can successfully test the SSL environment.
X      */
X-#if MODSSL_USE_OPENSSL_PRE_1_1_API
X+#if MODSSL_USE_OPENSSL_PRE_1_1_API || defined(LIBRESSL_VERSION_NUMBER)
X     (void)CRYPTO_malloc_init();
X #else
X     OPENSSL_malloc_init();
45563feca82c9000710b1590b5235629
echo x - apache24/files/patch-modules_md_md__crypt.c
sed 's/^X//' >apache24/files/patch-modules_md_md__crypt.c << '07f026fd6e5c9f7a254bb8f563bb06d0'
X--- modules/md/md_crypt.c.orig	2018-01-30 10:20:50 UTC
X+++ modules/md/md_crypt.c
X@@ -471,7 +471,7 @@ apr_status_t md_pkey_gen(md_pkey_t **ppk
X     }
X }
X 
X-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
X+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
X 
X #ifndef NID_tlsfeature
X #define NID_tlsfeature          1020
07f026fd6e5c9f7a254bb8f563bb06d0
echo x - apache24/files/patch-Makefile.in
sed 's/^X//' >apache24/files/patch-Makefile.in << '66de94c5413c708481d5412f9a454c07'
X--- Makefile.in.orig	2016-03-20 15:51:49 UTC
X+++ Makefile.in
X@@ -32,12 +32,9 @@ include $(top_srcdir)/build/program.mk
X install-conf:
X 	@echo Installing configuration files
X 	@$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/extra
X-	@$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)/original/extra
X 	@cd $(top_srcdir)/docs/conf; \
X 	for i in mime.types magic; do \
X-	    if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
X-	        $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
X-	    fi; \
X+	    $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir)/$${i}.sample; \
X 	done; \
X 	for j in $(top_srcdir)/docs/conf $(top_builddir)/docs/conf ; do \
X 	    cd $$j ; \
X@@ -98,15 +95,12 @@ install-conf:
X 	    				-e 's#@@SSLPort@@#$(SSLPORT)#g' \
X 	    				< $$i; \
X 	    		fi \
X-	    	) > $(DESTDIR)$(sysconfdir)/original/$$i; \
X-	    	chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \
X+	    	) > $(DESTDIR)$(sysconfdir)/$${i}.sample; \
X+	    	chmod 0644 $(DESTDIR)$(sysconfdir)/$${i}.sample; \
X 	    	file=$$i; \
X 	    	if [ "$$i" = "httpd.conf" ]; then \
X 	    		file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \
X 	    	fi; \
X-	    	if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \
X-	    		$(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \
X-	    	fi; \
X 	    	fi; \
X 	    done ; \
X 	done ; \
X@@ -157,48 +151,25 @@ dox:
X 	doxygen $(top_srcdir)/docs/doxygen.conf
X 
X install-htdocs:
X-	-@if [ -d $(DESTDIR)$(htdocsdir) ]; then \
X-           echo "[PRESERVING EXISTING HTDOCS SUBDIR: $(DESTDIR)$(htdocsdir)]"; \
X-        else \
X-	    echo Installing HTML documents ; \
X+	    @echo Installing HTML documents ; \
X 	    $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
X-	    if test -d $(htdocs-srcdir) && test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \
X-		$(RSYNC) --exclude .svn -rlpt --numeric-ids $(htdocs-srcdir)/ $(DESTDIR)$(htdocsdir)/; \
X-	    else \
X-		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \
X-		cd $(DESTDIR)$(htdocsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
X-	    fi; \
X-	fi
X+	    $(MKINSTALLDIRS) $(DESTDIR)$(DATADIR)/misc ; \
X+		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp index.html $(DESTDIR)$(DATADIR)/misc) || true
X 
X install-error:
X-	-@if [ -d $(DESTDIR)$(errordir) ]; then \
X-           echo "[PRESERVING EXISTING ERROR SUBDIR: $(DESTDIR)$(errordir)]"; \
X-        else \
X-	    echo Installing error documents ; \
X+	    @echo Installing error documents ; \
X 	    $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \
X-	    cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \
X-	    test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
X-	fi
X+	    cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ;
X 
X install-icons:
X-	-@if [ -d $(DESTDIR)$(iconsdir) ]; then \
X-           echo "[PRESERVING EXISTING ICONS SUBDIR: $(DESTDIR)$(iconsdir)]"; \
X-        else \
X-	    echo Installing icons ; \
X+	    @echo Installing icons ; \
X 	    $(MKINSTALLDIRS) $(DESTDIR)$(iconsdir) ; \
X-	    cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ; \
X-	    test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
X-	fi
X+	    cd $(top_srcdir)/docs/icons && cp -rp * $(DESTDIR)$(iconsdir) ;
X 
X install-cgi:
X-	-@if [ -d $(DESTDIR)$(cgidir) ];then \
X-	    echo "[PRESERVING EXISTING CGI SUBDIR: $(DESTDIR)$(cgidir)]"; \
X-	else \
X-	   echo Installing CGIs ; \
X+	   @echo Installing CGIs ; \
X 	   $(MKINSTALLDIRS) $(DESTDIR)$(cgidir) ; \
X-	   cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ; \
X-	   test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
X-	fi
X+	   cd $(top_srcdir)/docs/cgi-examples && cp -rp * $(DESTDIR)$(cgidir) ;
X 
X install-other:
X 	@test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
X@@ -252,12 +223,7 @@ install-man:
X 	@test -d $(DESTDIR)$(manualdir)   || $(MKINSTALLDIRS) $(DESTDIR)$(manualdir)
X 	@cp -p $(top_srcdir)/docs/man/*.1 $(DESTDIR)$(mandir)/man1
X 	@cp -p $(top_srcdir)/docs/man/*.8 $(DESTDIR)$(mandir)/man8
X-	@if test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \
X-	  $(RSYNC) --exclude .svn -rlpt --numeric-ids $(top_srcdir)/docs/manual/ $(DESTDIR)$(manualdir)/; \
X-	else \
X-	  cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir); \
X-	  cd $(DESTDIR)$(manualdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \
X-	fi
X+	cd $(top_srcdir)/docs/manual && cp -rp * $(DESTDIR)$(manualdir)
X 
X install-suexec:
X 	@if test -f $(builddir)/support/suexec; then \
66de94c5413c708481d5412f9a454c07
echo x - apache24/files/README_modules.d
sed 's/^X//' >apache24/files/README_modules.d << 'c384b78243d518dd12efffcd613cc6b6'
X# ===================================================
X# Directory for third party module config files.
X#
X# Modules can be disabled by adding a '#' in front
X# of the "LoadModule" line e.g. "#LoadModule"
X#
X# Files are automatically included if the name
X# begins with a three digit number followed by '_'
X# and ending in '.conf' e.g. '080_mod_php.conf'
X#
X# Maintainers can also include instructions how to 
X# use the module (instead pkg-message).
X#
X
c384b78243d518dd12efffcd613cc6b6
echo x - apache24/files/patch-config.layout
sed 's/^X//' >apache24/files/patch-config.layout << '2a4c8da0e7f0168ab75f3d9951c85bc5'
X--- config.layout.orig	2012-04-17 14:01:41 UTC
X+++ config.layout
X@@ -257,17 +257,17 @@
X   bindir:        ${exec_prefix}/bin
X   sbindir:       ${exec_prefix}/sbin
X   libdir:        ${exec_prefix}/lib
X-  libexecdir:    ${exec_prefix}/libexec/apache2
X+  libexecdir:    ${exec_prefix}/libexec/apache24
X   mandir:        ${prefix}/man
X-  sysconfdir:    ${prefix}/etc/apache2
X-  datadir:       ${prefix}/www
X-  installbuilddir: ${prefix}/share/apache2/build
X+  sysconfdir:    ${prefix}/etc/apache24
X+  datadir:       ${prefix}/www/apache24
X+  installbuilddir: ${prefix}/share/apache24/build
X   errordir:      ${datadir}/error
X   iconsdir:      ${datadir}/icons
X   htdocsdir:     ${datadir}/data
X-  manualdir:     ${prefix}/share/doc/apache2
X+  manualdir:     ${prefix}/share/doc/apache24
X   cgidir:        ${datadir}/cgi-bin
X-  includedir:    ${prefix}/include/apache2
X+  includedir:    ${prefix}/include/apache24
X   localstatedir: /var
X   runtimedir:    ${localstatedir}/run
X   logfiledir:    ${localstatedir}/log
2a4c8da0e7f0168ab75f3d9951c85bc5
echo x - apache24/files/pkg-install.in
sed 's/^X//' >apache24/files/pkg-install.in << '0b1494ad46e8c25ef8b558276d9422cb'
X#!/bin/sh
X#
X# $FreeBSD: head/www/apache24/files/pkg-install.in 378215 2015-01-31 15:22:51Z ohauer $
X#
X
X# Note:
X# We have to use grep or wc after awk, else
X# there is no usable ret value that can be
X# used for further processing
X
XHTTPD_CONF="%%ETCDIR%%/httpd.conf"
XMPM_FALLBACK="%%ETCDIR%%/modules.d/%%MPMF%%"
X
X_log_msg(){
X	/usr/bin/logger -p local0.notice -s -t apache24 "$1"
X}
X
X_check_deprecated(){
Xif [ -r ${HTTPD_CONF} ]; then
X	/usr/bin/awk '/^LoadModule[[:blank:]]+mpm_(event|prefork|worker)_module/ {print $2}' ${HTTPD_CONF} | /usr/bin/grep -q '^mpm_'
X	if [ $? -ne 0 ]; then
X		_log_msg "==================================================="
X		_log_msg "WARNING!"
X		_log_msg " No apache MPM module is activated in httpd.conf,"
X		_log_msg " mpm_prefork will be activated as fall back"
X		_log_msg ""
X		_log_msg " Please follow the instructions in"
X		_log_msg "  ${MPM_FALLBACK}"
X		_log_msg "==================================================="
X
Xcat > ${MPM_FALLBACK} << _EOF
X# ==================================================================
X# Note:
X# www/apache24 build changed from static MPM to modular MPM loading!
X#
X# This file was installed as fall back, since no activated MPM
X# was detected in the existing httpd.conf.
X#
X# Please merge additions from httpd.conf.sample into your httpd.conf!
X#
X# After activating one of the mpm_modules in httpd.conf it is save
X# to deactivate the "LoadModule" line in this file.
X#
X# In case mod_(php|perl|python|...) modules from the official FreeBSD
X# package repo are installed please use the mpm_prefork module, else
X# feel free to test mpm_event (preferred) or mpm_worker.
X#
X# For more information see:
X#  http://httpd.apache.org/docs/2.4/mod/
X# ==================================================================
X
XLoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so
X_EOF
X
X	fi # $? -ne 0
Xelse
X	echo ${HTTPD_CONF} not readable
Xfi
X}
X
X# run only if build with modular MPM
Xif [ "$2" = "POST-INSTALL" ]; then
X	%%MPM_FALLBACK_CHECK%%_check_deprecated
Xfi
X
0b1494ad46e8c25ef8b558276d9422cb
echo x - apache24/files/no-accf.conf
sed 's/^X//' >apache24/files/no-accf.conf << '3688d312a29c923bbae1abf520246899'
X<IfDefine NOHTTPACCEPT>
X   AcceptFilter http none
X   AcceptFilter https none
X</IfDefine>
3688d312a29c923bbae1abf520246899
echo x - apache24/files/patch-modules_ssl_ssl__private.h
sed 's/^X//' >apache24/files/patch-modules_ssl_ssl__private.h << '49c493ff3f38fe85bb1909b6f0db7789'
X--- modules/ssl/ssl_private.h.orig	2018-03-23 14:22:26 UTC
X+++ modules/ssl/ssl_private.h
X@@ -123,7 +123,7 @@
X #define MODSSL_SSL_METHOD_CONST
X #endif
X 
X-#if defined(LIBRESSL_VERSION_NUMBER)
X+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L
X /* Missing from LibreSSL */
X #if LIBRESSL_VERSION_NUMBER < 0x2060000f
X #define SSL_CTRL_SET_MIN_PROTO_VERSION          123
49c493ff3f38fe85bb1909b6f0db7789
echo x - apache24/Makefile.options
sed 's/^X//' >apache24/Makefile.options << 'aa713fb25128cd14d3c39d2804c48a31'
X# $FreeBSD: head/www/apache24/Makefile.options 465461 2018-03-24 18:26:34Z joneum $
X
X# ===========================================================
X# Only the most important modules are enabled per default in 
X# httpd.conf, therfore build all modules not depending on other
X# ports, marked as example or developer module.
X#
X# Required modules without OPTION:
X#   UNIXD LOG_CONFIG
X
X
X# mod_proxy_html and xml2enc depending on libxml2
XPROXY_ENABLED_MODULES= \
X	PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_EXPRESS PROXY_FCGI \
X	PROXY_HTTP2 PROXY_FDPASS PROXY_FTP PROXY_HCHECK PROXY_HTML PROXY_HTTP \
X	PROXY_SCGI PROXY_UWSGI PROXY_WSTUNNEL
X
XPROXY_DISABLED_MODULES=
X
X# SESSION_CRYPTO need APR build with crypto (EVP support in APR)
XSESSION_ENABLED_MODULES= \
X	SESSION_COOKIE SESSION_CRYPTO SESSION_DBD
X
XSESSION_DISABLED_MODULES=
X
XEXAMPLE_MODULES= \
X	BUCKETEER CASE_FILTER CASE_FILTER_IN ECHO EXAMPLE_HOOKS EXAMPLE_IPC \
X	OPTIONAL_FN_EXPORT OPTIONAL_FN_IMPORT OPTIONAL_HOOK_EXPORT \
X	OPTIONAL_HOOK_IMPORT
X
XMOST_ENABLED_MODULES= \
X	ACCESS_COMPAT ACTIONS ALIAS ALLOWMETHODS ASIS \
X	AUTHN_ANON AUTHN_CORE AUTHN_DBD AUTHN_DBM AUTHN_FILE AUTHN_SOCACHE \
X	AUTHZ_CORE AUTHZ_DBD AUTHZ_DBM AUTHNZ_FCGI AUTHZ_GROUPFILE AUTHZ_HOST \
X	AUTHZ_OWNER AUTHZ_USER \
X	AUTH_BASIC AUTH_DIGEST AUTH_FORM AUTOINDEX \
X	BUFFER \
X	CACHE CACHE_DISK CACHE_SOCACHE CERN_META CGI CGID \
X	CHARSET_LITE \
X	DATA DAV DAV_FS DAV_LOCK DBD DEFLATE DIALUP DIR DUMPIO \
X	ENV EXPIRES EXT_FILTER \
X	FILE_CACHE FILTER \
X	HEADERS HEARTBEAT HEARTMONITOR HTTP2 \
X	IMAGEMAP INCLUDE INFO \
X	LBMETHOD_BYBUSYNESS LBMETHOD_BYREQUESTS LBMETHOD_BYTRAFFIC \
X	LBMETHOD_HEARTBEAT LOGIO LOG_DEBUG LOG_FORENSIC \
X	MACRO MIME MIME_MAGIC \
X	NEGOTIATION \
X	RATELIMIT REFLECTOR REMOTEIP REQTIMEOUT REQUEST REWRITE \
X	SED SETENVIF \
X	SLOTMEM_PLAIN SLOTMEM_SHM SOCACHE_DBM SOCACHE_MEMCACHE SOCACHE_SHMCB \
X	SPELING SSL STATUS SUBSTITUTE \
X	UNIQUE_ID USERDIR USERTRACK \
X	VERSION VHOST_ALIAS \
X	WATCHDOG XML2ENC
X
XMOST_DISABLED_MODULES= \
X	AUTHNZ_LDAP BROTLI IDENT LDAP LUA MD SOCACHE_DC SUEXEC
X
X#     enable/disable additional PROXY/SESSION modules
XMETA_MODULES=	PROXY SESSION
X
XADDITIONAL_OPT=	LUAJIT IPV4_MAPPED
X
X# ===================================================================================
X
XOPTIONS_MULTI=		${META_MODULES}
XOPTIONS_MULTI_PROXY=	${PROXY_ENABLED_MODULES} ${PROXY_DISABLED_MODULES}
XOPTIONS_MULTI_SESSION=	${SESSION_ENABLED_MODULES} ${SESSION_DISABLED_MODULES}
X
XOPTIONS_GROUP=		EXAMPLE
XOPTIONS_GROUP_EXAMPLE=	${EXAMPLE_MODULES}
X
XOPTIONS_RADIO=		MPM_SHARED
XOPTIONS_RADIO_MPM_SHARED=	MPM_SHARED
X
XOPTIONS_SINGLE=			DEFAULT_MPM
XOPTIONS_SINGLE_DEFAULT_MPM=	MPM_PREFORK MPM_WORKER MPM_EVENT
X
X# ===================================================================================
X
XALL_MODULES=	${MOST_ENABLED_MODULES} ${MOST_DISABLED_MODULES} \
X	${PROXY_ENABLED_MODULES} ${PROXY_DISABLED_MODULES} \
X	${SESSION_ENABLED_MODULES} ${SESSION_DISABLED_MODULES} \
X	${EXAMPLE_MODULES} ${META_MODULES}
X
XOPTIONS_DEFINE=		\
X	${MOST_ENABLED_MODULES}	\
X	${MOST_DISABLED_MODULES}\
X	${ADDITIONAL_OPT}	\
X	${OPTIONS_MULTI}
X
XOPTIONS_DEFAULT=		\
X	${MOST_ENABLED_MODULES}	\
X	${OPTIONS_MULTI}	\
X	${SESSION_ENABLED_MODULES} \
X	${PROXY_ENABLED_MODULES} \
X	MPM_SHARED \
X	MPM_PREFORK
aa713fb25128cd14d3c39d2804c48a31
echo x - apache24/Makefile
sed 's/^X//' >apache24/Makefile << '36ab9b3203cc1210dbb3a89fefa26528'
X# $FreeBSD: head/www/apache24/Makefile 468867 2018-05-02 19:03:18Z brnrd $
X
XPORTNAME=	apache24
XPORTVERSION=	2.4.33
XPORTREVISION=	2
XCATEGORIES=	www ipv6
XMASTER_SITES=	APACHE_HTTPD
XDISTNAME=	httpd-${PORTVERSION}
XDIST_SUBDIR=	apache24
X
XMAINTAINER=	apache@FreeBSD.org
XCOMMENT=	Version 2.4.x of Apache web server
X
XLICENSE=	APACHE20
XLICENSE_FILE=	${WRKSRC}/LICENSE
X
XLIB_DEPENDS=	libexpat.so:textproc/expat2 \
X		libapr-1.so:devel/apr1 \
X		libpcre.so:devel/pcre
X
XCONFLICTS_INSTALL=	apache22-*
X
XUSES=		apache:server,2.4 autoreconf cpe iconv libtool perl5 tar:bzip2
XUSE_PERL5=	run
XUSE_RC_SUBR=	apache24 htcacheclean
XGNU_CONFIGURE=	yes
X
XCPE_VENDOR=	apache
XCPE_PRODUCT=	http_server
X
XPORTDOCS=	*
XSUB_FILES=	pkg-install pkg-deinstall
X
X# Fallback MPM after switching from static to modular MPM
XSUB_LIST+=	MPMF="000_mpm_prefork_fallback.conf"
X
XUSERS=		www
XGROUPS=		www
X
XWITH_HTTP_PORT?=	80
XWITH_SSL_PORT?=		443
X
X.include "${.CURDIR}/Makefile.options"
X.include "${.CURDIR}/Makefile.options.desc"
XOPTIONS_SUB=	yes
X
X# IMPLIES
XAUTHN_DBD_IMPLIES=		DBD
XHEARTBEAT_IMPLIES=		WATCHDOG STATUS
XHEARTMONITOR_IMPLIES=		WATCHDOG STATUS
XLBMETHOD_HEARTBEAT_IMPLIES=	WATCHDOG STATUS HEARTMONITOR
XPROXY_HCHECK_IMPLIES=		WATCHDOG
XPROXY_HTTP2_IMPLIES=		PROXY_BALANCER
X.for module in ${PROXY_ENABLED_MODULES:NPROXY} ${PROXY_DISABLED_MODULES}
X${module}_IMPLIES=		PROXY
X.endfor
X.for module in ${SESSION_ENABLED_MODULES:NSESSION} ${SESSION_DISABLED_MODULES}
X${module}_IMPLIES=		SESSION
X.endfor
X
X# Multi-Processing Modules options handling
XMPM_PREFORK_CONFIGURE_ON=	--with-mpm=prefork
XMPM_WORKER_CONFIGURE_ON=	--with-mpm=worker
XMPM_EVENT_CONFIGURE_ON=		--with-mpm=event
XMPM_SHARED_CONFIGURE_ON=	--enable-mpms-shared=all
XMPM_SHARED_SUB_LIST=		MPM_FALLBACK_CHECK=""
XMPM_SHARED_SUB_LIST_OFF=	MPM_FALLBACK_CHECK="\#"
X
XAUTHNZ_LDAP_CONFIGURE_ON=	--enable-authnz-ldap
XBROTLI_CONFIGURE_WITH=		brotli=${LOCALBASE}
XBROTLI_LIB_DEPENDS=		libbrotlicommon.so:archivers/brotli
XHTTP2_CONFIGURE_ON=		--with-nghttp2=${LOCALBASE}
XHTTP2_LIB_DEPENDS=		libnghttp2.so:www/libnghttp2
XIPV4_MAPPED_CONFIGURE_ENABLE=	v4-mapped
XLDAP_CONFIGURE_ON=		--enable-ldap=shared
XLUAJIT_LIB_DEPENDS=		libluajit-5.1.so:lang/luajit
XLUA_CONFIGURE_ENV=		LUA_CFLAGS="-I${LUA_INCDIR}" \
X				LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
XLUA_CONFIGURE_WITH=		lua=${LOCALBASE}
XLUA_USES=			lua
XMD_CONFIGURE_ON=		--with-curl=${LOCALBASE} \
X				--with-jansson=${LOCALBASE} \
X				--with-openssl=${OPENSSLBASE}
XMD_LIB_DEPENDS=			libcurl.so:ftp/curl \
X				libjansson.so:devel/jansson
XMD_USES=			ssl
XPROXY_HTML_USE=			GNOME=libxml2
XPROXY_HTTP2_CONFIGURE_ON=	--with-nghttp2=${LOCALBASE}
XPROXY_HTTP2_LIB_DEPENDS=	libnghttp2.so:www/libnghttp2
XSOCACHE_DC_CONFIGURE_ON=	--with-distcache=${LOCALBASE}
XSOCACHE_DC_LIB_DEPENDS=		libdistcache.so:security/distcache
XXML2ENC_USE=			GNOME=libxml2
X
X# Note: OpenSSL version (base/ports) depends how devel/apr1 was built
X#  apu-1-config --(includes|ldflags) and apr_rules.mk
XSSL_CFLAGS=			-I${OPENSSLINC}
XSSL_CONFIGURE_ON=		--with-ssl=${OPENSSLBASE}
XSSL_LDFLAGS=			-L${OPENSSLLIB}
XSSL_USES=			ssl
X
XETC_SUBDIRS=		Includes envvars.d extra modules.d
X
XAPR_CONFIG?=		${LOCALBASE}/bin/apr-1-config
XAPU_CONFIG?=		${LOCALBASE}/bin/apu-1-config
XAPU_LDAP?=		${LOCALBASE}/lib/apr-util-1/apr_ldap.so
XAPU_CRYPTO_OPENSSL?=	${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so
XAPU_CRYPTO_NSS?=	${LOCALBASE}/lib/apr-util-1/apr_crypto_nss.so
X
X.include <bsd.port.pre.mk>
X
XPREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
X
XCONFIGURE_ARGS+=--prefix=${PREFIX_RELDEST} \
X		--enable-layout=FreeBSD \
X		--with-port=${WITH_HTTP_PORT} \
X		--with-sslport=${WITH_SSL_PORT} \
X		--with-expat=${LOCALBASE} \
X		--enable-http \
X		--with-pcre=${LOCALBASE} \
X		--with-apr=${APR_CONFIG} \
X		--with-apr-util=${APU_CONFIG}
X
XCONFIGURE_ENV+=	LOCALBASE="${LOCALBASE}" \
X		CONFIG_SHELL="${SH}"
X
XMAKE_ENV+=	EXPR_COMPAT=yes \
X		INSTALL_MAN="${INSTALL_MAN}" \
X		DATADIR=${DATADIR}
X
X.for module in ${ALL_MODULES}
X.if ${PORT_OPTIONS:M${module}}
XCONFIGURE_ARGS+=	--enable-${module:S/_/-/g:tl}=shared
X.else
XCONFIGURE_ARGS+=	--disable-${module:S/_/-/g:tl}
X.endif
X.endfor
X
X#=====================================================
X# here we do only OPTIONS fixups
X
X# Check for APR-util module exists
X.if exists(${APU_CONFIG})
X.  if (${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP}) && !exists(${APU_LDAP})
XIGNORE=	LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\
X	Please rebuild APR with LDAP support
X.  endif
X.  if ${PORT_OPTIONS:MSESSION_CRYPTO} && \
X	!(exists(${APU_CRYPTO_OPENSSL}) || exists(${APU_CRYPTO_NSS}))
XIGNORE=	SESSION_CRYPTO requires APR-util to have crypto openssl support build in.\
X	Please rebuild APR with crypto openssl support
X.  endif
X.endif	# exists APU_CONFIG
X
X.if ( ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST} ) && \
X	empty(PORT_OPTIONS:MAUTHN*)
XIGNORE=	AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider
X.endif
X
X.if ${PORT_OPTIONS:MAUTH_BASIC} && empty(PORT_OPTIONS:MAUTHZ*)
XIGNORE=	AUTH_BASIC need at least one AUTHZ provider
X.endif
X
X# Non options-NG option handling
X.if ${PORT_OPTIONS:MXML2ENC} || ${PORT_OPTIONS:MPROXY_HTML}
XCONFIGURE_ARGS+=	--with-libxml2=${LOCALBASE}/include/libxml2
X.else
XCONFIGURE_ARGS+=	--without-libxml2
X.endif
X
X# WITH_STATIC_SUPPORT, WITH_DEBUG, WITH_EXCEPTION_HOOK 
X# Only to be used for special builds
X.if defined(WITH_STATIC_SUPPORT)
XCONFIGURE_ARGS+=	--enable-static-support
X.endif
X.if defined(WITH_DEBUG)
X# debug overrides CFLAGS
XDEBUG_FLAGS?=	-O0 -g -ggdb3
XCFLAGS=		${DEBUG_FLAGS}
XCONFIGURE_ARGS+=	--enable-maintainer-mode
XWITH_EXCEPTION_HOOK=	yes
X.else
XEXTRA_PATCHES+=	${FILESDIR}/extra-patch-server_buildmark.c
X.endif
X.if defined(WITH_EXCEPTION_HOOK)
XCONFIGURE_ARGS+=	--enable-exception-hook
X.endif
X
X.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 &&\
X	${PORT_OPTIONS:MHTTP2} && ${OPENSSLBASE} == /usr
XSUB_FILES+=		pkg-message
X.endif
X
Xpre-extract-SUEXEC-on:
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "suexec builds with user '${USERS}' and docroot '${PREFIX}/www' by default,"
X	@${ECHO_CMD} "use SUEXEC_DOCROOT and SUEXEC_USERDIR in /etc/make.conf to adjust."
X	@${ECHO_CMD} ""
X
Xpost-extract:
X# make sure the configure script contains our patches, preserve the original script for comparsion
X	-${MV} -v ${WRKSRC}/configure ${WRKSRC}/configure.upstream
X
X# make stage-qa script happy, it complains on empty dirs even 'PORTDOCS=*' is set
X# use RMDIR in case upstream ever place some files into this directories
X.for d in xsl/util xsl lang
X	-${RMDIR} ${WRKSRC}/docs/manual/style/${d}
X.endfor
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' ${WRKSRC}/server/core.c
X	${REINPLACE_CMD} -e 's|logs/error_log|/var/log/httpd-error.log|' \
X		${WRKSRC}/include/httpd.h
X	${REINPLACE_CMD} -e 's|perlbin=.*|perlbin=${PERL}|' \
X		${WRKSRC}/configure.in
X	${RM} ${WRKSRC}/docs/docroot/*.bak
X	${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual
X
Xpre-configure::
X# silence autotools
X	-@${MV} -v ${WRKSRC}/configure.in ${WRKSRC}/configure.ac 2>/dev/null
X
Xpost-configure:
X	@FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\
X		${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," \
X			${WRKSRC}/docs/conf/extra/httpd-userdir.conf
X	${REINPLACE_CMD} -e "/EXTRA_LDFLAGS/s|-L/usr/lib||g" ${WRKSRC}/build/config_vars.mk
X	${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e "s,%%WWWGRP%%,${WWWGRP}," \
X		${WRKSRC}/docs/conf/httpd.conf
X	${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/support/envvars-std
X
Xpost-install:
X	@${MKDIR} ${ETC_SUBDIRS:S|^|${STAGEDIR}${ETCDIR}/|}
X	${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${STAGEDIR}${ETCDIR}/Includes/
X# place for 3rd party module configuration
X	${INSTALL_DATA} ${FILESDIR}/README_modules.d ${STAGEDIR}${ETCDIR}/modules.d/
X# strip returns an error for non binary files, but we have a big mix
X	-${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* 2>/dev/null
X	-${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
X	-${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so
X
Xpost-install-LOG_FORENSIC-on:
X	${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${STAGEDIR}${PREFIX}/sbin
X
X# maintainer only, check for new modules
Xmodlist: extract
X	@${AWK} '/: checking whether to enable mod_/ \
X		{printf "%%%%%s%%%%libexec/apache24/%s.so\n", \
X		toupper($$8), $$8}' ${WRKSRC}/configure.upstream \
X		| ${TR} -d '"' \
X		| ${SORT} -u \
X		| ${GREP} -E -v '^%%MOD_(HTTP|ISAPI|LOG_CONFIG|PRIVILEGES|SO|UNIXD)%%'
X
X.include <bsd.port.post.mk>
36ab9b3203cc1210dbb3a89fefa26528
echo x - apache24/distinfo
sed 's/^X//' >apache24/distinfo << '9848ce916b824829d1ed2e80979c721a'
XTIMESTAMP = 1521377807
XSHA256 (apache24/httpd-2.4.33.tar.bz2) = de02511859b00d17845b9abdd1f975d5ccb5d0b280c567da5bf2ad4b70846f05
XSIZE (apache24/httpd-2.4.33.tar.bz2) = 6934765
9848ce916b824829d1ed2e80979c721a
echo x - apache24/pkg-help
sed 's/^X//' >apache24/pkg-help << '6332ce38a7ef7de6aea29e833a08c733'
XHints:
X
X  - only a subset from the selected modules are activated by default in
X    httpd.conf.
X
X  - by default apache24 builds mpm_prefork, mpm_event and mpm_worker
X    as dynamically loadable module.  Even mpm_event is the preferred
X    MPM, mpm_prefork will be activated to keep compatibility with 
X    pre-build php/perl/python/... modules (used by apache22/apache24).
X
X
XNote:
X
X  To build the develop/example modules specify additional the parameter
X    -DIAMADEVELOPER (I am a developer)
X
X  For detailed module description visit
X    http://httpd.apache.org/docs/2.4/mod/
X
X  and for the develop/example modules
X    http://httpd.apache.org/docs/2.2/programs/configure.html#developermodules
6332ce38a7ef7de6aea29e833a08c733
echo x - apache24/pkg-plist
sed 's/^X//' >apache24/pkg-plist << 'e1b73a6f68cb7fbfbea75e340eddcd22'
Xbin/ab
Xbin/htdbm
Xbin/htdigest
Xbin/htpasswd
Xbin/httxt2dbm
Xbin/logresolve
X%%ETCDIR%%/Includes/no-accf.conf
X@sample %%ETCDIR%%/extra/httpd-autoindex.conf.sample
X@sample %%ETCDIR%%/extra/httpd-dav.conf.sample
X@sample %%ETCDIR%%/extra/httpd-default.conf.sample
X@sample %%ETCDIR%%/extra/httpd-info.conf.sample
X@sample %%ETCDIR%%/extra/httpd-languages.conf.sample
X@sample %%ETCDIR%%/extra/httpd-manual.conf.sample
X@sample %%ETCDIR%%/extra/httpd-mpm.conf.sample
X@sample %%ETCDIR%%/extra/httpd-multilang-errordoc.conf.sample
X@sample %%ETCDIR%%/extra/httpd-ssl.conf.sample
X@sample %%ETCDIR%%/extra/httpd-userdir.conf.sample
X@sample %%ETCDIR%%/extra/httpd-vhosts.conf.sample
X@sample %%ETCDIR%%/extra/proxy-html.conf.sample
X@sample %%ETCDIR%%/httpd.conf.sample
X@sample %%ETCDIR%%/magic.sample
X@sample %%ETCDIR%%/mime.types.sample
X%%ETCDIR%%/modules.d/README_modules.d
Xinclude/apache24/ap_compat.h
Xinclude/apache24/ap_config.h
Xinclude/apache24/ap_config_auto.h
Xinclude/apache24/ap_config_layout.h
Xinclude/apache24/ap_expr.h
Xinclude/apache24/ap_hooks.h
Xinclude/apache24/ap_listen.h
Xinclude/apache24/ap_mmn.h
Xinclude/apache24/ap_mpm.h
Xinclude/apache24/ap_provider.h
Xinclude/apache24/ap_regex.h
Xinclude/apache24/ap_regkey.h
Xinclude/apache24/ap_release.h
Xinclude/apache24/ap_slotmem.h
Xinclude/apache24/ap_socache.h
Xinclude/apache24/apache_noprobes.h
Xinclude/apache24/cache_common.h
Xinclude/apache24/heartbeat.h
Xinclude/apache24/http_config.h
Xinclude/apache24/http_connection.h
Xinclude/apache24/http_core.h
Xinclude/apache24/http_log.h
Xinclude/apache24/http_main.h
Xinclude/apache24/http_protocol.h
Xinclude/apache24/http_request.h
Xinclude/apache24/http_vhost.h
Xinclude/apache24/httpd.h
Xinclude/apache24/mod_auth.h
Xinclude/apache24/mod_cache.h
Xinclude/apache24/mod_cgi.h
Xinclude/apache24/mod_core.h
Xinclude/apache24/mod_dav.h
Xinclude/apache24/mod_dbd.h
Xinclude/apache24/mod_include.h
Xinclude/apache24/mod_log_config.h
Xinclude/apache24/mod_proxy.h
Xinclude/apache24/mod_request.h
Xinclude/apache24/mod_rewrite.h
Xinclude/apache24/mod_session.h
Xinclude/apache24/mod_so.h
Xinclude/apache24/mod_ssl.h
Xinclude/apache24/mod_ssl_openssl.h
Xinclude/apache24/mod_status.h
Xinclude/apache24/mod_unixd.h
Xinclude/apache24/mod_watchdog.h
Xinclude/apache24/mod_xml2enc.h
Xinclude/apache24/mpm_common.h
Xinclude/apache24/os.h
Xinclude/apache24/scoreboard.h
Xinclude/apache24/unixd.h
Xinclude/apache24/util_cfgtree.h
Xinclude/apache24/util_charset.h
Xinclude/apache24/util_cookies.h
Xinclude/apache24/util_ebcdic.h
Xinclude/apache24/util_fcgi.h
Xinclude/apache24/util_filter.h
Xinclude/apache24/util_ldap.h
Xinclude/apache24/util_md5.h
Xinclude/apache24/util_mutex.h
Xinclude/apache24/util_script.h
Xinclude/apache24/util_time.h
Xinclude/apache24/util_varbuf.h
Xinclude/apache24/util_xml.h
Xlibexec/apache24/httpd.exp
X%%ACCESS_COMPAT%%libexec/apache24/mod_access_compat.so
X%%ACTIONS%%libexec/apache24/mod_actions.so
X%%ALIAS%%libexec/apache24/mod_alias.so
X%%ALLOWMETHODS%%libexec/apache24/mod_allowmethods.so
X%%ASIS%%libexec/apache24/mod_asis.so
X%%AUTH_BASIC%%libexec/apache24/mod_auth_basic.so
X%%AUTH_DIGEST%%libexec/apache24/mod_auth_digest.so
X%%AUTH_FORM%%libexec/apache24/mod_auth_form.so
X%%AUTHN_ANON%%libexec/apache24/mod_authn_anon.so
X%%AUTHN_CORE%%libexec/apache24/mod_authn_core.so
X%%AUTHN_DBD%%libexec/apache24/mod_authn_dbd.so
X%%AUTHN_DBM%%libexec/apache24/mod_authn_dbm.so
X%%AUTHN_FILE%%libexec/apache24/mod_authn_file.so
X%%AUTHN_SOCACHE%%libexec/apache24/mod_authn_socache.so
X%%AUTHNZ_FCGI%%libexec/apache24/mod_authnz_fcgi.so
X%%AUTHNZ_LDAP%%libexec/apache24/mod_authnz_ldap.so
X%%AUTHZ_CORE%%libexec/apache24/mod_authz_core.so
X%%AUTHZ_DBD%%libexec/apache24/mod_authz_dbd.so
X%%AUTHZ_DBM%%libexec/apache24/mod_authz_dbm.so
X%%AUTHZ_GROUPFILE%%libexec/apache24/mod_authz_groupfile.so
X%%AUTHZ_HOST%%libexec/apache24/mod_authz_host.so
X%%AUTHZ_OWNER%%libexec/apache24/mod_authz_owner.so
X%%AUTHZ_USER%%libexec/apache24/mod_authz_user.so
X%%AUTOINDEX%%libexec/apache24/mod_autoindex.so
X%%BROTLI%%libexec/apache24/mod_brotli.so
X%%BUCKETEER%%libexec/apache24/mod_bucketeer.so
X%%BUFFER%%libexec/apache24/mod_buffer.so
X%%CACHE%%libexec/apache24/mod_cache.so
X%%CACHE_DISK%%libexec/apache24/mod_cache_disk.so
X%%CACHE_SOCACHE%%libexec/apache24/mod_cache_socache.so
X%%CASE_FILTER%%libexec/apache24/mod_case_filter.so
X%%CASE_FILTER_IN%%libexec/apache24/mod_case_filter_in.so
X%%CERN_META%%libexec/apache24/mod_cern_meta.so
X%%CGI%%libexec/apache24/mod_cgi.so
X%%CGID%%libexec/apache24/mod_cgid.so
X%%CHARSET_LITE%%libexec/apache24/mod_charset_lite.so
X%%DATA%%libexec/apache24/mod_data.so
X%%DAV%%libexec/apache24/mod_dav.so
X%%DAV_FS%%libexec/apache24/mod_dav_fs.so
X%%DAV_LOCK%%libexec/apache24/mod_dav_lock.so
X%%DBD%%libexec/apache24/mod_dbd.so
X%%DEFLATE%%libexec/apache24/mod_deflate.so
X%%DIALUP%%libexec/apache24/mod_dialup.so
X%%DIR%%libexec/apache24/mod_dir.so
X%%DUMPIO%%libexec/apache24/mod_dumpio.so
X%%ECHO%%libexec/apache24/mod_echo.so
X%%ENV%%libexec/apache24/mod_env.so
X%%EXAMPLE_HOOKS%%libexec/apache24/mod_example_hooks.so
X%%EXAMPLE_IPC%%libexec/apache24/mod_example_ipc.so
X%%EXPIRES%%libexec/apache24/mod_expires.so
X%%EXT_FILTER%%libexec/apache24/mod_ext_filter.so
X%%FILE_CACHE%%libexec/apache24/mod_file_cache.so
X%%FILTER%%libexec/apache24/mod_filter.so
X%%HEADERS%%libexec/apache24/mod_headers.so
X%%HEARTBEAT%%libexec/apache24/mod_heartbeat.so
X%%HEARTMONITOR%%libexec/apache24/mod_heartmonitor.so
X%%HTTP2%%libexec/apache24/mod_http2.so
X%%IDENT%%libexec/apache24/mod_ident.so
X%%IMAGEMAP%%libexec/apache24/mod_imagemap.so
X%%INCLUDE%%libexec/apache24/mod_include.so
X%%INFO%%libexec/apache24/mod_info.so
X%%LBMETHOD_BYBUSYNESS%%libexec/apache24/mod_lbmethod_bybusyness.so
X%%LBMETHOD_BYREQUESTS%%libexec/apache24/mod_lbmethod_byrequests.so
X%%LBMETHOD_BYTRAFFIC%%libexec/apache24/mod_lbmethod_bytraffic.so
X%%LBMETHOD_HEARTBEAT%%libexec/apache24/mod_lbmethod_heartbeat.so
X%%LDAP%%libexec/apache24/mod_ldap.so
Xlibexec/apache24/mod_log_config.so
X%%LOG_DEBUG%%libexec/apache24/mod_log_debug.so
X%%LOG_FORENSIC%%libexec/apache24/mod_log_forensic.so
X%%LOGIO%%libexec/apache24/mod_logio.so
X%%LUA%%libexec/apache24/mod_lua.so
X%%MACRO%%libexec/apache24/mod_macro.so
X%%MD%%libexec/apache24/mod_md.so
X%%MIME%%libexec/apache24/mod_mime.so
X%%MIME_MAGIC%%libexec/apache24/mod_mime_magic.so
X%%MPM_SHARED%%libexec/apache24/mod_mpm_event.so
X%%MPM_SHARED%%libexec/apache24/mod_mpm_prefork.so
X%%MPM_SHARED%%libexec/apache24/mod_mpm_worker.so
X%%NEGOTIATION%%libexec/apache24/mod_negotiation.so
X%%OPTIONAL_FN_EXPORT%%libexec/apache24/mod_optional_fn_export.so
X%%OPTIONAL_FN_IMPORT%%libexec/apache24/mod_optional_fn_import.so
X%%OPTIONAL_HOOK_EXPORT%%libexec/apache24/mod_optional_hook_export.so
X%%OPTIONAL_HOOK_IMPORT%%libexec/apache24/mod_optional_hook_import.so
X%%PROXY%%libexec/apache24/mod_proxy.so
X%%PROXY_AJP%%libexec/apache24/mod_proxy_ajp.so
X%%PROXY_BALANCER%%libexec/apache24/mod_proxy_balancer.so
X%%PROXY_CONNECT%%libexec/apache24/mod_proxy_connect.so
X%%PROXY_EXPRESS%%libexec/apache24/mod_proxy_express.so
X%%PROXY_FCGI%%libexec/apache24/mod_proxy_fcgi.so
X%%PROXY_FDPASS%%libexec/apache24/mod_proxy_fdpass.so
X%%PROXY_FTP%%libexec/apache24/mod_proxy_ftp.so
X%%PROXY_HTML%%libexec/apache24/mod_proxy_html.so
X%%PROXY_HCHECK%%libexec/apache24/mod_proxy_hcheck.so
X%%PROXY_HTTP%%libexec/apache24/mod_proxy_http.so
X%%PROXY_HTTP2%%libexec/apache24/mod_proxy_http2.so
X%%PROXY_SCGI%%libexec/apache24/mod_proxy_scgi.so
X%%PROXY_UWSGI%%libexec/apache24/mod_proxy_uwsgi.so
X%%PROXY_WSTUNNEL%%libexec/apache24/mod_proxy_wstunnel.so
X%%RATELIMIT%%libexec/apache24/mod_ratelimit.so
X%%REFLECTOR%%libexec/apache24/mod_reflector.so
X%%REMOTEIP%%libexec/apache24/mod_remoteip.so
X%%REQTIMEOUT%%libexec/apache24/mod_reqtimeout.so
X%%REQUEST%%libexec/apache24/mod_request.so
X%%REWRITE%%libexec/apache24/mod_rewrite.so
X%%SED%%libexec/apache24/mod_sed.so
X%%SESSION%%libexec/apache24/mod_session.so
X%%SESSION_COOKIE%%libexec/apache24/mod_session_cookie.so
X%%SESSION_CRYPTO%%libexec/apache24/mod_session_crypto.so
X%%SESSION_DBD%%libexec/apache24/mod_session_dbd.so
X%%SETENVIF%%libexec/apache24/mod_setenvif.so
X%%SLOTMEM_PLAIN%%libexec/apache24/mod_slotmem_plain.so
X%%SLOTMEM_SHM%%libexec/apache24/mod_slotmem_shm.so
X%%SOCACHE_DBM%%libexec/apache24/mod_socache_dbm.so
X%%SOCACHE_DC%%libexec/apache24/mod_socache_dc.so
X%%SOCACHE_MEMCACHE%%libexec/apache24/mod_socache_memcache.so
X%%SOCACHE_SHMCB%%libexec/apache24/mod_socache_shmcb.so
X%%SPELING%%libexec/apache24/mod_speling.so
X%%SSL%%libexec/apache24/mod_ssl.so
X%%STATUS%%libexec/apache24/mod_status.so
X%%SUBSTITUTE%%libexec/apache24/mod_substitute.so
X%%SUEXEC%%libexec/apache24/mod_suexec.so
X%%UNIQUE_ID%%libexec/apache24/mod_unique_id.so
Xlibexec/apache24/mod_unixd.so
X%%USERDIR%%libexec/apache24/mod_userdir.so
X%%USERTRACK%%libexec/apache24/mod_usertrack.so
X%%VERSION%%libexec/apache24/mod_version.so
X%%VHOST_ALIAS%%libexec/apache24/mod_vhost_alias.so
X%%WATCHDOG%%libexec/apache24/mod_watchdog.so
X%%XML2ENC%%libexec/apache24/mod_xml2enc.so
Xman/man1/ab.1.gz
Xman/man1/apxs.1.gz
Xman/man1/dbmmanage.1.gz
Xman/man1/htdbm.1.gz
Xman/man1/htdigest.1.gz
Xman/man1/htpasswd.1.gz
Xman/man1/httxt2dbm.1.gz
Xman/man1/logresolve.1.gz
Xman/man8/apachectl.8.gz
Xman/man8/fcgistarter.8.gz
Xman/man8/htcacheclean.8.gz
Xman/man8/httpd.8.gz
Xman/man8/rotatelogs.8.gz
Xman/man8/suexec.8.gz
Xsbin/apachectl
Xsbin/apxs
X%%LOG_FORENSIC%%sbin/check_forensic
Xsbin/checkgid
Xsbin/dbmmanage
Xsbin/envvars
Xsbin/fcgistarter
Xsbin/htcacheclean
Xsbin/httpd
Xsbin/rotatelogs
Xsbin/split-logfile
X%%SUEXEC%%@(,,4755) sbin/suexec
X%%DATADIR%%/build/config.nice
X%%DATADIR%%/build/config_vars.mk
X%%DATADIR%%/build/instdso.sh
X%%DATADIR%%/build/library.mk
X%%DATADIR%%/build/ltlib.mk
X%%DATADIR%%/build/mkdir.sh
X%%DATADIR%%/build/program.mk
X%%DATADIR%%/build/rules.mk
X%%DATADIR%%/build/special.mk
X@preunexec if cmp -s %D/%%WWWDIR%%/data/index.html %D/%%DATADIR%%/misc/index.html; then rm -f %D/%%WWWDIR%%/data/index.html; fi
X%%DATADIR%%/misc/index.html
X@postexec [ -f %D/%%WWWDIR%%/data/index.html ] || cp %D/%%DATADIR%%/misc/index.html %D/%%WWWDIR%%/data/index.html
X@(,,0400) %%WWWDIR%%/cgi-bin/printenv
X@comment %%WWWDIR%%/cgi-bin/printenv.vbs 
X@comment %%WWWDIR%%/cgi-bin/printenv.wsf
X@(,,0400) %%WWWDIR%%/cgi-bin/test-cgi
X%%WWWDIR%%/error/HTTP_BAD_GATEWAY.html.var
X%%WWWDIR%%/error/HTTP_BAD_REQUEST.html.var
X%%WWWDIR%%/error/HTTP_FORBIDDEN.html.var
X%%WWWDIR%%/error/HTTP_GONE.html.var
X%%WWWDIR%%/error/HTTP_INTERNAL_SERVER_ERROR.html.var
X%%WWWDIR%%/error/HTTP_LENGTH_REQUIRED.html.var
X%%WWWDIR%%/error/HTTP_METHOD_NOT_ALLOWED.html.var
X%%WWWDIR%%/error/HTTP_NOT_FOUND.html.var
X%%WWWDIR%%/error/HTTP_NOT_IMPLEMENTED.html.var
X%%WWWDIR%%/error/HTTP_PRECONDITION_FAILED.html.var
X%%WWWDIR%%/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
X%%WWWDIR%%/error/HTTP_REQUEST_TIME_OUT.html.var
X%%WWWDIR%%/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
X%%WWWDIR%%/error/HTTP_SERVICE_UNAVAILABLE.html.var
X%%WWWDIR%%/error/HTTP_UNAUTHORIZED.html.var
X%%WWWDIR%%/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
X%%WWWDIR%%/error/HTTP_VARIANT_ALSO_VARIES.html.var
X%%WWWDIR%%/error/README
X%%WWWDIR%%/error/contact.html.var
X%%WWWDIR%%/error/include/bottom.html
X%%WWWDIR%%/error/include/spacer.html
X%%WWWDIR%%/error/include/top.html
X%%WWWDIR%%/icons/README
X%%WWWDIR%%/icons/README.html
X%%WWWDIR%%/icons/a.gif
X%%WWWDIR%%/icons/a.png
X%%WWWDIR%%/icons/alert.black.gif
X%%WWWDIR%%/icons/alert.black.png
X%%WWWDIR%%/icons/alert.red.gif
X%%WWWDIR%%/icons/alert.red.png
X%%WWWDIR%%/icons/apache_pb.gif
X%%WWWDIR%%/icons/apache_pb.png
X%%WWWDIR%%/icons/apache_pb.svg
X%%WWWDIR%%/icons/apache_pb2.gif
X%%WWWDIR%%/icons/apache_pb2.png
X%%WWWDIR%%/icons/back.gif
X%%WWWDIR%%/icons/back.png
X%%WWWDIR%%/icons/ball.gray.gif
X%%WWWDIR%%/icons/ball.gray.png
X%%WWWDIR%%/icons/ball.red.gif
X%%WWWDIR%%/icons/ball.red.png
X%%WWWDIR%%/icons/binary.gif
X%%WWWDIR%%/icons/binary.png
X%%WWWDIR%%/icons/binhex.gif
X%%WWWDIR%%/icons/binhex.png
X%%WWWDIR%%/icons/blank.gif
X%%WWWDIR%%/icons/blank.png
X%%WWWDIR%%/icons/bomb.gif
X%%WWWDIR%%/icons/bomb.png
X%%WWWDIR%%/icons/box1.gif
X%%WWWDIR%%/icons/box1.png
X%%WWWDIR%%/icons/box2.gif
X%%WWWDIR%%/icons/box2.png
X%%WWWDIR%%/icons/broken.gif
X%%WWWDIR%%/icons/broken.png
X%%WWWDIR%%/icons/burst.gif
X%%WWWDIR%%/icons/burst.png
X%%WWWDIR%%/icons/c.gif
X%%WWWDIR%%/icons/c.png
X%%WWWDIR%%/icons/comp.blue.gif
X%%WWWDIR%%/icons/comp.blue.png
X%%WWWDIR%%/icons/comp.gray.gif
X%%WWWDIR%%/icons/comp.gray.png
X%%WWWDIR%%/icons/compressed.gif
X%%WWWDIR%%/icons/compressed.png
X%%WWWDIR%%/icons/continued.gif
X%%WWWDIR%%/icons/continued.png
X%%WWWDIR%%/icons/dir.gif
X%%WWWDIR%%/icons/dir.png
X%%WWWDIR%%/icons/diskimg.gif
X%%WWWDIR%%/icons/diskimg.png
X%%WWWDIR%%/icons/down.gif
X%%WWWDIR%%/icons/down.png
X%%WWWDIR%%/icons/dvi.gif
X%%WWWDIR%%/icons/dvi.png
X%%WWWDIR%%/icons/f.gif
X%%WWWDIR%%/icons/f.png
X%%WWWDIR%%/icons/folder.gif
X%%WWWDIR%%/icons/folder.open.gif
X%%WWWDIR%%/icons/folder.open.png
X%%WWWDIR%%/icons/folder.png
X%%WWWDIR%%/icons/folder.sec.gif
X%%WWWDIR%%/icons/folder.sec.png
X%%WWWDIR%%/icons/forward.gif
X%%WWWDIR%%/icons/forward.png
X%%WWWDIR%%/icons/generic.gif
X%%WWWDIR%%/icons/generic.png
X%%WWWDIR%%/icons/generic.red.gif
X%%WWWDIR%%/icons/generic.red.png
X%%WWWDIR%%/icons/generic.sec.gif
X%%WWWDIR%%/icons/generic.sec.png
X%%WWWDIR%%/icons/hand.right.gif
X%%WWWDIR%%/icons/hand.right.png
X%%WWWDIR%%/icons/hand.up.gif
X%%WWWDIR%%/icons/hand.up.png
X%%WWWDIR%%/icons/icon.sheet.gif
X%%WWWDIR%%/icons/icon.sheet.png
X%%WWWDIR%%/icons/image1.gif
X%%WWWDIR%%/icons/image1.png
X%%WWWDIR%%/icons/image2.gif
X%%WWWDIR%%/icons/image2.png
X%%WWWDIR%%/icons/image3.gif
X%%WWWDIR%%/icons/image3.png
X%%WWWDIR%%/icons/index.gif
X%%WWWDIR%%/icons/index.png
X%%WWWDIR%%/icons/layout.gif
X%%WWWDIR%%/icons/layout.png
X%%WWWDIR%%/icons/left.gif
X%%WWWDIR%%/icons/left.png
X%%WWWDIR%%/icons/link.gif
X%%WWWDIR%%/icons/link.png
X%%WWWDIR%%/icons/movie.gif
X%%WWWDIR%%/icons/movie.png
X%%WWWDIR%%/icons/odf6odb.png
X%%WWWDIR%%/icons/odf6odc.png
X%%WWWDIR%%/icons/odf6odf.png
X%%WWWDIR%%/icons/odf6odg.png
X%%WWWDIR%%/icons/odf6odi.png
X%%WWWDIR%%/icons/odf6odm.png
X%%WWWDIR%%/icons/odf6odp.png
X%%WWWDIR%%/icons/odf6ods.png
X%%WWWDIR%%/icons/odf6odt.png
X%%WWWDIR%%/icons/odf6otc.png
X%%WWWDIR%%/icons/odf6otf.png
X%%WWWDIR%%/icons/odf6otg.png
X%%WWWDIR%%/icons/odf6oth.png
X%%WWWDIR%%/icons/odf6oti.png
X%%WWWDIR%%/icons/odf6otp.png
X%%WWWDIR%%/icons/odf6ots.png
X%%WWWDIR%%/icons/odf6ott.png
X%%WWWDIR%%/icons/p.gif
X%%WWWDIR%%/icons/p.png
X%%WWWDIR%%/icons/patch.gif
X%%WWWDIR%%/icons/patch.png
X%%WWWDIR%%/icons/pdf.gif
X%%WWWDIR%%/icons/pdf.png
X%%WWWDIR%%/icons/pie0.gif
X%%WWWDIR%%/icons/pie0.png
X%%WWWDIR%%/icons/pie1.gif
X%%WWWDIR%%/icons/pie1.png
X%%WWWDIR%%/icons/pie2.gif
X%%WWWDIR%%/icons/pie2.png
X%%WWWDIR%%/icons/pie3.gif
X%%WWWDIR%%/icons/pie3.png
X%%WWWDIR%%/icons/pie4.gif
X%%WWWDIR%%/icons/pie4.png
X%%WWWDIR%%/icons/pie5.gif
X%%WWWDIR%%/icons/pie5.png
X%%WWWDIR%%/icons/pie6.gif
X%%WWWDIR%%/icons/pie6.png
X%%WWWDIR%%/icons/pie7.gif
X%%WWWDIR%%/icons/pie7.png
X%%WWWDIR%%/icons/pie8.gif
X%%WWWDIR%%/icons/pie8.png
X%%WWWDIR%%/icons/portal.gif
X%%WWWDIR%%/icons/portal.png
X%%WWWDIR%%/icons/ps.gif
X%%WWWDIR%%/icons/ps.png
X%%WWWDIR%%/icons/quill.gif
X%%WWWDIR%%/icons/quill.png
X%%WWWDIR%%/icons/right.gif
X%%WWWDIR%%/icons/right.png
X%%WWWDIR%%/icons/screw1.gif
X%%WWWDIR%%/icons/screw1.png
X%%WWWDIR%%/icons/screw2.gif
X%%WWWDIR%%/icons/screw2.png
X%%WWWDIR%%/icons/script.gif
X%%WWWDIR%%/icons/script.png
X%%WWWDIR%%/icons/small/back.gif
X%%WWWDIR%%/icons/small/back.png
X%%WWWDIR%%/icons/small/binary.gif
X%%WWWDIR%%/icons/small/binary.png
X%%WWWDIR%%/icons/small/binhex.gif
X%%WWWDIR%%/icons/small/binhex.png
X%%WWWDIR%%/icons/small/blank.gif
X%%WWWDIR%%/icons/small/blank.png
X%%WWWDIR%%/icons/small/broken.gif
X%%WWWDIR%%/icons/small/broken.png
X%%WWWDIR%%/icons/small/burst.gif
X%%WWWDIR%%/icons/small/burst.png
X%%WWWDIR%%/icons/small/comp1.gif
X%%WWWDIR%%/icons/small/comp1.png
X%%WWWDIR%%/icons/small/comp2.gif
X%%WWWDIR%%/icons/small/comp2.png
X%%WWWDIR%%/icons/small/compressed.gif
X%%WWWDIR%%/icons/small/compressed.png
X%%WWWDIR%%/icons/small/continued.gif
X%%WWWDIR%%/icons/small/continued.png
X%%WWWDIR%%/icons/small/doc.gif
X%%WWWDIR%%/icons/small/doc.png
X%%WWWDIR%%/icons/small/folder.gif
X%%WWWDIR%%/icons/small/folder.png
X%%WWWDIR%%/icons/small/folder2.gif
X%%WWWDIR%%/icons/small/folder2.png
X%%WWWDIR%%/icons/small/forward.gif
X%%WWWDIR%%/icons/small/forward.png
X%%WWWDIR%%/icons/small/generic.gif
X%%WWWDIR%%/icons/small/generic.png
X%%WWWDIR%%/icons/small/generic2.gif
X%%WWWDIR%%/icons/small/generic2.png
X%%WWWDIR%%/icons/small/generic3.gif
X%%WWWDIR%%/icons/small/generic3.png
X%%WWWDIR%%/icons/small/image.gif
X%%WWWDIR%%/icons/small/image.png
X%%WWWDIR%%/icons/small/image2.gif
X%%WWWDIR%%/icons/small/image2.png
X%%WWWDIR%%/icons/small/index.gif
X%%WWWDIR%%/icons/small/index.png
X%%WWWDIR%%/icons/small/key.gif
X%%WWWDIR%%/icons/small/key.png
X%%WWWDIR%%/icons/small/movie.gif
X%%WWWDIR%%/icons/small/movie.png
X%%WWWDIR%%/icons/small/patch.gif
X%%WWWDIR%%/icons/small/patch.png
X%%WWWDIR%%/icons/small/ps.gif
X%%WWWDIR%%/icons/small/ps.png
X%%WWWDIR%%/icons/small/rainbow.gif
X%%WWWDIR%%/icons/small/rainbow.png
X%%WWWDIR%%/icons/small/sound.gif
X%%WWWDIR%%/icons/small/sound.png
X%%WWWDIR%%/icons/small/sound2.gif
X%%WWWDIR%%/icons/small/sound2.png
X%%WWWDIR%%/icons/small/tar.gif
X%%WWWDIR%%/icons/small/tar.png
X%%WWWDIR%%/icons/small/text.gif
X%%WWWDIR%%/icons/small/text.png
X%%WWWDIR%%/icons/small/transfer.gif
X%%WWWDIR%%/icons/small/transfer.png
X%%WWWDIR%%/icons/small/unknown.gif
X%%WWWDIR%%/icons/small/unknown.png
X%%WWWDIR%%/icons/small/uu.gif
X%%WWWDIR%%/icons/small/uu.png
X%%WWWDIR%%/icons/sound1.gif
X%%WWWDIR%%/icons/sound1.png
X%%WWWDIR%%/icons/sound2.gif
X%%WWWDIR%%/icons/sound2.png
X%%WWWDIR%%/icons/sphere1.gif
X%%WWWDIR%%/icons/sphere1.png
X%%WWWDIR%%/icons/sphere2.gif
X%%WWWDIR%%/icons/sphere2.png
X%%WWWDIR%%/icons/svg.png
X%%WWWDIR%%/icons/tar.gif
X%%WWWDIR%%/icons/tar.png
X%%WWWDIR%%/icons/tex.gif
X%%WWWDIR%%/icons/tex.png
X%%WWWDIR%%/icons/text.gif
X%%WWWDIR%%/icons/text.png
X%%WWWDIR%%/icons/transfer.gif
X%%WWWDIR%%/icons/transfer.png
X%%WWWDIR%%/icons/unknown.gif
X%%WWWDIR%%/icons/unknown.png
X%%WWWDIR%%/icons/up.gif
X%%WWWDIR%%/icons/up.png
X%%WWWDIR%%/icons/uu.gif
X%%WWWDIR%%/icons/uu.png
X%%WWWDIR%%/icons/uuencoded.gif
X%%WWWDIR%%/icons/uuencoded.png
X%%WWWDIR%%/icons/world1.gif
X%%WWWDIR%%/icons/world1.png
X%%WWWDIR%%/icons/world2.gif
X%%WWWDIR%%/icons/world2.png
X%%WWWDIR%%/icons/xml.png
X@preunexec rm -f %D/%%ETCDIR%%/httpd.conf.bak 2> /dev/null || true
X@dir %%ETCDIR%%/envvars.d
X@dir %%WWWDIR%%/data
e1b73a6f68cb7fbfbea75e340eddcd22
echo x - apache24/pkg-message
sed 's/^X//' >apache24/pkg-message << '78a5b04f5f3846e66d4cb6d6110bc892'
XTo run apache www server from startup, add apache24_enable="yes"
Xin your /etc/rc.conf. Extra options can be found in startup script.
X
XYour hostname must be resolvable using at least 1 mechanism in
X/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
Xhave issues starting depending on the modules you are using.
X
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
X
X- apache24 default build changed from static MPM to modular MPM
X- more modules are now enabled per default in the port
X- icons and error pages moved from WWWDIR to DATADIR
X
X   If build with modular MPM and no MPM is activated in
X   httpd.conf, then mpm_prefork will be activated as default
X   MPM in etc/apache24/modules.d to keep compatibility with
X   existing php/perl/python modules!
X
XPlease compare the existing httpd.conf with httpd.conf.sample
Xand merge missing modules/instructions into httpd.conf!
X
X!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
X
78a5b04f5f3846e66d4cb6d6110bc892
exit

