mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Do not install files/dirs group-writable
This commit is contained in:
parent
1f04f0dd69
commit
afebe5fa8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32621
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Sun Dec 29 19:26:39 1996
|
||||
+++ Makefile Sun Jun 8 13:06:59 1997
|
||||
--- Makefile.orig Sun Dec 29 13:26:39 1996
|
||||
+++ Makefile Thu Sep 14 18:07:32 2000
|
||||
@@ -14,10 +14,10 @@
|
||||
TCLMAN_DEST = /usr/local/man/man1
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
### DON'T EDIT ANYTHING BELOW THIS LINE ###
|
||||
|
||||
TCLLIB_FILES = \
|
||||
@@ -40,7 +40,9 @@
|
||||
@@ -40,35 +40,36 @@
|
||||
TCLPRG_FILE = tkhylafax
|
||||
TCLMAN_FILE = tkhylafax
|
||||
|
||||
@ -24,9 +24,23 @@
|
||||
echo 'auto_mkindex $(TCLLIB_DEST) *.tcl *.t' | $(TCLSH);
|
||||
|
||||
$(TCLLIB_DEST):
|
||||
@@ -59,16 +61,15 @@
|
||||
if [ ! -d $(TCLLIB_DEST) ]; then mkdir -p $(TCLLIB_DEST); fi
|
||||
- chmod 775 $(TCLLIB_DEST)
|
||||
+ chmod 755 $(TCLLIB_DEST)
|
||||
|
||||
lib: $(TCLLIB_DEST)
|
||||
@echo "Installing tkhylafax library..."
|
||||
-for i in $(TCLLIB_FILES) ; do \
|
||||
cp $$i $(TCLLIB_DEST)/$$i ; \
|
||||
- chmod 664 $(TCLLIB_DEST)/$$i ; \
|
||||
+ chmod 644 $(TCLLIB_DEST)/$$i ; \
|
||||
done
|
||||
@echo "Done"
|
||||
|
||||
$(TCLPRG_DEST):
|
||||
if [ ! -d $(TCLPRG_DEST) ]; then mkdir -p $(TCLPRG_DEST); fi
|
||||
chmod 775 $(TCLPRG_DEST)
|
||||
- chmod 775 $(TCLPRG_DEST)
|
||||
+ chmod 755 $(TCLPRG_DEST)
|
||||
|
||||
-tkhylafax: $(TCLPRG_DEST)
|
||||
+tkhylafax.inst: $(TCLPRG_DEST)
|
||||
@ -40,7 +54,7 @@
|
||||
- chmod 775 $(TCLPRG_DEST)/$@
|
||||
- mv tkhylafax.unpatched tkhylafax
|
||||
+ cp $(TCLPRG_FILE) $(TCLPRG_DEST)/tkhylafax
|
||||
+ chmod 775 $(TCLPRG_DEST)/tkhylafax
|
||||
+ chmod 755 $(TCLPRG_DEST)/tkhylafax
|
||||
@echo "Done"
|
||||
|
||||
install.man:
|
||||
|
Loading…
Reference in New Issue
Block a user