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