1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Make the share files' installation permission safe.

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-02-20 17:28:29 +00:00
parent 9774b151f8
commit 3e1d166866
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38520
2 changed files with 16 additions and 7 deletions

View File

@ -1,5 +1,5 @@
--- log/src/Makefile.orig Wed Jul 21 04:10:58 1999
+++ log/src/Makefile Tue Sep 21 02:57:21 1999
--- log/src/Makefile.orig Tue Jul 20 16:10:36 1999
+++ log/src/Makefile Tue Feb 20 14:18:59 2001
@@ -45,8 +45,8 @@
CD = cd
@ -51,7 +51,7 @@
DIGOBJ = logsim.o logdig.o logsimasm.o logsimed.o diggates.o \
loghier.o logsimh.o swap.o
@@ -178,11 +179,12 @@
@@ -178,11 +179,13 @@
##
install: all
@ -64,10 +64,11 @@
+ install -c -s loged $(BINDIR)
+ install -c fixfet7 $(BINDIR)
+ cp -R ../lib/* $(LOGLIBDIR)
+ chmod -R a=r+X $(LOGLIBDIR)
clean:
-rm -f *.o ana/*.o log loged
@@ -192,12 +194,12 @@
@@ -192,12 +195,12 @@
main: log loged
makeana:

View File

@ -1,5 +1,5 @@
--- until/V1.2/Makefile.orig Wed Sep 23 07:04:47 1998
+++ until/V1.2/Makefile Mon Sep 20 07:01:56 1999
--- until/V1.2/Makefile.orig Tue Sep 22 19:04:26 1998
+++ until/V1.2/Makefile Tue Feb 20 14:20:29 2001
@@ -41,7 +41,8 @@
##
@ -47,12 +47,20 @@
OBJS = bb_stuff.o cnf_stuff.o crt_stuff.o data_types.o datawalk.o \
dispmod.o ffman.o gr_stuff.o main.o mat_stuff.o menu.o menu_stuff.o \
@@ -195,7 +196,7 @@
@@ -195,11 +196,15 @@
## Until as its moved to bin; non ksh-users may wish to change it back.
install: until
- cp until $(BINDIR)/Until
+ install -c -s until $(BINDIR)/Until
cp pensps.map $(LIBDIR)/pensps.map
+ chmod 0444 $(LIBDIR)/pensps.map
cp system.untilrc $(LIBDIR)/system.untilrc
+ chmod 0444 $(LIBDIR)/system.untilrc
cp until.pro $(LIBDIR)/until.pro
+ chmod 0444 $(LIBDIR)/until.pro
cp until.ps $(LIBDIR)/until.ps
+ chmod 0444 $(LIBDIR)/until.ps
bb_stuff.o : bb_stuff.c bb_stuff.h