innfeed (0.10.1.7-8) debian-dir only changes

Summary

 debian/INSTALL        |   38 ++++++++++++++++++++++
 debian/README.Debian  |   17 ++++++++++
 debian/changelog      |   84 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat         |    1 
 debian/control        |   16 +++++++++
 debian/copyright      |   23 +++++++++++++
 debian/innfeed.conf   |   76 +++++++++++++++++++++++++++++++++++++++++++++
 debian/postinst       |   10 +++++
 debian/postrm         |   18 ++++++++++
 debian/preinst        |   12 +++++++
 debian/rules          |   41 ++++++++++++++++++++++++
 debian/startinnfeed.8 |   14 ++++++++
 12 files changed, 350 insertions(+)

    
download this patch

Patch contents

--- innfeed-0.10.1.7.orig/debian/compat
+++ innfeed-0.10.1.7/debian/compat
@@ -0,0 +1 @@
+4
--- innfeed-0.10.1.7.orig/debian/preinst
+++ innfeed-0.10.1.7/debian/preinst
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+case "$2" in
+    0.9.*)
+	echo "Upgrade from innfeed 0.9.x is not supported."
+	echo "Please write to md@linux.it"
+	exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
--- innfeed-0.10.1.7.orig/debian/copyright
+++ innfeed-0.10.1.7/debian/copyright
@@ -0,0 +1,23 @@
+This package was put together by Miquel van Smoorenburg <miquels@cistron.nl>
+from sources obtained from ftp://ftp.isc.org/isc/inn/innfeed/
+
+The copyright as found in the sources reads:
+
+ * Copyright:   Copyright (c) 1996 by Internet Software Consortium
+ *
+ *              Permission to use, copy, modify, and distribute this
+ *              software for any purpose with or without fee is hereby
+ *              granted, provided that the above copyright notice and this
+ *              permission notice appear in all copies.
+ *
+ *              THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE
+ *              CONSORTIUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ *              SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ *              MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET
+ *              SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
+ *              INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ *              WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+ *              WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ *              TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
+ *              USE OR PERFORMANCE OF THIS SOFTWARE.
+ *              
--- innfeed-0.10.1.7.orig/debian/innfeed.conf
+++ innfeed-0.10.1.7/debian/innfeed.conf
@@ -0,0 +1,76 @@
+#
+# innfeed.conf	Configuration file for the ``innfeed'' program.
+#		See innfeed.conf(5) for the format of this file, and
+#		/usr/share/doc/innfeed/examples/innfeed.conf for a
+#		fully commented sample file.
+#
+
+##
+## Global values. Not specific to any peer. These
+## are optional, but if used will override the
+## compiled in values.
+##
+
+news-spool:			/var/spool/news
+pid-file:			/var/run/innd/innfeed.pid
+debug-level:			0
+use-mmap:			false
+log-file:			/var/log/news/innfeed.log
+stdio-fdmax:			0
+
+backlog-directory:		/var/spool/news/out.going/innfeed
+backlog-rotate-period:		60
+backlog-ckpt-period:		30
+backlog-newfile-period:		600
+
+dns-retry:			900
+dns-expire:			86400
+close-period:			3600
+gen-html:			false
+status-file:			innfeed.status
+connection-stats:		false
+host-queue-highwater:		10
+stats-period:			600
+stats-reset:			43200
+
+max-reconnect-time:		3600
+initial-reconnect-time:		30
+
+no-check-filter:		50.0
+dynamic-method:			3
+dynamic-backlog-filter:		0.7
+dynamic-backlog-low:		25.0
+dynamic-backlog-high:		50.0
+
+##
+## Defaults for all peers. These must all exist at
+## global scope. Any of them can be redefined
+## inside a peer or group definition.
+##
+
+article-timeout:		600
+response-timeout:		300
+initial-connections:		1
+max-connections:		5
+max-queue-size:			25
+streaming:			true
+no-check-high:			95.0
+no-check-low:			90.0
+port-number:			119
+backlog-limit:			0
+backlog-factor:			1.10
+backlog-limit-highwater:	0
+
+
+##
+## Peers. 
+##
+#peer decwrl {
+#        ip-name:                news1.pa.dec.com
+#}
+
+#peer uunet {
+#        ip-name:                news.uunet.uu.net
+#        max-connections:        10
+#}
+
--- innfeed-0.10.1.7.orig/debian/startinnfeed.8
+++ innfeed-0.10.1.7/debian/startinnfeed.8
@@ -0,0 +1,14 @@
+.TH STARTINNFEED 8 "Nov 7, 1997" "" "Linux User's Manual"
+.SH NAME
+startinnfeed \- setuid root program to start innfeed
+.SH SYNOPSIS
+.B startinnfeed
+.RB innfeed-options
+.SH DESCRIPTION
+.B Startinnfeed
+sets all resources (files opened, memory usage) to unlimited. It then executes
+innfeed(8) with the options specified.
+.SH AUTHOR
+James Brister
+.SH "SEE ALSO"
+.BR innfeed (8)
--- innfeed-0.10.1.7.orig/debian/rules
+++ innfeed-0.10.1.7/debian/rules
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+
+SHELL+= -e
+#export DH_VERBOSE=1
+
+build:
+	dh_testdir
+	make
+	touch build
+
+clean: checkroot
+	dh_testdir
+	rm -f build
+	make realclean
+	dh_clean
+
+binary-arch: build checkroot
+	dh_testdir
+	dh_clean
+	dh_installdirs etc/news usr/sbin
+	dh_installman innfeed.1 debian/startinnfeed.8
+	dh_installdocs debian/INSTALL innfeed-undrop
+	dh_installchangelogs
+	dh_installexamples innfeed.conf convertconfig procbatch testListener.pl
+	cp debian/innfeed.conf debian/innfeed/etc/news/
+	cp innfeed debian/innfeed/usr/sbin/
+	install -o root -g news -m 4750 startinnfeed debian/innfeed/usr/sbin/
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_builddeb
+
+binary: binary-arch
+
+checkroot:
+	test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- innfeed-0.10.1.7.orig/debian/postrm
+++ innfeed-0.10.1.7/debian/postrm
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+case "$1" in
+	remove)
+		;;
+	purge)
+		echo "Removing log and data files..."
+		rm -rf /var/spool/news/out.going/innfeed
+		rm -f /var/log/news/innfeed.log
+		;;
+	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+		;;
+	*)
+		;;
+esac
+
+#DEBHELPER#
+
--- innfeed-0.10.1.7.orig/debian/README.Debian
+++ innfeed-0.10.1.7/debian/README.Debian
@@ -0,0 +1,17 @@
+The following patches were applied:
+
+1. extra check on !writeIsPending before cxnIdle() in
+   processResponse436() and processResponse437(), just like
+   processResponse439 does to prevent ASSERT(cxn->writeBlockedTimerId == 0)
+   as suggested by Don.Lewis@tsc.tdk.com on 15 Jan 1998 on the
+   innfeed users list
+
+2. Change the severity of the ARTICLE_TIMEOUT_MSG syslog message to
+   LOG_NOTICE (it isn't a warning, just a notice).
+
+3. Changed SIGEMT (doesn't exist on linux) to SIGTTIN
+
+4. Rename dprintf to debugprintf for glibc
+
+5. Add linux-libc6 config to sysconfig.h
+
--- innfeed-0.10.1.7.orig/debian/changelog
+++ innfeed-0.10.1.7/debian/changelog
@@ -0,0 +1,84 @@
+innfeed (0.10.1.7-8) unstable; urgency=medium
+
+  * Added Build-Depends field. (Closes: #189896)
+
+ -- Marco d'Itri <md@linux.it>  Thu,  3 Jul 2003 19:37:38 +0200
+
+innfeed (0.10.1.7-7) frozen unstable; urgency=high
+
+  * Removed dh_suidregister call (closes: #83859).
+  * Fixed buffer overflow. Harmless unless you put users in the news
+    group, which is insecure anyway.
+
+ -- Marco d'Itri <md@linux.it>  Thu, 19 Apr 2001 19:42:59 +0200
+
+innfeed (0.10.1.7-6) frozen unstable; urgency=low
+
+  * Fixed Build-Depends (closes: #58294).
+
+ -- Marco d'Itri <md@linux.it>  Sun, 20 Feb 2000 15:44:16 +0100
+
+innfeed (0.10.1.7-5) frozen unstable; urgency=low
+
+  * New maintainer.
+  * Minor fixes to installation scripts.
+  * Added some missing lines to innfeed.conf.
+  * Updated for new policy.
+
+ -- Marco d'Itri <md@linux.it>  Mon, 24 Jan 2000 13:25:40 +0100
+
+innfeed (0.10.1.7-4) unstable; urgency=low
+
+ * fix maintainership in control file
+ * make /usr/sbin/startinnfeed readable, closes: #25613
+
+-- Bdale Garbee <bdale@gag.com>  Sat, 27 Nov 1999 09:31:30 -0700
+
+innfeed (0.10.1.7-3) unstable; urgency=low
+
+ * moved to cvs, new .orig.tar.gz to clean out upstream CVS directory remnants
+
+-- Bdale Garbee <bdale@gag.com>  Mon, 21 Jun 1999 11:00:00 -0600
+
+innfeed (0.10.1.7-2) unstable; urgency=low
+
+ * new maintainer
+ * fix innfeed man page, closes 20828
+ * compress man pages, closes 25614
+ * fix innfeed.conf man page, closes 27032
+ * clean up most of the lintian whines
+
+-- Bdale Garbee <bdale@gag.com>  Wed, 26 May 1999 16:31:40 -0600
+
+innfeed (0.10.1.7-1) unstable; urgency=low
+
+  * New (well, new .. ) upstream version.
+  * Applied unofficial !writeIsPending(cxn->myEp) patch
+  * Fixes:
+    #15300: innfeed: automatic conversion does not work
+    #15301: innfeed: postinst syntax error
+
+ -- Miquel van Smoorenburg <miquels@cistron.nl>  Wed,  4 Feb 1998 17:53:48 +0100
+
+innfeed (0.10.1-1) unstable; urgency=low
+
+  * New upstream version
+  * Added manpage for startinnfeed
+  * Fixes bugs:
+    #8584:  innfeed: tearing down idle connections is not an warning/err
+    #14326: innfeed: innfeed times out when it shouldn't
+    #14558: innfeed postrm syntax error
+
+ -- Miquel van Smoorenburg <miquels@cistron.nl>  Wed, 26 Nov 1997 20:25:59 +0100
+
+innfeed (0.9.2-2) unstable; urgency=low
+
+  * libc6 version.
+
+ -- Miquel van Smoorenburg <miquels@cistron.nl>  Thu, 30 Oct 1997 16:56:35 +0100
+
+innfeed (0.9.2-1) unstable; urgency=low
+
+  * First debian version. Works together with inn_1.5-1
+
+ -- Miquel van Smoorenburg <miquels@cistron.nl>  Fri, 13 Dec 1996 15:02:03 +0100
--- innfeed-0.10.1.7.orig/debian/INSTALL
+++ innfeed-0.10.1.7/debian/INSTALL
@@ -0,0 +1,38 @@
+[1..8 deleted, as they tell you how to compile the package -- miquels ]
+
+9. Edit the new innfeed.conf as approriate.
+
+10. Validate the new config file with:
+
+	/usr/sbin/innfeed -C
+
+   Once you're happy with the new config then...
+	
+11. For each peer, add an entry to the INN newsfeeds file that looks something
+   like this:
+
+	peername:groups+distributions\
+		:Tm:innfeed!
+
+   e.g.
+
+	nic.near.net\
+		:!junk/!local\
+		:Tm:innfeed!
+
+12. Add an entry like this too for the above entries to feed into.
+
+	innfeed!:!*\
+		:Tc,Wnm*\
+		:/usr/sbin/startinnfeed -y
+
+    As mentioned above, startinnfeed is used here if you have innfeed
+    configured to handle more peers and connections than the system will
+    normally let it. Normally using just ``innfeed'' is fine too.
+
+13. Get innd to start it up (e.g. reload the newsfeeds file).
+
+14. If innd writes a file called innfeed! in the out.going area of your
+    spool, then the program procbatch included here can be used to
+    process it. Run 'probatch -h' to get instructions.
+
--- innfeed-0.10.1.7.orig/debian/postinst
+++ innfeed-0.10.1.7/debian/postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+if [ "$1" = configure -a ! -d /var/spool/news/out.going/innfeed ]; then
+	mkdir -p /var/spool/news/out.going/innfeed
+	chown news:news /var/spool/news/out.going \
+		/var/spool/news/out.going/innfeed
+fi
+
+#DEBHELPER#
+
--- innfeed-0.10.1.7.orig/debian/control
+++ innfeed-0.10.1.7/debian/control
@@ -0,0 +1,16 @@
+Source: innfeed
+Section: news
+Priority: optional
+Maintainer: Marco d'Itri <md@linux.it>
+Standards-Version: 3.5.10
+Build-Depends: debhelper (>= 4), bison, flex
+
+Package: innfeed
+Architecture: any
+Depends: ${shlibs:Depends}, inn
+Conflicts: inn2, suidmanager (<< 0.50)
+Description: This is the INN feeder program `innfeed.'
+ This is a program that sends a newsfeed to one or more remote hosts
+ through NNTP. It can handle multiple connections to multiple remote
+ hosts. It is an alternative to `nntplink' (of which there is no
+ Debian package) or the inn-provided `send-nntp' (which is slow).