Date: Thu, 21 Jan 1999 21:36:21 -0600 (CST) From: "Scot W. Hetzel" <hetzels@westbend.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/9617: Apache13-FP port upgrade to v1.3.4 Message-ID: <199901220336.VAA19309@wbiW09.westbend.net>
next in thread | raw e-mail | index | archive | help
>Number: 9617 >Category: ports >Synopsis: Apache13-FP port upgrade to v1.3.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 22 06:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 2.2.7-STABLE i386 >Organization: West Bend Internet >Environment: FreeBSD 2.2-stable >Description: The attached patch upgrades the Apache server to v1.3.4 in the Apache13-FP port. NOTE: The following files are no longer required by this port: files/http_protocol.patch patches/patch-am patches/patch-an patches/patch-fl patches/patch-fm Also, the distfile for fp30.bsdi3.tar.Z has changed on the Microsoft Web Site. The new FrontPage Extentions distfile adds supports the Euro Currency Symbol, Thai and Vietnamese languages by supporting the charset tags for these languages. >How-To-Repeat: >Fix: Apply the following patch: diff -ruN apache13-fp.orig/Makefile apache13-fp/Makefile --- apache13-fp.orig/Makefile Tue Dec 1 18:32:38 1998 +++ apache13-fp/Makefile Thu Jan 21 21:07:50 1999 @@ -6,29 +6,30 @@ # $Id: Makefile,v 1.6 1998/12/02 00:32:38 obrien Exp $ # -DISTNAME= apache_1.3.3 -PKGNAME= apache_fp-1.3.3 +DISTNAME= apache_${AP_VERS} +PKGNAME= apache_fp-${AP_VERS} CATEGORIES= www MASTER_SITES= ftp://www.apache.org/apache/dist/ \ ftp://ftp.microsoft.com/products/frontpage/ \ ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.microsoft.com/Products/frontpage/ +DISTFILES= ${APACHE} ${FRONTPAGE} + +MAINTAINER= hetzels@westbend.net + +#PATCH_SITES= ftp://www.apache.org/apache/dist/patches/apply_to_${AP_VERS}/ \ +# http://www.apache.org/dist/patches/apply_to_${AP_VERS}/ +#PATCHFILES= -PATCH_SITES= ftp://www.apache.org/apache/dist/patches/apply_to_1.3.3/ \ - http://www.apache.org/dist/patches/apply_to_1.3.3/ -PATCHFILES= core_404_log_bug.txt proxy_segv.txt server_error_filename.txt .if defined(PATCH_DEBUG) PATCH_DIST_ARGS= -d ${WRKSRC}/src -E ${PATCH_DIST_STRIP} .else PATCH_DIST_ARGS= -d ${WRKSRC}/src --forward --quiet -E ${PATCH_DIST_STRIP} .endif -MAINTAINER= hetzels@westbend.net - +AP_VERS= 1.3.4 APACHE= ${DISTNAME}${EXTRACT_SUFX} FRONTPAGE= fp30.bsdi3.tar.Z -DISTFILES= ${APACHE} ${FRONTPAGE} - EXTRACT_ONLY= ${APACHE} IS_INTERACTIVE= YES @@ -41,16 +42,19 @@ INSTALL_FILE=${INSTALL} -c -m 555 -o bin -g bin +Y2K= http://www.apache.org/docs/misc/FAQ.html#year2000 + # # Set APACHE_PERF_TUNING env. variable to YES to get maximum performance # GNU_CONFIGURE= yes CONFIGURE_ARGS= \ + --prefix=${PREFIX} \ + --with-layout=GNU \ --sysconfdir=${PREFIX}/etc/apache \ --includedir=${PREFIX}/include/apache \ - --logfiledir=/var/log \ - --runtimedir=/var/run \ + --localstatedir=/var \ --datadir=${PREFIX}/www \ --proxycachedir=${PREFIX}/www/proxy \ --libexecdir=${PREFIX}/libexec/apache \ @@ -63,7 +67,8 @@ --enable-shared=frontpage # Currently perl version doesn't matter -# --with-perl=${PERL5} +USE_PERL5= YES +CONFIGURE_ARGS+= --with-perl=${PERL5} OPTIM=-DHARD_SERVER_LIMIT=512 \ -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \ @@ -84,7 +89,10 @@ USER_DIR?=public_html CONFIGURE_ARGS+= --enable-suexec \ --suexec-caller=${HTTPD_USER} \ - --suexec-userdir=${USER_DIR} + --suexec-docroot=${PREFIX}/www/data \ + --suexec-logfile=/var/log/httpd-suexec.log \ + --suexec-userdir=${USER_DIR} \ + --suexec-safepath='/bin:/usr/bin:${PREFIX}/bin' MAN8+= suexec.8 .endif @@ -101,9 +109,6 @@ @${ECHO} "===> Extracting FrontPage install scripts" @cd ${WRKSRC} && \ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${FRONTPAGE} ${FPINSTALL} ${CHANGESERVER} - -pre-patch: - @${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/http_protocol.patch post-install: @${ECHO} "Installing ${PREFIX}/etc/rc.d/apache.sh file." diff -ruN apache13-fp.orig/files/apache.sh.tmpl apache13-fp/files/apache.sh.tmpl --- apache13-fp.orig/files/apache.sh.tmpl Mon Nov 9 19:55:59 1998 +++ apache13-fp/files/apache.sh.tmpl Thu Jan 21 20:18:49 1999 @@ -22,13 +22,18 @@ # Main # +if [ -x PREFIX/libexec/apache/mod_frontpage.so ] +then + MODULES="fp" +fi + case "$1" in start) if [ -x PREFIX/sbin/apachectl ] then new_key - PREFIX/sbin/apachectl start && echo -n ' httpd' + PREFIX/sbin/apachectl start${MODULES} && echo -n ' httpd' fi ;; diff -ruN apache13-fp.orig/files/http_protocol.patch apache13-fp/files/http_protocol.patch --- apache13-fp.orig/files/http_protocol.patch Thu Nov 19 16:48:42 1998 +++ apache13-fp/files/http_protocol.patch Wed Dec 31 18:00:00 1969 @@ -1,13 +0,0 @@ ---- main/http_protocol.c.orig Tue Oct 6 14:06:09 1998 -+++ main/http_protocol.c Wed Nov 18 15:16:02 1998 -@@ -2384,7 +2384,9 @@ - ap_escape_html(r->pool, r->server->server_admin), - " and inform them of the time the error occurred,\n" - "and anything you might have done that may have\n" -- "caused the error.<P>\n", NULL); -+ "caused the error.<P>\n" -+ "More information about this error may be available\n" -+ "in the server error log.<P>\n", NULL); - if ((error_notes = ap_table_get(r->notes, "error-notes")) != NULL) { - ap_bvputs(fd, error_notes, "<P>\n", NULL); - } diff -ruN apache13-fp.orig/files/md5 apache13-fp/files/md5 --- apache13-fp.orig/files/md5 Thu Nov 19 16:48:42 1998 +++ apache13-fp/files/md5 Sun Jan 17 21:06:02 1999 @@ -1,5 +1,2 @@ -MD5 (apache_1.3.3.tar.gz) = bb6f14bbb369097a55969482d395d1ae -MD5 (fp30.bsdi3.tar.Z) = 2aa4396e8bf9a349a946f726f861f97d -MD5 (core_404_log_bug.txt) = ae7472c857937be679bc1224317a0654 -MD5 (proxy_segv.txt) = 2131d636c758e58e753777e0658fd51f -MD5 (server_error_filename.txt) = b44defd90b36e83643b94a6a842ec480 +MD5 (apache_1.3.4.tar.gz) = eab1d93bc17e7d9fcf87dc9fa744a9d3 +MD5 (fp30.bsdi3.tar.Z) = 344b956cca8f367099d7c33e8c7ba174 diff -ruN apache13-fp.orig/patches/patch-aa apache13-fp/patches/patch-aa --- apache13-fp.orig/patches/patch-aa Fri Dec 4 16:05:16 1998 +++ apache13-fp/patches/patch-aa Mon Jan 18 17:29:49 1999 @@ -1,72 +1,50 @@ -*** configure.orig Thu Sep 17 03:07:53 1998 ---- configure Sat Nov 28 11:33:04 1998 -*************** -*** 810,815 **** ---- 810,816 ---- - ## - ## determine special configuration parameters - ## -+ conf_user="nobody" - conf_group="#-1" - conf_port="80" - conf_serveradmin="you@your.address" -*************** -*** 828,833 **** ---- 829,837 ---- - conf_serveradmin="`$aux/buildinfo.sh -n %u@%h%d`" - conf_servername="`$aux/buildinfo.sh -n %h%d`" - fi -+ if [ ".$suexec" = .1 ]; then -+ conf_user="$suexec_caller" -+ fi - - ## - ## determine prefix-relative paths for directories -*************** -*** 870,877 **** - echo " DEFAULT_PIDLOG: ${runtimedir_relative}httpd.pid" - echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}httpd.scoreboard" - echo " DEFAULT_LOCKFILE: ${runtimedir_relative}httpd.lock" -! echo " DEFAULT_XFERLOG: ${logfiledir_relative}access_log" -! echo " DEFAULT_ERRORLOG: ${logfiledir_relative}error_log" - echo " TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types" - echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}httpd.conf" - echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" ---- 874,881 ---- - echo " DEFAULT_PIDLOG: ${runtimedir_relative}httpd.pid" - echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}httpd.scoreboard" - echo " DEFAULT_LOCKFILE: ${runtimedir_relative}httpd.lock" -! echo " DEFAULT_XFERLOG: ${logfiledir_relative}httpd-access.log" -! echo " DEFAULT_ERRORLOG: ${logfiledir_relative}httpd-error.log" - echo " TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types" - echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}httpd.conf" - echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" -*************** -*** 912,917 **** ---- 916,922 ---- - -e "s%@suexec_uidmin@%$suexec_uidmin%g" \ - -e "s%@suexec_gidmin@%$suexec_gidmin%g" \ - -e "s%@suexec_safepath@%$suexec_safepath%g" \ -+ -e "s%@conf_user@%$conf_user%g" \ - -e "s%@conf_group@%$conf_group%g" \ - -e "s%@conf_port@%$conf_port%g" \ - -e "s%@conf_serveradmin@%$conf_serveradmin%g" \ -*************** -*** 935,942 **** - echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}httpd.pid\"'" >>$src/apaci - echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}httpd.scoreboard\"'" >>$src/apaci - echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}httpd.lock\"'" >>$src/apaci -! echo "echo '-DDEFAULT_XFERLOG=\"${logfiledir_relative}access_log\"'" >>$src/apaci -! echo "echo '-DDEFAULT_ERRORLOG=\"${logfiledir_relative}error_log\"'" >>$src/apaci - echo "echo '-DTYPES_CONFIG_FILE=\"${sysconfdir_relative}mime.types\"'" >>$src/apaci - echo "echo '-DSERVER_CONFIG_FILE=\"${sysconfdir_relative}httpd.conf\"'" >>$src/apaci - echo "echo '-DACCESS_CONFIG_FILE=\"${sysconfdir_relative}access.conf\"'" >>$src/apaci ---- 940,947 ---- - echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}httpd.pid\"'" >>$src/apaci - echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}httpd.scoreboard\"'" >>$src/apaci - echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}httpd.lock\"'" >>$src/apaci -! echo "echo '-DDEFAULT_XFERLOG=\"${logfiledir_relative}httpd-access.log\"'" >>$src/apaci -! echo "echo '-DDEFAULT_ERRORLOG=\"${logfiledir_relative}httpd-error.log\"'" >>$src/apaci - echo "echo '-DTYPES_CONFIG_FILE=\"${sysconfdir_relative}mime.types\"'" >>$src/apaci - echo "echo '-DSERVER_CONFIG_FILE=\"${sysconfdir_relative}httpd.conf\"'" >>$src/apaci - echo "echo '-DACCESS_CONFIG_FILE=\"${sysconfdir_relative}access.conf\"'" >>$src/apaci +--- configure.orig Sat Jan 2 07:19:41 1999 ++++ configure Mon Jan 18 17:18:16 1999 +@@ -953,6 +953,7 @@ + ## + ## determine special configuration parameters + ## ++conf_user="nobody" + conf_group="#-1" + conf_port="80" + conf_serveradmin="you@your.address" +@@ -971,6 +972,9 @@ + conf_serveradmin="`$aux/buildinfo.sh -n %u@%h%d`" + conf_servername="`$aux/buildinfo.sh -n %h%d`" + fi ++if [ ".$suexec" = .1 ]; then ++ conf_user="$suexec_caller" ++fi + + ## + ## determine prefix-relative paths for directories +@@ -1012,8 +1016,8 @@ + echo " DEFAULT_PIDLOG: ${runtimedir_relative}${thetarget}.pid" + echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}${thetarget}.scoreboard" + echo " DEFAULT_LOCKFILE: ${runtimedir_relative}${thetarget}.lock" +- echo " DEFAULT_XFERLOG: ${logfiledir_relative}access_log" +- echo " DEFAULT_ERRORLOG: ${logfiledir_relative}error_log" ++ echo " DEFAULT_XFERLOG: ${logfiledir_relative}httpd-access.log" ++ echo " DEFAULT_ERRORLOG: ${logfiledir_relative}httpd-error.log" + echo " TYPES_CONFIG_FILE: ${sysconfdir_relative}mime.types" + echo " SERVER_CONFIG_FILE: ${sysconfdir_relative}${thetarget}.conf" + echo " ACCESS_CONFIG_FILE: ${sysconfdir_relative}access.conf" +@@ -1068,6 +1072,7 @@ + -e "s%@suexec_uidmin@%$suexec_uidmin%g" \ + -e "s%@suexec_gidmin@%$suexec_gidmin%g" \ + -e "s%@suexec_safepath@%$suexec_safepath%g" \ ++-e "s%@conf_user@%$conf_user%g" \ + -e "s%@conf_group@%$conf_group%g" \ + -e "s%@conf_port@%$conf_port%g" \ + -e "s%@conf_serveradmin@%$conf_serveradmin%g" \ +@@ -1091,8 +1096,8 @@ + echo "echo '-DDEFAULT_PIDLOG=\"${runtimedir_relative}${thetarget}.pid\"'" >>$src/apaci + echo "echo '-DDEFAULT_SCOREBOARD=\"${runtimedir_relative}${thetarget}.scoreboard\"'" >>$src/apaci + echo "echo '-DDEFAULT_LOCKFILE=\"${runtimedir_relative}${thetarget}.lock\"'" >>$src/apaci +-echo "echo '-DDEFAULT_XFERLOG=\"${logfiledir_relative}access_log\"'" >>$src/apaci +-echo "echo '-DDEFAULT_ERRORLOG=\"${logfiledir_relative}error_log\"'" >>$src/apaci ++echo "echo '-DDEFAULT_XFERLOG=\"${logfiledir_relative}httpd-access.log\"'" >>$src/apaci ++echo "echo '-DDEFAULT_ERRORLOG=\"${logfiledir_relative}httpd-error.log\"'" >>$src/apaci + echo "echo '-DTYPES_CONFIG_FILE=\"${sysconfdir_relative}mime.types\"'" >>$src/apaci + echo "echo '-DSERVER_CONFIG_FILE=\"${sysconfdir_relative}${thetarget}.conf\"'" >>$src/apaci + echo "echo '-DACCESS_CONFIG_FILE=\"${sysconfdir_relative}access.conf\"'" >>$src/apaci diff -ruN apache13-fp.orig/patches/patch-ab apache13-fp/patches/patch-ab --- apache13-fp.orig/patches/patch-ab Fri Dec 4 16:05:16 1998 +++ apache13-fp/patches/patch-ab Mon Jan 18 17:29:29 1999 @@ -1,168 +1,113 @@ -*** Makefile.tmpl.orig Sat Sep 19 07:41:48 1998 ---- Makefile.tmpl Sat Nov 28 10:30:01 1998 -*************** -*** 107,112 **** ---- 107,113 ---- - runtimedir = @runtimedir@ - logfiledir = @logfiledir@ - proxycachedir = @proxycachedir@ -+ doc_prefix = $(prefix)/share/doc/apache - - libexecdir_relative = @libexecdir_relative@ - -*************** -*** 119,124 **** ---- 120,126 ---- - suexec_safepath = @suexec_safepath@ - - # some substituted configuration parameters -+ conf_user = @conf_user@ - conf_group = @conf_group@ - conf_port = @conf_port@ - conf_serveradmin = @conf_serveradmin@ -*************** -*** 166,173 **** - -DUID_MIN=$(suexec_uidmin) \ - -DGID_MIN=$(suexec_gidmin) \ - -DUSERDIR_SUFFIX=\"$(suexec_userdir)\" \ -! -DLOG_EXEC=\"$(logfiledir)/suexec_log\" \ -! -DDOC_ROOT=\"$(datadir)/htdocs\" \ - -DSAFE_PATH=\"$(suexec_safepath)\" \ - ' \ - suexec; \ ---- 168,175 ---- - -DUID_MIN=$(suexec_uidmin) \ - -DGID_MIN=$(suexec_gidmin) \ - -DUSERDIR_SUFFIX=\"$(suexec_userdir)\" \ -! -DLOG_EXEC=\"$(logfiledir)/httpd-suexec.log\" \ -! -DDOC_ROOT=\"$(datadir)/data\" \ - -DSAFE_PATH=\"$(suexec_safepath)\" \ - ' \ - suexec; \ -*************** -*** 224,232 **** - $(MKDIR) $(root)$(mandir)/man1 - $(MKDIR) $(root)$(mandir)/man8 - $(MKDIR) $(root)$(sysconfdir) -! $(MKDIR) $(root)$(datadir)/htdocs - $(MKDIR) $(root)$(datadir)/icons -! $(MKDIR) $(root)$(datadir)/cgi-bin - $(MKDIR) $(root)$(includedir) - $(MKDIR) $(root)$(runtimedir) - $(MKDIR) $(root)$(logfiledir) ---- 226,234 ---- - $(MKDIR) $(root)$(mandir)/man1 - $(MKDIR) $(root)$(mandir)/man8 - $(MKDIR) $(root)$(sysconfdir) -! $(MKDIR) $(root)$(doc_prefix) - $(MKDIR) $(root)$(datadir)/icons -! $(MKDIR) $(root)$(datadir)/cgi-bin.default - $(MKDIR) $(root)$(includedir) - $(MKDIR) $(root)$(runtimedir) - $(MKDIR) $(root)$(logfiledir) -*************** -*** 340,364 **** - # icons and distributed CGI scripts. - install-data: - @echo "===> [data: Installing initial data files]" -! -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \ -! echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \ -! else \ -! echo "Copying tree $(TOP)/htdocs/ -> $(root)$(datadir)/htdocs/"; \ - (cd $(TOP)/htdocs/ && $(TAR) cf - *) |\ -! (cd $(root)$(datadir)/htdocs/ && $(TAR) xf -); \ -! find $(root)$(datadir)/htdocs/ -type d -exec chmod a+rx {} \; ; \ -! find $(root)$(datadir)/htdocs/ -type f -exec chmod a+r {} \; ; \ - fi -! -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ -! echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ -! else \ - for script in printenv test-cgi; do \ - cat $(TOP)/cgi-bin/$${script} |\ - sed -e 's;^#!/.*perl;#!$(PERL);' \ - > $(TOP)/$(SRC)/.apaci.install.tmp; \ -! echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin/$${script}"; \ -! $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin/$${script}; \ - done; \ - fi - @echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \ - (cd $(TOP)/icons/ && $(TAR) cf - *) |\ ---- 342,373 ---- - # icons and distributed CGI scripts. - install-data: - @echo "===> [data: Installing initial data files]" -! # -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \ -! # echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \ -! # else \ -! echo "Copying tree $(TOP)/htdocs/ -> $(root)$(doc_prefix)/"; \ - (cd $(TOP)/htdocs/ && $(TAR) cf - *) |\ -! (cd $(root)$(doc_prefix)/ && $(TAR) xf -); \ -! find $(root)$(doc_prefix)/ -type d -exec chmod a+rx {} \; ; \ -! find $(root)$(doc_prefix)/ -type f -exec chmod a+r {} \; ; \ -! # fi -! if [ ! -d $(root)$(datadir)/data ]; then \ -! $(CP) -rp $(root)$(doc_prefix) $(root)$(datadir)/data; \ - fi -! $(LN) -sf $(root)$(doc_prefix) $(root)$(datadir)/data.default -! # -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ -! # echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ -! # else \ - for script in printenv test-cgi; do \ - cat $(TOP)/cgi-bin/$${script} |\ - sed -e 's;^#!/.*perl;#!$(PERL);' \ - > $(TOP)/$(SRC)/.apaci.install.tmp; \ -! echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin.default/$${script}"; \ -! $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin.default/$${script}; \ - done; \ -+ # fi -+ if [ ! -d $(root)$(datadir)/cgi-bin ]; then \ -+ $(LN) -sf $(root)$(datadir)/cgi-bin.default $(root)$(datadir)/cgi-bin; \ - fi - @echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \ - (cd $(TOP)/icons/ && $(TAR) cf - *) |\ -*************** -*** 378,397 **** - echo ""; \ - cat $(TOP)/conf/$${conf}-dist ) |\ - sed -e '/# LoadModule/r $(TOP)/$(SRC)/.apaci.install.conf' \ -! -e 's;@@ServerRoot@@/htdocs;$(datadir)/htdocs;' \ - -e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \ - -e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \ - -e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \ - -e 's;@@ServerRoot@@;$(prefix);' \ - -e 's;logs/accept.lock;$(runtimedir)/httpd.lock;' \ - -e 's;logs/apache_runtime_status;$(runtimedir)/httpd.scoreboard;' \ - -e 's;logs/httpd.pid;$(runtimedir)/httpd.pid;' \ -! -e 's;logs/access_log;$(logfiledir)/access_log;' \ -! -e 's;logs/error_log;$(logfiledir)/error_log;' \ -! -e 's;logs/referer_log;$(logfiledir)/referer_log;' \ -! -e 's;logs/agent_log;$(logfiledir)/agent_log;' \ - -e 's;conf/magic;$(sysconfdir)/magic;' \ - -e 's;conf/mime.types;$(sysconfdir)/mime.types;' \ - -e 's;Group #-1;Group $(conf_group);' \ - -e 's;Port 80;Port $(conf_port);' \ - -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \ ---- 387,409 ---- - echo ""; \ - cat $(TOP)/conf/$${conf}-dist ) |\ - sed -e '/# LoadModule/r $(TOP)/$(SRC)/.apaci.install.conf' \ -! -e 's;@@ServerRoot@@/htdocs;$(datadir)/data;' \ - -e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \ - -e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \ - -e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \ -+ -e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/srm.conf;' \ -+ -e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/access.conf;' \ - -e 's;@@ServerRoot@@;$(prefix);' \ - -e 's;logs/accept.lock;$(runtimedir)/httpd.lock;' \ - -e 's;logs/apache_runtime_status;$(runtimedir)/httpd.scoreboard;' \ - -e 's;logs/httpd.pid;$(runtimedir)/httpd.pid;' \ -! -e 's;logs/access_log;$(logfiledir)/httpd-access.log;' \ -! -e 's;logs/error_log;$(logfiledir)/httpd-error.log;' \ -! -e 's;logs/referer_log;$(logfiledir)/httpd-referer.log;' \ -! -e 's;logs/agent_log;$(logfiledir)/httpd-agent.log;' \ - -e 's;conf/magic;$(sysconfdir)/magic;' \ - -e 's;conf/mime.types;$(sysconfdir)/mime.types;' \ -+ -e 's;User nobody;User $(conf_user);' \ - -e 's;Group #-1;Group $(conf_group);' \ - -e 's;Port 80;Port $(conf_port);' \ - -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \ +--- Makefile.tmpl.orig Thu Jan 7 05:50:45 1999 ++++ Makefile.tmpl Mon Jan 18 17:29:01 1999 +@@ -110,6 +110,7 @@ + runtimedir = @runtimedir@ + logfiledir = @logfiledir@ + proxycachedir = @proxycachedir@ ++doc_prefix = $(prefix)/share/doc/apache + + libexecdir_relative = @libexecdir_relative@ + +@@ -124,6 +125,7 @@ + suexec_safepath = @suexec_safepath@ + + # some substituted configuration parameters ++conf_user = @conf_user@ + conf_group = @conf_group@ + conf_port = @conf_port@ + conf_serveradmin = @conf_serveradmin@ +@@ -239,9 +241,9 @@ + $(MKDIR) $(root)$(mandir)/man1 + $(MKDIR) $(root)$(mandir)/man8 + $(MKDIR) $(root)$(sysconfdir) +- $(MKDIR) $(root)$(datadir)/htdocs ++ $(MKDIR) $(root)$(doc_prefix) + $(MKDIR) $(root)$(datadir)/icons +- $(MKDIR) $(root)$(datadir)/cgi-bin ++ $(MKDIR) $(root)$(datadir)/cgi-bin.default + $(MKDIR) $(root)$(includedir) + $(MKDIR) $(root)$(runtimedir) + $(MKDIR) $(root)$(logfiledir) +@@ -308,6 +310,7 @@ + echo "$(INSTALL_SCRIPT) $(TOP)/$(SRC)/support/apachectl[*] $(root)$(sbindir)/$${apachectl}"; \ + sed -e 's;PIDFILE=.*;PIDFILE=$(runtimedir)/$(TARGET).pid;' \ + -e 's;HTTPD=.*;HTTPD=$(sbindir)/$(TARGET);' \ ++ -e 's;LD_LIBRARY_PATH=.*;LD_LIBRARY_PATH=/usr/lib\:$(prefix)/lib;' \ + < $(TOP)/$(SRC)/support/apachectl > $(TOP)/$(SRC)/.apaci.install.tmp && \ + $(INSTALL_SCRIPT) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(sbindir)/$${apachectl}; \ + echo "$(INSTALL_DATA) $(TOP)/$(SRC)/support/apachectl.1 $(root)$(mandir)/man1/$${apachectl}.1"; \ +@@ -363,25 +366,32 @@ + # icons and distributed CGI scripts. + install-data: + @echo "===> [data: Installing initial data files]" +- -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \ +- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \ +- else \ +- echo "Copying tree $(TOP)/htdocs/ -> $(root)$(datadir)/htdocs/"; \ ++# -@if [ -f $(root)$(datadir)/htdocs/index.html ]; then \ ++# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/htdocs/]"; \ ++# else \ ++ echo "Copying tree $(TOP)/htdocs/ -> $(root)$(doc_prefix)/"; \ + (cd $(TOP)/htdocs/ && $(TAR) -hcf - *) |\ +- (cd $(root)$(datadir)/htdocs/ && $(TAR) -xf -); \ +- find $(root)$(datadir)/htdocs/ -type d -exec chmod a+rx {} \; ; \ +- find $(root)$(datadir)/htdocs/ -type f -exec chmod a+r {} \; ; \ ++ (cd $(root)$(doc_prefix) && $(TAR) -xf -); \ ++ find $(root)$(doc_prefix) -type d -exec chmod a+rx {} \; ; \ ++ find $(root)$(doc_prefix) -type f -exec chmod a+r {} \; ; \ ++# fi ++ if [ ! -d $(root)$(datadir)/data ]; then \ ++ $(CP) -rp $(root)$(doc_prefix) $(root)$(datadir)/data; \ + fi +- -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ +- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ +- else \ ++ $(LN) -sf $(root)$(doc_prefix) $(root)$(datadir)/data.default ++# -@if [ -f $(root)$(datadir)/cgi-bin/printenv ]; then \ ++# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(datadir)/cgi-bin/]"; \ ++# else \ + for script in printenv test-cgi; do \ + cat $(TOP)/cgi-bin/$${script} |\ + sed -e 's;^#!/.*perl;#!$(PERL);' \ + > $(TOP)/$(SRC)/.apaci.install.tmp; \ +- echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin/$${script}"; \ +- $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin/$${script}; \ +- done; \ ++ echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(datadir)/cgi-bin.default/$${script}"; \ ++ $(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(datadir)/cgi-bin.default/$${script}; \ ++ done; ++# fi ++ if [ ! -d $(root)$(datadir)/cgi-bin ]; then \ ++ $(LN) -sf $(root)$(datadir)/cgi-bin.default $(root)$(datadir)/cgi-bin; \ + fi + @echo "Copying tree $(TOP)/icons/ -> $(root)$(datadir)/icons/"; \ + (cd $(TOP)/icons/ && $(TAR) -hcf - *) |\ +@@ -411,20 +421,23 @@ + echo ""; \ + cat $(TOP)/conf/$${conf}-dist ) |\ + sed -e '/# LoadModule/r $(TOP)/$(SRC)/.apaci.install.conf' \ +- -e 's;@@ServerRoot@@/htdocs;$(datadir)/htdocs;' \ ++ -e 's;@@ServerRoot@@/htdocs;$(datadir)/data;' \ + -e 's;@@ServerRoot@@/icons;$(datadir)/icons;' \ + -e 's;@@ServerRoot@@/cgi-bin;$(datadir)/cgi-bin;' \ + -e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \ ++ -e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/srm.conf;' \ ++ -e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/access.conf;' \ + -e 's;@@ServerRoot@@;$(prefix);g' \ + -e 's;logs/accept.lock;$(runtimedir)/$(TARGET).lock;' \ + -e 's;logs/apache_runtime_status;$(runtimedir)/$(TARGET).scoreboard;' \ + -e 's;logs/httpd.pid;$(runtimedir)/$(TARGET).pid;' \ +- -e "s;logs/access_log;$(logfiledir)/$${target_prefix}access_log;" \ +- -e "s;logs/error_log;$(logfiledir)/$${target_prefix}error_log;" \ +- -e "s;logs/referer_log;$(logfiledir)/$${target_prefix}referer_log;" \ +- -e "s;logs/agent_log;$(logfiledir)/$${target_prefix}agent_log;" \ ++ -e "s;logs/access_log;$(logfiledir)/httpd-access.log;" \ ++ -e "s;logs/error_log;$(logfiledir)/httpd-error.log;" \ ++ -e "s;logs/referer_log;$(logfiledir)/httpd-referer.log;" \ ++ -e "s;logs/agent_log;$(logfiledir)/httpd-agent.log;" \ + -e 's;conf/magic;$(sysconfdir)/magic;' \ + -e 's;conf/mime.types;$(sysconfdir)/mime.types;' \ ++ -e 's;User nobody;User $(conf_user);' \ + -e 's;Group #-1;Group $(conf_group);' \ + -e 's;Port 80;Port $(conf_port);' \ + -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \ diff -ruN apache13-fp.orig/patches/patch-ag apache13-fp/patches/patch-ag --- apache13-fp.orig/patches/patch-ag Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-ag Thu Jan 21 16:50:44 1999 @@ -1,72 +1,108 @@ -*** conf/httpd.conf-dist.orig Wed May 6 16:12:39 1998 ---- conf/httpd.conf-dist Sat Jun 6 13:08:52 1998 -*************** -*** 50,56 **** - # don't use Group #-1 on these systems! - - User nobody -! Group #-1 - - # ServerAdmin: Your address, where problems with the server should be - # e-mailed. ---- 50,56 ---- - # don't use Group #-1 on these systems! - - User nobody -! Group nogroup - - # ServerAdmin: Your address, where problems with the server should be - # e-mailed. -*************** -*** 65,70 **** ---- 65,80 ---- - - ServerRoot @@ServerRoot@@ - -+ # AccessConfig: The name and location of the Access Configuration file -+ # -+ -+ AccessConfig @@ServerRoot@@/access.conf -+ -+ # ResourceConfig: The name and location of the Resource Configuration file -+ # -+ -+ ResourceConfig @@ServerRoot@@/srm.conf -+ - # BindAddress: You can support virtual hosts with this option. This option - # is used to tell the server which IP address to listen to. It can either - # contain "*", an IP address, or a fully qualified Internet domain name. -*************** -*** 94,100 **** - # The location of the access logfile (Common Logfile Format). - # If this does not start with /, ServerRoot is prepended to it. - -! CustomLog logs/access_log common - - # If you would like to have an agent and referer logfile uncomment the - # following directives. ---- 104,110 ---- - # The location of the access logfile (Common Logfile Format). - # If this does not start with /, ServerRoot is prepended to it. - -! #CustomLog logs/access_log common - - # If you would like to have an agent and referer logfile uncomment the - # following directives. -*************** -*** 105,111 **** - # If you prefer a single logfile with access, agent and referer information - # (Combined Logfile Format) you can use the following directive. - -! #CustomLog logs/access_log combined - - # PidFile: The file the server should log its pid to - PidFile logs/httpd.pid ---- 115,121 ---- - # If you prefer a single logfile with access, agent and referer information - # (Combined Logfile Format) you can use the following directive. - -! CustomLog logs/access_log combined - - # PidFile: The file the server should log its pid to - PidFile logs/httpd.pid +--- conf/httpd.conf-dist.orig Sat Dec 12 11:04:29 1998 ++++ conf/httpd.conf-dist Mon Jan 18 17:18:16 1999 +@@ -97,6 +97,13 @@ + #ResourceConfig conf/srm.conf + #AccessConfig conf/access.conf + ++<IfDefine FRONTPAGE> ++### FrontPage needs these two directives defined, otherwise ### ++### the fpadmsrv.exe program will cause errors. ### ++ResourceConfig @@ServerRoot@@/srm.conf ++AccessConfig @@ServerRoot@@/access.conf ++</IfDefine> ++ + # + # Timeout: The number of seconds before receives and sends time out. + # +@@ -196,6 +203,22 @@ + # Example: + # LoadModule foo_module libexec/mod_foo.so + ++<IfDefine SSL> ++### Uncomment the following if you wish to use SSL and you need RSAREF: ### ++#LoadFile !librsaref.so.2 ++LoadFile !libcrypto.so.0 ++LoadFile !libssl.so.0 ++LoadModule ssl_module libexec/apache/mod_ssl.so ++AddModule mod_ssl.c ++</IfDefine> ++ ++<IfDefine FRONTPAGE> ++### We need to check if it matters when the frontpage ### ++### module is loaded, before or after the SSL module? ### ++LoadModule frontpage_module libexec/apache/mod_frontpage.so ++AddModule mod_frontpage.c ++</IfDefine> ++ + # + # ExtendedStatus controls whether Apache will generate "full" status + # information (ExtendedStatus On) or just basic information (ExtendedStatus +@@ -241,7 +264,7 @@ + # don't use Group #-1 on these systems! + # + User nobody +-Group #-1 ++Group nogroup + + # + # ServerAdmin: Your address, where problems with the server should be +@@ -269,7 +292,7 @@ + # documents. By default, all requests are taken from this directory, but + # symbolic links and aliases may be used to point to other locations. + # +-DocumentRoot "@@ServerRoot@@/htdocs" ++DocumentRoot @@ServerRoot@@/htdocs + + # + # Each directory to which Apache has access, can be configured with respect +@@ -310,7 +333,16 @@ + # override. Can also be "All", or any combination of "Options", "FileInfo", + # "AuthConfig", and "Limit" + # ++<IfDefine !FRONTPAGE> + AllowOverride None ++</IfDefine> ++ ++<IfDefine FRONTPAGE> ++### The FrontPage Module requires this directive ### ++### to be set to All, so that it can use the user ### ++### and group password files for authentication ### ++ AllowOverride All ++</IfDefine> + + # + # Controls who can get stuff from this server. +@@ -342,6 +374,15 @@ + # </Limit> + #</Directory> + ++### In Order for FrontPage to work in User and Virtual ### ++### Web Directories, they need to be set up as shown: ### ++<IfDefine FRONTPAGE> ++ <Directory /*/public_html> ++ AllowOverride All ++ Options ExecCGI ++ </Directory> ++</IfDefine> ++ + # + # DirectoryIndex: Name of the file or files to use as a pre-written HTML + # directory index. Separate multiple entries with spaces. +@@ -459,7 +500,7 @@ + # define per-<VirtualHost> access logfiles, transactions will be + # logged therein and *not* in this file. + # +-CustomLog logs/access_log common ++#CustomLog logs/access_log common + + # + # If you would like to have agent and referer logfiles, uncomment the +@@ -472,7 +513,7 @@ + # If you prefer a single logfile with access, agent, and referer information + # (Combined Logfile Format) you can use the following directive. + # +-#CustomLog logs/access_log combined ++CustomLog logs/access_log combined + + # + # Optionally add a line containing the server version and virtual host diff -ruN apache13-fp.orig/patches/patch-ak apache13-fp/patches/patch-ak --- apache13-fp.orig/patches/patch-ak Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-ak Thu Jan 21 20:15:11 1999 @@ -1,40 +1,66 @@ -*** src/support/apachectl.orig Fri Jul 17 01:25:54 1998 ---- src/support/apachectl Fri Jul 24 00:34:59 1998 -*************** -*** 39,44 **** ---- 39,46 ---- - # -------------------- -------------------- - # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| - -+ eval `limits -e -C daemon` >/dev/null 2>&1 -+ - ERROR=0 - ARGV="$@" - if [ "x$ARGV" = "x" ] ; then -*************** -*** 50,56 **** - # check for pidfile - if [ -f $PIDFILE ] ; then - PID=`cat $PIDFILE` -! if kill -0 $PID; then - STATUS="httpd (pid $PID) running" - RUNNING=1 - else ---- 52,58 ---- - # check for pidfile - if [ -f $PIDFILE ] ; then - PID=`cat $PIDFILE` -! if kill -0 $PID > /dev/null 2>&1; then - STATUS="httpd (pid $PID) running" - RUNNING=1 - else -*************** -*** 82,87 **** ---- 84,90 ---- - fi - if kill $PID ; then - echo "$0 $ARG: httpd stopped" -+ rm $PIDFILE - else - echo "$0 $ARG: httpd could not be stopped" - ERROR=4 +--- src/support/apachectl.orig Fri Jan 1 13:05:32 1999 ++++ src/support/apachectl Thu Jan 21 20:14:27 1999 +@@ -27,6 +27,10 @@ + # the path to your httpd binary, including options if necessary + HTTPD='/usr/local/apache/src/httpd' + # ++# shared object search path ++LD_LIBRARY_PATH= ++export LD_LIBRARY_PATH ++# + # a command that outputs a formatted text version of the HTML at the + # url given on the command line. Designed for lynx, however other + # programs may work. +@@ -39,6 +43,8 @@ + # -------------------- -------------------- + # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| + ++eval `limits -e -C daemon` >/dev/null 2>&1 ++ + ERROR=0 + ARGV="$@" + if [ "x$ARGV" = "x" ] ; then +@@ -50,7 +56,7 @@ + # check for pidfile + if [ -f $PIDFILE ] ; then + PID=`cat $PIDFILE` +- if kill -0 $PID; then ++ if kill -0 $PID > /dev/null 2>&1; then + STATUS="httpd (pid $PID) running" + RUNNING=1 + else +@@ -75,6 +81,18 @@ + ERROR=3 + fi + ;; ++ startfp|start_frontpage|start-FP) ++ if [ $RUNNING -eq 1 ]; then ++ echo "$0 $ARG: httpd (pid $PID) already running" ++ continue ++ fi ++ if $HTTPD -DFRONTPAGE; then ++ echo "$0 $ARG: httpd started" ++ else ++ echo "$0 $ARG: httpd could not be started" ++ ERROR=3 ++ fi ++ ;; + stop) + if [ $RUNNING -eq 0 ]; then + echo "$0 $ARG: $STATUS" +@@ -82,6 +100,7 @@ + fi + if kill $PID ; then + echo "$0 $ARG: httpd stopped" ++ rm $PIDFILE + else + echo "$0 $ARG: httpd could not be stopped" + ERROR=4 +@@ -153,6 +172,7 @@ + cat <<EOF + + start - start httpd ++startfp - start httpd with FrontPage Extentions enabled + stop - stop httpd + restart - restart httpd if running by sending a SIGHUP or start if + not running diff -ruN apache13-fp.orig/patches/patch-al apache13-fp/patches/patch-al --- apache13-fp.orig/patches/patch-al Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-al Mon Jan 18 17:37:37 1999 @@ -1,50 +1,29 @@ -*** src/support/log_server_status.orig Tue Mar 31 16:53:50 1998 ---- src/support/log_server_status Tue Apr 21 17:18:10 1998 -*************** -*** 67,76 **** - # - require 'sys/socket.ph'; - -! $wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/960312" - $server = "localhost"; # Name of server, could be "www.foo.com" - $port = "80"; # Port on server -! $request = "/status/?auto"; # Request to send - - sub tcp_connect - { ---- 67,76 ---- - # - require 'sys/socket.ph'; - -! $wherelog = "/var/log/httpd-status-"; # Logs will be like "/var/log/graph/960312" - $server = "localhost"; # Name of server, could be "www.foo.com" - $port = "80"; # Port on server -! $request = "/server-status/?auto"; # Request to send - - sub tcp_connect - { -*************** -*** 93,103 **** - ### Main - - { -! $date=`date +%y%m%d:%H%M%S`; - chop($date); - ($day,$time)=split(/:/,$date); - $res=&tcp_connect($server,$port); -! open(OUT,">>$wherelog$day"); - if ($res) { - print OUT "$time:-1:-1:-1:-1:$res\n"; - exit 1; ---- 93,103 ---- - ### Main - - { -! $date=`LC_TIME=C date +%y%m%d:%H%M%S`; - chop($date); - ($day,$time)=split(/:/,$date); - $res=&tcp_connect($server,$port); -! open(OUT,">>$wherelog$day.log"); - if ($res) { - print OUT "$time:-1:-1:-1:-1:$res\n"; - exit 1; +--- src/support/log_server_status.orig Fri Jan 1 13:05:34 1999 ++++ src/support/log_server_status Mon Jan 18 17:18:16 1999 +@@ -67,10 +67,10 @@ + # + require 'sys/socket.ph'; + +-$wherelog = "/var/log/graph/"; # Logs will be like "/var/log/graph/960312" ++$wherelog = "/var/log/httpd-status-"; # Logs will be like "/var/log/httpd-status-960312" + $server = "localhost"; # Name of server, could be "www.foo.com" + $port = "80"; # Port on server +-$request = "/status/?auto"; # Request to send ++$request = "/server-status/?auto"; # Request to send + + sub tcp_connect + { +@@ -93,11 +93,11 @@ + ### Main + + { +- $date=`date +%y%m%d:%H%M%S`; ++ $date=`LC_TIME=C date +%y%m%d:%H%M%S`; + chop($date); + ($day,$time)=split(/:/,$date); + $res=&tcp_connect($server,$port); +- open(OUT,">>$wherelog$day"); ++ open(OUT,">>$wherelog$day.log"); + if ($res) { + print OUT "$time:-1:-1:-1:-1:$res\n"; + exit 1; diff -ruN apache13-fp.orig/patches/patch-am apache13-fp/patches/patch-am --- apache13-fp.orig/patches/patch-am Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-am Wed Dec 31 18:00:00 1969 @@ -1,19 +0,0 @@ -*** src/os/unix/os.h.orig Thu Oct 15 09:31:30 1998 ---- src/os/unix/os.h Thu Oct 15 09:33:11 1998 -*************** -*** 121,127 **** - #define RTLD_GLOBAL 0 - #endif - -! #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) - #define DLSYM_NEEDS_UNDERSCORE - #endif - ---- 121,127 ---- - #define RTLD_GLOBAL 0 - #endif - -! #if (defined(__FreeBSD_version) && (__FreeBSD_version < 300004)) || defined(__OpenBSD__) || defined(__NetBSD__) - #define DLSYM_NEEDS_UNDERSCORE - #endif - diff -ruN apache13-fp.orig/patches/patch-an apache13-fp/patches/patch-an --- apache13-fp.orig/patches/patch-an Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-an Wed Dec 31 18:00:00 1969 @@ -1,51 +0,0 @@ -*** src/Configure.orig Wed Oct 7 04:19:30 1998 ---- src/Configure Sat Oct 31 16:53:09 1998 -*************** -*** 471,477 **** - CFLAGS="$CFLAGS -funsigned-char" - ;; - esac -! LIBS="$LIBS -lcrypt" - DBM_LIB="" - DB_LIB="" - ;; ---- 471,477 ---- - CFLAGS="$CFLAGS -funsigned-char" - ;; - esac -! LIBS="$LIBS -ldescrypt" - DBM_LIB="" - DB_LIB="" - ;; -*************** -*** 901,911 **** - LDFLAGS_SHLIB_EXPORT="-rdynamic" - SHLIB_SUFFIX_DEPTH=0 - ;; -! *-freebsd*) - CFLAGS_SHLIB="-fpic" - LDFLAGS_SHLIB="-Bshareable" - LDFLAGS_SHLIB_EXPORT="" - SHLIB_SUFFIX_DEPTH=2 - ;; - *-openbsd*) - CFLAGS_SHLIB="-fPIC" ---- 901,918 ---- - LDFLAGS_SHLIB_EXPORT="-rdynamic" - SHLIB_SUFFIX_DEPTH=0 - ;; -! *-freebsd2*) - CFLAGS_SHLIB="-fpic" - LDFLAGS_SHLIB="-Bshareable" - LDFLAGS_SHLIB_EXPORT="" - SHLIB_SUFFIX_DEPTH=2 -+ ;; -+ *-freebsd3*) -+ CFLAGS_SHLIB="-fpic" -+ LD_SHLIB="cc" -+ LDFLAGS_SHLIB="-shared" -+ LDFLAGS_SHLIB_EXPORT="-rdynamic" -+ SHLIB_SUFFIX_DEPTH=0 - ;; - *-openbsd*) - CFLAGS_SHLIB="-fPIC" diff -ruN apache13-fp.orig/patches/patch-at apache13-fp/patches/patch-at --- apache13-fp.orig/patches/patch-at Wed Dec 31 18:00:00 1969 +++ apache13-fp/patches/patch-at Mon Jan 18 17:38:00 1999 @@ -0,0 +1,12 @@ +--- src/support/apxs.pl.orig Fri Jan 1 16:00:15 1999 ++++ src/support/apxs.pl Mon Jan 18 17:18:17 1999 +@@ -393,8 +393,7 @@ + } + my $t = $f; + $t =~ s|^.+/([^/]+)$|$1|; +- push(@cmds, "cp $f $CFG_LIBEXECDIR/$t"); +- push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t"); ++ push(@cmds, "install -c -m 555 -o root -g wheel $f $CFG_LIBEXECDIR/$t"); + + # determine module symbolname and filename + my $filename = ''; diff -ruN apache13-fp.orig/patches/patch-fl apache13-fp/patches/patch-fl --- apache13-fp.orig/patches/patch-fl Mon Nov 9 19:56:00 1998 +++ apache13-fp/patches/patch-fl Wed Dec 31 18:00:00 1969 @@ -1,43 +0,0 @@ -*** conf/access.conf-dist.orig Thu May 28 20:27:49 1998 ---- conf/access.conf-dist Fri Jun 12 15:08:46 1998 -*************** -*** 39,51 **** - # override. Can also be "All", or any combination of "Options", "FileInfo", - # "AuthConfig", and "Limit" - -! AllowOverride None - - # Controls who can get stuff from this server. - - order allow,deny - allow from all - - </Directory> - - # @@ServerRoot@@/cgi-bin should be changed to whatever your ScriptAliased ---- 39,63 ---- - # override. Can also be "All", or any combination of "Options", "FileInfo", - # "AuthConfig", and "Limit" - -! AllowOverride All - - # Controls who can get stuff from this server. - - order allow,deny - allow from all - -+ </Directory> -+ -+ # We need to allow exection of the FrontPage CGI program in user home directories. -+ -+ <Directory /home> -+ Options ExecCGI -+ AllowOverride All -+ </Directory> -+ -+ <Directory /usr/home> -+ Options ExecCGI -+ AllowOverride All - </Directory> - - # @@ServerRoot@@/cgi-bin should be changed to whatever your ScriptAliased diff -ruN apache13-fp.orig/patches/patch-fm apache13-fp/patches/patch-fm --- apache13-fp.orig/patches/patch-fm Thu Nov 19 16:48:42 1998 +++ apache13-fp/patches/patch-fm Wed Dec 31 18:00:00 1969 @@ -1,11 +0,0 @@ ---- conf/srm.conf-dist.orig Mon Oct 5 12:53:34 1998 -+++ conf/srm.conf-dist Sat Nov 14 21:21:50 1998 -@@ -12,7 +12,7 @@ - # documents. By default, all requests are taken from this directory, but - # symbolic links and aliases may be used to point to other locations. - --DocumentRoot "@@ServerRoot@@/htdocs" -+DocumentRoot @@ServerRoot@@/htdocs - - # UserDir: The name of the directory which is appended onto a user's home - # directory if a ~user request is recieved. diff -ruN apache13-fp.orig/pkg/PLIST apache13-fp/pkg/PLIST --- apache13-fp.orig/pkg/PLIST Wed Nov 25 14:49:02 1998 +++ apache13-fp/pkg/PLIST Sun Jan 17 17:38:22 1999 @@ -31,6 +31,7 @@ include/apache/http_vhost.h include/apache/httpd.h include/apache/multithread.h +include/apache/os-inline.c include/apache/os.h include/apache/rfc1413.h include/apache/scoreboard.h @@ -85,6 +86,7 @@ share/doc/apache/manual/images/mod_rewrite_fig2.gif share/doc/apache/manual/images/sub.gif share/doc/apache/manual/index.html +share/doc/apache/manual/install-tpf.html share/doc/apache/manual/install.html share/doc/apache/manual/invoking.html share/doc/apache/manual/keepalive.html @@ -166,10 +168,12 @@ share/doc/apache/manual/new_features_1_2.html share/doc/apache/manual/new_features_1_3.html share/doc/apache/manual/process-model.html +share/doc/apache/manual/readme-tpf.html share/doc/apache/manual/sections.html share/doc/apache/manual/sourcereorg.html share/doc/apache/manual/stopping.html share/doc/apache/manual/suexec.html +share/doc/apache/manual/suexec_1_2.html share/doc/apache/manual/unixware.html share/doc/apache/manual/upgrading_to_1_3.html share/doc/apache/manual/vhosts/details.html @@ -249,6 +253,36 @@ www/icons/screw1.gif www/icons/screw2.gif www/icons/script.gif +www/icons/small/README.txt +www/icons/small/back.gif +www/icons/small/binary.gif +www/icons/small/binhex.gif +www/icons/small/blank.gif +www/icons/small/broken.gif +www/icons/small/burst.gif +www/icons/small/comp1.gif +www/icons/small/comp2.gif +www/icons/small/compressed.gif +www/icons/small/continued.gif +www/icons/small/dir.gif +www/icons/small/dir2.gif +www/icons/small/forward.gif +www/icons/small/generic.gif +www/icons/small/generic2.gif +www/icons/small/generic3.gif +www/icons/small/image.gif +www/icons/small/image2.gif +www/icons/small/index.gif +www/icons/small/key.gif +www/icons/small/movie.gif +www/icons/small/rainbow.gif +www/icons/small/sound.gif +www/icons/small/sound2.gif +www/icons/small/tar.gif +www/icons/small/text.gif +www/icons/small/transfer.gif +www/icons/small/unknown.gif +www/icons/small/uu.gif www/icons/sound1.gif www/icons/sound2.gif www/icons/sphere1.gif @@ -274,6 +308,7 @@ @dirrm share/doc/apache/manual @dirrm share/doc/apache @dirrm www/cgi-bin.default +@dirrm www/icons/small @dirrm www/icons @dirrm www/proxy @dirrm www >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901220336.VAA19309>