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
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 31 09:50:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: IWAMOTO Kouichi
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
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
>Description:
Add cdb map lookups to mail/postfix
>How-To-Repeat:
>Fix:
--- 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"
+ ;;
NIS)
/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.
-#/bin/echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${NIS_SUFFIX}\${SPF_SUFFIX}"
+#/bin/echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${CDB_SUFFIX}\${TLS_SUFFIX}\${NIS_SUFFIX}\${SPF_SUFFIX}"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list