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.
This commit is contained in:
parent
a65e259b4a
commit
e3718d75f8
1 changed files with 14 additions and 0 deletions
14
www/apache/patches/patch-aa
Normal file
14
www/apache/patches/patch-aa
Normal file
|
@ -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,
|
Loading…
Reference in a new issue