aboutsummaryrefslogtreecommitdiff
path: root/net/gnu-finger
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-06 07:24:43 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-06 07:24:43 +0000
commitf0bf4911ea667055a941de8494e0c0914ea86684 (patch)
treebe94f5bff15c3c5df6416c97d484f709164d1b9c /net/gnu-finger
parent466871b11d1a5556d64cb7b988e43e6044330b04 (diff)
downloadports-f0bf4911ea667055a941de8494e0c0914ea86684.tar.gz
ports-f0bf4911ea667055a941de8494e0c0914ea86684.zip
Notes
Diffstat (limited to 'net/gnu-finger')
-rw-r--r--net/gnu-finger/Makefile4
-rw-r--r--net/gnu-finger/files/fingerd.sh.sample5
-rw-r--r--net/gnu-finger/pkg-descr5
-rw-r--r--net/gnu-finger/pkg-plist2
4 files changed, 10 insertions, 6 deletions
diff --git a/net/gnu-finger/Makefile b/net/gnu-finger/Makefile
index 82e6aee24249..3204ee60024c 100644
--- a/net/gnu-finger/Makefile
+++ b/net/gnu-finger/Makefile
@@ -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
diff --git a/net/gnu-finger/files/fingerd.sh.sample b/net/gnu-finger/files/fingerd.sh.sample
new file mode 100644
index 000000000000..edd1a5f8b0b6
--- /dev/null
+++ b/net/gnu-finger/files/fingerd.sh.sample
@@ -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
diff --git a/net/gnu-finger/pkg-descr b/net/gnu-finger/pkg-descr
index c453c6bde54d..f26fead6acb5 100644
--- a/net/gnu-finger/pkg-descr
+++ b/net/gnu-finger/pkg-descr
@@ -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)
diff --git a/net/gnu-finger/pkg-plist b/net/gnu-finger/pkg-plist
index 1eb33351e21c..2c45fb51aa8b 100644
--- a/net/gnu-finger/pkg-plist
+++ b/net/gnu-finger/pkg-plist
@@ -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