summaryrefslogtreecommitdiff
path: root/comms/fidogate
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2002-07-06 20:52:07 +0000
committertv <tv@pkgsrc.org>2002-07-06 20:52:07 +0000
commit5238fe754544643e24b15c9b28a7b2cdd700304b (patch)
tree0ad7f2ea8d999d37b2430d074694466d177fd913 /comms/fidogate
parent84428646d9b38631de651bdb092cbeba7641094b (diff)
downloadpkgsrc-5238fe754544643e24b15c9b28a7b2cdd700304b.tar.gz
Make the rc.d script more compliant.
Diffstat (limited to 'comms/fidogate')
-rw-r--r--comms/fidogate/Makefile3
-rw-r--r--comms/fidogate/distinfo3
-rw-r--r--comms/fidogate/patches/patch-as20
3 files changed, 24 insertions, 2 deletions
diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile
index d0c8f4abf47..54f031d46f4 100644
--- a/comms/fidogate/Makefile
+++ b/comms/fidogate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2002/07/06 20:15:51 tv Exp $
+# $NetBSD: Makefile,v 1.20 2002/07/06 20:52:07 tv Exp $
#
DISTNAME= fidogate-4.4.5
@@ -17,6 +17,7 @@ MAKE_ENV= DEBUG="${CFLAGS} -Werror" CC="${CC} ${_STRIPFLAG_CC}"
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/fidogate/fidogate.conf ${PKG_SYSCONFDIR}/fidogate/fidogate.conf
+RCD_SCRIPTS= fidogate
post-extract:
@${CP} ${WRKSRC}/examples/orodruin/fidogate.conf \
diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo
index 0dcf76ce6cb..5fb6c1ca47f 100644
--- a/comms/fidogate/distinfo
+++ b/comms/fidogate/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2002/07/06 20:15:51 tv Exp $
+$NetBSD: distinfo,v 1.5 2002/07/06 20:52:07 tv Exp $
SHA1 (fidogate-4.4.5.tar.gz) = ba69cb041d45f10f732f7d6399deeb5002f7d7ac
Size (fidogate-4.4.5.tar.gz) = 1171414 bytes
@@ -20,3 +20,4 @@ SHA1 (patch-ao) = e23fc61440465d1792fbcc51aeeb1077393c87e9
SHA1 (patch-ap) = 052d155e698fb36b87e4a28a4b1f75f701b7c956
SHA1 (patch-aq) = 23e551d1bf36e031a629d9d9e817d135886191ab
SHA1 (patch-ar) = 0883b75e210d635f7e9f49c9b2b5d3978645953b
+SHA1 (patch-as) = daf5a80d044933c17f8ab556bebc0765af1439e3
diff --git a/comms/fidogate/patches/patch-as b/comms/fidogate/patches/patch-as
new file mode 100644
index 00000000000..2c0c550540c
--- /dev/null
+++ b/comms/fidogate/patches/patch-as
@@ -0,0 +1,20 @@
+$NetBSD: patch-as,v 1.1 2002/07/06 20:52:36 tv Exp $
+
+--- scripts/maintenance/rc.fidogate.sh.orig Sat Jul 6 16:52:25 2002
++++ scripts/maintenance/rc.fidogate.sh Sat Jul 6 16:53:14 2002
+@@ -5,9 +5,15 @@
+ # FIDOGATE boot cleanup
+ #
+
++case "$1" in
++start|restart)
++
+ # Remove lock files
+ rm -f <LOCKDIR>/*
+
+ # Remove .tmp files
+ rm -f <SPOOLDIR>/outpkt/*.tmp <SPOOLDIR>/outpkt/*/*.tmp
+ rm -f <SPOOLDIR>/toss/*/*.tmp
++
++;;
++esac