1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/gnu-finger/files/patch-ae

29 lines
1.4 KiB
Plaintext
Raw Normal View History

--- src/Makefile.in.org Sat Jul 6 17:57:18 1996
+++ src/Makefile.in Sat Jul 6 18:04:43 1996
@@ -85,18 +85,18 @@
server: $(EXECUTABLES) .fingerdir .etcdir .bindir
-if [ ! -r `cat .etcdir` ]; then mkdir `cat .etcdir`; fi
-if [ ! -r `cat .fingerdir` ]; then mkdir `cat .fingerdir`; fi
- cp finger `cat .bindir`; chmod a+rx `cat .bindir`/finger
- cp fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/fingerd
- cp in.fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.fingerd
- cp in.cfingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.cfingerd
+ install -c -m 755 -s finger `cat .bindir`/finger
+ install -c -m 744 -o root -s fingerd `cat .etcdir`/fingerd
+ install -c -m 744 -o nobody -s in.fingerd `cat .etcdir`/in.fingerd
+ install -c -m 744 -o nobody -s in.cfingerd `cat .etcdir`/in.cfingerd
(cd ../lib/site; make install)
client: $(EXECUTABLES) .etcdir .fingerdir .bindir
-if [ ! -r `cat .etcdir` ]; then mkdir `cat .etcdir`; fi
-if [ ! -r `cat .fingerdir` ]; then mkdir `cat .fingerdir`; fi
- cp finger `cat .bindir`; chmod a+rx `cat .bindir`/finger
- cp in.fingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.fingerd
- cp in.cfingerd `cat .etcdir`; chmod a+rx `cat .etcdir`/in.cfingerd
+ install -c -m 755 -s finger `cat .bindir`/finger
+ install -c -m 744 -o nobody -s in.fingerd `cat .etcdir`/in.fingerd
+ install -c -m 744 -o nobody -s in.cfingerd `cat .etcdir`/in.cfingerd
touch `cat .fingerdir`/ttylocs
clean: