summaryrefslogtreecommitdiffstats
path: root/etc/mail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-04-01 22:48:07 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-04-01 22:48:07 +0000
commit2e3ab926122b8c3077a700e37b968eda1f71c324 (patch)
tree4db7ff7009ca1605d4b0fd0dd43b3f7614eb52c1 /etc/mail
parent9e1dc5332d1757c528eaeac56798184e82839118 (diff)
downloadFreeBSD-src-2e3ab926122b8c3077a700e37b968eda1f71c324.zip
FreeBSD-src-2e3ab926122b8c3077a700e37b968eda1f71c324.tar.gz
The userdb database is different from the rest of the databases. It *must*
be a btree. PR: bin/26149
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index 2ddd2f1..c98825c 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -76,10 +76,10 @@ KILL?= /bin/kill
# exists in the current directory.
#
SENDMAIL_MAP_SRC+= mailertable domaintable bitdomain uucpdomain \
- genericstable virtusertable access userdb
+ genericstable virtusertable access
SENDMAIL_MAP_OBJ=
-.for _f in ${SENDMAIL_MAP_SRC}
+.for _f in ${SENDMAIL_MAP_SRC} userdb
.if exists(${_f})
SENDMAIL_MAP_OBJ+= ${_f}.db
.endif
@@ -98,6 +98,10 @@ ${_f}.db: ${_f}
${MAKEMAP} hash ${.TARGET} < ${.OODATE}
.endfor
+userdb.db: userdb
+ ${MAKEMAP} btree ${.TARGET} < ${.OODATE}
+
+
#
# The .cf file needs to be recreated if the templates were modified.
#
OpenPOWER on IntegriCloud