aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix23
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-04-22 14:04:52 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-04-22 14:04:52 +0000
commit84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54 (patch)
tree8b0ea2716958328452339e83e6c0c7f22d1b5b76 /mail/postfix23
parent9b389e718be088ad596c4b85968e8e8993404d40 (diff)
downloadports-84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54.tar.gz
ports-84ecb89c2e2c0eb4c26fc6a76f63a402cb2a0a54.zip
Notes
Diffstat (limited to 'mail/postfix23')
-rw-r--r--mail/postfix23/Makefile2
-rw-r--r--mail/postfix23/scripts/configure.postfix72
2 files changed, 8 insertions, 66 deletions
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"