ports/84382: Add cdb map lookups to mail/postfix

IWAMOTO Kouichi sue at iwmt.org
Sun Jul 31 09:50:15 UTC 2005

>Number:         84382
>Category:       ports
>Synopsis:       Add cdb map lookups to mail/postfix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 31 09:50:14 GMT 2005
>Originator:     IWAMOTO Kouichi
>Release:        FreeBSD 5.4-STABLE i386
System: FreeBSD lemmy.iwmt.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 31 07:55:26 JST 2005 sue at lemmy.iwmt.org:/usr/obj/usr/src/sys/LEMMY i386
	Add cdb map lookups to mail/postfix
--- scripts/configure.postfix.orig	Sat Jul 30 22:43:05 2005
+++ scripts/configure.postfix	Sun Jul 31 17:56:36 2005
@@ -34,6 +34,7 @@
 MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \
 PgSQL		"PostgreSQL map lookups (choose with DEFAULT_PGSQL_VER)" "$status_PgSQL" \
 OpenLDAP	"OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \
+CDB		"CDB map lookups" "$status_CDB" \
 NIS		"NIS map lookups" "$status_NIS" \
 VDA		"VDA (Virtual Delivery Agent)" "$status_VDA" \
 Test		"SMTP/LMTP test server and generator" "$status_Test" \
@@ -205,6 +206,12 @@
  			/bin/echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lldap -llber"
 			/bin/echo "OPENLDAP_SUFFIX=	+openldap"
+		CDB)
+			/bin/echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libcdb.a:\${PORTSDIR}/databases/tinycdb"
+			/bin/echo "POSTFIX_CCARGS+=	-DHAS_CDB -I\${LOCALBASE}/include"
+ 			/bin/echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib -lcdb"
+			/bin/echo "CDB_SUFFIX=		+cdb"
+			;;
 			/bin/echo "POSTFIX_CCARGS+=	-DHAS_NIS"
 			/bin/echo "NIS_SUFFIX=		+nis"
@@ -253,4 +260,4 @@
 # we ask the configure questions) doesn't pick up the extensions, but
 # any subsequent build will. so "make; make install" will build twice.
 # don't do this for now.

More information about the freebsd-ports-bugs mailing list