From: naddy Date: Tue, 26 May 2015 14:34:59 +0000 (+0000) Subject: Create aliases.db from the installed aliases file, so we get the correct X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=99cd43f8a203b605fc0d7e69378c1e4aca77cfbc;p=openbsd Create aliases.db from the installed aliases file, so we get the correct owner and group. Reported by Mark Patruck. ok deraadt@ miod@ --- diff --git a/etc/mail/Makefile b/etc/mail/Makefile index f6c63aacc60..dc2a68eaee0 100644 --- a/etc/mail/Makefile +++ b/etc/mail/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2014/09/17 16:39:45 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.11 2015/05/26 14:34:59 naddy Exp $ # # Generate the various .db versions from their source files. @@ -14,7 +14,7 @@ distribution: ${INSTALL} -c -o root -g wheel -m 644 aliases \ ${DESTDIR}/etc/mail/aliases ${MAKEMAP} -t aliases -o ${DESTDIR}/etc/mail/aliases.db \ - aliases + ${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 \