Date: Tue, 28 Nov 2006 11:13:53 +0100 From: "Beat Gaetzi" <beat@chruetertee.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/105944: [PATCH] mail/swaks: Add optional dependencies for MX lookup, TLS and AUTH NTLM support Message-ID: <4532DD2400B4DC2C@mail21.bluewin.ch> (added by postmaster@bluewin.ch) Resent-Message-ID: <200611281020.kASAKG4m055872@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105944 >Category: ports >Synopsis: [PATCH] mail/swaks: Add optional dependencies for MX lookup, TLS and AUTH NTLM support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Nov 28 10:20:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Beat Gätzi >Release: FreeBSD 6.2-RC1 i386 >Organization: >Environment: System: FreeBSD daedalus.network.local 6.2-RC1 FreeBSD 6.2-RC1 #0: Sun Nov 19 19:23:21 CET 2006 beat@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386 >Description: Add OPTIONS to the Makefile with optional dependencies for MX lookup, TLS and AUTH NTLM support >How-To-Repeat: >Fix: --- swaks.patch begins here --- diff -Naur swaks.ori/Makefile swaks/Makefile --- swaks.ori/Makefile Mon Nov 27 23:38:53 2006 +++ swaks/Makefile Tue Nov 28 10:55:22 2006 @@ -17,8 +17,26 @@ PLIST_FILES= bin/${PORTNAME} +OPTIONS= PERL_NET_DNS "Add MX lookup support" off \ + PERL_NET_SSLEAY "Add TLS support" off \ + PERL_AUTHEN_NTLM "Add support for AUTH NTLM" off + USE_PERL5_RUN= yes +.include <bsd.port.pre.mk> + +.if defined(WITH_PERL_NET_DNS) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS +.endif + +.if defined(WITH_PERL_NET_SSLEAY) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay +.endif + +.if defined(WITH_PERL_AUTHEN_NTLM) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Authen/NTLM.pm:${PORTSDIR}/security/p5-Authen-NTLM +.endif + do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKSRC} @@ -33,4 +51,4 @@ ${DESTDIR}${PREFIX}/bin/${PORTNAME} @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- swaks.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4532DD2400B4DC2C>