summaryrefslogtreecommitdiffstats
path: root/news/inn-current/files
diff options
context:
space:
mode:
authortorstenb <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
committertorstenb <torstenb@FreeBSD.org>1998-01-25 21:41:03 +0000
commit97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801 (patch)
tree38462ac0f3bc0c6f2218e5e7861772730985440d /news/inn-current/files
parent858afe74694acfc59467bc69cf5b49b36fe2ea28 (diff)
downloadFreeBSD-ports-97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801.zip
FreeBSD-ports-97f8f9f6c7116c4d07a747f8e97dcbcfb5e6b801.tar.gz
- upgrade to 1.7.2
- install $PREFIX/etc/rc.d/innd.sh (start and stop) - change group of $PREFIX/bin/rnews from uucp to dialer to work around a problem when using inn with uucp (rnews is not world-executable to prevent injection of faked articles) - don't install binaries in $PREFIX/etc - use /var/{spool,}/news/tmp instead of /var/tmp for rnews, otherwise rename will fail
Diffstat (limited to 'news/inn-current/files')
-rw-r--r--news/inn-current/files/innd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/news/inn-current/files/innd.sh b/news/inn-current/files/innd.sh
new file mode 100644
index 0000000..18f1d68
--- /dev/null
+++ b/news/inn-current/files/innd.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ $# -eq 0 -o x$1 = xstart ]; then
+ if [ -x !!PREFIX!!/etc/rc.news -a -f !!PREFIX!!/news/lib/history.pag ]; then
+ limits -C news !!PREFIX!!/etc/rc.news && echo ' inn'
+ fi
+fi
+if [ x$1 = xstop ]; then
+ [ -x !!PREFIX!!/news/bin/ctlinnd stop machine is going down
+fi
OpenPOWER on IntegriCloud