suck (4.3.2-6) debian-dir only changes

Summary

 debian/NEWS               |   10 
 debian/README.Debian      |   31 ++
 debian/changelog          |  522 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat             |    1 
 debian/config             |    4 
 debian/control            |   26 ++
 debian/copyright          |   20 +
 debian/dirs               |    8 
 debian/get-news           |  312 +++++++++++++++++++++++++++
 debian/get-news.8         |  138 ++++++++++++
 debian/get-news.conf      |   74 ++++++
 debian/ip-up              |   18 +
 debian/postinst           |   22 +
 debian/put-news           |   55 ++++
 debian/rules              |   82 +++++++
 debian/suck.logrotate     |   21 +
 debian/suck_config.dpatch |   31 ++
 debian/suckkillfile       |    4 
 debian/sucknewsrc         |    5 
 19 files changed, 1384 insertions(+)

    
download this patch

Patch contents

--- suck-4.3.2.orig/debian/README.Debian
+++ suck-4.3.2/debian/README.Debian
@@ -0,0 +1,31 @@
+  System administrator may use the get-news script located
+  in /usr/sbin to install a newsfeed :
+
+	See /etc/suck/get-news.conf and the man page get-news.8
+
+  Suck has been compiled with the defaults options except for :
+
+	Default location of history file : "/var/lib/news/history"
+	(can be overriden from command line)
+
+	Timeout if no read after 180 seconds.
+	(can be overriden from command line)
+
+	Default location of data files : "/etc/suck/"
+	(can be overriden from command line)
+
+	Default location of phrase file : "/etc/suck/phrases"
+	(can be overriden from command line)
+
+	Compiled with perl and ssl support.  Socks support has been 
+	removed.
+
+	Rewritten to allow runtime selection of history database 
+	format.  Use option -HC for cnews dbz (this should also work
+	with inn 1), -HI for inn 2.4, -HN or -H for no history, or
+	-HO for non-database history.
+
+	The build-dependancies are meant for the autobuilders.  Suck
+	works fine with older inn libraries.
+
+ -- Blars Blarson <blarson@quaff.nat.blars.org>, Sun Oct 26 09:43:01 2003
--- suck-4.3.2.orig/debian/changelog
+++ suck-4.3.2/debian/changelog
@@ -0,0 +1,522 @@
+suck (4.3.2-6) unstable; urgency=low
+
+  * New maintainer (Closes: #494620)
+  * Quote CFLAGS in make call (Closes: #476056)
+  * Remove libperl-dev from Build-Depends because the configure script
+    doesn't find libperl. This better than enabling libperl because for now
+    suck is working (Closes: #463152)
+  * Call perl with -w in get-news (Closes: #460608)
+  * debian/NEWS.Debian rename file in NEWS and fix bad date format.
+  * Moves to Policy 3.8.0
+     o Removed debian/conffiles
+
+ -- Christian Marillat <marillat@debian.org>  Sat, 16 Aug 2008 09:28:08 +0200
+
+suck (4.3.2-5) unstable; urgency=low
+
+  * fix rpostoptions in get-news (Closes: #363321)
+  * fix return-code checking with inn in get-news (Closes: #312375)
+  * fix a vs an in package description (Closes: #300064)
+  * standards version 3.7.2
+  * remove unused templates (Closes: #286065)
+
+ -- Blars Blarson <blarson@blars.org>  Sat, 13 May 2006 10:38:48 -0700
+
+suck (4.3.2-4) unstable; urgency=low
+
+  * fix userid bug in getnews (Closes: #264177)
+  * remove obsolete debconf templates (Closes: #234763)
+  * build-conflict libsocksd-dev
+
+ -- Blars Blarson <blarson@blars.org>  Mon,  9 Aug 2004 04:29:19 -0700
+
+suck (4.3.2-3) unstable; urgency=low
+
+  * Fix path of innctl in get-news so posting works properly from inn
+  * Patches from upstream development
+    - better handle no such article errors (Closes: #197781)
+
+ -- Blars Blarson <blarson@blars.org>  Sun, 26 Oct 2003 09:44:35 -0800
+
+suck (4.3.2-2) unstable; urgency=low
+
+  * Rewrite article-posting code in get-news.  Previous version was
+    totally non-functional.  (closes: #208831)
+  * Allow quiet, verbose, and timestamp to be set in config file.
+    (closes: #212775)
+  * Ignore suck returning 1 (no articles fetched) in get-news. 
+    (closes: #207540)
+  * Split NEWS.Debian into NEWS.Debian and README.Debian.
+  * Policy version 3.6.1 (no changes)
+
+ -- Blars Blarson <blarson@blars.org>  Sun, 12 Oct 2003 13:12:13 -0700
+
+suck (4.3.2-1) unstable; urgency=low
+  
+  * new upstream release -- incorporates many Debian changes
+  * total rewrite of get-news
+    - Now supports non-inn2 local servers like cnews
+    - in perl, so recommend perl
+    - fixes broken config parsing (Closes: #162166, #191268)
+    - should be faster (fewer forks, only read config once)
+    - timestamp option (Closes: #172426)
+    - revise get-news man page, actually include it (Closes: #198087)
+    - write errors to stderr (Closes: #198088)
+    - display error if suck has problem (closes #151392)
+  * Update to Debian policy 3.6.0 (no changes)
+  * Build-depend on inn-dev 2.4, so we get the current libraries
+    - Suck should still work with older inn2 with -HO option
+  * /etc/suck/get-news.conf is now a conffile
+    - no longer copy from /usr/share/doc (against policy)
+    - no longer using debconf
+  * only change ownership/permissions of get-news.conf if upgrading from
+    before 4.3.1-1
+  * Rename README.Debian to NEWS.Debian
+  
+ -- Blars Blarson <blarson@blars.org>  Wed, 9 Jul 2003 20:01:00 -0800
+
+suck (4.3.1-4) unstable; urgency=low
+    
+  * convert from dh_installmanpages to dh_installman
+  * ssl fix from Uns Lider (Closes: #142794)
+  * make sure to compile with -lssl (Closes: #173282)
+  * Fix FTBFS with new inn2-dev (no more inn/configdata.h)
+  * Rewrite to allow runtime history database format selection.
+    Add libdbz subdir with modified cnews libdbz.
+    See README.Debian. (Closes: #137437, #161048)
+  * remove confict with inn (see above)
+  * build-depend on libperl-dev so perl processing is enabled
+    (Closes: #172908)
+  * Handle SIGINT so database not corrupted (Closes: #145150)
+  * remove build-depend on libsocks4 so socks support is disabled.
+  * Update to Debian policy 3.5.9 (no changes)
+  * minor cleanup for compiler warnings
+
+ -- Blars Blarson <blarson@blars.org>  Sat, 22 Mar 2003 19:54:14 -0800
+
+suck (4.3.1-3) unstable; urgency=low
+
+  * Remember to upload source as well.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Fri, 13 Dec 2002 19:00:11 +0100
+
+suck (4.3.1-2) unstable; urgency=low
+
+  * Give reasonable error rather than segfault if host not specfied
+    to rpost (closes #172131)
+
+ -- Blars Blarson <blarson@blars.org>  Fri, 13 Dec 2002 01:23:03 -0800
+
+suck (4.3.1-1) unstable; urgency=medium
+
+  * Fix ownership/permissions on /etc/suck/getnews.conf (closes #172126)
+  * Change remote host in getnews.conf only if we just install example
+  * New upstream release
+  * Adopting (closes #165123)
+  
+ -- Blars Blarson <blarson@blars.org>  Mon, 09 Dec 2002 10:49:57 -0800
+
+suck (4.3.0-6) unstable; urgency=low
+
+  * Change exit -1 in get-news and post-news to more sane values.
+    (closes: #147560)
+  * exit sanely when not being able to open /var/lib/suck/* 
+    (closes: #151394) 
+  * Fix typos in get-news, namely rpostopstions is now rpostoptions
+    (closes: #161932)
+  * Reorganize the parsing in get-news a bit (closes: #157274)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon, 23 Sep 2002 02:37:11 +0200
+
+suck (4.3.0-5) unstable; urgency=low
+
+  * Sigh, forgot to upload source.  Again.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon,  8 Apr 2002 22:48:54 +0200
+    
+suck (4.3.0-4) unstable; urgency=low
+
+  * Sigh, forgot to upload source.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon,  8 Apr 2002 21:47:51 +0200
+
+suck (4.3.0-3) unstable; urgency=low
+
+  * moved to main
+  * Add documentation from Marcin Kasperski (closes: #139585)
+  * Fix debconf templates (closes: #138088)
+  * Add support for per-site rpost and suck options and document them in
+    the sample get-news.conf.  (Closes: #127321)
+  * Apply patch for allowing "new" port notation (closes: #123207)
+  * Move local posting before remote posting, and don't die on failed
+    postings,  though die at the end.  (closes: 138006)
+  * Add French templates (closes: #138808), and split the debconf
+    templates to different files.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun,  7 Apr 2002 03:18:32 +0200
+
+suck (4.3.0-2) unstable; urgency=low
+
+  * Hopefully fix segfault. (closes: #111029)
+  * Fix SSL option in suck.c (closes: #123206)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Thu, 13 Dec 2001 17:23:44 +0100
+
+suck (4.3.0-1) unstable; urgency=low
+
+  * New upstream release (closes: #121392)
+  * Rebuild with non-broken libsocks4 (closes: #121181)
+  * Move to non-us (since this supports SSL)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Wed, 28 Nov 2001 18:06:30 +0100
+
+suck (4.2.5-17) unstable; urgency=low
+
+  * Second try at eliminating the ugly segfault, now with a modified max
+    Message-ID patch applied. (closes: #111029)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Thu, 11 Oct 2001 13:13:43 +0200
+
+suck (4.2.5-16) unstable; urgency=low
+
+  * Fix segfault by reverting the maximum Message-ID-patch, but bumping
+    the maximum length to 512. (closes: #108181)
+  * Update builddeps, we use dh_installlogrotate, which means that we need
+    debhelper 2.0.103 or newer.
+  * Move /var/state/suck to /var/lib/suck (closes: 108228)
+  * Fix a few sprintfs to snprintfs.
+  * Install samples (closes: 108436)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Thu,  9 Aug 2001 21:00:26 +0200
+
+suck (4.2.5-15) unstable; urgency=low
+
+  * Remove the maximum Message-ID length and make it arbitary.  (closes: #107620)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Fri,  3 Aug 2001 21:21:47 +0200
+
+suck (4.2.5-14) unstable; urgency=low
+
+  * remove -x in put-news
+  * Make /etc/news/server a fallback in case we don't have a default news
+    server in /etc/suck/get-news.conf. (closes: #98973)
+  * add rpostoptions to get-news.conf and support it in get-news.
+    (closes: #100341)
+  * add spanish template (closes: #102136)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Wed, 25 Jul 2001 19:31:08 +0200
+
+suck (4.2.5-13) unstable; urgency=low
+
+  * Conflict with inn >> 0.0.0 and inn2 < 2.3.0, this should fix the
+    dependency trouble. (closes: #93927)
+  * possible to control sucking and posting separately.  (closes: #90593)
+  * Make -q -q get-news shut completely up. (closes: #91743)
+  * removed call to dh_testversion.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Tue, 17 Apr 2001 01:39:04 +0200
+
+suck (4.2.5-12) unstable; urgency=low
+
+  * Fix up the conflicts line, actually, we depend on inn2 >> 2.3 now.
+  * Fix the permissions of /etc/suck, /var/{spool,log,state}/suck
+  * Rebuild with new libsocks4, which fixes the missing dependency on
+    libsocks4.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Thu, 12 Apr 2001 10:37:40 +0200
+
+suck (4.2.5-11) unstable; urgency=low
+
+  * Fixed put-news so that it now works with inn 2.3 storage api (closes:
+    #81160), but I also had to fix up chkhistory, so we need to conflict
+    with inn2 < 2.3.0 :( .  I'd appreciate if somebody knew a way around
+    this, so that we could continue to support inn 1.x and 2.[12].x
+  * removed the suidregister call (which wasn't doing anything anyhow).
+  
+ -- Tollef Fog Heen <tfheen@debian.org>  Wed, 14 Mar 2001 11:30:14 +0100
+
+suck (4.2.5-10) unstable; urgency=low
+
+  * Fixed the hack which was introduced in the last version, thanks to
+    Marco d'Itri.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon, 26 Feb 2001 21:02:00 +0100
+
+suck (4.2.5-9) unstable; urgency=low
+
+  * Added support for multiple password/username combos in
+    /etc/suck/get-news.conf
+  * export NNTP_USER and NNTP_PASS variables in get-news
+  * Add a temporary hack around the fact that rnews in inn and inn2 have
+    different command line options.  (closes: #87644)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon, 26 Feb 2001 15:50:55 +0100
+
+suck (4.2.5-8) unstable; urgency=low
+
+  * Clean up old NMU fixed bugs (closes: #61142, #62080, #64387, #67602,
+    #67764)
+  * Added example ip-up script (closes: #57511)
+  * cleaned up get-news somewhat, including logging rpost to errorlog
+    instead of stderr.  (closes: #73660)
+  * uses rnews instead of innxmit and fix so that the flush is set whether
+    we use rnews or innxmit. (closes: #83727)
+  * put-news had wandered around.  Moved to it's proper place again
+    (closes: #86606)
+  * Lots and lots of cleanups in get-news.  Tell me what I've broken. :)
+  
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun, 25 Feb 2001 18:54:25 +0100
+
+suck (4.2.5-7) unstable; urgency=low
+
+  * Fixed up so that we use debhelper the proper way and don't touch
+    conffiles.  (closes: #86119)
+  * Added manpage for put-news.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun, 25 Feb 2001 17:15:02 +0100
+
+suck (4.2.5-6) unstable; urgency=low
+
+  * Added missing put-news.  (closes: #85735)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Mon, 12 Feb 2001 23:59:09 +0100
+
+suck (4.2.5-5) unstable; urgency=low
+
+  * Duh!  I should have put the previous missing line in postinst, not
+    postinst.debhelper.  Mea Culpa, but this shouldn't haven't been
+    installed into the archive.  (closes: #85460, #85454)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun, 11 Feb 2001 00:22:05 +0100
+
+suck (4.2.5-4) unstable; urgency=low
+
+  * Fixed a typo in the postinst where the postinst wouldn't run because
+    of a missing '#! /bin/sh'.  (closes: #85460, #85454)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sat, 10 Feb 2001 23:24:19 +0100
+
+suck (4.2.5-3) unstable; urgency=low
+
+  * Adopted the package (closes: #80492)
+  * Use custom options when fetching from all servers (closes: #66608)
+  * Make sure the post-download state files exist, using patch in 76752.
+    (closes: #76752)
+  * Added lmove (closes: #66089)
+  * get-news now puts the authentication stuff in the environment - small
+    patch for suck.c and rpost.c needed, forwarded upstream. (closes:
+    #63917)
+  * Changed from yada to debhelper
+  * Added some README files which weren't included before.
+  * Added Swedish, Norwegian and German translations to the debconf
+    template. (closes: #83401, #83485)
+  
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun,  4 Feb 2001 22:08:47 +0100
+
+suck (4.2.5-2) unstable; urgency=low
+
+  * Rebuilt with yada 0.9.3.  Closes: Bug#81705.
+  * Conforms to Standards version 3.2.1:
+    * Added support for the `debug' build option.
+
+ -- Matej Vela <vela@debian.org>  Thu, 11 Jan 2001 00:36:29 +0100
+
+suck (4.2.5-1) unstable; urgency=low
+
+  * New upstream release with pristine sources (closes: #67764)
+  * Added note in get-news.conf for inn2 (closes: #62080)
+  * Added some new headers in default put-news filter (closes: #67602, #64387)
+  * Orphaned the package
+
+ -- Christophe Le Bars <clebars@debian.org>  Mon, 25 Dec 2000 22:30:22 +0100
+
+suck (4.2.2-4) frozen unstable; urgency=low
+
+  * Modified put-news script for compatibility with inn2 (closes: #56758)
+
+ -- Christophe Le Bars <clebars@debian.org>  Fri, 18 Feb 2000 20:42:57 +0100
+
+suck (4.2.2-3) frozen unstable; urgency=low
+
+  * Added Build-Depends field
+  * Fixed debconf config (closes: #56220)
+
+ -- Christophe Le Bars <clebars@debian.org>  Thu, 27 Jan 2000 23:33:53 +0100
+
+suck (4.2.2-2) frozen unstable; urgency=low
+
+  * Used better sed command in postinst (closes: #54511)
+  * Patched get-news to support new INN 2 /var/spool/news layout
+    (Lee Maguire) (closes: #55384)
+  * Added debconf support
+
+ -- Christophe Le Bars <clebars@debian.org>  Tue, 25 Jan 2000 00:25:58 +0100
+
+suck (4.2.2-1) unstable; urgency=low
+
+  * New upstream release with pristine sources (closes: #34502, #42286)
+  * Converted package management to YADA
+  * Partially upgraded to standards version 3.0.0:
+     - FHS-compliance, with the notable exception of the
+     /usr/doc/ -> /usr/share/doc/ switch.
+     - savelog -> logrotate switch.
+  * Added a README.Debian (closes: #39169)
+  * Compiled with more standard options (closes: #36269)
+  * get-news fix : post downloaded articles to local server
+    even if upload fail (closes: #34936)
+
+ -- Christophe Le Bars <clebars@debian.org>  Tue,  3 Aug 1999 21:31:25 +0200
+
+suck (3.10.1-3) frozen unstable; urgency=medium
+
+  * Patched get-news to clean batch files (Fixes: Bug#26600)
+  * Patched get-news to keep OUTGOING with inn (Fixes: Bug#28228)
+  * Moved put-news in /usr/lib/suck
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat,  5 Dec 1998 20:54:24 +0100
+
+suck (3.10.1-2) frozen unstable; urgency=low
+
+  * Fixed a syntax typo in get-news (Fixes: Bug#28099)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat, 17 Oct 1998 11:49:17 +0200
+
+suck (3.10.1-1) unstable; urgency=low
+
+  * New upstream release with pristine sources (Fixes: Bug#27575)
+  * Merged get-news.inn and get-news.cnews
+  * Patched get-news to support passing options to suck
+    (Davide G. M. Salvetti) (Fixes: Bug#27025)
+  * Added cron.weekly /var/log/suck directory test (Fixes: Bug#26054)
+  * Patched get-news to add `date` to suck-status (Fixes: Bug#18861)
+  * Added X-Server-Date in get-news.conf (Fixes: Bug#24552)
+  * Deleted reference to lpost in suck manpage (Fixes: Bug#21735)
+
+ -- Christophe Le Bars <clebars@debian.org>  Wed, 14 Oct 1998 23:29:52 +0200
+
+suck (3.9.0-1) unstable; urgency=low
+
+  * New upstream release with pristine sources
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat,  7 Feb 1998 02:45:00 +0100
+
+suck (3.8.0-2) unstable; urgency=low
+
+  * Modified get-news script to accept -port option (Bug#16358)
+    (Mark Baker patch)
+  * Fixed libc6 Makefile problem (Bug#14065)
+
+ -- Christophe Le Bars <clebars@debian.org>  Wed, 28 Jan 1998 21:13:17 +0100
+
+suck (3.8.0-1) unstable; urgency=low
+
+  * New upstream release with pristine sources
+  * Modified get-news script to accept -q option (Bug#14941)
+
+ -- Christophe Le Bars <clebars@debian.org>  Mon,  8 Dec 1997 00:12:35 +0100
+
+suck (3.6.0-1) unstable; urgency=low
+
+  * New upstream release with pristine sources (Bug#13408)
+  * Build with libc6
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat, 27 Sep 1997 23:18:26 +0200
+
+suck (3.5.2-3) unstable; urgency=low
+
+  * Fixed get-news manpage section
+
+ -- Christophe Le Bars <clebars@debian.org>  Mon, 18 Aug 1997 22:47:57 +0200
+
+suck (3.5.2-2) unstable; urgency=low
+
+  * Used debian suck_config.h
+
+ -- Christophe Le Bars <clebars@debian.org>  Sun, 17 Aug 1997 21:56:59 +0200
+
+suck (3.5.2-1) unstable; urgency=low
+
+  * New upstream source
+  * Move logs in /var/log/suck (Bug#11055)
+  * Added get-news manpage (Bug#11849)
+  * Fixed postinst sed problem (Bug#11850)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sun, 17 Aug 1997 19:02:47 +0200
+
+suck (3.5.1-1) unstable; urgency=low
+
+  * New upstream source (Bug#10895)
+  * Only suggests news-transport-system (Bug#10549)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sun, 29 Jun 1997 22:36:31 +0200
+
+suck (3.4.1-2) frozen unstable; urgency=medium
+
+  * Fixed put-news script to change only the headers (Bug#9314)
+  * Changed default sed command in get-news.conf (Bug#9313)
+  * Fixed directory for outgoing newsfeeds in get-news.inn (Bug#9312)
+  * Changed timeout value (Bug#8714)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat, 3 May 1997 22:52:46 +0200
+
+suck (3.4.1-1) frozen unstable; urgency=medium
+
+  * New upstream source (fixes killer bug) (Bug#8453)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sun, 6 Apr 1997 16:31:37 +0200
+
+suck (3.4.0-1) unstable; urgency=low
+
+  * New upstream source
+  * Corrected bad rnews path in get-news.cnews script (Bug#7479)
+  * Modified put-news script to read the sed command in get-news.conf
+
+ -- Christophe Le Bars <clebars@debian.org>  Sun, 23 Mar 1997 15:15:15 +0100
+
+suck (3.3.2-1) frozen unstable; urgency=low
+
+  * New upstream source (bug fixes only release)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat, 23 Nov 1996 16:23:16 +0100
+
+suck (3.3.0-1) unstable; urgency=low
+
+  * New upstream source
+  * Modified get-news script to accept authinfo options (Brian Mays patch)
+
+ -- Christophe Le Bars <clebars@debian.org>  Sat, 26 Oct 1996 15:42:26 +0200
+
+suck (3.2.1-2) unstable; urgency=routine
+
+  * Fixed /etc/cron.weekly/suck script
+  * Fixed history file path (bug#4670)
+
+ -- Christophe Le Bars <clebars@debian.org>  Wed, 2 Oct 1996 21:49:20 +0200
+
+suck (3.2.1-1) unstable; urgency=low
+
+  * Converted package management files to new Debian-1.2 style   
+  * Added postrm purge call
+  * Added weekly logsfiles rotation
+
+ -- Christophe Le Bars <clebars@debian.org>  Mon, 30 Sep 1996 00:53:56 +0200
+
+suck (2.6.3-2); urgency=routine
+
+  * Corrected debian.rules for new naming scheme
+  * Modified get-news script to have multiple site feeds
+  * Deleted section field in debian.control
+  * Support multiple architectures (Bug#3887)
+  * Fixed user and group ownership of some files (bug#3828)
+  * Corrected bad put-news path in get-news script (Bug#3938)
+  * Corrected bad title in /etc/suck/get-news.conf file (Bug#3938)
+  * Provided list of the compiled defaults options (Bug#3938)
+
+suck (2.6.3-1); urgency=low
+
+  * Initial release
+  * Added Debian Linux package maintenance system files
+  * Modified get-news script
+
+
+
--- suck-4.3.2.orig/debian/rules
+++ suck-4.3.2/debian/rules
@@ -0,0 +1,82 @@
+#! /usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+
+# export DH_VERBOSE=1
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	./configure --prefix=/usr --mandir='$$(prefix)/share/man' --with-inn-lib=/usr/lib/news --with-multi-history
+
+	touch $@
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE) -C libdbz CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,--as-needed"
+
+	$(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,--as-needed"
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	$(MAKE) -C libdbz clean 
+	rm -f libcnews.a
+
+	[ ! -f Makefile ] || $(MAKE) clean distclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) prefix=$(CURDIR)/debian/suck/usr install
+
+	# install debian-only stuff.
+	install -m 0644 debian/suckkillfile debian/sucknewsrc debian/get-news.conf debian/suck/etc/suck
+	install -m 0755 debian/get-news  debian/suck/usr/sbin/
+	install -m 0755 debian/put-news debian/suck/usr/lib/suck/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs README README.Gui README.Xover
+	dh_installexamples sample/* debian/get-news.conf debian/ip-up
+	chmod -x debian/suck/usr/share/doc/suck/examples/*
+	dh_installmenu
+	dh_installcron
+	dh_installman man/* debian/get-news.8
+	dh_installinfo
+	dh_installchangelogs CHANGELOG 
+	dh_link
+	dh_installlogrotate
+	dh_strip
+	dh_compress
+	dh_fixperms
+	chown -R news:news debian/suck/etc/suck debian/suck/var/spool/suck debian/suck/var/log/suck debian/suck/var/lib/suck
+	chmod -R g+w debian/suck/etc/suck debian/suck/var/spool/suck debian/suck/var/log/suck debian/suck/var/lib/suck
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- suck-4.3.2.orig/debian/copyright
+++ suck-4.3.2/debian/copyright
@@ -0,0 +1,20 @@
+This is the Debian prepackaged version of Small newsfeed from an NNTP
+server with standard NNTP commands..  It was Debianised by Debian
+QA Group <debian-qa@lists.debian.org>, using files obtained from
+http://www.sucknews.org/
+
+More information about Small newsfeed from an NNTP server with standard
+NNTP commands. is available from http://www.sucknews.org/
+
+Changes were made as follows:
+  Added the get-news script (see manpage).
+
+Copyright and licence notice:
+
+  Suck was written by Tim Smith (unknown address),
+  maintained by Sven Goldt (address unknown) (after March 1995),
+  and Robert A. Yetman <bobyetman@home.com> (since July 1995).
+  
+  Suck is a public domain software.
+
+.
--- suck-4.3.2.orig/debian/get-news.conf
+++ suck-4.3.2/debian/get-news.conf
@@ -0,0 +1,74 @@
+# Debian GNU/Linux suck package /usr/sbin/get-news config file
+
+# Your default local NNTP server.
+# (inn1 note: must be in /etc/news/hosts.nntp)
+# (inn2 note: must be in /etc/news/incoming.conf)
+server: localhost
+
+# the type of the local server
+# servtype inn2 may only work if your inn2 version matches 
+#   the version suck was compiled with.
+# servtype other may need to set rnews
+
+# servtype: cnews
+# servtype: inn1
+# servtype: inn2.3
+# servtype: other
+# servtype: inn2
+
+# The default NNTP server you will connect to. Suck will use
+# the defaults files sucknewsrc, suckkillfile and suckothermsgs
+# for this default remote server.
+
+remoteserver: news.example.com
+
+# The default outgoing articles file for your default remote server.
+# (inn1 & inn2 note: see /etc/news/newsfeeds)
+
+# outgoingfile: news.example.com
+
+# The sed command used for outgoing articles.
+sedcmd: /^NNTP-Posting-Host:\|^NNTP-Posting-Date:\|^X-Complaints-To:\|^Xref:\|^X-Trace:\|^X-Server-Date:/d
+
+# The userid to send to the remote server.
+#userid:
+
+# This is a per-site username, not a global one, unlike the one above
+#news.example.com_userid: foo
+
+# The password to send to the remote server.
+#password:
+
+# This is a per-site password, not a global one unlike the one above.
+#news.example.com_password: bar
+
+# The remote server port number if not standard.
+#remoteport:
+
+# The list of suck options if desired.
+
+suckoptions: -q -n
+
+# The list of rpost options if desired.
+# rpostoptions: 
+
+# Per site options.  Those override the normal ones.
+# news.example.com_suckoptions:
+# news.example.com_rpostoptions:
+# news.example.com_remoteport
+
+# some things you probably won't need to change from the defaults
+
+# batchmode: -br
+# rnews: /usr/lib/news/input/rnews
+# rnews: /usr/bin/rnews
+# bindir: /usr/bin
+# etcdir: /etc/suck
+# logdir: /var/log/suck
+# process: gp
+# quiet: 0
+# remoteport: 119
+# spooldir: /var/spool/suck
+# statedir: /var/lib/suck
+# timestamp: 0
+# verbose: 0
--- suck-4.3.2.orig/debian/get-news
+++ suck-4.3.2/debian/get-news
@@ -0,0 +1,312 @@
+#! /usr/bin/perl -w
+
+# NOTE: this script needs to be run by the news user.
+# Debian systems will not allow normal users to run ctlinnd and innxmit
+# or rnews.
+
+# Perl version by Blars Blarson, based on sh version by Christophe Le Bars, 
+# Brian Mays, Tolleff Fog Heen, and others
+
+use strict;
+use File::Copy;
+use File::Path;
+
+# defaults, may be overriden in config file or command line
+my %var = (
+    "batchmode"		=> "-br",
+    "bindir"		=> "/usr/bin",
+    "etcdir"		=> "/etc/suck",
+    "logdir"		=> "/var/log/suck",
+    "newsbin"		=> "/usr/sbin",
+    "newsspooldir"	=> "/var/spool/news",
+    "postfilter"	=> "/usr/lib/suck/put-news",
+    "process"		=> "gp",
+    "quiet"		=> 0,
+    "remoteport" 	=> 119,
+    "server"		=> "localhost",
+    "servtype"		=> "inn2",   
+    "spooldir"		=> "/var/spool/suck",
+    "statedir"		=> "/var/lib/suck",
+    "timestamp"		=> 0,
+    "verbose"		=> 0,	   
+);
+my @siteoptions = (
+    "userid", 
+    "password",
+    "suckoptions",
+    "rpostoptions",
+    "remoteport",
+    "postfilter",
+    "process", 
+);
+my $site;
+my $etcdir = "/etc/suck";
+my $getnewsconf = "$etcdir/get-news.conf";
+my $exit = 0;
+
+# read the configuration file
+open CONF, "<$getnewsconf" or die "Could not open $getnewsconf: $!";
+while ($_ = <CONF>) {
+    if (/^([a-z\-\_\.]+)\:\s+(.*)$/) {
+        $var{$1} = $2;
+    } else {
+	die "Unknown line in $getnewsconf:\n$_" unless (/^\s*(?:$|\#)/);
+    }
+}
+close CONF;
+
+my $quiet = $var{'quiet'};
+my $verbose = $var{'verbose'};
+my $timestamp = $var{'timestamp'};
+
+unless (defined $var{'rnews'}) {
+    if (-x "/usr/lib/news/input/rnews") {
+	$var{'rnews'} = "/usr/lib/news/input/rnews";
+    } elsif (-x '/usr/bin/rnews') {
+	$var{'rnews'} = '/usr/bin/rnews';
+    } else {
+	die "rnews not found\n";
+    }
+}
+
+if ($var{'suckoptions'} !~ /\-H/) {
+    if ($var{'servtype'} eq 'cnews') {
+	$var{'suckoptions'} .= ' -HC';
+    } elsif ($var{'servtype'} eq 'inn1') {
+	$var{'suckoptions'} .= ' -HC';
+    } elsif ($var{'servtype'} eq 'inn2') {
+	$var{'suckoptions'} .= ' -HI';
+    } else {
+	$var{'suckoptions'} .= ' -HO';
+    }
+}
+
+my $defserver = $var{'remoteserver'};
+
+if (exists $var{"outgoingfile"}) {
+    $site = $var{"outgoingfile"};
+} else {
+    $site = $var{"remoteserver"};
+}
+
+# see if site is on the command line
+if (scalar(@ARGV) && $ARGV[0] !~ /^-/) {
+    $site = shift @ARGV;
+    $var{"remoteserver"} = $site;
+}
+
+foreach my $opt (@siteoptions) {
+    if (exists $var{"${site}_${opt}"}) {
+        $var{$opt} = $var{"${site}_${opt}"};
+    }
+}
+
+# process the rest of the command line
+while ($_ = shift @ARGV) {
+    if (/^-outgoingfile$/) {
+        $site = shift @ARGV;
+	foreach my $opt (@siteoptions) {
+	    if (exists $var{"${site}_${opt}"}) {
+		$var{$opt} = $var{"${site}_${opt}"};
+	    }
+	}
+    } elsif (/^-server$/) {
+        $var{"server"} = shift @ARGV;
+    } elsif (/^-get(?:only)?$/) {
+        $var{"process"} = "g";
+    } elsif (/^-post(?:only)?$/) {
+        $var{"process"} = "p";
+    } elsif (/^-user(?:id)?$/) {
+        $var{"userid"} = shift @ARGV;
+    } elsif (/^-password$/) {
+        $var{"password"} = shift @ARGV;
+    } elsif (/^-noauth$/) {
+        delete $var{"userid"};
+	delete $var{"password"};
+    } elsif (/^-port$/) {
+        $var{"remoteport"} = shift @ARGV;
+    } elsif (/^-q(?:iet)?$/) {
+        $quiet++;
+    } elsif (/^-v(?:erbose)?$/) {
+	$verbose++;
+    } elsif (/^-timestamp$/) {
+	$timestamp++;
+    } elsif (/^-h(?:elp)?$/) {
+	print "Usage: $0 [<sitename>] [-option parm]...\n\n".
+	    "    <sitename>		The NNTP server you will connect to.\n".
+	    "\n".
+	    "Options:\n".
+	    "    -outgoingfile	<filename>  	The file of your remote server\n".
+	    "					outgoing articles.\n".
+	    "                            		(default = the remote server name)\n".
+	    "    -userid		<userid>	The userid to send to the remote\n".
+	    "					server.\n".
+	    "    -password		<password>	The password to send to the remote\n".
+	    "					server.\n".
+	    "    -noauth				Do not send userid and password.\n".
+	    "					(even if they are specified in\n".
+	    "					${getnewsconf})\n".
+	    "    -port               <port>          Set remote port number.\n".
+	    "    -server    		<sitename>  	Your local NNTP server.\n".
+	    "                            		(default = \"$var{'server'}\")\n".
+	    "    -q                                  Do not display the BPS and article\n".
+	    "                                        count messages during download.  \n".
+	    "                                        Multiple -q to suppress message\n".
+	    "    -getonly                            Only get new messages, do not post\n".
+	    "    -postonly                           Only post outgoing messages, do not get\n".
+	    "                                        new ones\n".
+	    "    -timestamp                          put timestamps in log\n".
+	    "    -verbose                            Display more messages about process.\n".
+	    "                                        Use multiple times for debugging.\n".
+	    "\n";
+	exit 0;
+    } else {
+        die "Unknown option: $_ (use -h for help)";
+    }
+}
+
+if ($verbose > 1) {
+    print "Options:\n";
+    foreach (keys %var) {
+	print "$_: $var{$_}\n";
+    }
+    print "\n";
+}
+
+my $authopts = '';
+if (exists $var{'userid'}) {
+    $authopts = '-Q';
+    $ENV{'NNTP_USER'} = $var{'userid'};
+    $ENV{'NNTP_PASS'} = $var{'password'};
+}
+
+if ($var{'servtype'} =~ /^inn/) {
+    if (system("$var{'bindir'}/testhost $var{'server'} -s -e") != 0) {
+	die "Bad status for the $var{'server'} local NNTP news server: $?";
+    }
+}
+
+my $lastdir = "$var{'logdir'}/$var{'remoteserver'}";
+if (! -d $lastdir) {
+    die "could not create $lastdir" unless mkdir($lastdir);
+}
+
+sub ts {
+    return "" unless($timestamp);
+    my @now = localtime();
+    return sprintf("%02d:%02d:%02d ", $now[2], $now[1], $now[0]);
+}
+
+my $getnewslog = "$var{'logdir'}/get-news.log";
+open LOG, ">>", $getnewslog or die "Could not open $getnewslog: $!";
+print LOG "\n".scalar(localtime())."\n";
+
+if ($var{'process'} =~ /g/) {
+    my $batchfile = "$var{'statedir'}/batch.$var{'remoteserver'}.$$";
+    my $msgdir = "$var{'spooldir'}/$var{'remoteserver'}";
+    my $errlog = "$var{'logdir'}/errlog";
+    my $suffix = '';
+    my $popt = '';
+
+    if($defserver ne $var{'remoteserver'}) {
+	$suffix = ".$var{'remoteserver'}";
+	$popt = "-p $suffix";
+    }
+    if($quiet && $var{'suckoptions'} !~ /-q/) {
+	$var{'suckoptions'} .= ' -q';
+    }
+
+    print LOG ts()."getnews: download articles\n" unless($quiet > 1);
+    my $suckcmd = "$var{bindir}/suck $var{'remoteserver'} $var{'suckoptions'}"
+	." $authopts $var{'batchmode'} $batchfile -dt $var{'statedir'}"
+	." -dm $msgdir -dd $var{'etcdir'} $popt -N $var{'remoteport'}"
+	." -E $errlog";
+    print ts()."$suckcmd\n" if($verbose);
+    open SUCK, "-|", $suckcmd or die "Could not start $suckcmd: $!";
+    while (my $l = <SUCK>) {
+	print LOG ts().$l;
+	print ts().$l if($verbose);
+    }
+    close SUCK;
+    if ($? == 0 || $? == 256) {
+	print ts()."Downloaded Articles\n" unless($quiet > 1);
+	if (-f "$var{'statedir'}/suck.newrc$suffix") {	
+	    rename("$var{'etcdir'}/sucknewsrc$suffix",
+		   "$var{'etcdir'}/sucknewsrc$suffix.old");
+	    move("$var{'statedir'}/suck.newrc$suffix",
+		 "$var{'etcdir'}/sucknewsrc$suffix");
+	}
+	move("$var{'statedir'}/suck.sorted$suffix",$lastdir)
+	    if (-f "$var{'statedir'}/suck.sorted$suffix");
+	move("$var{'statedir'}/suck.killog$suffix",$lastdir)
+	    if (-f "$var{'statedir'}/suck.killog$suffix");
+	move("$var{'etcdir'}/suckothermsgs$suffix",$lastdir)
+	    if (-f "$var{'etcdir'}/suckothermsgs$suffix");
+	if (-f $batchfile) {
+	    my $batchcmd = "NNTPSERVER=$var{'server'} $var{'rnews'} <$batchfile";
+	    print ts()."$batchcmd\n" if ($verbose);
+	    if (system($batchcmd)) {
+		print STDERR "Local posting error\n";
+		$exit = 255;
+	    } else {
+		print ts()."Posted Articles Locally\n" unless($quiet > 1);
+		rmtree($msgdir);
+		unlink($batchfile);
+	    }
+	}
+    } else {
+	print STDERR "Error getting articles, see $errlog\n";
+	$exit = 1;
+    }
+}
+
+if (! $exit && $var{'process'} =~ /p/) {
+    my $outgoing = $var{'newsspooldir'};
+    foreach my $a ('.outgoing', 'out.going', 'outgoing') {
+	if (-d "$outgoing/$a") {
+	    $outgoing .= "/$a";
+	    last;
+	}
+    }
+    $outgoing .= "/$site";
+    my $artdir = $var{'newsspooldir'};
+    $artdir .= "/articles" if (-d "$artdir/articles");
+    my $outgoingnew = "${outgoing}.new";
+    foreach my $o ($outgoingnew, $outgoing) {
+	if (-s $o) {
+	    if ($o ne $outgoingnew) {
+		rename($outgoing,$outgoingnew);
+		if ($var{'servtype'} =~ /^inn/) {
+		    my $flushcmd = "$var{'newsbin'}/ctlinnd flush $site";
+		    print ts()."$flushcmd\n" if ($verbose);
+		    if (system($flushcmd) != 0) {
+			print STDERR "Problem running $flushcmd: $!\n";
+		    }
+		}
+	    }
+	    my $outfile = "$var{'statedir'}/rpost.$var{'remoteserver'}.$$";
+
+	    my $postcmd = "$var{'bindir'}/rpost $var{'remoteserver'}"
+		." -N $var{'remoteport'} $authopts -E $var{'logdir'}/errlog"
+		." $var{'rpostopts'} -b $outgoingnew -p $artdir"
+		." -f $var{'postfilter'} \\\$\\\$o=$outfile"
+		." \\\$\\\$i $outfile";
+	    print LOG ts()."Posting outgoing articles\n";
+	    print ts()."$postcmd\n" if ($verbose);
+	    if (system($postcmd) != 0) {
+		print STDERR "Error remote posting\n";
+		$exit = 2;
+		last;
+	    } else {
+		print ts()."Remotely posted articles\n" unless($quiet > 1);
+		unlink($outfile);
+		unlink($outgoingnew);
+	    }
+	}
+    }
+}
+print ts()."get-news processing complete\n" unless($quiet > 1);    
+
+close LOG;
+
+exit($exit);
--- suck-4.3.2.orig/debian/suckkillfile
+++ suck-4.3.2/debian/suckkillfile
@@ -0,0 +1,4 @@
+HILINES=10000
+#LOWLINES=1
+#PATH=yourpathhost
+#NRGRPS=30
--- suck-4.3.2.orig/debian/postinst
+++ suck-4.3.2/debian/postinst
@@ -0,0 +1,22 @@
+#! /bin/sh -e
+
+if dpkg --compare-versions "$2" lt-nl "4.3.1-1" 
+then
+    # fix permissions on get-news.conf
+
+    chown root:news /etc/suck/get-news.conf
+    chmod 640 /etc/suck/get-news.conf
+fi
+
+# Move /var/state/suck to /var/lib/suck
+
+if [ -d /var/state/suck ]; then
+    mv -f /var/state/suck/* /var/lib/suck/ || true
+    rmdir /var/state/suck || true
+fi
+
+# Remove /var/lib/suck/suck.db because of changed on-disk file format.
+
+rm -f /var/lib/suck/suck.db
+
+#DEBHELPER#
--- suck-4.3.2.orig/debian/get-news.8
+++ suck-4.3.2/debian/get-news.8
@@ -0,0 +1,138 @@
+.\" $Revision: 2.0 $
+.TH GET-NEWS 8
+.SH NAME
+get-news - Debian Suck front end
+.SH SYNOPSIS
+.I get-news
+[
+.BI
+sitename
+]
+[
+.BI \-h
+]
+[
+.BI \-outgoingfile
+filename
+]
+[
+.BI \-userid
+userid
+]
+[
+.BI \-password
+password
+]
+[
+.BI \-noauth
+]
+[
+.BI \-port
+port
+]
+[
+.BI \-server
+sitename
+]
+[
+.BI \-q
+]
+[
+.BI \-getonly
+]
+[
+.BI \-postonly
+]
+[
+.BI \-timestamp
+]
+[
+.BI \-verbose
+]
+
+sitename
+
+The name of the site get-news should connect. If this parameter is
+specified, it will be used for multiple purposes, setting:
+
+ \- the DNS name of the NNTP host which get-news will connect to
+download and upload articles
+
+ \- the suffix for some configuration files get-news will use
+(sucknewsrc, active-ignore, suckkillfile)
+
+ \- the news feed name (name of the file in /var/spool/news/outgoing
+which contain list of the articles to be send)
+
+For example, running the command get-news news.provider.site
+causes the script to contact news.provider.site, send messages listed
+in /var/spool/news/outgoing/news.provider.site (according to the feed
+of this name defined in /etc/news/newsfeeds) and use
+/etc/suck/sucknewsrc.news.provider.site as list of newsgroups,
+/etc/suck/suckkillfile.news.provider.site as killfile and (in case -A
+or -AL is specified in get-news.conf) suit newsgroup list to
+/etc/suck/active-ignore.news.provider.site.
+
+When the sitename parameter is missing (like when get-news is run
+without parameters), get-news uses parameters from get-news.conf
+(remoteserver to specify the host, outgoingfile to specify the feed)
+and no-suffix configuration files (sucknewsrc, active-ignore,
+suckkillfile).
+
+\-outgoingfile filename
+
+This option tells get-news to use an alternate remote server outgoing
+articles filename, instead of the default, the remote server name.
+
+\-userid userid
+
+\-password password
+
+These two options let you specify a userid and password, if your NNTP server
+requires them.
+
+\-noauth
+
+This option tells get-news to not send userid and password,
+even if they are specified in /etc/suck/get-news.conf.
+
+\-port port
+
+This option let you specify a port number, if your NNTP server has
+a non standard one.
+
+\-server sitename
+
+This option tells get-news to use sitename as your local NNTP server,
+instead of the default, localhost.
+
+\-q
+
+Be quiet.
+Do not display the BPS and article count messages during download.
+Multiple \-q's makes get\-news shut up
+
+\-getonly
+
+Only get new news, don't post anything outgoing.
+
+\-postonly
+
+Only post outgoing news, don't get anything.
+
+\-timestamp
+Add timestamps to the get-news.log and verbose output.
+
+\-verbose
+Give more messages about what get-news is doing.  Specified multiple times,
+debugging output is enabled.
+
+.SH GET-NEWS.CONF
+.PP
+Suck looks for a file
+.I get-news.conf
+in /etc/suck to initialize some defaults and set some options that are not
+available on the command line.
+
+.SH "SEE ALSO"
+suck(1), testhost(1), rpost(1), lpost(1).
--- suck-4.3.2.orig/debian/compat
+++ suck-4.3.2/debian/compat
@@ -0,0 +1 @@
+7
--- suck-4.3.2.orig/debian/sucknewsrc
+++ suck-4.3.2/debian/sucknewsrc
@@ -0,0 +1,5 @@
+#comp.os.linux.announce -1
+#comp.security.announce -1
+#gnu.announce -1
+news.announce.newusers -1
+news.newusers.questions -1
--- suck-4.3.2.orig/debian/ip-up
+++ suck-4.3.2/debian/ip-up
@@ -0,0 +1,18 @@
+# !/bin/sh
+#
+# /etc/ppp/ip-up.d/suck
+# script to start getnews at dial up 
+
+if [ -f /var/lib/suck/status ]; then
+   mv /var/lib/suck/status /var/lib/suck/status.old
+fi 
+
+if [ -x /usr/sbin/get-news ]; then
+    su news --command="/usr/sbin/get-news > /var/lib/suck/status"
+fi
+
+
+Local variables:
+mode: sh
+End:
+
--- suck-4.3.2.orig/debian/NEWS
+++ suck-4.3.2/debian/NEWS
@@ -0,0 +1,10 @@
+suck (4.3.2-1) unstable; urgency=low
+
+  get-news has been completly rewritten.  While not 100% bug-compatable,
+  it should work compatibly for most installations, and can now be used
+  in situations it couldn't be previously.  See the man page.
+
+  /etc/suck/get-news.conf is now a conffile.  You'll need to edit it if
+  you don't want to specify the host on the get-news command line.
+
+ -- Blars Blarson <blarson@blars.org>  Wed, 9 Jul 2003 01:30:00 -0800
--- suck-4.3.2.orig/debian/config
+++ suck-4.3.2/debian/config
@@ -0,0 +1,4 @@
+#! /bin/sh -e
+
+. /usr/share/debconf/confmodule
+
--- suck-4.3.2.orig/debian/dirs
+++ suck-4.3.2/debian/dirs
@@ -0,0 +1,8 @@
+etc
+etc/suck
+usr/bin
+usr/lib/suck
+usr/sbin
+var/log/suck
+var/spool/suck
+var/lib/suck
--- suck-4.3.2.orig/debian/control
+++ suck-4.3.2/debian/control
@@ -0,0 +1,26 @@
+Source: suck
+Section: news
+Priority: extra
+Maintainer: Christian Marillat <marillat@debian.org>
+Standards-Version: 3.8.0
+Build-Conflicts: libsocksd-dev
+Build-Depends: debhelper (>= 7), inn2-dev (>= 2.4), libssl-dev
+
+Package: suck
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: perl
+Suggests: news-transport-system, news-reader
+Description: small newsfeed from an NNTP server with standard NNTP commands
+ This package contains software for copying news from an NNTP server to your
+ local machine, and copying replies back up to an NNTP server.
+ .
+ The suck/rpost combination allows you to run your own INN/CNEWS site,
+ controlling where you get your news, and where you post outgoing articles. 
+ Suck/rpost use only standard NNTP commands that are used by your favorite
+ news reader (like tin, knews, trn) such as POST and ARTICLE.  If you can
+ use tin or knews against an NNTP site, than you can use Suck/Rpost and have
+ multiple site feeds.
+ .
+ NOTE: Suck will not work with obsolete NNTP servers that can't handle the
+ xhdr command.
--- suck-4.3.2.orig/debian/put-news
+++ suck-4.3.2/debian/put-news
@@ -0,0 +1,55 @@
+#! /bin/sh
+# this is just a simple script to run the one line sed
+# command to strip off the NNTP Posting Header that
+# my ISP's newsfeed doesn't like.
+# this could be written as a one liner
+# sed -e CMD $1 > $2
+
+COMMAND=$0
+ETCDIR=/etc/suck			# location of sucknewsrc* and killfile*
+GETNEWSCONF=${ETCDIR}/get-news.conf	# defaults for this script
+
+if [ $# -ne 2 ]; then
+	echo
+	echo "Usage `basename $0` infile outfile <RETURN>"
+	echo
+	exit 2
+fi
+
+SEDCMD=`grep ^sedcmd: ${GETNEWSCONF} \
+		| awk '{gsub(" ","");print}' | cut -c8-`
+OUTFILE=$2
+INFILE=$1
+
+SM=/usr/lib/news/bin/sm
+
+if [ -x ${SM} -o -f ${INFILE} ]; then
+
+	if [ -x ${SM} ]; then 
+
+# using inn2.3, we need to use sm, which translates inn 2.3's concept
+# of an article token into something which we can use.  *sigh*.  And
+# the infile isn't really a file, it's a mangled token.  Kludge.
+
+	INFILE=`echo ${INFILE} | sed "s,.*/,,"`
+
+	${SM} ${INFILE} | 	sed "1,/^$/{
+${SEDCMD}
+}" > ${OUTFILE}
+
+	else
+
+	sed "1,/^$/{
+${SEDCMD}
+}" ${INFILE} > ${OUTFILE}
+	fi
+
+	if [ $? -ne 0 ]; then
+		echo "Error"
+		exit 255
+	fi
+
+else
+	echo "$1 does not exist"
+	exit 127
+fi
--- suck-4.3.2.orig/debian/suck_config.dpatch
+++ suck-4.3.2/debian/suck_config.dpatch
@@ -0,0 +1,31 @@
+--- suck_config.h.orig	Tue Dec 26 00:11:21 2000
++++ suck_config.h	Tue Dec 26 00:13:52 2000
+@@ -42,7 +42,7 @@
+ /* as number of seconds before timeout 				   */
+ /* else, comment it out.  If you comment it out, if link goes down */
+ /* we'll just sit, twiddling our bits, until whenever.             */
+-#define TIMEOUT 90
++#define TIMEOUT 180
+ #endif /* HAVE_SELECT */
+ 
+ /* signal which will interrupt us DON'T USE SIGKILL OR SIGSTOP */
+@@ -92,8 +92,8 @@
+ #define N_LMOVE_CONFIG  "lmove-config"          /* config file for lmove */
+ #define N_XOVER         "suckxover"             /* parameter file for which articles NOT to download via xover */
+ #define N_NODOWNLOAD    "sucknodownload"        /* file name for message-ids that I never download */
+-#define N_PHRASES "/usr/local/lib/suck.phrases"	/* default location for phrase file */
+-#define HISTORY_FILE "/usr/news/db/history"     /* default location for history file */
++#define N_PHRASES "/etc/suck/phrases"	/* default location for phrase file */
++#define HISTORY_FILE "/var/lib/news/history"     /* default location for history file */
+ 
+ /* TEMP FILES created */
+ #define N_NEWRC "suck.newrc"
+@@ -109,7 +109,7 @@
+ 
+ /* Various DIRECTORY PATHS, these can be overriden from command line */
+ #define N_TMPDIR "."		/* location of Temp Files */
+-#define N_DATADIR "."		/* location of Data Files */
++#define N_DATADIR "/etc/suck"	/* location of Data Files */
+ #define N_MSGDIR "./Msgs"	/*location of articles produced by suck, if multifile option selected */
+ 
+ /* Argument substition strings for rpost */
--- suck-4.3.2.orig/debian/suck.logrotate
+++ suck-4.3.2/debian/suck.logrotate
@@ -0,0 +1,21 @@
+
+/var/log/suck/*log {
+	rotate 2
+	weekly
+	compress
+	missingok
+	}
+
+/var/log/suck/suck-err {
+	rotate 2
+	weekly
+	compress
+	missingok
+	}
+
+/var/log/suck/suck-status {
+	rotate 2
+	weekly
+	compress
+	missingok
+	}