Update to 4.3.1.

Extract of changes:
-Q option to specify NNTP authentication via environment variables

Changes to allow it to use SSL.

-i option, to ignore the readonly opening response and try to post
anyway, since inn-2.3, when using authinfo, still sends 201 code
meaning readonly.

do_one_group() - added code for resetcounter
option.  If remote end resets its article numbers
the normal suck response is to ignore the group
and reset the lastread counter to match the current
high counter.  This option tells suck to reset
its lastread counter to the low counter, effectively
causing suck to get all articles for the group, and
use the historydb to check for dupes.
Added low_read option. This option is used in concert
with the maxread option of the sucknewsrc.  Normally
when there is a maxread in the sucknewsrc, suck will
download the newest articles.  This option tells suck
to download instead the oldest articles.

do_articles() - added code for show_group option.
This option will add the name of the current group
to the BPS display as you download the articles.

do_nodownload() - added, this routine allows you
to specifiy Message-IDs to never download.  See the
SUCKNODOWNLOAD section in the man page.

Bugfixes and code cleanups.
This commit is contained in:
wiz 2003-02-21 13:46:44 +00:00
parent 7eb10208ec
commit 178866c1a3
3 changed files with 12 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.12 2001/02/25 04:18:10 hubertf Exp $
# $NetBSD: Makefile,v 1.13 2003/02/21 13:46:44 wiz Exp $
#
DISTNAME= suck-4.2.2
DISTNAME= suck-4.3.1
CATEGORIES= news
MASTER_SITES= http://home.att.net/~bobyetman/ \
${MASTER_SITE_SUNSITE:=system/news/transport/} \
@ -12,15 +12,16 @@ HOMEPAGE= http://home.att.net/~bobyetman/
COMMENT= Feed a local news server without a dedicated newsfeed
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
.include "../../mk/bsd.prefs.mk"
# Include SOCKS firewall support
.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
.if ${USE_SOCKS} == 4
DEPENDS+= socks4-2.2:../../net/socks4
.include "../../net/socks4/buildlink2.mk"
.else
DEPENDS+= socks5-1.0.2:../../net/socks5
.include "../../net/socks5/buildlink2.mk"
.endif
.endif
@ -34,4 +35,6 @@ post-install:
${CP} ${WRKSRC}/sample/* ${LOCALBASE}/share/examples/suck
${CHMOD} 644 ${LOCALBASE}/share/examples/suck/*
#.include "../../databases/gdbm/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:03:51 zuntum Exp $
@comment $NetBSD: PLIST,v 1.2 2003/02/21 13:46:44 wiz Exp $
bin/suck
bin/rpost
bin/testhost
@ -17,6 +17,7 @@ share/examples/suck/post_filter.pl
share/examples/suck/put.news
share/examples/suck/put.news.pl
share/examples/suck/put.news.sm
share/examples/suck/put.news.sm.pl
share/examples/suck/suckkillfile.sample
share/examples/suck/sucknewsrc.sample
share/examples/suck/suckothermsgs.sample

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2001/04/19 13:37:55 agc Exp $
$NetBSD: distinfo,v 1.3 2003/02/21 13:46:44 wiz Exp $
SHA1 (suck-4.2.2.tar.gz) = 80658fdb804752712d4508f37f6b1734a1738169
Size (suck-4.2.2.tar.gz) = 160566 bytes
SHA1 (suck-4.3.1.tar.gz) = 8dc89b922d616d0f32114023ff34be1fe2b96984
Size (suck-4.3.1.tar.gz) = 172007 bytes
SHA1 (patch-aa) = 970ffa385a2b2b3f95944ba9a4321452bb247319