diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2001-10-23 04:41:45 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2001-10-23 04:41:45 +0000 |
commit | 726e349d2e6a82a67ed63c7b093996a52d8a7623 (patch) | |
tree | 9b82d0bb3878111854715d352d8904834382707b /www/apache13+ipv6/files/patch-ab | |
parent | 720411eebe7a08af4a5c1b1c5e8f0b09d8c6e0cb (diff) |
Notes
Diffstat (limited to 'www/apache13+ipv6/files/patch-ab')
-rw-r--r-- | www/apache13+ipv6/files/patch-ab | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/www/apache13+ipv6/files/patch-ab b/www/apache13+ipv6/files/patch-ab index 8615b1e3f9e0..9198d26da0da 100644 --- a/www/apache13+ipv6/files/patch-ab +++ b/www/apache13+ipv6/files/patch-ab @@ -1,27 +1,21 @@ --- Makefile.tmpl.orig Sun Oct 7 02:01:09 2001 -+++ Makefile.tmpl Sun Oct 14 11:14:32 2001 -@@ -127,6 +127,7 @@ - runtimedir = @runtimedir@ - logfiledir = @logfiledir@ - proxycachedir = @proxycachedir@ -+doc_prefix = $(prefix)/share/doc/apache - - libexecdir_relative = @libexecdir_relative@ - -@@ -270,10 +271,10 @@ ++++ Makefile.tmpl Sun Oct 21 23:17:01 2001 +@@ -270,10 +270,12 @@ $(MKDIR) $(root)$(mandir)/man1 $(MKDIR) $(root)$(mandir)/man8 $(MKDIR) $(root)$(sysconfdir) - $(MKDIR) $(root)$(htdocsdir) -+ $(MKDIR) $(root)$(doc_prefix) ++ $(RM) -rf $(root)$(htdocsdir).default ++ $(MKDIR) $(root)$(htdocsdir).default $(MKDIR) $(root)$(manualdir) $(MKDIR) $(root)$(iconsdir) - $(MKDIR) $(root)$(cgidir) ++ $(RM) -rf $(root)$(cgidir).default + $(MKDIR) $(root)$(cgidir).default $(MKDIR) $(root)$(includedir) $(MKDIR) $(root)$(includedir)/xml $(MKDIR) $(root)$(runtimedir) -@@ -457,33 +458,41 @@ +@@ -457,33 +459,40 @@ # icons and distributed CGI scripts. install-data: @echo "===> [data: Installing initial data files]" @@ -32,16 +26,16 @@ +# -@if [ -f $(root)$(htdocsdir)/index.html ] || [ -f $(root)$(htdocsdir)/index.html.en ]; then \ +# echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \ +# else \ -+ echo "Copying tree $(TOP)/htdocs/ -> $(root)$(doc_prefix)/"; \ ++ echo "Copying tree $(TOP)/htdocs/ -> $(root)$(htdocsdir).default/"; \ (cd $(TOP)/htdocs/ && $(TAR) $(TAROPT) - index* apache_pb.* ) |\ - (cd $(root)$(htdocsdir)/ && $(TAR) -xf -); \ - find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \ - find $(root)$(htdocsdir)/ -type f -print | xargs chmod a+r ; \ - fi - -@if [ -d $(TOP)/htdocs/manual ]; then \ -+ (cd $(root)$(doc_prefix)/ && $(TAR) -xf -); \ -+ find $(root)$(doc_prefix)/ -type d -exec chmod a+rx {} \; ; \ -+ find $(root)$(doc_prefix)/ -type f -print | xargs chmod a+r ; \ ++ (cd $(root)$(htdocsdir).default/ && $(TAR) -xf -); \ ++ find $(root)$(htdocsdir).default/ -type d -exec chmod a+rx {} \; ; \ ++ find $(root)$(htdocsdir).default/ -type f -print | xargs chmod a+r ; \ +# fi +# -@if [ -d $(TOP)/htdocs/manual ]; then \ echo "Copying tree $(TOP)/htdocs/manual -> $(root)/$(manualdir)/"; \ @@ -49,16 +43,14 @@ (cd $(root)$(manualdir)/ && $(TAR) -xf -); \ find $(root)$(manualdir)/ -type d -exec chmod a+rx {} \; ; \ find $(root)$(manualdir)/ -type f -print | xargs chmod a+r ; \ -- fi ++# fi ++ $(LN) -sf $(root)$(manualdir) $(root)$(htdocsdir).default/manual ++ if [ ! -d $(root)$(htdocsdir)/ ]; then \ ++ $(LN) -sf $(root)$(htdocsdir).default $(root)$(htdocsdir); \ + fi - -@if [ -f $(root)$(cgidir)/printenv ]; then \ - echo "[PRESERVING EXISTING CGI SUBDIR: $(root)$(cgidir)/]"; \ - else \ -+# fi -+ if [ ! -d $(root)$(htdocsdir) ]; then \ -+ $(LN) -sf $(root)$(doc_prefix) $(root)$(htdocsdir); \ -+ fi -+ $(RM) $(root)$(htdocsdir).default -+ $(LN) -s $(root)$(doc_prefix) $(root)$(htdocsdir).default +# -@if [ -f $(root)$(cgidir)/printenv ]; then \ +# echo "[PRESERVING EXISTING CGI SUBDIR: $(root)$(cgidir)/]"; \ +# else \ @@ -73,13 +65,13 @@ done; \ - fi +# fi -+ if [ ! -d $(root)$(cgidir) ]; then \ ++ if [ ! -d $(root)$(cgidir)/ ]; then \ + $(LN) -sf $(root)$(cgidir).default $(root)$(cgidir); \ + fi @echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \ (cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\ (cd $(root)$(iconsdir)/ && $(TAR) -xf -); \ -@@ -522,10 +531,10 @@ +@@ -522,14 +531,14 @@ -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;' \ @@ -94,3 +86,8 @@ -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;Group "#-1";Group $(conf_group);' \ + -e 's;Port 80;Port $(conf_port);' \ + -e 's;ServerAdmin you@your.address;ServerAdmin $(conf_serveradmin);' \ + -e 's;ServerName new.host.name;ServerName $(conf_servername);' \ |