As Mark Patruck has noticed, etc/mail/aliases.db in etc.tgz ends
up with the owner:group of the aliases file in the source tree.

The problem is that we call makemap with the source tree file instead
of the DESTDIR one, and makemap gives the .db file the owner:group
of the input file.  This error was introduced with the sendmail->smtpd
switch.

ok?

Index: etc/mail/Makefile
===================================================================
RCS file: /cvs/src/etc/mail/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- etc/mail/Makefile   17 Sep 2014 16:39:45 -0000      1.10
+++ etc/mail/Makefile   25 May 2015 21:20:22 -0000
@@ -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 \
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to