diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-22 14:04:52 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-22 14:04:52 +0000 |
commit | 84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54 (patch) | |
tree | 8b0ea2716958328452339e83e6c0c7f22d1b5b76 /mail | |
parent | 9b389e718be088ad596c4b85968e8e8993404d40 (diff) | |
download | ports-84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54.tar.gz ports-84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix22/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix22/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix23/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix23/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix24/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix24/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix25/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix25/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix26/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix26/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix27/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix27/scripts/configure.postfix | 72 | ||||
-rw-r--r-- | mail/postfix28/Makefile | 2 | ||||
-rw-r--r-- | mail/postfix28/scripts/configure.postfix | 72 |
16 files changed, 64 insertions, 528 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix/scripts/configure.postfix b/mail/postfix/scripts/configure.postfix index 3c3ed2d936e4..3d1a10c4e4b4 100644 --- a/mail/postfix/scripts/configure.postfix +++ b/mail/postfix/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix22/Makefile b/mail/postfix22/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix22/Makefile +++ b/mail/postfix22/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix22/scripts/configure.postfix b/mail/postfix22/scripts/configure.postfix index c97260fe1f1c..59a10a83dc66 100644 --- a/mail/postfix22/scripts/configure.postfix +++ b/mail/postfix22/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix23/Makefile b/mail/postfix23/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix23/Makefile +++ b/mail/postfix23/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix23/scripts/configure.postfix b/mail/postfix23/scripts/configure.postfix index f45d78b8f710..2f238bb9200d 100644 --- a/mail/postfix23/scripts/configure.postfix +++ b/mail/postfix23/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix24/Makefile +++ b/mail/postfix24/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix24/scripts/configure.postfix b/mail/postfix24/scripts/configure.postfix index a80c5b0373a8..71ce514345d4 100644 --- a/mail/postfix24/scripts/configure.postfix +++ b/mail/postfix24/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix25/Makefile b/mail/postfix25/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix25/Makefile +++ b/mail/postfix25/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix25/scripts/configure.postfix b/mail/postfix25/scripts/configure.postfix index 50bdc5875568..7df77505e650 100644 --- a/mail/postfix25/scripts/configure.postfix +++ b/mail/postfix25/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix26/Makefile b/mail/postfix26/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix26/Makefile +++ b/mail/postfix26/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix26/scripts/configure.postfix b/mail/postfix26/scripts/configure.postfix index b0fe485fa67d..aa243904ade7 100644 --- a/mail/postfix26/scripts/configure.postfix +++ b/mail/postfix26/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix27/scripts/configure.postfix b/mail/postfix27/scripts/configure.postfix index ac5f40c3d352..09def2c857a2 100644 --- a/mail/postfix27/scripts/configure.postfix +++ b/mail/postfix27/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" diff --git a/mail/postfix28/Makefile b/mail/postfix28/Makefile index 329a371d45ac..7152cb281f74 100644 --- a/mail/postfix28/Makefile +++ b/mail/postfix28/Makefile @@ -7,7 +7,7 @@ # To pre-select options in batch mode, run make like this: # -# make -DBATCH POSTFIX_OPTIONS="DB43 TLS" +# make -DBATCH POSTFIX_OPTIONS="BDB TLS" # # the options are the same names as in the scripts/configure.postfix file. # POSTFIX_OPTIONS can be set in /etc/make.conf also. diff --git a/mail/postfix28/scripts/configure.postfix b/mail/postfix28/scripts/configure.postfix index 34ad37dfb61c..179e490e9230 100644 --- a/mail/postfix28/scripts/configure.postfix +++ b/mail/postfix28/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.74 2006-04-18 13:24:14 mnag Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.75 2006-04-22 14:04:52 mnag Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -27,11 +27,7 @@ SASLKRB5 "If your SASL requires Kerberos5 select this option" "$status_SASLKRB5" SASLKRB5MIT "If your SASL requires MIT Kerberos5 select this option" "$status_SASLKRB5MIT" \ SPF "SPF support" "$status_SPF" \ TLS "SSL and TLS" "$status_TLS" \ -DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \ -DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ -DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ -DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ -DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ +BDB "Berkeley DB (select version using WITH_BDB_VER variable)" "$status_BDB" \ 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" \ @@ -124,65 +120,11 @@ while [ "$1" ]; do echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto" echo "TLS_SUFFIX= +tls" ;; - DB3) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db3" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3" - echo "DB_SUFFIX= +db3" - BDB_SELECTED="3" - ;; - DB40) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db4" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb4" - echo "DB_SUFFIX= +db40" - BDB_SELECTED="40" - ;; - DB41) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db41" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb41" - echo "DB_SUFFIX= +db41" - BDB_SELECTED="41" - ;; - DB42) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.2.2:\${PORTSDIR}/databases/db42" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db42" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" - echo "DB_SUFFIX= +db42" - BDB_SELECTED="42" - ;; - DB43) - if [ "X$BDB_SELECTED" != "X" ]; then - /usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc - exit 1 - fi - echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" - echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" - echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" - echo "DB_SUFFIX= +db43" - BDB_SELECTED="43" + BDB) + echo "USE_BDB= yes" + echo "POSTFIX_CCARGS+= -I\${BDB_INCLUDE_DIR}" + echo "POSTFIX_AUXLIBS+= -L\${BDB_LIB_DIR} -l\${BDB_LIB_NAME}" + echo "DB_SUFFIX= +${BDB_LIB_NAME}" ;; MySQL) echo "USE_MYSQL=YES" |