summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
authortron <tron>2001-02-08 16:23:06 +0000
committertron <tron>2001-02-08 16:23:06 +0000
commitc08c5a5a1221b47471b91065fa498b662acdd734 (patch)
tree12b86e3a461eebbd9e88ae2496e061d7a71d7f57 /news/inn/files
parentdd48edeb333680f51148521dd27b7784e9a3eebb (diff)
downloadpkgsrc-c08c5a5a1221b47471b91065fa498b662acdd734.tar.gz
Update "inn" package to version 2.3.1. Changes since version 2.2.3:
INN 2.3.0 represents a significant architectural change to INN, with a completely new internal overview interface, three new overview mechanisms, two new article storage mechanisms, and the elimination of quite a few old interfaces and old code. The NetBSD package furthermore includes IPv6 support and a new style startup script with backwards compatibility.
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/innd.sh54
-rw-r--r--news/inn/files/md55
-rw-r--r--news/inn/files/patch-sum17
3 files changed, 48 insertions, 28 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index aa6182a77cb..f53fd2d1cf6 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,25 +1,45 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.7 1999/07/29 21:15:46 tron Exp $
-#
-if [ -x @@PREFIX@@/inn/bin/rc.news -a -s @@INN_DATA_DIR@@/db/active ];
+# $NetBSD: innd.sh,v 1.8 2001/02/08 16:23:06 tron Exp $
+
+if [ -x @@PREFIX@@/inn/bin/rc.news -a -s @@INN_DATA_DIR@@/db/active ]
then
- su news -c @@PREFIX@@/inn/bin/rc.news >/dev/null
+ if [ ! -f @@PREFIX@@/etc/nntp/server ]
+ then
+ hostname >@@PREFIX@@/etc/nntp/server
+ fi
- if [ ! -f @@PREFIX@@/etc/nntp/server ]
- then
- hostname >@@PREFIX@@/etc/nntp/server
- fi
+ if [ ! -f @@PREFIX@@/etc/nntp/domainname ]
+ then
+ (set - X `grep ^fromhost: @@INN_DATA_DIR@@/etc/inn.conf`
+ if [ $# -eq 3 ]
+ then
+ echo $3 >@@PREFIX@@/etc/nntp/domainname
+ fi)
+ fi
- if [ ! -f @@PREFIX@@/etc/nntp/domainname ]
- then
- set - X `grep -w ^fromhost: @@INN_DATA_DIR@@/etc/inn.conf | head -1`
- if [ $# -eq 3 ]
- then
- echo $3 >@@PREFIX@@/etc/nntp/domainname
- fi
- fi
+ if [ $# -eq 0 ]
+ then
+ echo -n ' innd'
+ su news -c "@@PREFIX@@/inn/bin/rc.news start" >/dev/null
+ exit 0
+ fi
- echo -n ' innd'
+ case "$1" in
+ start | stop)
+ su news -c "@@PREFIX@@/inn/bin/rc.news $1"
+ exit 0
+ ;;
+ restart )
+ $0 stop
+ sleep 5
+ exec $0 start
+ ;;
+ * )
+ echo "Usage: $0 (start|stop|restart)"
+ exit 1
+ ;;
+ esac
fi
+
exit 0
diff --git a/news/inn/files/md5 b/news/inn/files/md5
index 682c1079bb5..f596343e99d 100644
--- a/news/inn/files/md5
+++ b/news/inn/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.4 2000/09/01 20:16:59 veego Exp $
+$NetBSD: md5,v 1.5 2001/02/08 16:23:06 tron Exp $
-MD5 (inn-2.2.3.tar.gz) = 0c0f71d79cc2b4fbd5bad4a7f093f53f
+MD5 (inn-2.3.1.tar.gz) = 2032f076fb18f5fa87c8b763e83fbdd4
+MD5 (inn-2.3.1-v6-20010204.diff.gz) = f4c8fa7f290cf4ba9d5ac465e366a0ff
diff --git a/news/inn/files/patch-sum b/news/inn/files/patch-sum
index 1a1330a00db..160fef2d2ba 100644
--- a/news/inn/files/patch-sum
+++ b/news/inn/files/patch-sum
@@ -1,10 +1,9 @@
-$NetBSD: patch-sum,v 1.11 2000/09/01 20:16:59 veego Exp $
+$NetBSD: patch-sum,v 1.12 2001/02/08 16:23:06 tron Exp $
-MD5 (patch-aa) = ead4ab4be11008849e115d08b82344f3
-MD5 (patch-ab) = 69a4b8bfa51950f4d1fac766e906cc97
-MD5 (patch-ac) = 808e2c3c73f842c5e4907c20dc0e30f1
-MD5 (patch-ad) = 3eec593f7b8efe5ec284887f713d4ddd
-MD5 (patch-ae) = 6e561b9181179eda11f99e247c7e3e0e
-MD5 (patch-af) = d8eac199c981d82eed4b454bc20115f7
-MD5 (patch-ah) = 3a87d8d980c0beab113268d18388ecb5
-MD5 (patch-ai) = 6826b9e835b9157f22cd1dc4251d5810
+MD5 (patch-aa) = aecdf8765d7f087f028410f87c0d72b0
+MD5 (patch-ab) = 99a110bac958f68157766c648fc5f82a
+MD5 (patch-ac) = 9b7c550f347d0791e2f1fd7a14e10343
+MD5 (patch-ad) = 43a0140ae013d4068b9749df816aa191
+MD5 (patch-ae) = 84d20f6fdd7661b7d54dc10eefadd43a
+MD5 (patch-af) = c26a093bdf776f481c7fc8127546e04b
+MD5 (patch-ah) = 7accf7fe26075b1029ce7b75abce9d1c