summaryrefslogtreecommitdiff
path: root/etc/mail
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@cvs.openbsd.org>2015-12-22 07:39:01 +0000
committerSunil Nimmagadda <sunil@cvs.openbsd.org>2015-12-22 07:39:01 +0000
commit334156d71a11900cebedbb9b8ded6bc076ca496e (patch)
tree78e7e66cdd4fee223261c521714e2727579bc251 /etc/mail
parent86abf0c41d90670778745e7947a64150cdd5cda5 (diff)
Now that default smtpd.conf aliases table has been switched to
'file' backend, we no longer have to generate the .db files. Ok gilles@
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index d69535691f9..1b619b34e01 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -1,28 +1,14 @@
-# $OpenBSD: Makefile,v 1.12 2015/12/08 09:03:50 sunil Exp $
-#
-# Generate the various .db versions from their source files.
+# $OpenBSD: Makefile,v 1.13 2015/12/22 07:39:00 sunil Exp $
-DB_FILES= aliases.db
-MAKEMAP= /usr/sbin/makemap
-
-all: ${DB_FILES}
-
-clean:
- rm -f ${DB_FILES}
+all clean:
distribution:
${INSTALL} -c -o root -g wheel -m 644 aliases \
${DESTDIR}/etc/mail/aliases
- ${MAKEMAP} -t aliases -o ${DESTDIR}/etc/mail/aliases.db \
- ${DESTDIR}/etc/mail/aliases
${INSTALL} -c -o root -g wheel -m 644 smtpd.conf \
${DESTDIR}/etc/mail/smtpd.conf
${INSTALL} -c -o root -g wheel -m 644 spamd.conf \
${DESTDIR}/etc/mail/spamd.conf
- chmod 644 ${DESTDIR}/etc/mail/aliases.db
-
-aliases.db: aliases
- newaliases
.PHONY: distribution
.include <bsd.own.mk>