aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnu-finger
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-01-06 15:24:43 +0800
committermax <max@FreeBSD.org>1997-01-06 15:24:43 +0800
commitbc08f1d89493e97694d25b56fb6785b33bca2be3 (patch)
tree61e748df2bf37c30934e11719b3f41459c068211 /net/gnu-finger
parente5ea2e33fc7e1bd51bd335a92142a440f3757b82 (diff)
downloadfreebsd-ports-gnome-bc08f1d89493e97694d25b56fb6785b33bca2be3.tar.gz
freebsd-ports-gnome-bc08f1d89493e97694d25b56fb6785b33bca2be3.tar.zst
freebsd-ports-gnome-bc08f1d89493e97694d25b56fb6785b33bca2be3.zip
Rename files/start.fingerd.sh.sample -> fingerd.sh.sample.
Submitted by: sanpei@yy.cs.keio.ac.jp (Closing part of PR #2360.)
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