|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: Makefile,v 1.1 2003/09/23 21:37:11 millert Exp $
|
|
|
|
|
|
|
|
|
# $OpenBSD: Makefile,v 1.2 2003/09/25 15:34:25 millert Exp $
|
|
|
#
|
|
|
#
|
|
|
# Generate the various .db versions from their source files.
|
|
|
# Generate the various .db versions from their source files.
|
|
|
# The sendmail .mc files are not built here. They live in
|
|
|
# The sendmail .mc files are not built here. They live in
|
|
@ -17,32 +17,31 @@ clean: |
|
|
rm -f ${DB_FILES} |
|
|
rm -f ${DB_FILES} |
|
|
|
|
|
|
|
|
distribution: |
|
|
distribution: |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 Makefile \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 Makefile \
|
|
|
${DESTDIR}/etc/mail/Makefile |
|
|
${DESTDIR}/etc/mail/Makefile |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 README \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 README \
|
|
|
${DESTDIR}/etc/mail/README |
|
|
${DESTDIR}/etc/mail/README |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 access \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 access \
|
|
|
${DESTDIR}/etc/mail/access |
|
|
${DESTDIR}/etc/mail/access |
|
|
makemap hash ${DESTDIR}/etc/mail/access < access |
|
|
makemap hash ${DESTDIR}/etc/mail/access < access |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 aliases \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 aliases \
|
|
|
${DESTDIR}/etc/mail/aliases |
|
|
${DESTDIR}/etc/mail/aliases |
|
|
/usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/mail/sendmail.cf \
|
|
|
/usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/mail/sendmail.cf \
|
|
|
-bi -O AliasFile=${DESTDIR}/etc/mail/aliases \
|
|
|
-bi -O AliasFile=${DESTDIR}/etc/mail/aliases \
|
|
|
-O DontBlameSendmail=mapinunsafedirpath |
|
|
-O DontBlameSendmail=mapinunsafedirpath |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 local-host-names \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 local-host-names \
|
|
|
${DESTDIR}/etc/mail/local-host-names |
|
|
${DESTDIR}/etc/mail/local-host-names |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 mailertable \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 mailertable \
|
|
|
${DESTDIR}/etc/mail/mailertable |
|
|
${DESTDIR}/etc/mail/mailertable |
|
|
makemap hash ${DESTDIR}/etc/mail/mailertable < mailertable |
|
|
makemap hash ${DESTDIR}/etc/mail/mailertable < mailertable |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 relay-domains \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 relay-domains \
|
|
|
${DESTDIR}/etc/mail/relay-domains |
|
|
${DESTDIR}/etc/mail/relay-domains |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 trusted-users \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 trusted-users \
|
|
|
${DESTDIR}/etc/mail/trusted-users |
|
|
${DESTDIR}/etc/mail/trusted-users |
|
|
${INSTALL} -c -o root -g ${BINGRP} -m 644 virtusertable \
|
|
|
|
|
|
|
|
|
${INSTALL} -c -o root -g wheel -m 644 virtusertable \
|
|
|
${DESTDIR}/etc/mail/virtusertable |
|
|
${DESTDIR}/etc/mail/virtusertable |
|
|
makemap hash ${DESTDIR}/etc/mail/virtusertable < virtusertable |
|
|
makemap hash ${DESTDIR}/etc/mail/virtusertable < virtusertable |
|
|
@for db in access.db aliases.db mailertable.db virtusertable.db; do \
|
|
|
@for db in access.db aliases.db mailertable.db virtusertable.db; do \
|
|
|
chown root:${BINGRP} ${DESTDIR}/etc/mail/$$db; \
|
|
|
|
|
|
chmod 644 ${DESTDIR}/etc/mail/$$db; \
|
|
|
chmod 644 ${DESTDIR}/etc/mail/$$db; \
|
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|