diff options
author | cjs <cjs@pkgsrc.org> | 1998-07-21 22:39:56 +0000 |
---|---|---|
committer | cjs <cjs@pkgsrc.org> | 1998-07-21 22:39:56 +0000 |
commit | e3718d75f8ce574f229a62c48d099f2ef892fdef (patch) | |
tree | 990256db105273dd3fd2f644be75f9ea59bb52db /www | |
parent | a65e259b4a9e54f7115846ac092c79dba3a8ade2 (diff) | |
download | pkgsrc-e3718d75f8ce574f229a62c48d099f2ef892fdef.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-aa | 14 |
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, |