ports/57099: [PATCH] update of port mail/exim to allow WITH_DNSDB make flag
Mark Foster
mark at foster.cc
Mon Sep 22 17:20:24 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list