summaryrefslogtreecommitdiffstats
path: root/etc/mail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-04-01 22:54:15 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-04-01 22:54:15 +0000
commit52397444f0ac16454979b027b56bbff45ddbc7f6 (patch)
tree4473f79dfddf99735025cef8b466f85d65e2772d /etc/mail
parent2e3ab926122b8c3077a700e37b968eda1f71c324 (diff)
downloadFreeBSD-src-52397444f0ac16454979b027b56bbff45ddbc7f6.zip
FreeBSD-src-52397444f0ac16454979b027b56bbff45ddbc7f6.tar.gz
Allow users to override the default map type used for building maps.
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index c98825c..b04c73a 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -73,11 +73,13 @@ KILL?= /bin/kill
#
# The Makefile picks up the list of files from SENDMAIL_MAP_SRC and
# stores the matching .db filenames in SENDMAIL_MAP_OBJ if the file
-# exists in the current directory.
+# exists in the current directory. SENDMAIL_MAP_TYPE is the database
+# type to use when calling makemap.
#
SENDMAIL_MAP_SRC+= mailertable domaintable bitdomain uucpdomain \
genericstable virtusertable access
SENDMAIL_MAP_OBJ=
+SENDMAIL_MAP_TYPE?= hash
.for _f in ${SENDMAIL_MAP_SRC} userdb
.if exists(${_f})
@@ -95,7 +97,7 @@ ${_f}: ${_f}.sample
.endif
${_f}.db: ${_f}
- ${MAKEMAP} hash ${.TARGET} < ${.OODATE}
+ ${MAKEMAP} ${SENDMAIL_MAP_TYPE} ${.TARGET} < ${.OODATE}
.endfor
userdb.db: userdb
OpenPOWER on IntegriCloud