Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 14:28:01 -0500 (EST)
From:      swall@redcom.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174617: No www/apache24 in the ports tree
Message-ID:  <201212211928.qBLJS1V2009663@michigan.redcom.com>
Resent-Message-ID: <201212211940.qBLJe0NW063610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174617
>Category:       ports
>Synopsis:       No www/apache24 in the ports tree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 19:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wall
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
New port: www/apache24

As apache has not yet been upgraded to 2.4, and no one seems to be actively
working on it, I thought I'd take a stab at it myself.  Hopefully, someone with
more experience at porting than I can take a look at it, and maybe adopt it?

Of note, apache 2.4 moves apxs from sbin to bin, so I've added a symlink to
sbin to avoid breaking other port builds.  I've also left out the mpm-itk
stuff from apache22, as the patches seemed specific to 2.2, and I was not sure
how to handle it.

>How-To-Repeat:
N/A

>Fix:
apache24.shar:


# 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/files
#	apache24/files/apache24.in
#	apache24/files/extra-patch-suexec_rsrclimit
#	apache24/files/extra-patch-suexec_userdir
#	apache24/files/htcacheclean.in
#	apache24/files/no-accf.conf
#	apache24/files/patch-Makefile.in
#	apache24/files/patch-config.layout
#	apache24/files/patch-configure.in
#	apache24/files/patch-docs__conf__extra__httpd-ssl.conf.in
#	apache24/files/patch-docs__conf__extra__httpd-userdir.conf.in
#	apache24/files/patch-docs__conf__httpd.conf.in
#	apache24/files/patch-support__Makefile.in
#	apache24/files/patch-server__core.c
#	apache24/files/patch-support__apachectl.in
#	apache24/files/patch-support__apxs.in
#	apache24/files/patch-support__envvars-std.in
#	apache24/files/patch-support__log_server_status.in
#	apache24/pkg-plist
#	apache24/pkg-message
#	apache24/pkg-descr
#	apache24/Makefile
#	apache24/Makefile.doc
#	apache24/Makefile.modules
#	apache24/distinfo
#	apache24/Makefile.options
#
echo c - apache24
mkdir -p apache24 > /dev/null 2>&1
echo c - apache24/files
mkdir -p apache24/files > /dev/null 2>&1
echo x - apache24/files/apache24.in
sed 's/^X//' >apache24/files/apache24.in << '87b194194e9d1d338802a11abc0eb72e'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
X# PROVIDE: apache24
X# REQUIRE: LOGIN cleanvar
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
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_fib" ] && apache24_fib="NO"
X
Xapache24_accf() {
X
X  if checkyesno apache24_http_accept_enable; then
X    /sbin/kldstat -v | grep accf_http > /dev/null 2>&1 || /sbin/kldload accf_http || return ${?}
X    /sbin/kldstat -v | grep accf_data > /dev/null 2>&1 || /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 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
Xapache24_requirepidfile()
X{
X    apache24_checkconfig
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	echo "Performing a graceful restart"
X	eval ${command} ${apache24_flags} -k graceful
X}
X
Xapache24_gracefulstop() {
X	apache24_requirepidfile
X
X	echo "Performing a graceful stop"
X	eval ${command} ${apache24_flags} -k graceful-stop
X}
X
Xapache24_precmd() 
X{
X	apache24_checkconfig
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	$SYSCTL net.fibs >/dev/null 2>&1
X	ret=$? 
X 	[ $ret -gt 0 ] && return 0 
X	if [ "x$apache24_fib" != "xNO" ]
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/extra-patch-suexec_rsrclimit
sed 's/^X//' >apache24/files/extra-patch-suexec_rsrclimit << '0764621a9a9fad8c02e2a0595ed98a7e'
X# http://www.chrishardie.com/tech/apache/suexec_rsrclimit.html
X--- support/suexec.c.orig	2011-07-13 15:11:21.000000000 -0400
X+++ support/suexec.c	2012-12-19 10:24:23.000000000 -0500
X@@ -37,6 +37,7 @@
X #include <sys/param.h>
X #include <sys/stat.h>
X #include <sys/types.h>
X+#include <login_cap.h>
X #include <string.h>
X #include <time.h>
X #if APR_HAVE_UNISTD_H
X@@ -247,6 +248,7 @@
X     char *cmd;              /* command to be executed    */
X     char cwd[AP_MAXPATH];   /* current working directory */
X     char dwd[AP_MAXPATH];   /* docroot working directory */
X+    login_cap_t *lc;        /* user resource limits      */
X     struct passwd *pw;      /* password entry holder     */
X     struct group *gr;       /* group entry holder        */
X     struct stat dir_info;   /* directory info holder     */
X@@ -452,6 +454,18 @@
X         log_err("cannot run as forbidden gid (%d/%s)\n", gid, cmd);
X         exit(108);
X     }
X+
X+    /*
X+     * Apply user resource limits based on login class.
X+     */
X+    if ((lc = login_getclassbyname(pw->pw_class, pw)) == NULL) {
X+        log_err("failed to login_getclassbyname()\n");
X+        exit(109);
X+    }
X+    if ((setusercontext(lc, pw, uid, LOGIN_SETRESOURCES)) != 0) {
X+        log_err("failed to setusercontext()\n");
X+        exit(109);
X+    }
X 
X     /*
X      * Change UID/GID here so that the following tests work over NFS.
X--- support/Makefile.in.orig	2011-12-20 09:57:46.000000000 -0500
X+++ support/Makefile.in	2012-12-19 10:46:12.000000000 -0500
X@@ -67,7 +67,7 @@
X 
X suexec_OBJECTS = suexec.lo
X suexec: $(suexec_OBJECTS)
X-	$(LINK) $(suexec_OBJECTS)
X+	$(LINK) -lutil $(suexec_OBJECTS)
X 
X htcacheclean_OBJECTS = htcacheclean.lo
X htcacheclean: $(htcacheclean_OBJECTS)
0764621a9a9fad8c02e2a0595ed98a7e
echo x - apache24/files/extra-patch-suexec_userdir
sed 's/^X//' >apache24/files/extra-patch-suexec_userdir << '195e8ed1c50edbdcc56db48cef0c7e2f'
X--- modules/generators/mod_suexec.c.orig	2011-12-04 19:08:01.000000000 -0500
X+++ modules/generators/mod_suexec.c	2012-12-19 10:27:13.000000000 -0500
X@@ -56,10 +56,11 @@
X }
X 
X static const char *set_suexec_ugid(cmd_parms *cmd, void *mconfig,
X-                                   const char *uid, const char *gid)
X+                                   const char *uid, const char *gid,
X+                                   int userdir)
X {
X     suexec_config_t *cfg = (suexec_config_t *) mconfig;
X-    const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE);
X+    const char *err = ap_check_cmd_context(cmd, NOT_IN_LOCATION|NOT_IN_FILES);
X 
X     if (err != NULL) {
X         return err;
X@@ -73,12 +74,24 @@
X 
X     cfg->ugid.uid = ap_uname2id(uid);
X     cfg->ugid.gid = ap_gname2id(gid);
X-    cfg->ugid.userdir = 0;
X+    cfg->ugid.userdir = userdir;
X     cfg->active = 1;
X 
X     return NULL;
X }
X 
X+static const char *set_suexec_ugid_nouserdir(cmd_parms *cmd, void *mconfig,
X+                                             const char *uid, const char *gid)
X+{
X+    return set_suexec_ugid(cmd, mconfig, uid, gid, 0);
X+}
X+
X+static const char *set_suexec_ugid_userdir(cmd_parms *cmd, void *mconfig,
X+                                           const char *uid, const char *gid)
X+{
X+    return set_suexec_ugid(cmd, mconfig, uid, gid, 1);
X+}
X+
X static ap_unix_identity_t *get_suexec_id_doer(const request_rec *r)
X {
X     suexec_config_t *cfg =
X@@ -116,7 +129,9 @@
X {
X     /* XXX - Another important reason not to allow this in .htaccess is that
X      * the ap_[ug]name2id() is not thread-safe */
X-    AP_INIT_TAKE2("SuexecUserGroup", set_suexec_ugid, NULL, RSRC_CONF,
X+    AP_INIT_TAKE2("SuexecUserGroup", set_suexec_ugid_nouserdir, NULL, RSRC_CONF|ACCESS_CONF,
X+      "User and group for spawned processes"),
X+    AP_INIT_TAKE2("SuexecUserdir", set_suexec_ugid_userdir, NULL, RSRC_CONF|ACCESS_CONF,
X       "User and group for spawned processes"),
X     { NULL }
X };
195e8ed1c50edbdcc56db48cef0c7e2f
echo x - apache24/files/htcacheclean.in
sed 's/^X//' >apache24/files/htcacheclean.in << 'bb423ec32c13641f67ddb265fa225d3d'
X#!/bin/sh
X
X# $FreeBSD$
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/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-Makefile.in
sed 's/^X//' >apache24/files/patch-Makefile.in << '66de94c5413c708481d5412f9a454c07'
X--- ./Makefile.in.orig	2012-01-22 18:30:14.000000000 -0500
X+++ ./Makefile.in	2012-12-19 10:28:08.000000000 -0500
X@@ -32,9 +32,11 @@
X install-conf:
X 	@echo Installing configuration files
X 	@$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/extra
X-	@$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)/original/extra
X+	@$(MKINSTALLDIRS) $(DESTDIR)$(EXAMPLESDIR) $(DESTDIR)$(EXAMPLESDIR)/extra
X+
X 	@cd $(top_srcdir)/docs/conf; \
X 	for i in mime.types magic; do \
X+	    $(INSTALL_DATA) $$i $(DESTDIR)$(EXAMPLESDIR); \
X 	    if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
X 	        $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
X 	    fi; \
X@@ -78,14 +80,14 @@
X 	    				-e 's#@@SSLPort@@#$(SSLPORT)#g' \
X 	    				< $$i; \
X 	    		fi \
X-	    	) > $(DESTDIR)$(sysconfdir)/original/$$i; \
X-	    	chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \
X+	    	) > $(DESTDIR)$(EXAMPLESDIR)/$$i; \
X+	    	chmod 0644 $(DESTDIR)$(EXAMPLESDIR)/$$i; \
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+	    		$(INSTALL_DATA) $(DESTDIR)$(EXAMPLESDIR)/$$i $(DESTDIR)$(sysconfdir)/$$file; \
X 	    	fi; \
X 	    	fi; \
X 	    done ; \
X@@ -137,48 +139,29 @@
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)$(EXAMPLESDIR) ; \
X+		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp index.html $(DESTDIR)$(EXAMPLESDIR)) && \
X+		( [ ! -f $(DESTDIR)$(htdocsdir)/index.html ] && cp -p $(DESTDIR)$(EXAMPLESDIR)/index.html $(DESTDIR)$(htdocsdir)/index.html) || 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+	    test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; 
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+	    test "x$(iconsdir)" != "x" && cd $(DESTDIR)$(iconsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; 
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+	   test "x$(cgidir)" != "x" && cd $(DESTDIR)$(cgidir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true;
X 
X install-other:
X 	@test -d $(DESTDIR)$(logfiledir) || $(MKINSTALLDIRS) $(DESTDIR)$(logfiledir)
X@@ -227,14 +210,20 @@
X 	@test -d $(DESTDIR)$(mandir)/man1 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
X 	@test -d $(DESTDIR)$(mandir)/man8 || $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man8
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+	for i in ab apxs dbmmanage htdbm htdigest htpasswd httxt2dbm logresolve ; do \
X+	  ${INSTALL_MAN} $(top_srcdir)/docs/man/$$i.1 $(DESTDIR)$(mandir)/man1; \
X+	done
X+	for i in apachectl fcgistarter htcacheclean httpd rotatelogs suexec; do \
X+	  ${INSTALL_MAN} $(top_srcdir)/docs/man/$$i.8 $(DESTDIR)$(mandir)/man8; \
X+	done
X+.if !defined(NOPORTDOCS)
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+.endif
X 
X install-suexec:
X 	@if test -f $(builddir)/support/suexec; then \
66de94c5413c708481d5412f9a454c07
echo x - apache24/files/patch-config.layout
sed 's/^X//' >apache24/files/patch-config.layout << '2a4c8da0e7f0168ab75f3d9951c85bc5'
X--- ./config.layout.orig	2012-04-17 10:01:41.000000000 -0400
X+++ ./config.layout	2012-12-19 10:30:17.000000000 -0500
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/patch-configure.in
sed 's/^X//' >apache24/files/patch-configure.in << 'd3d389e0bddf0e07e3d3c4a0ffe28599'
X--- ./configure.in.orig	2012-07-23 11:20:48.000000000 -0400
X+++ ./configure.in	2012-12-19 10:32:03.000000000 -0500
X@@ -109,9 +109,14 @@
X   AC_MSG_ERROR([APR not found.  Please read the documentation.])
X fi
X 
X+if test "x${USE_BUNDLED_APR}" != "x" ; then
X+		apr_found=reconfig
X+		apr_config=srclib/apr/apr-1-config
X+fi
X+
X if test "$apr_found" = "reconfig"; then
X   APR_SUBDIR_CONFIG(srclib/apr,
X-                    [$apache_apr_flags --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir --datadir=$datadir --with-installbuilddir=$installbuilddir],
X+                    [$apache_apr_flags --prefix=$prefix],
X                     [--enable-layout=*|\'--enable-layout=*])
X   dnl We must be the first to build and the last to be cleaned
X   AP_BUILD_SRCLIB_DIRS="apr $AP_BUILD_SRCLIB_DIRS"
X@@ -165,6 +170,11 @@
X   AC_MSG_ERROR([APR-util not found.  Please read the documentation.])
X fi
X 
X+if test "x${USE_BUNDLED_APR}" != "x" ; then
X+		apu_found=reconfig
X+		apu_config=srclib/apr-util/apu-1-config
X+fi
X+
X # Catch some misconfigurations:
X case ${apr_found}.${apu_found} in
X reconfig.yes)
X@@ -177,7 +187,7 @@
X 
X if test "$apu_found" = "reconfig"; then
X   APR_SUBDIR_CONFIG(srclib/apr-util,
X-                    [--with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix --libdir=$libdir --includedir=$includedir --bindir=$bindir],
X+                    [--with-apr=../apr --prefix=$prefix],
X                     [--enable-layout=*|\'--enable-layout=*])
X   dnl We must be the last to build and the first to be cleaned
X   AP_BUILD_SRCLIB_DIRS="$AP_BUILD_SRCLIB_DIRS apr-util"
X@@ -805,8 +815,14 @@
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/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	2012-08-14 19:59:24.000000000 -0400
X+++ ./docs/conf/extra/httpd-ssl.conf.in	2012-12-19 10:33:04.000000000 -0500
X@@ -86,8 +86,8 @@
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@@ -238,7 +238,7 @@
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/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 17:40:41.000000000 -0400
X+++ ./docs/conf/extra/httpd-userdir.conf.in	2012-12-19 10:35:33.000000000 -0500
X@@ -8,6 +8,7 @@
X # the default access control for these directories, as in the example below.
X #
X UserDir public_html
X+UserDir disabled %%FTPUSERS%%
X 
X #
X # Control access to UserDir directories.  The following is an example
9983f62c521160084ce74b4bca22f1d8
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	2012-08-14 16:53:31.000000000 -0400
X+++ ./docs/conf/httpd.conf.in	2012-12-19 11:06:29.000000000 -0500
X@@ -74,8 +74,8 @@
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 +181,7 @@
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 +210,13 @@
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@@ -416,3 +416,4 @@
X RequestHeader unset DNT env=bad_DNT
X </IfModule>
X 
X+Include @rel_sysconfdir@/Includes/*.conf
00042f6538c7957da323c23cf075bd15
echo x - apache24/files/patch-support__Makefile.in
sed 's/^X//' >apache24/files/patch-support__Makefile.in << '0447b2d1cf5bf95fca3004dd5694b4dc'
X--- support/Makefile.in.orig	2011-12-20 09:57:46.000000000 -0500
X+++ support/Makefile.in	2012-12-21 10:17:20.000000000 -0500
X@@ -17,23 +17,24 @@
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+	@chown root:wheel $(DESTDIR)$(libexecdir)/httpd.exp
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+	        chown root:wheel $(DESTDIR)$(bindir)/$$i; \
X 	    fi ; \
X 	done
X+	@ln -s $(DESTDIR)$(bindir)/apxs $(DESTDIR)$(sbindir)
X 	@for i in apachectl; do \
X 	    if test -f "$(builddir)/$$i"; then \
X 	        cp -p $$i $(DESTDIR)$(sbindir); \
X 	        chmod 755 $(DESTDIR)$(sbindir)/$$i; \
X+	        chown root:wheel $(DESTDIR)$(sbindir)/$$i; \
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_OBJECTS = htpasswd.lo
0447b2d1cf5bf95fca3004dd5694b4dc
echo x - apache24/files/patch-server__core.c
sed 's/^X//' >apache24/files/patch-server__core.c << 'e80fe62f1ce78bdf77055602369eb053'
X--- ./server/core.c.orig	2012-08-14 19:59:24.000000000 -0400
X+++ ./server/core.c	2012-12-19 10:44:01.000000000 -0500
X@@ -482,6 +482,7 @@
X     core_server_config *virt = (core_server_config *)virtv;
X     core_server_config *conf = (core_server_config *)
X                                apr_pmemdup(p, base, sizeof(core_server_config));
X+    const char *accfb, *accfc;
X 
X     if (virt->ap_document_root)
X         conf->ap_document_root = virt->ap_document_root;
X@@ -489,6 +490,25 @@
X     if (virt->access_name)
X         conf->access_name = virt->access_name;
X 
X+    /*
X+     * bz accept_filter(9) disable fix.
X+     *
X+     * You can only configure it in the base config but the
X+     * values are copied and checked into virtual host configs,
X+     * so if you disable it in base it will still be on in virt.
X+     * To fix it, we overwrite each virt config if it does not
X+     * match what is in base config for the hardcoded http(s).
X+     */
X+    accfb = apr_table_get(base->accf_map, "http");
X+    accfc = apr_table_get(conf->accf_map, "http");
X+    if (accfb && accfc && strcmp(accfb, accfc))
X+        apr_table_set(conf->accf_map, "http", accfb);
X+
X+    accfb = apr_table_get(base->accf_map, "https");
X+    accfc = apr_table_get(conf->accf_map, "https");
X+    if (accfb && accfc && strcmp(accfb, accfc))
X+        apr_table_set(conf->accf_map, "https", accfb);
X+
X     /* XXX optimize to keep base->sec_ pointers if virt->sec_ array is empty */
X     conf->sec_dir = apr_array_append(p, base->sec_dir, virt->sec_dir);
X     conf->sec_url = apr_array_append(p, base->sec_url, virt->sec_url);
X@@ -3132,7 +3152,7 @@
X AP_DECLARE(const char *) ap_get_server_description(void)
X {
X     return server_description ? server_description :
X-        AP_SERVER_BASEVERSION " (" PLATFORM ")";
X+        AP_SERVER_BASEVERSION " (FreeBSD)";
X }
X 
X AP_DECLARE(const char *) ap_get_server_banner(void)
X@@ -3185,7 +3205,7 @@
X         ap_add_version_component(pconf, AP_SERVER_BASEPRODUCT "/" AP_SERVER_MAJORVERSION);
X     }
X     else {
X-        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (" PLATFORM ")");
X+        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (FreeBSD)");
X     }
X 
X     /*
X@@ -3195,7 +3215,7 @@
X     if (ap_server_tokens != SrvTk_FULL) {
X         banner_locked++;
X     }
X-    server_description = AP_SERVER_BASEVERSION " (" PLATFORM ")";
X+    server_description = AP_SERVER_BASEVERSION " (FreeBSD)";
X }
X 
X static const char *set_serv_tokens(cmd_parms *cmd, void *dummy,
e80fe62f1ce78bdf77055602369eb053
echo x - apache24/files/patch-support__apachectl.in
sed 's/^X//' >apache24/files/patch-support__apachectl.in << 'fc138b5aefec2ee8272db328f39e7342'
X--- ./support/apachectl.in.orig	2012-01-31 22:47:28.000000000 -0500
X+++ ./support/apachectl.in	2012-12-19 10:53:16.000000000 -0500
X@@ -65,7 +65,7 @@
X 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
fc138b5aefec2ee8272db328f39e7342
echo x - apache24/files/patch-support__apxs.in
sed 's/^X//' >apache24/files/patch-support__apxs.in << '5a46a5e8292ca2f9c4ac37c5ef77bfdb'
X--- ./support/apxs.in.orig	2012-07-25 07:42:40.000000000 -0400
X+++ ./support/apxs.in	2012-12-19 10:53:48.000000000 -0500
X@@ -636,7 +636,13 @@
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 @@
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__envvars-std.in
sed 's/^X//' >apache24/files/patch-support__envvars-std.in << 'f72af1cb17e492be7aa49202db601c35'
X--- ./support/envvars-std.in.orig	2012-03-08 11:10:51.000000000 -0500
X+++ ./support/envvars-std.in	2012-12-19 10:54:18.000000000 -0500
X@@ -26,3 +26,10 @@
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-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 19:08:09.000000000 -0400
X+++ ./support/log_server_status.in	2012-12-19 10:56:27.000000000 -0500
X@@ -29,7 +29,7 @@
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.log"
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 @@
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/pkg-plist
sed 's/^X//' >apache24/pkg-plist << 'e1b73a6f68cb7fbfbea75e340eddcd22'
X@comment $FreeBSD$
X@exec mkdir -p %D/%%ETCDIR%%/extra 2> /dev/null
X@exec mkdir -p %D/%%ETCDIR%%/Includes 2> /dev/null || true
X@exec mkdir -p %D/%%ETCDIR%%/envvars.d 2> /dev/null || true
X@unexec if cmp %D/%%ETCDIR%%/httpd.conf %D/%%EXAMPLESDIR%%/httpd.conf; then rm -f %D/%%ETCDIR%%/httpd.conf; fi
X%%EXAMPLESDIR%%/httpd.conf
X@exec [ -f %D/%%ETCDIR%%/httpd.conf ] || cp %D/%%EXAMPLESDIR%%/httpd.conf %D/%%ETCDIR%%/httpd.conf
X@unexec if cmp -s %D/%%ETCDIR%%/magic %D/%%EXAMPLESDIR%%/magic; then rm -f %D/%%ETCDIR%%/magic; fi
X%%EXAMPLESDIR%%/magic
X@exec [ -f %D/%%ETCDIR%%/magic ] || cp %D/%%EXAMPLESDIR%%/magic %D/%%ETCDIR%%/magic
X@unexec if cmp -s %D/%%ETCDIR%%/mime.types %D/%%EXAMPLESDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi
X%%EXAMPLESDIR%%/mime.types
X@exec [ -f %D/%%ETCDIR%%/mime.types ] || cp %D/%%EXAMPLESDIR%%/mime.types %D/%%ETCDIR%%/mime.types
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-autoindex.conf %D/%%EXAMPLESDIR%%/extra/httpd-autoindex.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-autoindex.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-autoindex.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-autoindex.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-autoindex.conf %D/%%ETCDIR%%/extra/httpd-autoindex.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-dav.conf %D/%%EXAMPLESDIR%%/extra/httpd-dav.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-dav.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-dav.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-dav.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-dav.conf %D/%%ETCDIR%%/extra/httpd-dav.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-default.conf %D/%%EXAMPLESDIR%%/extra/httpd-default.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-default.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-default.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-default.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-default.conf %D/%%ETCDIR%%/extra/httpd-default.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-info.conf %D/%%EXAMPLESDIR%%/extra/httpd-info.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-info.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-info.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-info.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-info.conf %D/%%ETCDIR%%/extra/httpd-info.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-languages.conf %D/%%EXAMPLESDIR%%/extra/httpd-languages.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-languages.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-languages.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-languages.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-languages.conf %D/%%ETCDIR%%/extra/httpd-languages.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-manual.conf %D/%%EXAMPLESDIR%%/extra/httpd-manual.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-manual.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-manual.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-manual.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-manual.conf %D/%%ETCDIR%%/extra/httpd-manual.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-mpm.conf %D/%%EXAMPLESDIR%%/extra/httpd-mpm.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-mpm.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-mpm.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-mpm.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-mpm.conf %D/%%ETCDIR%%/extra/httpd-mpm.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-multilang-errordoc.conf %D/%%EXAMPLESDIR%%/extra/httpd-multilang-errordoc.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-multilang-errordoc.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-multilang-errordoc.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-multilang-errordoc.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-multilang-errordoc.conf %D/%%ETCDIR%%/extra/httpd-multilang-errordoc.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-ssl.conf %D/%%EXAMPLESDIR%%/extra/httpd-ssl.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-ssl.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-ssl.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-ssl.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-ssl.conf %D/%%ETCDIR%%/extra/httpd-ssl.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-userdir.conf %D/%%EXAMPLESDIR%%/extra/httpd-userdir.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-userdir.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-userdir.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-userdir.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-userdir.conf %D/%%ETCDIR%%/extra/httpd-userdir.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/httpd-vhosts.conf %D/%%EXAMPLESDIR%%/extra/httpd-vhosts.conf; then rm -f %D/%%ETCDIR%%/extra/httpd-vhosts.conf; fi
X%%EXAMPLESDIR%%/extra/httpd-vhosts.conf
X@exec [ -f %D/%%ETCDIR%%/extra/httpd-vhosts.conf ] || cp %D/%%EXAMPLESDIR%%/extra/httpd-vhosts.conf %D/%%ETCDIR%%/extra/httpd-vhosts.conf
X@unexec if cmp -s %D/%%ETCDIR%%/extra/proxy-html.conf %D/%%EXAMPLESDIR%%/extra/proxy-html.conf; then rm -f %D/%%ETCDIR%%/extra/proxy-html.conf; fi
X%%EXAMPLESDIR%%/extra/proxy-html.conf
X@exec [ -f %D/%%ETCDIR%%/extra/proxy-html.conf ] || cp %D/%%EXAMPLESDIR%%/extra/proxy-html.conf %D/%%ETCDIR%%/extra/proxy-html.conf
X%%ETCDIR%%/Includes/no-accf.conf
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/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_status.h
Xinclude/apache24/mod_unixd.h
Xinclude/apache24/mod_watchdog.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_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%%MOD_ACCESS_COMPAT%%libexec/apache24/mod_access_compat.so
X%%MOD_ACTIONS%%libexec/apache24/mod_actions.so
X%%MOD_ALIAS%%libexec/apache24/mod_alias.so
X%%MOD_ALLOWMETHODS%%libexec/apache24/mod_allowmethods.so
X%%MOD_ASIS%%libexec/apache24/mod_asis.so
X%%MOD_AUTHNZ_LDAP%%libexec/apache24/mod_authnz_ldap.so
X%%MOD_AUTHN_ANON%%libexec/apache24/mod_authn_anon.so
X%%MOD_AUTHN_CORE%%libexec/apache24/mod_authn_core.so
X%%MOD_AUTHN_DBD%%libexec/apache24/mod_authn_dbd.so
X%%MOD_AUTHN_DBM%%libexec/apache24/mod_authn_dbm.so
X%%MOD_AUTHN_FILE%%libexec/apache24/mod_authn_file.so
X%%MOD_AUTHN_SOCACHE%%libexec/apache24/mod_authn_socache.so
X%%MOD_AUTHZ_CORE%%libexec/apache24/mod_authz_core.so
X%%MOD_AUTHZ_DBD%%libexec/apache24/mod_authz_dbd.so
X%%MOD_AUTHZ_DBM%%libexec/apache24/mod_authz_dbm.so
X%%MOD_AUTHZ_GROUPFILE%%libexec/apache24/mod_authz_groupfile.so
X%%MOD_AUTHZ_HOST%%libexec/apache24/mod_authz_host.so
X%%MOD_AUTHZ_OWNER%%libexec/apache24/mod_authz_owner.so
X%%MOD_AUTHZ_USER%%libexec/apache24/mod_authz_user.so
X%%MOD_AUTH_BASIC%%libexec/apache24/mod_auth_basic.so
X%%MOD_AUTH_DIGEST%%libexec/apache24/mod_auth_digest.so
X%%MOD_AUTH_FORM%%libexec/apache24/mod_auth_form.so
X%%MOD_AUTOINDEX%%libexec/apache24/mod_autoindex.so
X%%MOD_BUFFER%%libexec/apache24/mod_buffer.so
X%%MOD_CACHE%%libexec/apache24/mod_cache.so
X%%MOD_CACHE_DISK%%libexec/apache24/mod_cache_disk.so
X%%MOD_CERN_META%%libexec/apache24/mod_cern_meta.so
X%%MOD_CGI%%libexec/apache24/mod_cgi.so
X%%MOD_CGID%%libexec/apache24/mod_cgid.so
X%%MOD_CHARSET_LITE%%libexec/apache24/mod_charset_lite.so
X%%MOD_DATA%%libexec/apache24/mod_data.so
X%%MOD_DAV%%libexec/apache24/mod_dav.so
X%%MOD_DAV_FS%%libexec/apache24/mod_dav_fs.so
X%%MOD_DAV_LOCK%%libexec/apache24/mod_dav_lock.so
X%%MOD_DBD%%libexec/apache24/mod_dbd.so
X%%MOD_DEFLATE%%libexec/apache24/mod_deflate.so
X%%MOD_DIALUP%%libexec/apache24/mod_dialup.so
X%%MOD_DIR%%libexec/apache24/mod_dir.so
X%%MOD_DUMPIO%%libexec/apache24/mod_dumpio.so
X%%MOD_ECHO%%libexec/apache24/mod_echo.so
X%%MOD_ENV%%libexec/apache24/mod_env.so
X%%MOD_EXPIRES%%libexec/apache24/mod_expires.so
X%%MOD_EXT_FILTER%%libexec/apache24/mod_ext_filter.so
X%%MOD_FILE_CACHE%%libexec/apache24/mod_file_cache.so
X%%MOD_FILTER%%libexec/apache24/mod_filter.so
X%%MOD_HEADERS%%libexec/apache24/mod_headers.so
X%%MOD_HEARTBEAT%%libexec/apache24/mod_heartbeat.so
X%%MOD_HEARTMONITOR%%libexec/apache24/mod_heartmonitor.so
X%%MOD_IDENT%%libexec/apache24/mod_ident.so
X%%MOD_IMAGEMAP%%libexec/apache24/mod_imagemap.so
X%%MOD_INCLUDE%%libexec/apache24/mod_include.so
X%%MOD_INFO%%libexec/apache24/mod_info.so
X%%MOD_LBMETHOD_BYBUSYNESS%%libexec/apache24/mod_lbmethod_bybusyness.so
X%%MOD_LBMETHOD_BYREQUESTS%%libexec/apache24/mod_lbmethod_byrequests.so
X%%MOD_LBMETHOD_BYTRAFFIC%%libexec/apache24/mod_lbmethod_bytraffic.so
X%%MOD_LBMETHOD_HEARTBEAT%%libexec/apache24/mod_lbmethod_heartbeat.so
X%%MOD_LDAP%%libexec/apache24/mod_ldap.so
X%%MOD_LOGIO%%libexec/apache24/mod_logio.so
X%%MOD_LOG_CONFIG%%libexec/apache24/mod_log_config.so
X%%MOD_LOG_DEBUG%%libexec/apache24/mod_log_debug.so
X%%MOD_LOG_FORENSIC%%libexec/apache24/mod_log_forensic.so
X%%MOD_LUA%%libexec/apache24/mod_lua.so
X%%MOD_MIME%%libexec/apache24/mod_mime.so
X%%MOD_MIME_MAGIC%%libexec/apache24/mod_mime_magic.so
X%%MOD_MPM_EVENT%%libexec/apache24/mod_mpm_event.so
X%%MOD_MPM_PREFORK%%libexec/apache24/mod_mpm_prefork.so
X%%MOD_MPM_WORKER%%libexec/apache24/mod_mpm_worker.so
X%%MOD_NEGOTIATION%%libexec/apache24/mod_negotiation.so
X%%MOD_PROXY%%libexec/apache24/mod_proxy.so
X%%MOD_PROXY_AJP%%libexec/apache24/mod_proxy_ajp.so
X%%MOD_PROXY_BALANCER%%libexec/apache24/mod_proxy_balancer.so
X%%MOD_PROXY_CONNECT%%libexec/apache24/mod_proxy_connect.so
X%%MOD_PROXY_EXPRESS%%libexec/apache24/mod_proxy_express.so
X%%MOD_PROXY_FCGI%%libexec/apache24/mod_proxy_fcgi.so
X%%MOD_PROXY_FDPASS%%libexec/apache24/mod_proxy_fdpass.so
X%%MOD_PROXY_FTP%%libexec/apache24/mod_proxy_ftp.so
X%%MOD_PROXY_HTML%%libexec/apache24/mod_proxy_html.so
X%%MOD_PROXY_HTTP%%libexec/apache24/mod_proxy_http.so
X%%MOD_PROXY_SCGI%%libexec/apache24/mod_proxy_scgi.so
X%%MOD_RATELIMIT%%libexec/apache24/mod_ratelimit.so
X%%MOD_REFLECTOR%%libexec/apache24/mod_reflector.so
X%%MOD_REMOTEIP%%libexec/apache24/mod_remoteip.so
X%%MOD_REQTIMEOUT%%libexec/apache24/mod_reqtimeout.so
X%%MOD_REQUEST%%libexec/apache24/mod_request.so
X%%MOD_REWRITE%%libexec/apache24/mod_rewrite.so
X%%MOD_SED%%libexec/apache24/mod_sed.so
X%%MOD_SESSION%%libexec/apache24/mod_session.so
X%%MOD_SESSION_COOKIE%%libexec/apache24/mod_session_cookie.so
X%%MOD_SESSION_CRYPTO%%libexec/apache24/mod_session_crypto.so
X%%MOD_SESSION_DBD%%libexec/apache24/mod_session_dbd.so
X%%MOD_SETENVIF%%libexec/apache24/mod_setenvif.so
X%%MOD_SLOTMEM_PLAIN%%libexec/apache24/mod_slotmem_plain.so
X%%MOD_SLOTMEM_SHM%%libexec/apache24/mod_slotmem_shm.so
X%%MOD_SOCACHE_DBM%%libexec/apache24/mod_socache_dbm.so
X%%MOD_SOCACHE_DC%%libexec/apache24/mod_socache_dc.so
X%%MOD_SOCACHE_MEMCACHE%%libexec/apache24/mod_socache_memcache.so
X%%MOD_SOCACHE_SHMCB%%libexec/apache24/mod_socache_shmcb.so
X%%MOD_SPELING%%libexec/apache24/mod_speling.so
X%%MOD_SSL%%libexec/apache24/mod_ssl.so
X%%MOD_STATUS%%libexec/apache24/mod_status.so
X%%MOD_SUBSTITUTE%%libexec/apache24/mod_substitute.so
X%%MOD_SUEXEC%%libexec/apache24/mod_suexec.so
X%%MOD_UNIQUE_ID%%libexec/apache24/mod_unique_id.so
X%%MOD_UNIXD%%libexec/apache24/mod_unixd.so
X%%MOD_USERDIR%%libexec/apache24/mod_userdir.so
X%%MOD_USERTRACK%%libexec/apache24/mod_usertrack.so
X%%MOD_VERSION%%libexec/apache24/mod_version.so
X%%MOD_VHOST_ALIAS%%libexec/apache24/mod_vhost_alias.so
X%%MOD_WATCHDOG%%libexec/apache24/mod_watchdog.so
X%%MOD_XML2ENC%%libexec/apache24/mod_xml2enc.so
Xbin/ab
Xsbin/apachectl
X@unexec [ ! -L %D/sbin/apxs ] || rm -f %D/sbin/apxs
Xbin/apxs
X@exec [ -e %D/sbin/apxs ] || ln -s %D/bin/apxs %D/sbin/apxs
X%%FORENSIC%%sbin/check_forensic
Xsbin/checkgid
Xbin/dbmmanage
Xsbin/envvars
Xsbin/fcgistarter
Xsbin/htcacheclean
Xbin/htdbm
Xbin/htdigest
Xbin/htpasswd
Xsbin/httpd
Xbin/httxt2dbm
Xbin/logresolve
Xsbin/rotatelogs
Xbin/split-logfile
X%%SUEXEC%%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%%WWWDIR%%/cgi-bin/printenv
X%%WWWDIR%%/cgi-bin/test-cgi
X@unexec if cmp -s %D/%%WWWDIR%%/data/index.html %D/%%EXAMPLESDIR%%/index.html; then rm -f %D/%%WWWDIR%%/data/index.html; fi
X%%EXAMPLESDIR%%/index.html
X@exec [ -d %D/%%WWWDIR%%/data ] || mkdir -p %D/%%WWWDIR%%/data
X@exec [ -f %D/%%WWWDIR%%/data/index.html ] || cp %D/%%EXAMPLESDIR%%/index.html %D/%%WWWDIR%%/data/index.html
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_pb2.gif
X%%WWWDIR%%/icons/apache_pb2.png
X%%WWWDIR%%/icons/apache_pb2_ani.gif
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@dirrm %%WWWDIR%%/icons/small
X@dirrm %%WWWDIR%%/icons
X@dirrm %%WWWDIR%%/error/include
X@dirrm %%WWWDIR%%/error
X@dirrmtry %%WWWDIR%%/data
X@dirrmtry %%WWWDIR%%/cgi-bin
X@dirrmtry %%WWWDIR%%
X@dirrm %%EXAMPLESDIR%%/extra
X@dirrm %%EXAMPLESDIR%%
X@dirrmtry %%DOCSDIR%%
X@dirrm %%DATADIR%%/build
X@dirrm %%DATADIR%%
X@dirrmtry libexec/apache24
X@dirrmtry include/apache24
X@unexec rm -f %D/%%ETCDIR%%/httpd.conf.bak 2> /dev/null || true
X@dirrmtry %%ETCDIR%%/extra
X@dirrmtry %%ETCDIR%%/envvars.d
X@dirrmtry %%ETCDIR%%/Includes
X@dirrmtry %%ETCDIR%%
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 typically DNS or /etc/hosts or apache might
Xhave issues starting depending on the modules you are using.
78a5b04f5f3846e66d4cb6d6110bc892
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 x - apache24/Makefile
sed 's/^X//' >apache24/Makefile << '36ab9b3203cc1210dbb3a89fefa26528'
X# $FreeBSD$
X
XPORTNAME=	apache24
XPORTVERSION=	2.4.3
XCATEGORIES=	www ipv6
XMASTER_SITES=	${MASTER_SITE_APACHE_HTTPD}
XDISTNAME=	httpd-${PORTVERSION}
XDIST_SUBDIR=	apache24
X
XMAINTAINER?=	apache@FreeBSD.org
XCOMMENT?=	Version 2.4.x of Apache web server
X
XLIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2 \
X		apr-1:${PORTSDIR}/devel/apr1 \
X		pcre:${PORTSDIR}/devel/pcre
X
XMAKE_JOBS_SAFE=	yes
X
XLATEST_LINK?=	apache24
X
XCONFLICTS=	caudium14-1.* \
X		apache-2.0.* apache-*-2.0.* \
X		apache-2.2.* apache-*-2.2.* apache22-* \
X		apache-*-2.4.* apache24-*
X
XUSE_APACHE=	common24
XUSE_BZIP2=	yes
XUSE_ICONV=	yes
XUSE_AUTOTOOLS=	autoconf libtool
XUSE_PERL5=	yes
XUSE_RC_SUBR=	apache24 htcacheclean
XLIBTOOLFILES=	configure.in
X
XUSERS=		www
XGROUPS=		www
X
X# for slave ports
X.if !defined(MASTERDIR)
XAPACHEDIR=	${.CURDIR}
X.else
XAPACHEDIR=	${MASTERDIR}
X.endif
X
XWITH_MPM?=		prefork # or worker, event
XWITH_HTTP_PORT?=	80
X
X.include "${APACHEDIR}/Makefile.options"
X.include <bsd.port.options.mk>
X.include "${APACHEDIR}/Makefile.doc"
X
XAPR_CONFIG?=		${LOCALBASE}/bin/apr-1-config
XAPU_CONFIG?=		${LOCALBASE}/bin/apu-1-config
X
X# APU modules used by AUTHN_DBD DBD
XAPU_DBD_MYSQL?=		${LOCALBASE}/lib/apr-util-1/apr_dbd_mysql.so
XAPU_DBD_PGSQL?=		${LOCALBASE}/lib/apr-util-1/apr_dbd_pgsql.so
XAPU_DBD_SQLITE3?=	${LOCALBASE}/lib/apr-util-1/apr_dbd_sqlite3.so
X# APU module used by AUTHNZ_LDAP LDAP
XAPU_LDAP?=		${LOCALBASE}/lib/apr-util-1/apr_ldap.so
X# APU module used by SESSION_CRYPTO
XAPU_CRYPTO_OPENSSL?=	${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so
X
XCONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} \
X		--enable-layout=FreeBSD \
X		--with-perl=${PERL5} \
X		--with-port=${WITH_HTTP_PORT} \
X		--with-expat=${LOCALBASE} \
X		--with-iconv=${LOCALBASE} \
X		--enable-http \
X		--with-pcre=${LOCALBASE} \
X		--with-apr=${APR_CONFIG} \
X		--with-apr-util=${APU_CONFIG}
X
XCONFIGURE_ENV=	\
X		CONFIG_SHELL="${SH}" \
X		LOCALBASE="${LOCALBASE}"
X
XPREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
X
XMAKE_ENV+=	EXPR_COMPAT=yes \
X		INSTALL_MAN="${INSTALL_MAN}"
X
X#=====================================================
X# CONFIGURE_ARGS willl be handled in Makefile.modules,
X# here we do only OPTIONS fixups
X
X.if ${PORT_OPTIONS:MSSL}
XUSE_OPENSSL=	yes
X.endif
X
X.if ${PORT_OPTIONS:MSOCACHE_DC}
XLIB_DEPENDS+=	distcache:${PORTSDIR}/security/distcache
X.endif
X
X.if ${PORT_OPTIONS:MLUA}
XUSE_LUA=	yes
X.endif
X
X.if ${PORT_OPTIONS:MSUEXEC_RSRCLIMIT}
XEXTRA_PATCHES+=	${FILESDIR}/extra-patch-suexec_rsrclimit
X.  if empty(PORT_OPTIONS:MSUEXEC)
XIGNORE=		suEXEC resource limit patch requires mod_suexec.\
X		Please (re)run 'make config' and choose SUEXEC option also
X.  endif
X.endif
X
X.if ${PORT_OPTIONS:MSUEXEC_USERDIR}
XEXTRA_PATCHES+= ${FILESDIR}/extra-patch-suexec_userdir
X.  if empty(PORT_OPTIONS:MSUEXEC)
XIGNORE=		suEXEC UserDir patch requires mod_suexec.\
X		Please (re)run 'make config' and choose SUEXEC option also
X.  endif
X.endif
X
X.include <bsd.port.pre.mk>
X.include "${APACHEDIR}/Makefile.modules"
X
Xpre-configure::
X	@${ECHO_MSG}	""
X	@${ECHO_MSG}	"  You can check your modules configuration by using make show-modules"
X	@${ECHO_MSG}	""
X
Xshow-options:
X	@${SED} -ne 's/^##//p' ${APACHEDIR}/Makefile.doc
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|freebsd5|freebsd|' \
X		${WRKSRC}/configure.in ${WRKSRC}/configure
X	@${RM} -f ${WRKSRC}/docs/docroot/*.bak
X	@${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' ${WRKSRC}/server/core.c
X	@${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual
X
Xpost-configure:
X	@FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\
X	${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," ${WRKSRC}/docs/conf/extra/httpd-userdir.conf
X	@${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e  "s,%%WWWGRP%%,${WWWGRP}," ${WRKSRC}/docs/conf/httpd.conf
X	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/support/envvars-std
X
Xpost-install:
X	@${MKDIR} ${ETCDIR}/envvars.d
X	@${MKDIR} ${ETCDIR}/Includes
X	@${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${ETCDIR}/Includes/
X
X.if ${PORT_OPTIONS:MLOG_FORENSIC}
X	@${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${PREFIX}/sbin
X.endif
X
X.if ${PORT_OPTIONS:MDOCS}
X.  for dir in style/lang style/xsl/util style/xsl
X	@[ -d ${DOCSDIR}/${dir}/ ] && ${TOUCH} ${DOCSDIR}/${dir}/.keepme
X.  endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
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 \
X		| ${TR} -d '"' \
X		| ${GREP} -E -v 'MOD_(ECHO|EXAMPLE|HTTP|IDENT|ISAPI|SO)' \
X		| ${SORT} -u
X
X.include <bsd.port.post.mk>
36ab9b3203cc1210dbb3a89fefa26528
echo x - apache24/Makefile.doc
sed 's/^X//' >apache24/Makefile.doc << '719135d6ba562282287bc1faeea0b3cc'
X# $FreeBSD$
X#
X# Author:				Clement Laforet <clement@FreeBSD.org>
X#
X##
X## By default, modules are compiled as dynamically loadable modules (DSO).
X##
X## Modules knobs philosophy:
X##  Note: Use this only for special builds, modules should be selected by
X##  #> make config
X##
X##   Apache-related
X##      WITH_MPM:                 prefork (default)
X##                                worker
X##                                event
X##      WITH_HTTP_PORT:           default: 80
X##
X##      WITH_STATIC_SUPPORT:      Build statically linked support binaries
X##      WITH_STATIC_APACHE:       Build a static version of httpd (implies
X##                                WITH_STATIC_MODULES)
X##      WITH_ALL_STATIC_MODULES:  All modules will be statically linked.
X##      WITH_STATIC_MODULES (*):  List of modules to build modules statics
X##                                (useful for slave ports)
X##                                (They must be already enabled (i.e.
X##                                WITH_MODULES or with default configuration
X##                                use 'make show-modules', to check if they are
X##                                enabled)
X##      WITH_SUEXEC:              Enable suEXEC support
X##            SUEXEC_DOCROOT:     suEXEC root directory
X##            SUEXEC_USERDIR:     User subdirectory (default public_html)
X##            SUEXEC_SAFEPATH:    Set the safepath
X##            SUEXEC_LOGFILE:     Set log file for suEXEC (default: /var/log/httpd-suexec.log)
X##            SUEXEC_UIDMIN:      Minimal allowed UID (default 1000)
X##            SUEXEC_GIDMIN:      Minimal allowed GID (default 1000)
X##            SUEXEC_CALLER:      User allowed to call suEXEC (default
X##                                ${WWWOWN} (www))
X##            SUEXEC_UMASK:       Defines umask for suEXEC'd process(default:
X##                                unset)
X##	WITH_DEBUG:               Build a debug version of Apache (set CFLAGS
X##                                to "-O0 -g -ggdb3" or ${DEBUG_FLAGS} and
X##                                defines WITH_EXCEPTION_HOOK too)
X##      WITH_EXCEPTION_HOOK:      Enable fatal exception hook
X##
X## Available make targets:
X##      config:                   open the configure dialog
X##      show config:              prints configured options
X##      show-options:             prints this message
X##      show-modules:             prints list of available modules
X##
X## Examples (*):
X##      make WITH_STATIC_MODULES="SSL REWRITE INCLUDE"
X##      Note: If you define your custom options in /etc/make.conf, don't forget
X##            to do not use quotes.
X##
X## Note about OPTION IPV4_MAPPED
X##  For security reasons this OPTION is disabled.
X##  You can find more information about IP binding and configuration
X##  on the Apache website: http://httpd.apache.org/docs/2.4/bind.html
X##  To find out which binding was used to build httpd use the command
X##   $> httpd -V
X
XMAKE_ENV+=	EXAMPLESDIR=${EXAMPLESDIR}
X
X.if empty(PORT_OPTIONS:MDOCS)
XMAKE_ENV+=	NOPORTDOCS=yes
X.endif
X
XMAN1=		ab.1 apxs.1 dbmmanage.1 htdbm.1 htdigest.1 htpasswd.1 httxt2dbm.1 logresolve.1
XMAN8=		apachectl.8 fcgistarter.8 htcacheclean.8 httpd.8 rotatelogs.8 suexec.8
X
XPORTDOCS=	* #don't blame me ;-)
719135d6ba562282287bc1faeea0b3cc
echo x - apache24/Makefile.modules
sed 's/^X//' >apache24/Makefile.modules << '7b50a01b2c43f001234602bd8d5e2fb8'
X# $FreeBSD$
X#
X# Note by Clement Laforet: (to generate PLIST_SUB entries for modules)
X#	gsed 's/^\(.*\)mod\(.*\)\.so/%%\MOD\U\2%%\L\1mod\2\.so/' pkg-plist > tmp
X#	mv tmp pkg-plist
X#
X
X# =============================================
X# Maintainer note for OPTION handling:
X# To set additional option use
X#    PORT_OPTIONS+=
X# To unset an OPTION, even the OPTION is set in OPTIONSFILE use
X#    WITHOUT_MODULES+=
X#  Using OPTIONS_EXCLUDE and OPTIONS_OVERRIDE do not work as expected
X#  if the OPTION is enabled by the user, therefore we calculate
X#  them in bsd.apache.mk with help of WITHOUT_MODULES
X#  The other methode is to set IGNORE's and force the user to adjust OPTIONS
X
X.if defined(_PREMKINCLUDED)
X
X# check if APR was build with thread support
X.if exists(${APR_CONFIG})
XAPR_LIBS!=	${SH} ${APR_CONFIG} --libs | ${SED} -e 's/-//g'
X.  if defined(APR_LIBS) && !empty(APR_LIBS)
X_T=pthread
X.    for lib in ${APR_LIBS}
X. 	if ${_T:M${lib}}
XAPR_HAS_THREADS=	yes
X.	endif
X.    endfor
X.  endif
X.endif	# exists APR_CONFIG
X
X# check if APR-util module exists
X.if exists(${APU_CONFIG})
X.  if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP}
X.    if !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.  endif
X
X.  if ${PORT_OPTIONS:MSESSION_CRYPTO}
X.    if !exists(${APU_CRYPTO_OPENSSL})
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
X
X.  if ${PORT_OPTIONS:MDBD} || ${PORT_OPTIONS:MAUTHN_DBD}
X.    if !exists(${APU_DBD_MYSQL}) && !exists(${APU_DBD_PGSQL}) && !exists(${APU_DBD_SQLITE3})
XIGNORE=	AUTHN_DBD and DBD requires APR-util to have DBD support build in.\
X	Please rebuild APR at least with one DBD backend
X.    endif
X.  endif
X.endif	# exists APU_CONFIG
X
X# =============================================
X# MPM's: prefork worker event
X.if ${WITH_MPM} == "prefork"
XPLIST_SUB+=		WORKER="@comment " EVENT="@comment "
X.elif ${WITH_MPM} == "worker"
XPLIST_SUB+=		WORKER=""          EVENT="@comment "
X.elif ${WITH_MPM} == "event"
XPLIST_SUB+=		WORKER="@comment " EVENT=""
X.else
XIGNORE=	Unknown MPM: ${WITH_MPM}
X.endif	# MPM prefork
X
X.if ${WITH_MPM} != "prefork"
XPKGNAMESUFFIX=		-${WITH_MPM}-mpm
XLATEST_LINK=		apache24-${WITH_MPM}-mpm
X.endif
X
X.if ${WITH_MPM} == "worker" || ${WITH_MPM} == "event"
XPORT_OPTIONS+=		CGID
X.if ${PORT_OPTIONS:MCGI}
XIGNORE= When using a multi-threaded MPM, the module CGID should be used in place CGI. \
X	Please de-select CGI and select CGID instead. \
X	See http://httpd.apache.org/docs/2.4/mod/mod_cgi.html
X.endif
X.if exists(${APR_CONFIG}) && !defined(APR_HAS_THREADS)
XIGNORE=	requires APR threads. Please rebuild APR with THREAD support
X.  endif
X.endif
X# =============================================
X
X# The next three params are not converted to an option,
X# they should be used only for special builds.
X.if defined(WITH_STATIC_SUPPORT)
XCONFIGURE_ARGS+=	--enable-static-support
X.endif
X
X# debug overrides CFLAGS
X.if defined(WITH_DEBUG)
XDEBUG_FLAGS?=	-O0 -g -ggdb3
XCFLAGS=		${DEBUG_FLAGS}
XCONFIGURE_ARGS+=	--enable-maintainer-mode
XWITH_EXCEPTION_HOOK=	yes
X.endif
X
X.if defined(WITH_EXCEPTION_HOOK)
XCONFIGURE_ARGS+=	--enable-exception-hook
X.endif
X
X.if !${PORT_OPTIONS:MMPM_EVENT} && !${PORT_OPTIONS:MMPM_PREFORK} && !${PORT_OPTIONS:MMPM_WORKER}
XIGNORE=	At least one MPM must be selected.
X.endif
X
X.if ${PORT_OPTIONS:MMPM_EVENT}
XWITH_MPMS+=	event
X.endif
X.if ${PORT_OPTIONS:MMPM_PREFORK}
XWITH_MPMS+=	prefork
X.endif
X.if ${PORT_OPTIONS:MMPM_WORKER}
XWITH_MPMS+=	worker
X.endif
XCONFIGURE_ARGS+=	--enable-mpms-shared="${WITH_MPMS}"
XCONFIGURE_ARGS+=	--with-mpm=${WITH_MPM}
X
X.if ${PORT_OPTIONS:MSSL}
XCFLAGS+=	-I${OPENSSLINC}
XLDFLAGS+=	-L${OPENSSLLIB}
XCONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE}
X.endif
X
X.if ${PORT_OPTIONS:MAUTHNZ_LDAP}
XCONFIGURE_ARGS+=	--enable-authnz-ldap
X.endif
X
X.if ${PORT_OPTIONS:MLDAP}
XCONFIGURE_ARGS+=	--enable-ldap=shared
X.endif
X
X.if ${PORT_OPTIONS:MWATCHDOG}
XCONFIGURE_ARGS+=	--enable-watchdog
X.endif
X
X.if ${PORT_OPTIONS:MSOCACHE_DC}
XCONFIGURE_ARGS+=	--enable-socache-dc --with-distcache=${LOCALBASE}
X.endif
X
X.if ${PORT_OPTIONS:MREFLECTOR}
XCONFIGURE_ARGS+=	--enable-reflector
X.endif
X
X.if ${PORT_OPTIONS:MLUA}
XCONFIGURE_ARGS+=	--enable-lua
X.endif
X
X.if ${PORT_OPTIONS:MXML2ENC}
XCONFIGURE_ARGS+=	--enable-xml2enc
X.endif
X
X.if ${PORT_OPTIONS:MIDENT}
XCONFIGURE_ARGS+=	--enable-ident
X.endif
X
X.if ${PORT_OPTIONS:MSESSION_CRYPTO}
XCONFIGURE_ARGS+=	--enable-session-crypto --with-crypto
X.endif
X
X.if ${PORT_OPTIONS:MSLOTMEM_PLAIN}
XCONFIGURE_ARGS+=	--enable-slotmem-plain
X.endif
X
X.if ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST}
X.  if !${APACHE_MODULES:MAUTHN*}
XIGNORE=	AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider	
X.  endif	
X.endif
X
X.if ${PORT_OPTIONS:MAUTH_BASIC}
X.  if !${APACHE_MODULES:MAUTHZ*}
XIGNORE=	AUTH_BASIC need at least one AUTHZ provider	
X.  endif	
X.endif
X
X.if defined(APR_HAS_THREADS)
XCFLAGS+=	${PTHREAD_CFLAGS}
XLDFLAGS+=	${PTHREAD_LIBS}
X.else
X.  if exists(${APR_CONFIG}) && ${PORT_OPTIONS:MMEM_CACHE}
XIGNORE=	MEM_CACHE requires APR threads. Please rebuild APR with THREAD support
X.  endif
X.endif
X
X# http://httpd.apache.org/docs/2.2/bind.html
X.if ${PORT_OPTIONS:MIPV4_MAPPED}
XCONFIGURE_ARGS+=	--enable-v4-mapped
X.else
XCONFIGURE_ARGS+=	--disable-v4-mapped
X.endif
X
X.endif	# _PREMKINCLUDED
7b50a01b2c43f001234602bd8d5e2fb8
echo x - apache24/distinfo
sed 's/^X//' >apache24/distinfo << '9848ce916b824829d1ed2e80979c721a'
XSHA256 (apache24/httpd-2.4.3.tar.bz2) = d82102b9c111f1892fb20a2bccf4370de579c6521b2f172ed0b36f2759fb249e
XSIZE (apache24/httpd-2.4.3.tar.bz2) = 4559279
9848ce916b824829d1ed2e80979c721a
echo x - apache24/Makefile.options
sed 's/^X//' >apache24/Makefile.options << 'aa713fb25128cd14d3c39d2804c48a31'
X# $FreeBSD$
X
X# XXX The follwing params are used for special buils,
X#     they will be not converted to an OPTION.
X# WITH_MPM		# prefork worker event
X# WITH_STATIC_SUPPORT 	# used in make.conf
X# WITH_DEBUG		# used in make.conf or as build param
X# WITH_EXCEPTION_HOOK	# used in make.conf or as build param
X#
X
XAUTH_MODULES=		AUTH_BASIC AUTH_DIGEST AUTH_FORM
XAUTHN_MODULES=		AUTHN_FILE AUTHN_DBD AUTHN_DBM AUTHN_ANON AUTHN_CORE \
X			AUTHN_SOCACHE
XAUTHZ_MODULES=		AUTHZ_HOST AUTHZ_GROUPFILE AUTHZ_USER AUTHZ_DBM \
X			AUTHZ_OWNER AUTHZ_CORE AUTHZ_DBD
XCACHE_MODULES=		CACHE CACHE_DISK FILE_CACHE
XDAV_MODULES=		DAV DAV_FS
XEXPERIMENTAL_MODULES=	EXT_FILTER LOG_FORENSIC
XLDAP_MODULES=		LDAP AUTHNZ_LDAP
XMISC_MODULES=		ACTIONS ALIAS ALLOWMETHODS ASIS AUTOINDEX BUFFER CERN_META \
X			CGI CHARSET_LITE DBD DATA DEFLATE DIALUP DIR DUMPIO ECHO ENV \
X			EXPIRES HEADERS HEARTBEAT HEARTMONITOR IDENT IMAGEMAP INCLUDE \
X			INFO LBMETHOD_BYBUSYNESS LBMETHOD_BYREQUESTS LBMETHOD_BYTRAFFIC \
X			LBMETHOD_HEARTBEAT LOG_CONFIG LOG_DEBUG LOGIO LUA MIME \
X			MIME_MAGIC NEGOTIATION RATELIMIT REFLECTOR REMOTEIP REQUEST \
X			REWRITE SED SETENVIF SLOTMEM_PLAIN SLOTMEM_SHM SOCACHE_DBM \
X			SOCACHE_DC SOCACHE_MEMCACHE SOCACHE_SHMCB SPELING STATUS \
X			SUBSTITUTE UNIQUE_ID UNIXD USERDIR USERTRACK VHOST_ALIAS \
X			WATCHDOG FILTER VERSION REQTIMEOUT XML2ENC
XMISC_OFF_MODULES=	ACCESS_COMPAT DAV_LOCK
XMPM_MODULES=		MPM_EVENT MPM_PREFORK MPM_WORKER
XPROXY_MODULES=		PROXY PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP \
X			PROXY_SCGI PROXY_FCGI PROXY_FDPASS PROXY_EXPRESS PROXY_HTML
XSESSION_MODULES=	SESSION SESSION_COOKIE SESSION_CRYPTO SESSION_DBD
XSSL_MODULES=		SSL
XSUEXEC_MODULES=		SUEXEC
XTHREADS_MODULES=	CGID
X
XDEFAULT_MODULES_CATEGORIES=	\
X			AUTH AUTHN AUTHZ DAV CACHE MISC MPM
X
XALL_MODULES_CATEGORIES=	AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP \
X			MISC MISC_OFF MPM PROXY SSL SUEXEC THREADS SESSION
X
XNO_OPTIONS_SORT=	yes
X
XOPTIONS_DEFINE=			\
X	MPM_EVENT		\
X	MPM_PREFORK		\
X	MPM_WORKER		\
X	ACCESS_COMPAT		\
X	ALLOWMETHODS		\
X	AUTH_BASIC		\
X	AUTH_DIGEST		\
X	AUTH_FORM		\
X	AUTHN_ANON		\
X	AUTHN_CORE		\
X	AUTHN_DBD		\
X	AUTHN_DBM		\
X	AUTHN_FILE		\
X	AUTHN_SOCACHE		\
X	AUTHZ_CORE		\
X	AUTHZ_DBD		\
X	AUTHZ_DBM		\
X	AUTHZ_GROUPFILE		\
X	AUTHZ_HOST		\
X	AUTHZ_OWNER		\
X	AUTHZ_USER		\
X	AUTHNZ_LDAP		\
X	LDAP			\
X	DBD			\
X	BUFFER			\
X	CACHE			\
X	CACHE_DISK		\
X	FILE_CACHE		\
X	DAV			\
X	DAV_FS			\
X	DAV_LOCK		\
X	ACTIONS			\
X	ALIAS			\
X	ASIS			\
X	AUTOINDEX		\
X	CERN_META		\
X	CGI			\
X	CGID			\
X	CHARSET_LITE		\
X	DEFLATE			\
X	DIALUP			\
X	DIR			\
X	DUMPIO			\
X	ENV			\
X	EXPIRES			\
X	HEADERS			\
X	HEARTBEAT		\
X	HEARTMONITOR		\
X	IMAGEMAP		\
X	INCLUDE			\
X	INFO			\
X	LBMETHOD_BYBUSYNESS	\
X	LBMETHOD_BYREQUESTS	\
X	LBMETHOD_BYTRAFFIC	\
X	LBMETHOD_HEARTBEAT	\
X	LUA			\
X	LOG_CONFIG		\
X	LOG_DEBUG		\
X	LOGIO			\
X	MIME			\
X	MIME_MAGIC		\
X	NEGOTIATION		\
X	RATELIMIT		\
X	REFLECTOR		\
X	REMOTEIP		\
X	REQTIMEOUT		\
X	REQUEST			\
X	REWRITE			\
X	SED			\
X	SESSION			\
X	SETENVIF		\
X	SLOTMEM_PLAIN		\
X	SLOTMEM_SHM		\
X	SO			\
X	SOCACHE_DBM		\
X	SOCACHE_DC		\
X	SOCACHE_MEMCACHE	\
X	SOCACHE_SHMCB		\
X	SPELING			\
X	STATUS			\
X	UNIQUE_ID		\
X	UNIXD			\
X	USERDIR			\
X	USERTRACK		\
X	VHOST_ALIAS		\
X	WATCHDOG		\
X	XML2ENC			\
X	FILTER			\
X	SUBSTITUTE		\
X	VERSION			\
X	SSL			\
X	SUEXEC			\
X	SUEXEC_RSRCLIMIT	\
X	SUEXEC_USERDIR		\
X	PROXY			\
X	IPV4_MAPPED		\
X	EXT_FILTER		\
X	LOG_FORENSIC
X
XOPTIONS_MULTI=PROXY SESSION
XOPTIONS_MULTI_PROXY=PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_EXPRESS PROXY_FCGI PROXY_FDPASS PROXY_FTP PROXY_HTML PROXY_HTTP PROXY_SCGI
XOPTIONS_MULTI_SESSION=SESSION_COOKIE SESSION_CRYPTO SESSION_DBD
X
X# sort list alphanumeric
XOPTIONS_DEFAULT=		\
X	ACTIONS			\
X	ALIAS			\
X	ALLOWMETHODS		\
X	ASIS			\
X	AUTHN_ANON		\
X	AUTHN_CORE		\
X	AUTHN_DBM		\
X	AUTHN_FILE		\
X	AUTHZ_CORE		\
X	AUTHZ_DBD		\
X	AUTHZ_DBM		\
X	AUTHZ_GROUPFILE		\
X	AUTHZ_HOST		\
X	AUTHZ_OWNER		\
X	AUTHZ_USER		\
X	AUTH_BASIC		\
X	AUTH_DIGEST		\
X	AUTH_FORM		\
X	AUTOINDEX		\
X	CACHE			\
X	CACHE_DISK		\
X	CERN_META		\
X	CGI			\
X	CHARSET_LITE		\
X	DAV			\
X	DAV_FS			\
X	DEFLATE			\
X	DIR			\
X	DUMPIO			\
X	ENV			\
X	EXPIRES			\
X	FILE_CACHE		\
X	FILTER			\
X	HEADERS			\
X	IMAGEMAP		\
X	INCLUDE			\
X	INFO			\
X	LOGIO			\
X	LOG_CONFIG		\
X	MPM_PREFORK		\
X	MIME			\
X	MIME_MAGIC		\
X	NEGOTIATION		\
X	REQTIMEOUT		\
X	REWRITE			\
X	SETENVIF		\
X	SPELING			\
X	SSL			\
X	STATUS			\
X	UNIQUE_ID		\
X	USERDIR			\
X	USERTRACK		\
X	VERSION			\
X	VHOST_ALIAS
X
X# sort list alphanumeric
XACCESS_COMPAT_DESC=		mod_access_compat
XACTIONS_DESC=			mod_actions
XALIAS_DESC=			mod_alias
XALLOWMETHODS_DESC=		mod_allowmethods
XASIS_DESC=			mod_asis
XAUTHNZ_LDAP_DESC=		mod_authnz_ldap
XAUTHN_ANON_DESC=		mod_authn_anon
XAUTHN_CORE_DESC=		mod_authn_core
XAUTHN_DBD_DESC=			mod_authn_dbd
XAUTHN_DBM_DESC=			mod_authn_dbm
XAUTHN_FILE_DESC=		mod_authn_file
XAUTHN_SOCACHE_DESC=		mod_authn_socache
XAUTHZ_CORE_DESC=		mod_authz_core
XAUTHZ_DBD_DESC=			mod_authz_dbd
XAUTHZ_DBM_DESC=			mod_authz_dbm
XAUTHZ_GROUPFILE_DESC=		mod_authz_groupfile
XAUTHZ_HOST_DESC=		mod_authz_host
XAUTHZ_OWNER_DESC=		mod_authz_owner
XAUTHZ_USER_DESC=		mod_authz_user
XAUTH_BASIC_DESC=		mod_auth_basic
XAUTH_DIGEST_DESC=		mod_auth_digest
XAUTH_FORM_DESC=			mod_auth_form
XAUTOINDEX_DESC=			mod_autoindex
XBUFFER_DESC=			mod_buffer
XCACHE_DESC=			mod_cache
XCACHE_DISK_DESC=		mod_cache_disk
XCERN_META_DESC=			mod_cern_meta
XCGI_DESC=			mod_cgi
XCGID_DESC=			mod_cgid
XCHARSET_LITE_DESC=		mod_charset_lite
XDATA_DESC=			mod_data
XDAV_DESC=			mod_dav
XDAV_FS_DESC=			mod_dav_fs
XDAV_LOCK_DESC=			mod_dav_lock
XDBD_DESC=			Manages SQL database connections
XDEFLATE_DESC=			mod_deflate
XDIALUP_DESC=			mod_dialup
XDIR_DESC=			mod_dir
XDUMPIO_DESC=			mod_dumpio
XECHO_DESC=			mod_echo
XENV_DESC=			mod_env
XEXPIRES_DESC=			mod_expires
XEXT_FILTER_DESC=		mod_ext_filter
XFILE_CACHE_DESC=		mod_file_cache
XFILTER_DESC=			mod_filter
XHEADERS_DESC=			mod_headers
XHEARTBEAT_DESC=			mod_heartbeat
XHEARTMONITOR_DESC=		mod_heartmonitor
XIDENT_DESC=			mod_ident
XIMAGEMAP_DESC=			mod_imagemap
XINCLUDE_DESC=			mod_include
XINFO_DESC=			mod_info
XIPV4_MAPPED_DESC=		Allow IPv6 socket to handle IPv4
XLBMETHOD_BYBUSYNESS_DESC=	mod_lbmethod_bybusyness
XLBMETHOD_BYREQUESTS_DESC=	mod_lbmethod_byrequests
XLBMETHOD_BYTRAFFIC_DESC=	mod_lbmethod_bytraffic
XLBMETHOD_HEARTBEAT_DESC=	mod_lbmethod_heartbeat
XLDAP_DESC=			connection pooling, result caching
XLOGIO_DESC=			mod_logio
XLOG_CONFIG_DESC=		mod_log_config
XLOG_DEBUG_DESC=			mod_log_debug
XLOG_FORENSIC_DESC=		mod_log_forensic
XMIME_DESC=			mod_mime
XMIME_MAGIC_DESC=		mod_mime_magic
XMPM_EVENT_DESC=			Event MPM
XMPM_PREFORK_DESC=		Prefork MPM
XMPM_WORKER_DESC=		Worker MPM
XNEGOTIATION_DESC=		mod_negotiation
XPROXY_DESC=			mod_proxy
XPROXY_AJP_DESC=			mod_proxy_ajp
XPROXY_BALANCER_DESC=		mod_proxy_balancer
XPROXY_CONNECT_DESC=		mod_proxy_connect
XPROXY_EXPRESS_DESC=		mod_proxy_express
XPROXY_FCGI_DESC=		mod_proxy_fcgi
XPROXY_FDPASS_DESC=		mod_proxy_fdpass
XPROXY_FTP_DESC=			mod_proxy_ftp
XPROXY_HTML_DESC=		mod_proxy_html
XPROXY_HTTP_DESC=		mod_proxy_http
XPROXY_SCGI_DESC=		mod_proxy_scgi
XRATELIMIT_DESC=			mod_ratelimit
XREFLECTOR_DESC=			mod_reflector
XREMOTEIP_DESC=			mod_remoteip
XREQTIMEOUT_DESC=		mod_reqtimeout
XREQUEST_DESC=			mod_request
XREWRITE_DESC=			mod_rewrite
XSED_DESC=			mod_sed
XSESSION_DESC=			mod_session
XSESSION_COOKIE_DESC=		mod_session_cookie
XSESSION_CRYPTO_DESC=		mod_session_crypto
XSESSION_DBD_DESC=		mod_session_dbd
XSETENVIF_DESC=			mod_setenvif
XSLOTMEM_PLAIN_DESC=		mod_slotmem_plain
XSLOTMEM_SHM_DESC=		mod_slotmem_shm
XSO_DESC=			mod_so
XSOCACHE_DBM_DESC=		mod_socache_dbm
XSOCACHE_DC_DESC=		mod_socache_dc
XSOCACHE_MEMCACHE_DESC=		mod_socache_memcache
XSOCACHE_SHMCB_DESC=		mod_socache_shmcb
XSPELING_DESC=			mod_speling
XSSL_DESC=			mod_ssl
XSTATUS_DESC=			mod_status
XSUBSTITUTE_DESC=		mod_substitute
XSUEXEC_DESC=			mod_suexec
XSUEXEC_RSRCLIMIT_DESC=		suEXEC rlimits based on login class
XSUEXEC_USERDIR_DESC=		suEXEC UserDir support
XUNIQUE_ID_DESC=			mod_unique_id
XUNIXD_DESC=			mod_unixd
XUSERDIR_DESC=			mod_userdir
XUSERTRACK_DESC=			mod_usertrack
XVERSION_DESC=			mod_version
XVHOST_ALIAS_DESC=		mod_vhost_alias
XWATCHDOG_DESC=			mod_watchdog
XXML2ENC_DESC=			mod_xml2enc
X
aa713fb25128cd14d3c39d2804c48a31
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212211928.qBLJS1V2009663>