Lines 29-34
Link Here
|
29 |
DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ |
29 |
DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \ |
30 |
DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ |
30 |
DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ |
31 |
DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ |
31 |
DB42 "Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \ |
|
|
32 |
DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ |
32 |
MySQL "MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \ |
33 |
MySQL "MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \ |
33 |
PgSQL "PostgreSQL map lookups (choose with DEFAULT_PGSQL_VER)" "$status_PgSQL" \ |
34 |
PgSQL "PostgreSQL map lookups (choose with DEFAULT_PGSQL_VER)" "$status_PgSQL" \ |
34 |
OpenLDAP "OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \ |
35 |
OpenLDAP "OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \ |
Lines 110-116
Link Here
|
110 |
;; |
111 |
;; |
111 |
DB3) |
112 |
DB3) |
112 |
if [ "X$BDB_SELECTED" != "X" ]; then |
113 |
if [ "X$BDB_SELECTED" != "X" ]; then |
113 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr |
114 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr |
114 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
115 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
115 |
exit 1 |
116 |
exit 1 |
116 |
fi |
117 |
fi |
Lines 122-128
Link Here
|
122 |
;; |
123 |
;; |
123 |
DB40) |
124 |
DB40) |
124 |
if [ "X$BDB_SELECTED" != "X" ]; then |
125 |
if [ "X$BDB_SELECTED" != "X" ]; then |
125 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr |
126 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr |
126 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
127 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
127 |
exit 1 |
128 |
exit 1 |
128 |
fi |
129 |
fi |
Lines 134-140
Link Here
|
134 |
;; |
135 |
;; |
135 |
DB41) |
136 |
DB41) |
136 |
if [ "X$BDB_SELECTED" != "X" ]; then |
137 |
if [ "X$BDB_SELECTED" != "X" ]; then |
137 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr |
138 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr |
138 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
139 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
139 |
exit 1 |
140 |
exit 1 |
140 |
fi |
141 |
fi |
Lines 146-152
Link Here
|
146 |
;; |
147 |
;; |
147 |
DB42) |
148 |
DB42) |
148 |
if [ "X$BDB_SELECTED" != "X" ]; then |
149 |
if [ "X$BDB_SELECTED" != "X" ]; then |
149 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr |
150 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr |
150 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
151 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
151 |
exit 1 |
152 |
exit 1 |
152 |
fi |
153 |
fi |
Lines 155-160
Link Here
|
155 |
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" |
156 |
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db42/ -ldb" |
156 |
echo "DB_SUFFIX= +db42" |
157 |
echo "DB_SUFFIX= +db42" |
157 |
BDB_SELECTED="42" |
158 |
BDB_SELECTED="42" |
|
|
159 |
;; |
160 |
DB43) |
161 |
if [ "X$BDB_SELECTED" != "X" ]; then |
162 |
/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr |
163 |
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc |
164 |
exit 1 |
165 |
fi |
166 |
echo "LIB_DEPENDS+= db-4.3.0:\${PORTSDIR}/databases/db43" |
167 |
echo "POSTFIX_CCARGS+= -I\${LOCALBASE}/include/db43" |
168 |
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/db43/ -ldb" |
169 |
echo "DB_SUFFIX= +db43" |
170 |
BDB_SELECTED="43" |
158 |
;; |
171 |
;; |
159 |
MySQL) |
172 |
MySQL) |
160 |
echo "USE_MYSQL=YES" |
173 |
echo "USE_MYSQL=YES" |