summaryrefslogtreecommitdiffstats
path: root/www/apache13-fp/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-03 03:36:38 +0000
committersteve <steve@FreeBSD.org>2000-01-03 03:36:38 +0000
commitae53400008482074eacf8b6c5f82c1c2c904b901 (patch)
treea57355d491dabba89165380e8e8a3586f9e005d6 /www/apache13-fp/files
parent8f135afb6c2ee734b06fff7c37995cade910d177 (diff)
downloadFreeBSD-ports-ae53400008482074eacf8b6c5f82c1c2c904b901.zip
FreeBSD-ports-ae53400008482074eacf8b6c5f82c1c2c904b901.tar.gz
Update to FrontPage Extensions 2000.
PR: 14866 Submitted by: maintainer
Diffstat (limited to 'www/apache13-fp/files')
-rw-r--r--www/apache13-fp/files/apache.sh.tmpl5
-rw-r--r--www/apache13-fp/files/mod_frontpage.c42
-rw-r--r--www/apache13-fp/files/patch-aa22
-rw-r--r--www/apache13-fp/files/patch-ab26
-rw-r--r--www/apache13-fp/files/patch-ag76
-rw-r--r--www/apache13-fp/files/patch-ai11
-rw-r--r--www/apache13-fp/files/patch-al15
-rw-r--r--www/apache13-fp/files/patch-fa361
-rw-r--r--www/apache13-fp/files/patch-fb269
-rw-r--r--www/apache13-fp/files/patch-fd10
-rw-r--r--www/apache13-fp/files/patch-fe2
-rw-r--r--www/apache13-fp/files/patch-ff11
-rw-r--r--www/apache13-fp/files/patch-fi10
-rw-r--r--www/apache13-fp/files/patch-fk15
14 files changed, 462 insertions, 413 deletions
diff --git a/www/apache13-fp/files/apache.sh.tmpl b/www/apache13-fp/files/apache.sh.tmpl
index b36a499..bb1995d 100644
--- a/www/apache13-fp/files/apache.sh.tmpl
+++ b/www/apache13-fp/files/apache.sh.tmpl
@@ -7,13 +7,16 @@
new_key() {
- skdir=PREFIX/frontpage/currentversion/apache-fp
+ CUR_UMASK=`umask`
+ skdir=PREFIX/frontpage/version4.0/apache-fp
PERL=PERL5
#NOTE: We need Perl 5, to generate a new key
if [ -x ${PERL} ]
then
+ umask 077
${PERL} -e '@a=(split(//, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*-=_+")); print((map {$a[rand(scalar @a)]} (1..128)), "\n");' > $skdir/suidkey
+ umask ${CUR_UMASK}
fi
}
diff --git a/www/apache13-fp/files/mod_frontpage.c b/www/apache13-fp/files/mod_frontpage.c
index bf3cea3..28b32b4 100644
--- a/www/apache13-fp/files/mod_frontpage.c
+++ b/www/apache13-fp/files/mod_frontpage.c
@@ -21,8 +21,8 @@
* allow the exclusion or limitation of liability for consequential or
* incidental damages, the above limitation may not apply to you.
*
- * $Revision: 1.3 $
- * $Date: 1997/10/15 17:23:46 $
+ * $Revision: 5 $
+ * $Date: 6/19/98 5:25p $
*
*/
@@ -69,6 +69,7 @@
#define Vlstat lstat
#endif
+
#ifndef TRUE
#define TRUE 1
#endif
@@ -92,21 +93,21 @@ static int gfdKeyPipe[2]; /* Pipe to fpexe stub CGI */
static int gbKeyPipeActive = FALSE;/* Pipe to fpexe stub CGI is active */
static int gbEnabled = FALSE; /* TRUE when SUID scheme is enabled */
#if !defined(SHARED_MODULE)
-static int giInitializeCount = 0; /* FrontPageInit called previously */
+static int giInitializeCount =0 /* FrontPageInit called previously */
#endif
static const char* FP =
- "/usr/local/frontpage/currentversion";
+ "/usr/local/frontpage/version4.0";
static const char* FPKEYDIR =
- "/usr/local/frontpage/currentversion/apache-fp";
+ "/usr/local/frontpage/version4.0/apache-fp";
static const char* KEYFILEXOR =
- "/usr/local/frontpage/currentversion/apache-fp/suidkey";
+ "/usr/local/frontpage/version4.0/apache-fp/suidkey";
static const char* KEYFILE =
- "/usr/local/frontpage/currentversion/apache-fp/suidkey.%d";
+ "/usr/local/frontpage/version4.0/apache-fp/suidkey.%d";
static const char* FPSTUBDIR =
- "/usr/local/frontpage/currentversion/apache-fp/_vti_bin";
+ "/usr/local/frontpage/version4.0/apache-fp/_vti_bin";
static const char* FPSTUB =
- "/usr/local/frontpage/currentversion/apache-fp/_vti_bin/fpexe";
+ "/usr/local/frontpage/version4.0/apache-fp/_vti_bin/fpexe";
static const char* SHTML =
"/_vti_bin/shtml.exe";
static const char* SHTML2 =
@@ -234,7 +235,7 @@ static int FrontPageCheckup(server_rec *s)
return (FALSE);
}
- if (Vlstat(FPKEYDIR, &fs) == -1 || /* We can't stat the key dir */
+ if (Vlstat(FPKEYDIR, &fs) == -1 || /* We can't stat the key dir */
fs.st_uid || /* key dir not owned by root */
(fs.st_mode & (S_IRGRP | S_IROTH)) || /* key dir is readable */
(fs.st_mode & (S_IWGRP | S_IWOTH)) || /* key dir is writable */
@@ -247,12 +248,12 @@ static int FrontPageCheckup(server_rec *s)
* that non-root programs can run apache-fp/_vti_bin/fpexe (even though
* non-root cannot list the directory).
*/
- LogFrontPageError(s, "Incorrect permissions on key directory \"%-.1024s\", needs root ownership and perms rwx--x--x",
+ LogFrontPageError(s, "Incorrect permissions on key directory \"%-.1024s\", needs root ownership and permissions rwx--x--x",
FPKEYDIR, "FrontPageCheckup()", TRUE);
return (FALSE);
}
- if (Vlstat(FPSTUBDIR, &fs) == -1 || /* We can't stat the stub dir */
+ if (Vlstat(FPSTUBDIR, &fs) == -1 || /* We can't stat the stub dir */
fs.st_uid || /* stub dir not owned by root */
(fs.st_mode & (S_IWGRP | S_IWOTH)) || /* stub dir is writable */
(!S_ISDIR(fs.st_mode)))
@@ -261,12 +262,12 @@ static int FrontPageCheckup(server_rec *s)
* User recovery: set directory to be owned by by root with permissions
* r*x*-x*-x.
*/
- LogFrontPageError(s, "Incorrect permissions on stub directory \"%-.1024s\", needs root ownership and perms r*x*-x*-x",
+ LogFrontPageError(s, "Incorrect permissions on stub directory \"%-.1024s\", needs root ownership and permissions r*x*-x*-x",
FPSTUBDIR, "FrontPageCheckup()", TRUE);
return (FALSE);
}
- if (Vstat(FPSTUB, &fs) == -1 || /* We can't stat the stub */
+ if (Vstat(FPSTUB, &fs) == -1 || /* We can't stat the stub */
fs.st_uid || /* stub not owned by root */
!(fs.st_mode & S_ISUID) || /* stub is not set-uid */
(fs.st_mode & S_ISGID) || /* stub is set-gid */
@@ -277,7 +278,7 @@ static int FrontPageCheckup(server_rec *s)
* User recovery: set stub to be owned by by root with permissions
* r*s*-x*-x.
*/
- LogFrontPageError(s, "Incorrect permissions on stub \"%-.1024s\", needs root ownership and perms r*s*-x*-x",
+ LogFrontPageError(s, "Incorrect permissions on stub \"%-.1024s\", needs root ownership and permissions r*s*-x*-x",
FPSTUB, "FrontPageCheckup()", TRUE);
return (FALSE);
}
@@ -428,7 +429,7 @@ static void FrontPageInit(server_rec *s, pool *p)
#ifdef LINUX
#define RAND_CMD "/bin/ps laxww | /usr/bin/sum ; /bin/ps laxww | /usr/bin/sum"
#else
-#if defined ( bsdi ) || ( defined ( BSD ) && ( BSD >=199103 ))
+#if defined ( bsdi ) || ( defined ( BSD ) && ( BSD >= 199103 ))
#define RAND_CMD "/bin/ps laxww | /usr/bin/cksum -o 1 ; /bin/ps laxww | /usr/bin/cksum -o 1"
#else
#define RAND_CMD "/bin/ps -ea | /bin/sum ; /bin/ps -ea | /bin/sum"
@@ -497,6 +498,7 @@ static void FrontPageInit(server_rec *s, pool *p)
*/
LogFrontPageError(s, "Key file \"%-.1024s\" is unreadable or is too short (must be at least 8 bytes)",
KEYFILEXOR, "FrontPageInit()", TRUE);
+ close(fd);
return;
}
@@ -513,6 +515,10 @@ static void FrontPageInit(server_rec *s, pool *p)
*/
for (i = 0; i < KEYLEN; i++)
gszKeyVal[i] = szBuf[i % iCount] ^ szRandom[i % sizeof(iRandom)];
+
+ /*
+ * Thanks to A.Mayrhofer@Austria.EU.net 980130
+ */
close(fd);
}
@@ -560,7 +566,7 @@ static void FrontPageInit(server_rec *s, pool *p)
/*
* Thanks to Scot Hetzel (hetzels@westbend.net)
*/
- ap_add_version_component("FrontPage/3.0.4.3");
+ ap_add_version_component("FrontPage/4.0.4.3");
}
@@ -675,7 +681,7 @@ static int FrontPageAlias(
sprintf(szBuf, "%d", gfdKeyPipe[0]);
ap_table_set(r->subprocess_env, "FPFD", ap_pstrdup(r->pool, szBuf));
- r->execfilename = ap_pstrcat(r->pool, FPSTUB, szCgi + strlen(szFpexe), NULL);
+ r->execfilename = ap_pstrcat(r->pool, FPSTUB, szCgi+strlen(szFpexe), NULL);
r->filename = ap_pstrcat(r->pool, r->filename, szCgi, NULL);
if (write(gfdKeyPipe[1], gszKeyVal, 128) != 128)
diff --git a/www/apache13-fp/files/patch-aa b/www/apache13-fp/files/patch-aa
index 9eaa76b..093d839 100644
--- a/www/apache13-fp/files/patch-aa
+++ b/www/apache13-fp/files/patch-aa
@@ -1,6 +1,6 @@
--- configure.orig Sat Aug 14 03:29:05 1999
-+++ configure Mon Sep 6 12:36:24 1999
-@@ -1084,7 +1084,7 @@
++++ configure Sat Oct 16 20:49:14 1999
+@@ -1084,10 +1084,10 @@
## UID/GID as production oriented as a web server in NIS anyway.
##
conf_user="nobody"
@@ -8,17 +8,23 @@
+conf_group="nogroup"
conf_port="80"
conf_serveradmin="you@your.address"
- conf_servername="new.host.name"
-@@ -1109,6 +1109,9 @@
+-conf_servername="new.host.name"
++conf_servername="`$aux/buildinfo.sh -n %h%d`"
+ if [ "x$confadjust" = "x1" ]; then
+ if [ -f /etc/passwd ]; then
+ for uid in nobody www daemon demon http httpd; do
+@@ -1107,7 +1107,10 @@
+ conf_port="8080"
+ fi
conf_serveradmin="`$aux/buildinfo.sh -n %u@%h%d`"
- conf_servername="`$aux/buildinfo.sh -n %h%d`"
- fi
+- conf_servername="`$aux/buildinfo.sh -n %h%d`"
++# conf_servername="`$aux/buildinfo.sh -n %h%d`"
++fi
+if [ ".$suexec" = .1 ]; then
+ conf_user="$suexec_caller"
-+fi
+ fi
##
- ## determine prefix-relative paths for directories
@@ -1153,8 +1156,8 @@
echo " DEFAULT_PIDLOG: ${runtimedir_relative}${thetarget}.pid"
echo " DEFAULT_SCOREBOARD: ${runtimedir_relative}${thetarget}.scoreboard"
diff --git a/www/apache13-fp/files/patch-ab b/www/apache13-fp/files/patch-ab
index dc8da3e..8897ad9 100644
--- a/www/apache13-fp/files/patch-ab
+++ b/www/apache13-fp/files/patch-ab
@@ -1,5 +1,5 @@
--- Makefile.tmpl.orig Fri Aug 13 01:58:18 1999
-+++ Makefile.tmpl Mon Sep 6 12:58:17 1999
++++ Makefile.tmpl Sat Nov 13 19:33:44 1999
@@ -120,6 +120,7 @@
runtimedir = @runtimedir@
logfiledir = @logfiledir@
@@ -68,7 +68,7 @@
< $(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.8 $(root)$(mandir)/man8/$${apachectl}.8"; \
-@@ -441,25 +458,33 @@
+@@ -441,25 +458,36 @@
# icons and distributed CGI scripts.
install-data:
@echo "===> [data: Installing initial data files]"
@@ -85,17 +85,20 @@
- find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \
- find $(root)$(htdocsdir)/ -type f -exec chmod a+r {} \; ; \
+ (cd $(root)$(doc_prefix)/ && $(TAR) -xf -); \
++ cat $(TOP)/htdocs/index.html | \
++ sed -e 's;@@HOSTNAME@@;$(conf_servername);' \
++ > $(root)$(doc_prefix)/index.html ; \
++ $(LN) -f $(root)$(doc_prefix)/apache_pb.gif $(root)$(doc_prefix)/manual/images; \
+ find $(root)$(doc_prefix)/ -type d -exec chmod a+rx {} \; ; \
+ find $(root)$(doc_prefix)/ -type f -exec chmod a+r {} \; ; \
+# fi
+ if [ ! -d $(root)$(htdocsdir) ]; then \
-+ $(CP) -rp $(root)$(doc_prefix) $(root)$(htdocsdir); \
++ $(MKDIR) $(root)$(htdocsdir); \
++ $(CP) -rp $(root)$(doc_prefix)/index.html $(root)$(htdocsdir); \
fi
- -@if [ -f $(root)$(cgidir)/printenv ]; then \
- echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
- else \
-+ $(RM) $(root)$(htdocsdir).default
-+ $(LN) -s $(root)$(doc_prefix) $(root)$(htdocsdir).default
+# -@if [ -f $(root)$(cgidir)/printenv ]; then \
+# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(cgidir)/]"; \
+# else \
@@ -114,12 +117,12 @@
fi
@echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
(cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
-@@ -493,15 +517,17 @@
+@@ -493,20 +521,24 @@
-e 's;@@ServerRoot@@/icons;$(iconsdir);' \
-e 's;@@ServerRoot@@/cgi-bin;$(cgidir);' \
-e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \
-+ -e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/$(TARGET).conf;' \
-+ -e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/$(TARGET).conf;' \
++ -e 's;@@ServerRoot@@/srm.conf;/dev/null;' \
++ -e 's;@@ServerRoot@@/access.conf;/dev/null;' \
-e 's;@@ServerRoot@@;$(prefix);g' \
-e 's;httpd\.conf;$(TARGET).conf;' \
-e 's;logs/accept\.lock;$(runtimedir)/$(TARGET).lock;' \
@@ -136,3 +139,10 @@
-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;@@MANUAL@@;$(doc_prefix);' \
++ -e 's;@@HOSTNAME@@;$(conf_servername);' \
+ -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \
+ -e 's;ServerName new.host.name;ServerName $(conf_servername);' \
+ > $(TOP)/$(SRC)/.apaci.install.tmp && \
diff --git a/www/apache13-fp/files/patch-ag b/www/apache13-fp/files/patch-ag
index b2b37f8..6377a6a 100644
--- a/www/apache13-fp/files/patch-ag
+++ b/www/apache13-fp/files/patch-ag
@@ -1,28 +1,26 @@
--- conf/httpd.conf-dist.orig Wed May 5 15:17:59 1999
-+++ conf/httpd.conf-dist Mon Sep 6 13:01:08 1999
-@@ -97,6 +97,13 @@
++++ conf/httpd.conf-dist Wed Oct 27 21:37:07 1999
+@@ -97,6 +97,9 @@
#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.
#
-@@ -246,7 +253,7 @@
- # don't use Group #-1 on these systems!
- #
- User nobody
--Group #-1
-+Group nogroup
+@@ -176,6 +179,10 @@
+ #Listen 3000
+ #Listen 12.34.56.78:80
++Listen 80
++# We need to Listen to port 8080, as that is were the Apache Docs can be accessed from.
++Listen 8080
++
#
- # ServerAdmin: Your address, where problems with the server should be
+ # BindAddress: You can support virtual hosts with this option. This directive
+ # is used to tell the server which IP address to listen to. It can either
@@ -274,7 +281,7 @@
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
@@ -36,6 +34,7 @@
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
+- AllowOverride None
+<IfDefine FRONTPAGE>
+### These are the Minimum options need by the FrontPage Module.
+### With out these options set the FrontPage Client will not be
@@ -44,7 +43,7 @@
+</IfDefine>
+
+<IfDefine !FRONTPAGE>
- AllowOverride None
++# AllowOverride None
+</IfDefine>
#
@@ -83,3 +82,52 @@
#
# Optionally add a line containing the server version and virtual host
+@@ -852,3 +877,48 @@
+
+ #<VirtualHost _default_:*>
+ #</VirtualHost>
++
++# This virtual Host allows access to the Apache & Frontpage Docs on port 8080
++<VirtualHost _default_:8080>
++ ServerAdmin webmaster@@@HOSTNAME@@
++ DocumentRoot @@MANUAL@@
++ ServerName @@HOSTNAME@@
++
++ <Directory "@@MANUAL@@">
++
++ #
++ # This may also be "None", "All", or any combination of "Indexes",
++ # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
++ #
++ # Note that "MultiViews" must be named *explicitly* --- "Options All"
++ # doesn't give it to you.
++ #
++ Options Indexes FollowSymLinks
++
++ #
++ # This controls which options the .htaccess files in directories can
++ # 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>
++
++</VirtualHost>
++
++# This Virtual Host makes it so FrontPage will display pages from the
++# root web. Without this virtual host, Frontpage accesses the pages
++# on the default virtual host (port 8080) instead.
++#
++#NOTE: This Virtual Host Entry must be kept as the last _default_
++# virtual host entry.
++<VirtualHost _default_:80>
++ ServerAdmin webmaster@@@HOSTNAME@@
++ ServerName @@HOSTNAME@@
++</VirtualHost>
++
diff --git a/www/apache13-fp/files/patch-ai b/www/apache13-fp/files/patch-ai
new file mode 100644
index 0000000..b294fef
--- /dev/null
+++ b/www/apache13-fp/files/patch-ai
@@ -0,0 +1,11 @@
+--- htdocs/manual/mod/index.html.orig Mon Mar 22 18:17:36 1999
++++ htdocs/manual/mod/index.html Fri Jun 11 22:12:43 1999
+@@ -74,6 +74,8 @@
+ <DD>Demonstrates Apache API
+ <DT><A HREF="mod_expires.html">mod_expires</A> Apache 1.2 and up
+ <DD>Apply Expires: headers to resources
++<DT><A HREF="mod_frontpage/index.html">mod_frontpage</A> Apache 1.2 and up
++<DD>Apache mod_frontpage interface for FrontPage 2000
+ <DT><A HREF="mod_headers.html">mod_headers</A> Apache 1.2 and up
+ <DD>Add arbitrary HTTP headers to resources
+ <DT><A HREF="mod_imap.html">mod_imap</A>
diff --git a/www/apache13-fp/files/patch-al b/www/apache13-fp/files/patch-al
index b355a69..f473a31 100644
--- a/www/apache13-fp/files/patch-al
+++ b/www/apache13-fp/files/patch-al
@@ -1,5 +1,5 @@
---- src/support/log_server_status.orig Fri Jun 4 19:54:19 1999
-+++ src/support/log_server_status Fri Sep 3 15:53:16 1999
+--- src/support/log_server_status.orig Fri Jun 4 10:54:19 1999
++++ src/support/log_server_status Sat Nov 13 19:42:02 1999
@@ -67,10 +67,10 @@
#
require 'sys/socket.ph';
@@ -13,7 +13,16 @@
sub tcp_connect
{
-@@ -100,7 +100,7 @@
+@@ -93,14 +93,14 @@
+ ### Main
+
+ {
+- $year=`date +%y`;
++ $year=`LC_TIME=C date +%y`;
+ chomp($year);
+ $year += ($year < 70) ? 2000 : 1900;
+- $date = $year . `date +%m%d:%H%M%S`;
++ $date = $year . `LC_TIME=C date +%m%d:%H%M%S`;
chomp($date);
($day,$time)=split(/:/,$date);
$res=&tcp_connect($server,$port);
diff --git a/www/apache13-fp/files/patch-fa b/www/apache13-fp/files/patch-fa
index d9af777..ff1bde0 100644
--- a/www/apache13-fp/files/patch-fa
+++ b/www/apache13-fp/files/patch-fa
@@ -1,156 +1,205 @@
---- frontpage/version3.0/change_server.sh.orig Thu Mar 5 06:00:22 1998
-+++ frontpage/version3.0/change_server.sh Fri Jan 22 23:03:20 1999
-@@ -38,9 +38,9 @@
- {
- VERSION="3.0"
- PATH=".:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/etc"
-- NEWHTTPD="/usr/local/frontpage/currentversion/apache-fp/httpd"
-+ NEWHTTPD="PREFIX/sbin/httpd"
- UPGRADEVERSION=`$NEWHTTPD -v`
-- DEFAULTHTTPD="/usr/local/etc/httpd/httpd"
-+ DEFAULTHTTPD="PREFIX/sbin/httpd"
-
- case "`echo 'x\c'`" in
- 'x\c') echo="echo -n" nnl= ;; #BSD
-@@ -59,6 +59,9 @@
- IRIX*) machine="sgi" ;;
- SunOS*5.*sun4*) machine="solaris" ;;
- SunOS*4.*sun4*) machine="sunos";;
-+ FreeBSD* | \
-+ NetBSD* | \
-+ OpenBSD* | \
- *BSD/OS?3.0*) machine="bsdi3" ;;
- BSD/OS*) machine="bsdi" ;;
- SCO_SV*) machine="sco5" ;;
-@@ -366,10 +369,19 @@
- *pache*) getHttpDirective $configfile AccessConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- accessconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ accessconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- accessconffile="${configfiledir}access.conf"
-+ accessconffile="${configfiledir}conf/access.conf"
-+ if [ ! -f "$accessconffile" ]
-+ then
-+ configError2
-+ fi
- fi
-
- if [ ! -f "$accessconffile" ]
-@@ -932,10 +944,19 @@
- getHttpDirective $configfile ResourceConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
-+ then
-+ configError2
-+ fi
- fi
- echo "Getting DocumentRoot from $resconffile."
- getparam DocumentRoot $resconffile
-@@ -952,10 +973,19 @@
- resconffile=$param
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
-+ then
-+ configError2
-+ fi
- fi
- echo "Getting UserDir from $resconffile."
- getparam UserDir $resconffile
-@@ -979,10 +1009,19 @@
- *) getHttpDirective $configfile ResourceConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
-+ then
-+ configError2
-+ fi
- fi
-
- if [ ! -f "$resconffile" ]
-@@ -1124,6 +1163,39 @@
- getHttpRootDirective $configfile $directive
- fi
-
-+}
-+
-+configError()
-+{
-+ echo
-+ echo "ERROR: ${configfile} invalid format"
-+ echo "Change ${configfile} as follows:"
-+ echo
-+ echo " ResourceConfig ${configfile}"
-+ echo " AccessConfig ${configfile}"
-+ echo
-+ $echo "hit enter to continue${nnl}"
-+ read continue
-+ echo "Ouch!!!!!!!!!!!!! Not so hard, gently please"
-+ echo
-+ exit 1
-+}
-+
-+configError2()
-+{
-+ echo
-+ echo "ERROR: ${configfile} invalid"
-+ echo
-+ echo "Change ${configfile} as follows:"
-+ echo
-+ echo " ResourceConfig ${configfiledir}srm.conf"
-+ echo " AccessConfig ${configfiledir}access.conf"
-+ echo
-+ $echo "hit enter to continue${nnl}"
-+ read continue
-+ echo "Ouch!!!!!!!!!!!!! Not so hard, gently please"
-+ echo
-+ exit 1
- }
-
- error()
+*** frontpage/version4.0/change_server.sh.orig Mon May 24 13:27:07 1999
+--- frontpage/version4.0/change_server.sh Thu Jun 10 19:43:09 1999
+***************
+*** 38,46 ****
+ {
+ VERSION="4.0"
+ PATH=".:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/etc:/usr/bsd"
+! NEWHTTPDNEW="/usr/local/frontpage/version${VERSION}/apache-fp/httpd"
+! NEWHTTPDCOMPAT="/usr/local/frontpage/version${VERSION}/apache-fp/httpd.Compat"
+! DEFAULTHTTPD="/usr/local/apache/sbin/httpd"
+
+ case "`echo 'x\c'`" in
+ 'x\c') echo="echo -n" nnl= ;; #BSD
+--- 38,46 ----
+ {
+ VERSION="4.0"
+ PATH=".:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/etc:/usr/bsd"
+! NEWHTTPDNEW="PREFIX/sbin/httpd"
+! NEWHTTPDCOMPAT="${NEWHTTPDNEW}"
+! DEFAULTHTTPD="PREFIX/sbin/httpd"
+
+ case "`echo 'x\c'`" in
+ 'x\c') echo="echo -n" nnl= ;; #BSD
+***************
+*** 60,65 ****
+--- 60,68 ----
+ IRIX*) machine="sgi" ;;
+ SunOS*5.*sun4*) machine="solaris" ;;
+ SunOS*5.*i386*) machine="solarisx86" ;;
++ FreeBSD* | \
++ NetBSD* | \
++ OpenBSD* | \
+ BSD/OS*) machine="bsdi" ;;
+ SCO_SV*) machine="sco5" ;;
+ UnixWare\ *\ *\ 7*\ i*) machine="uware7" ;;
+***************
+*** 496,505 ****
+ *pache*) getHttpDirective $configfile AccessConfig $port
+ if [ "$param" != "" ]
+ then
+! file=`basename $param`
+! accessconffile="${configfiledir}${file}"
+ else
+! accessconffile="${configfiledir}access.conf"
+ fi
+
+ if [ ! -f "$accessconffile" ]
+--- 499,517 ----
+ *pache*) getHttpDirective $configfile AccessConfig $port
+ if [ "$param" != "" ]
+ then
+! if [ "$param" != "/dev/null" ]
+! then
+! file=`basename $param`
+! accessconffile="${configfiledir}${file}"
+! else
+! configError
+! fi
+ else
+! accessconffile="${configfiledir}conf/access.conf"
+! if [ ! -f "$accessconffile" ]
+! then
+! configError2
+! fi
+ fi
+
+ if [ ! -f "$accessconffile" ]
+***************
+*** 1061,1070 ****
+ getHttpDirective $configfile ResourceConfig $port
+ if [ "$param" != "" ]
+ then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+ else
+! resconffile="${configfiledir}srm.conf"
+ fi
+ echo "Getting DocumentRoot from $resconffile."
+ getparam DocumentRoot $resconffile
+--- 1073,1091 ----
+ getHttpDirective $configfile ResourceConfig $port
+ if [ "$param" != "" ]
+ then
+! if [ "$param" != "/dev/null" ]
+! then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+! else
+! configError
+! fi
+ else
+! resconffile="${configfiledir}conf/srm.conf"
+! if [ ! -f "$resconffile" ]
+! then
+! configError2
+! fi
+ fi
+ echo "Getting DocumentRoot from $resconffile."
+ getparam DocumentRoot $resconffile
+***************
+*** 1081,1090 ****
+ resconffile=$param
+ if [ "$param" != "" ]
+ then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+ else
+! resconffile="${configfiledir}srm.conf"
+ fi
+ echo "Getting UserDir from $resconffile."
+ getparam UserDir $resconffile
+--- 1102,1120 ----
+ resconffile=$param
+ if [ "$param" != "" ]
+ then
+! if [ "$param" != "/dev/null" ]
+! then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+! else
+! configError
+! fi
+ else
+! resconffile="${configfiledir}conf/srm.conf"
+! if [ ! -f "$resconffile" ]
+! then
+! configError2
+! fi
+ fi
+ echo "Getting UserDir from $resconffile."
+ getparam UserDir $resconffile
+***************
+*** 1108,1117 ****
+ *) getHttpDirective $configfile ResourceConfig $port
+ if [ "$param" != "" ]
+ then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+ else
+! resconffile="${configfiledir}srm.conf"
+ fi
+
+ if [ ! -f "$resconffile" ]
+--- 1138,1156 ----
+ *) getHttpDirective $configfile ResourceConfig $port
+ if [ "$param" != "" ]
+ then
+! if [ "$param" != "/dev/null" ]
+! then
+! file=`basename $param`
+! resconffile="${configfiledir}${file}"
+! else
+! configError
+! fi
+ else
+! resconffile="${configfiledir}conf/srm.conf"
+! if [ ! -f "$resconffile" ]
+! then
+! configError2
+! fi
+ fi
+
+ if [ ! -f "$resconffile" ]
+***************
+*** 1253,1258 ****
+--- 1292,1330 ----
+ getHttpRootDirective $configfile $directive
+ fi
+
++ }
++
++ configError()
++ {
++ echo
++ echo "ERROR: ${configfile} invalid format"
++ echo "Change ${configfile} as follows:"
++ echo
++ echo " ResourceConfig ${configfile}"
++ echo " AccessConfig ${configfile}"
++ echo
++ $echo "hit enter to continue${nnl}"
++ read continue
++ echo "Ouch!!!!!!!!!!!!! Not so hard, gently please"
++ echo
++ exit 1
++ }
++
++ configError2()
++ {
++ echo
++ echo "ERROR: ${configfile} invalid"
++ echo
++ echo "Change ${configfile} as follows:"
++ echo
++ echo " ResourceConfig ${configfiledir}srm.conf"
++ echo " AccessConfig ${configfiledir}access.conf"
++ echo
++ $echo "hit enter to continue${nnl}"
++ read continue
++ echo "Ouch!!!!!!!!!!!!! Not so hard, gently please"
++ echo
++ exit 1
+ }
+
+ error()
diff --git a/www/apache13-fp/files/patch-fb b/www/apache13-fp/files/patch-fb
index ec663ce..5e86d31 100644
--- a/www/apache13-fp/files/patch-fb
+++ b/www/apache13-fp/files/patch-fb
@@ -1,25 +1,25 @@
---- frontpage/version3.0/fp_install.sh.orig Thu Mar 5 06:00:21 1998
-+++ frontpage/version3.0/fp_install.sh Fri Jan 22 22:58:40 1999
-@@ -50,7 +50,7 @@
+--- frontpage/version4.0/fp_install.sh.orig Mon May 24 12:45:14 1999
++++ frontpage/version4.0/fp_install.sh Sat Jun 12 13:56:45 1999
+@@ -48,7 +48,7 @@
{
- VERSION="3.0"
+ VERSION="4.0"
PATH=".:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/etc:/usr/bsd"
- INSTALLDIRDEFAULT="/usr/local/frontpage"
+ INSTALLDIRDEFAULT="PREFIX/frontpage"
case "`echo 'x\c'`" in
'x\c') echo="echo -n" nnl= ;; #BSD
-@@ -69,6 +69,9 @@
- IRIX*) machine="sgi" ;;
- SunOS*5.*sun4*) machine="solaris" ;;
- SunOS*4.*sun4*) machine="sunos";;
-+ FreeBSD* | \
-+ NetBSD* | \
-+ OpenBSD* | \
- *BSD/OS?3.0*) machine="bsdi3" ;;
- BSD/OS*) machine="bsdi" ;;
- SCO_SV*) machine="sco5" ;;
-@@ -325,7 +328,7 @@
+@@ -68,6 +68,9 @@
+ IRIX*) machine="sgi" ;;
+ SunOS*5.*sun4*) machine="solaris" ;;
+ SunOS*5.*i386*) machine="solarisx86" ;;
++ FreeBSD* | \
++ NetBSD* | \
++ OpenBSD* | \
+ BSD/OS*) machine="bsdi" ;;
+ SCO_SV*) machine="sco5" ;;
+ UnixWare\ *\ *\ 7*\ i*) machine="uware7" ;;
+@@ -327,7 +330,7 @@
echo "link will be created from /usr/local/frontpage/ to the location that"
echo "is chosen."
echo
@@ -28,8 +28,8 @@
read installdir
if [ "$installdir" = "" ]
-@@ -412,7 +415,7 @@
- vtfile="fp30.$machine.tar"
+@@ -414,7 +417,7 @@
+ vtfile="fp40.$machine.tar"
echo "Platform is $machine."
- vtfilelocation="`pwd`/"
@@ -37,30 +37,35 @@
getextfilename $vtfilelocation $vtfile || return 1
-@@ -651,10 +654,19 @@
+@@ -538,7 +541,7 @@
+ upgrade="no"
+ echo "For details on how to upgrade servers manually, please see"
+ echo "the Server Extension Resource Kit (SERK), located in"
+- echo "/usr/local/frontpage/version${VERSION}/serk"
++ echo "MOD_FPDOCDIR/serk"
+ echo
+ return $retval
+ else
+@@ -655,10 +658,15 @@
*pache*) getHttpDirective $configfile AccessConfig $port
if [ "$param" != "" ]
then
- file=`basename $param`
- accessconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
++ if [ "${param}" = "/dev/null" ]
+ then
++ accessconffile="${configfile}"
++ else
+ file=`basename $param`
+ accessconffile="${configfiledir}${file}"
-+ else
-+ configError
+ fi
else
- accessconffile="${configfiledir}access.conf"
+ accessconffile="${configfiledir}conf/access.conf"
-+ if [ ! -f "$accessconffile" ]
-+ then
-+ configError2
-+ fi
fi
if [ ! -f "$accessconffile" ]
-@@ -1101,18 +1113,29 @@
+@@ -1105,18 +1113,29 @@
webname="/"
@@ -93,49 +98,47 @@
done
getparam Port $configfile
-@@ -1124,12 +1147,37 @@
- read port
- done
+@@ -1131,6 +1150,39 @@
+ getparam User $configfile
+ defwebowner=$param
-- getparam User $configfile
-- webowner=$param
--
- weconfigfile="${installdir}/we${port}.cnf"
-+ getHttpDirective ${configfile} ResourceConfig ${port}
-+ if [ "$param" = "/dev/null" ]
-+ then
-+ configError
-+ fi
-+ configfiledir=`dirname $configfile`"/"
-+ if [ "$param" != "" ]
++ if [ "$defwebowner" = "" ]
+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
++ getHttpDirective $configfile ResourceConfig $port
++ if [ "$param" != "" ]
+ then
-+ configError2
++ if [ "${param}" = "/dev/null" ]
++ then
++ resconffile="${configfile}"
++ else
++ file=`basename $param`
++ resconffile="${configfiledir}${file}"
++ fi
++ else
++ resconffile="${configfiledir}srm.conf"
+ fi
-+ fi
-
-- defwebowner=`$lsg ${docroot}${service} | $awk ' { print $3}'`
-+ getparam DocumentRoot $resconffile
-+ docroot=$param
+
-+ getparam User $configfile
-+ defwebowner=$param
++ if [ ! -f "$resconffile" ]
++ then
++ echo "ERROR: $resconffile does not exist!"
++ return 1
++ fi
+
-+ if [ "$defwebowner" = "" ]
-+ then
+ getparam DocumentRoot $resconffile
+ docroot=$param
++ if [ ! -d "$docroot" ]
++ then
++ echo "ERROR: $docroot does not exist!"
++ return 1
++ fi
++
+ defwebowner=`$lsg ${docroot}${service} | $awk ' { print $3}'`
+ fi
++
+ weconfigfile="${installdir}/we${port}.cnf"
webowner=""
- until [ "$webowner" != "" ]
-@@ -1144,6 +1192,12 @@
+@@ -1146,6 +1198,12 @@
getparam Group $configfile
defgroup=$param
@@ -148,7 +151,7 @@
webgroup=""
until [ "$webgroup" != "" ]
do
-@@ -1155,6 +1209,8 @@
+@@ -1157,6 +1215,8 @@
webgroup=$defgroup
fi
done
@@ -157,10 +160,10 @@
until [ "$servertype" != "" ]
do
-@@ -1168,9 +1224,13 @@
- echo " 7. netscape-commerce"
- echo " 8. netscape-fasttrack"
- echo " 9. netscape-enterprise"
+@@ -1167,9 +1227,13 @@
+ echo " 4. netscape-fasttrack"
+ echo " 5. netscape-enterprise"
+ echo " 6. stronghold"
- $echo "What type of Server is this: ${nnl}"
+ $echo "What type of Server is this: [$defservertypenum] ${nnl}"
read servertypenum
@@ -172,17 +175,7 @@
case $servertypenum in
"1") servertype="ncsa" ;;
-@@ -1185,7 +1245,8 @@
- "7") servertype="netscape-commerce" ;;
- "8") servertype="netscape-fasttrack" ;;
- "9") servertype="netscape-enterprise" ;;
-- *) echo "Invalid option! Please try again." ;;
-+ *) servertypenum=""
-+ echo "Invalid option! Please try again." ;;
- esac
- done
-
-@@ -1510,6 +1571,8 @@
+@@ -1545,6 +1609,8 @@
read admin
done
@@ -191,10 +184,10 @@
until [ "$servertype" != "" ]
do
echo
-@@ -1522,9 +1585,13 @@
- echo " 7. netscape-commerce"
- echo " 8. netscape-fasttrack"
- echo " 9. netscape-enterprise"
+@@ -1554,9 +1620,13 @@
+ echo " 4. netscape-fasttrack"
+ echo " 5. netscape-enterprise"
+ echo " 6. stronghold"
- $echo "What type of Server is this: ${nnl}"
+ $echo "What type of Server is this: [$defservertypenum] ${nnl}"
read servertypenum
@@ -206,40 +199,7 @@
case $servertypenum in
"1") servertype="ncsa" ;;
-@@ -1539,7 +1606,8 @@
- "7") servertype="netscape-commerce" ;;
- "8") servertype="netscape-fasttrack" ;;
- "9") servertype="netscape-enterprise" ;;
-- *) echo "Invalid option! Please try again." ;;
-+ *) servertypenum=""
-+ echo "Invalid option! Please try again." ;;
- esac
- done
-
-@@ -1825,10 +1893,19 @@
- *) getHttpDirective $configfile ResourceConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
-+ then
-+ configError2
-+ fi
- fi
-
- if [ ! -f "$resconffile" ]
-@@ -1964,7 +2041,6 @@
+@@ -2023,7 +2093,6 @@
then
getHttpRootDirective $configfile $directive
fi
@@ -247,90 +207,3 @@
}
getnetscapedocroot()
-@@ -2080,10 +2156,19 @@
- getHttpDirective $configfile ResourceConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f $resconffile ]
-+ then
-+ configError2
-+ fi
- fi
- echo "Getting DocumentRoot from $resconffile."
- getparam DocumentRoot $resconffile
-@@ -2099,10 +2184,19 @@
- getHttpDirective $configfile ResourceConfig $port
- if [ "$param" != "" ]
- then
-- file=`basename $param`
-- resconffile="${configfiledir}${file}"
-+ if [ "$param" != "/dev/null" ]
-+ then
-+ file=`basename $param`
-+ resconffile="${configfiledir}${file}"
-+ else
-+ configError
-+ fi
- else
-- resconffile="${configfiledir}srm.conf"
-+ resconffile="${configfiledir}conf/srm.conf"
-+ if [ ! -f "$resconffile" ]
-+ then
-+ configError2
-+ fi
- fi
- echo "Getting UserDir from $resconffile."
- getparam UserDir $resconffile
-@@ -2111,6 +2205,40 @@
- ;;
- esac
-
-+}
-+
-+configError()
-+{
-+ echo
-+ echo "ERROR: ${configfile} invalid"
-+ echo
-+ echo "Change ${configfile} as follows:"
-+ echo
-+ echo " ResourceConfig ${configfile}"
-+ echo " AccessConfig ${configfile}"
-+ echo
-+ $echo "hit enter to continue${nnl}"
-+ read continue
-+ echo "Ouch!!!!!!!!!!!!!"
-+ echo
-+ exit 1
-+}
-+
-+configError2()
-+{
-+ echo
-+ echo "ERROR: ${configfile} invalid"
-+ echo
-+ echo "Change ${configfile} as follows:"
-+ echo
-+ echo " ResourceConfig ${configfiledir}srm.conf"
-+ echo " AccessConfig ${configfiledir}access.conf"
-+ echo
-+ $echo "hit enter to continue${nnl}"
-+ read continue
-+ echo "Ouch!!!!!!!!!!!!!"
-+ echo
-+ exit 1
- }
-
- error()
diff --git a/www/apache13-fp/files/patch-fd b/www/apache13-fp/files/patch-fd
index f6930f3..737ed6f 100644
--- a/www/apache13-fp/files/patch-fd
+++ b/www/apache13-fp/files/patch-fd
@@ -1,5 +1,5 @@
--- src/support/suexec.h.orig Fri Jan 1 13:05:35 1999
-+++ src/support/suexec.h Mon Sep 6 13:12:55 1999
++++ src/support/suexec.h Fri Nov 5 19:55:49 1999
@@ -56,6 +56,17 @@
*/
@@ -34,12 +34,12 @@
+#define FPEXE "fpexe"
+#endif
+
-+#ifndef FPSTUB
-+#define FPSTUB "/usr/local/frontpage/version3.0/apache-fp/_vti_bin/fpexe"
++#ifndef FPSTUBDIR
++#define FPSTUBDIR "/usr/local/frontpage/version4.0/apache-fp/_vti_bin"
+#endif
+
-+#ifndef FPSTUBDIR
-+#define FPSTUBDIR "/usr/local/frontpage/currentversion/apache-fp/_vti_bin"
++#ifndef FPSTUB
++#define FPSTUB FPSTUBDIR "/fpexe"
+#endif
+
+/*
diff --git a/www/apache13-fp/files/patch-fe b/www/apache13-fp/files/patch-fe
index 37fc9d5..dc08ba4 100644
--- a/www/apache13-fp/files/patch-fe
+++ b/www/apache13-fp/files/patch-fe
@@ -32,7 +32,7 @@
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
-+#include <login_cab.h>
++#include <login_cap.h>
#include <stdarg.h>
diff --git a/www/apache13-fp/files/patch-ff b/www/apache13-fp/files/patch-ff
new file mode 100644
index 0000000..54cbebd
--- /dev/null
+++ b/www/apache13-fp/files/patch-ff
@@ -0,0 +1,11 @@
+--- src/support/Makefile.tmpl.orig Tue Aug 10 09:37:18 1999
++++ src/support/Makefile.tmpl Sat Oct 16 18:41:00 1999
+@@ -39,7 +39,7 @@
+ -e 's%@LIBS_SHLIB@%$(LIBS_SHLIB)%g' && chmod a+x apxs
+
+ suexec: suexec.o
+- $(CC) $(CFLAGS) suexec.o -o suexec $(LDFLAGS) $(LIBS)
++ $(CC) $(CFLAGS) suexec.o -o suexec $(LDFLAGS) $(LIBS) -lutil
+
+ clean:
+ rm -f $(TARGETS) *.o
diff --git a/www/apache13-fp/files/patch-fi b/www/apache13-fp/files/patch-fi
index ce9eefc..d4f19a6 100644
--- a/www/apache13-fp/files/patch-fi
+++ b/www/apache13-fp/files/patch-fi
@@ -1,5 +1,5 @@
--- src/main/http_request.c.orig Fri May 21 07:16:21 1999
-+++ src/main/http_request.c Mon Sep 6 13:12:55 1999
++++ src/main/http_request.c Sat Oct 16 18:47:04 1999
@@ -187,6 +187,8 @@
return OK;
}
@@ -17,3 +17,11 @@
if (res)
return res;
+@@ -521,6 +524,7 @@
+ r->per_dir_config = per_dir_defaults;
+ }
+ }
++ if (r->execfilename) r->filename = r->execfilename;
+ }
+
+ /*
diff --git a/www/apache13-fp/files/patch-fk b/www/apache13-fp/files/patch-fk
new file mode 100644
index 0000000..2dcb95f
--- /dev/null
+++ b/www/apache13-fp/files/patch-fk
@@ -0,0 +1,15 @@
+--- frontpage/version4.0/readme.htm.orig Mon May 24 12:45:14 1999
++++ frontpage/version4.0/readme.htm Thu Jun 10 21:03:28 1999
+@@ -124,10 +124,8 @@
+
+ <h3><a name="serk">Server Extensions Resource Kit</a></h3>
+
+-<p>The FrontPage 2000 Server Extensions include a full set of documentation: the Server
+-Extensions Resource Kit. This is an HTML document installed on the server machine (by
+-default) in /usr/local/frontpage/version4.0/serk. To view the Server Extensions Resource
+-Kit, open /usr/local/frontpage/version4.0/serk/default.htm in your Web browser.</p>
++<p>The FrontPage 2000 Server Extensions include a full set of documentation: the
++<a href="serk/default.htm">Server Extensions Resource Kit</a>. This is an HTML document installed on the server machine (by default).</p>
+
+ <p>The Server Extensions Resource Kit contains detailed information about installing and
+ administering the FrontPage Server Extensions along with an overview of the Server
OpenPOWER on IntegriCloud