Date: Mon, 22 Sep 2003 10:13:37 -0700 From: Mark Foster <mark@foster.cc> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57099: [PATCH] update of port mail/exim to allow WITH_DNSDB make flag Message-ID: <E1A1UFl-0002kJ-7i@mail.foster.cc> Resent-Message-ID: <200309221720.h8MHKAmb097518@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57099 >Category: ports >Synopsis: [PATCH] update of port mail/exim to allow WITH_DNSDB make flag >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 22 10:20:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Foster >Release: FreeBSD 4.8-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD riddler.foster.cc 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #11: Tue Aug 12 10:10:30 PDT 2003 mdf@riddler.foster.cc:/usr/obj/usr/src/sys/MDFIPF i386 >Description: This is a Makefile patch to optionally allow building of exim with the LOOKUP_DNSDB options (found in the EDITME) >How-To-Repeat: make WITH_DNSDN=yes >Fix: --- patch begins here --- diff -Nur mail/exim/Makefile.orig mail/exim/Makefile --- mail/exim/Makefile.orig Mon Sep 22 10:07:29 2003 +++ mail/exim/Makefile Fri Sep 19 10:14:57 2003 @@ -66,6 +66,9 @@ #WITH_PGSQL= yes #WITH_SASLAUTHD= yes +# Define WITH_DNSDB if you want to do dnsdb style lookups +# LOOKUP_DNSDB=yes + # As an alternative to WITH_SASLAUTHD, you can define WITH_PWCHECK to # link against libsasl for SMTP AUTH authentication via the Cyrus SASL # pwcheck daemon. @@ -264,6 +267,13 @@ RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd SEDLIST+= -e 's,^\# CYRUS_SASLAUTHD_SOCKET=,CYRUS_SASLAUTHD_SOCKET=,' .endif + +.if defined(WITH_DNSDB) +SEDLIST+= -e 's,^\# LOOKUP_DNSDB=,LOOKUP_DNSDB=,' +.else +SEDLIST+= -e 's,XX_DNSDB_[^ ]*_XX,,' +.endif + .if defined(WITH_PWCHECK) RUN_DEPENDS+= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl --- 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?E1A1UFl-0002kJ-7i>