Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/etc Pull up revision 1.122 and 1.126 (via patch, reques...



details:   https://anonhg.NetBSD.org/src/rev/b580f67a2c9a
branches:  netbsd-1-4
changeset: 469756:b580f67a2c9a
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 27 16:16:31 1999 +0000

description:
Pull up revision 1.122 and 1.126 (via patch, requested by mycroft):
  Create and install $DESTDIR/etc/aliases.db, using
  $DESTDIR/etc/sendmail.cf, so that sendmail works "out of the
  box".

diffstat:

 etc/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 0f136eb3c82b -r b580f67a2c9a etc/Makefile
--- a/etc/Makefile      Sat Nov 27 16:02:09 1999 +0000
+++ b/etc/Makefile      Sat Nov 27 16:16:31 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.112.2.5 1999/06/21 03:44:00 perry Exp $
+#      $NetBSD: Makefile,v 1.112.2.6 1999/11/27 16:16:31 he Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -70,7 +70,7 @@
 # -rw-r--r--
 BINOWN= root
 BINGRP= wheel
-BIN1+= aliases bootptab changelist csh.cshrc csh.login \
+BIN1+= bootptab changelist csh.cshrc csh.login \
        csh.logout daily daily.conf dm.conf floppytab ftpchroot \
        ftpusers ftpwelcome gettytab group hosts hosts.lpd \
        inetd.conf lkm.conf mailer.conf man.conf \
@@ -119,6 +119,7 @@
        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc
        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} ${DESTDIR}/etc
+       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases ${DESTDIR}/etc
        ${INSTALL} -c -o root -g wheel -m 600 crontab \
            ${DESTDIR}/var/cron/tabs/root
        ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
@@ -209,6 +210,7 @@
        (cd ../usr.bin/mail; ${MAKE} distribution)
 .ifndef NO_SENDMAIL
        (cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
+       ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -bi
 .endif
 .ifdef BUILD_POSTFIX
        (cd ../usr.sbin/postfix/etc; ${MAKE} distribution)



Home | Main Index | Thread Index | Old Index