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/suck/Makefile | |
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/suck/Makefile')
-rw-r--r-- | news/suck/Makefile | 26 |
1 files changed, 22 insertions, 4 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> |