mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Rename files/start.fingerd.sh.sample -> fingerd.sh.sample.
Submitted by: sanpei@yy.cs.keio.ac.jp (Closing part of PR #2360.)
This commit is contained in:
parent
466871b11d
commit
f0bf4911ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5222
@ -3,7 +3,7 @@
|
||||
# Date created: 20 June 1996
|
||||
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
|
||||
#
|
||||
# $Id: Makefile,v 1.4 1996/11/18 10:25:27 asami Exp $
|
||||
# $Id: Makefile,v 1.5 1996/12/01 01:22:49 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= finger-1.37
|
||||
@ -21,7 +21,7 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/etc/rc.d
|
||||
@${CP} ${WRKSRC}/support/ttylocs ${PREFIX}/etc/fingerdir/ttylocs.sample
|
||||
@${CP} ${FILESDIR}/clients.sample ${PREFIX}/etc/fingerdir/clients.sample
|
||||
@${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/start.fingerd.sh.sample ${PREFIX}/etc/rc.d/start.fingerd.sh.sample
|
||||
@${INSTALL} ${COPY} -m 744 -o root ${FILESDIR}/fingerd.sh.sample ${PREFIX}/etc/rc.d/fingerd.sh.sample
|
||||
@echo "GNU.finger.server.hotname" > ${PREFIX}/etc/fingerdir/serverhost.sample
|
||||
@echo "mail.spool.server.hostname" > ${PREFIX}/etc/fingerdir/mailhost.sample
|
||||
|
||||
|
5
net/gnu-finger/files/fingerd.sh.sample
Normal file
5
net/gnu-finger/files/fingerd.sh.sample
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ -x /usr/local/libexec/fingerd -a -f /usr/local/etc/fingerdir/serverhost ]; then
|
||||
/usr/local/libexec/fingerd
|
||||
echo ' gnu-fingerd'
|
||||
fi
|
@ -23,9 +23,8 @@ finger stream tcp nowait nobody /usr/local/libexec/in.fingerd in.fingerd
|
||||
% kill -HUP `cat /var/run/inetd.pid`
|
||||
|
||||
5) If this host is GNU finger server host,
|
||||
move start.fingerd.sh.sample to start.fingerd.sh in /usr/local/etc/rc.d
|
||||
directory.
|
||||
And exec start_fingerd.sh.
|
||||
rename fingerd.sh.sample to fingerd.sh in /usr/local/etc/rc.d directory.
|
||||
And exec fingerd.sh.
|
||||
|
||||
- Yoshiro MIHIRA
|
||||
(sanpei@yy.cs.keio.ac.jp)
|
||||
|
@ -2,7 +2,7 @@ bin/finger
|
||||
libexec/fingerd
|
||||
libexec/in.fingerd
|
||||
libexec/in.cfingerd
|
||||
etc/rc.d/start.fingerd.sh.sample
|
||||
etc/rc.d/fingerd.sh.sample
|
||||
etc/fingerdir/ttylocs.sample
|
||||
etc/fingerdir/clients.sample
|
||||
etc/fingerdir/mailhost.sample
|
||||
|
Loading…
Reference in New Issue
Block a user