summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorcjs <cjs>1998-07-21 22:39:56 +0000
committercjs <cjs>1998-07-21 22:39:56 +0000
commit2098e4ec6d54a6ba88293f4b2a6b36875fdf4f8e (patch)
tree990256db105273dd3fd2f644be75f9ea59bb52db /www
parentd99bba27abf4d03a5c5b716f08d7496f439cb23b (diff)
downloadpkgsrc-2098e4ec6d54a6ba88293f4b2a6b36875fdf4f8e.tar.gz
Set the permissions of http/include/* directly, to fix a bug where if
the distribution is extrated with umask 077 (so that src/include/* are not world readable) they never get those permissions turned on when installed.
Diffstat (limited to 'www')
-rw-r--r--www/apache/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/apache/patches/patch-aa b/www/apache/patches/patch-aa
new file mode 100644
index 00000000000..92f191766ff
--- /dev/null
+++ b/www/apache/patches/patch-aa
@@ -0,0 +1,14 @@
+*** Makefile.tmpl~ Tue May 12 04:52:11 1998
+--- Makefile.tmpl Tue Jul 21 14:50:58 1998
+***************
+*** 324,329 ****
+--- 324,332 ----
+ @osdir=`grep '^OSDIR=' $(TOP)/$(SRC)/Makefile.config | sed -e 's:^OSDIR=.*/os:os:'`; \
+ echo "$(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(includedir)/"; \
+ $(UMASK) 022; $(CP) $(TOP)/$(SRC)/$${osdir}/os.h $(root)$(includedir)/
++ # The above umask won't work if the original files were extracted with umask 077.
++ echo 'chmod 444 $(root)$(includedir)/*'
++ chmod 444 $(root)$(includedir)/*
+ @echo "<=== [include]"
+
+ # create an initial document root containing the Apache manual,