diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-09-30 10:31:45 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-09-30 10:31:45 +0000 |
commit | f791c3f7f2933cd5740013cc5ea8b9b34b0542bf (patch) | |
tree | 0952a3c6a87a897720dbfe076fb32591f437c47d /news | |
parent | Updated to 3.06. (diff) |
Support new Options:
SUCK_WITH_SSL=yes or WITH_SSL=yes
Update URL's.
Thanks to <thierry@thomas.as>
-- Changes from Suck-4.2.5 -> Suck-4.3.0
* As of this version, my e-mail address has changed from
from bobyetman@worldnet.att.net to bobyetman@home.com
* changes to allow it to use SSL.
* rpost.c - added -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_authenticate() - added print
statements to show start of, and
successful completion of authentication.
* suck.c - get_one_article_kill() - add test
for header_only mode when in stdout mode
to not download the body.
- get_one_article(), get_articles() - added
-bP option, to post articles during download.
Notes
Notes:
svn path=/head/; revision=48282
Diffstat (limited to 'news')
-rw-r--r-- | news/suck/Makefile | 26 | ||||
-rw-r--r-- | news/suck/distinfo | 2 | ||||
-rw-r--r-- | news/suck/pkg-descr | 9 |
3 files changed, 30 insertions, 7 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile index 2cdec317cb00..2cde8cc38b10 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -6,15 +6,17 @@ # PORTNAME= suck -PORTVERSION= 4.2.5 +PORTVERSION= 4.3.0 CATEGORIES= news -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= system/news/transport +MASTER_SITES= http://www.sucknews.org/ MAINTAINER= dinoex@FreeBSD.org USE_GMAKE= yes GNU_CONFIGURE= yes +.if defined(SUCK_WITH_SSL) || defined(WITH_SSL) +USE_OPENSSL= yes +.endif MAN1= suck.1 rpost.1 testhost.1 lmove.1 .if defined(NEWSBIN) @@ -26,6 +28,22 @@ EXTRA_PATCHES+= ${FILESDIR}/inn2.patch BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .endif +.include <bsd.port.pre.mk> + +.if defined(SUCK_WITH_SSL) || defined(WITH_SSL) +USE_OPENSSL= yes +.if ${OSVERSION} < 430000 +OPENSSLBASE= /usr/local +OPENSSLDIR= ${OPENSSLBASE}/openssl +LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl +OPENSSLLIB= ${OPENSSLBASE}/lib +OPENSSLINC= ${OPENSSLBASE}/include +.endif +MAKE_ENV+= SSL_LIB="-lssl -lcrypto" +MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL" +MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}" +.endif + post-patch: @${PERL5} -pi -e "s=/usr/local/=${LOCALBASE}/=" ${WRKSRC}/Makefile.in @${PERL5} -pi -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ @@ -42,4 +60,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/sample/*.sample ${PREFIX}/share/examples/suck .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/news/suck/distinfo b/news/suck/distinfo index 99b24d2220b1..c7c22c98d1f7 100644 --- a/news/suck/distinfo +++ b/news/suck/distinfo @@ -1 +1 @@ -MD5 (suck-4.2.5.tar.gz) = 18dc6902ed40b9a25557423f3c2d9582 +MD5 (suck-4.3.0.tar.gz) = e67c64a63e593fa26f6c1956e996cedd diff --git a/news/suck/pkg-descr b/news/suck/pkg-descr index c36557a3968f..53ddcdcc9ce5 100644 --- a/news/suck/pkg-descr +++ b/news/suck/pkg-descr @@ -1,5 +1,10 @@ suck feeds news to local INN or CNEWS server without the remote NNTP feeding. This is useful, if you get news from NNTP server with dialup connection. ---- -Noritaka Ishizumi graphite@taurus.bekkoame.or.jp +Suck is a program used to grab news from a remote NNTP news server and +bring it to your local machine, without the remote server doing +anything special. If you have read permission on the server, you can +use suck. Suck does NOT use the NEWNEWS command, hated by many +administrators. + +WWW: http://www.sucknews.org/ |