From 496f0ea974af9d2f2a15bdceeacbd996b123ee99 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 17 Apr 2001 07:53:49 +0000 Subject: Update to 4.0. Unfortunately I have not heard from the maintainer, while 4.3 freeze is coming today, so I decided to force things a little. Among other things this release supports TLS/SSL, previously available in the Qualcomms's commercial package "Qpopper LX". --- mail/qpopper/Makefile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'mail/qpopper/Makefile') diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index 0f158394bee6..3f16534c5fcf 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -6,8 +6,7 @@ # PORTNAME= qpopper -PORTVERSION= 3.1.2 -PORTREVISION= 1 +PORTVERSION= 4.0 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \ ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/ @@ -15,11 +14,11 @@ DISTNAME= ${PORTNAME}${PORTVERSION} .include -.if ${OSVERSION} >= 400014 -PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ -PATCHFILES= qpopper3.1.2-ipv6-20001214.diff.gz -PATCH_DIST_STRIP= -p1 -.endif +#.if ${OSVERSION} >= 400014 +#PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ +#PATCHFILES= qpopper3.1.2-ipv6-20001214.diff.gz +#PATCH_DIST_STRIP= -p1 +#.endif MAINTAINER= lioux@FreeBSD.org @@ -45,6 +44,14 @@ OS_DEFS+= -DAPOP_ONLY CONFIGURE_ARGS+= --enable-debugging .endif +.if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a) +CONFIGURE_ARGS+= --with-openssl=/usr +.elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a) +LIB_DEPENDS+= ssl.1:${PORTSDIR}/security/openssl +CONFIGURE_ARGS+= -with-includes=${LOCALBASE}/include/openssl --with-openssl=${LOCALBASE} +CONFIGURE_ENV+= RSAGLUE=-lRSAglue +.endif + post-patch: @${RM} -f ${WRKSRC}/popper/md5.h @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/man/* -- cgit v1.2.3