Subject: bin/10167: yp Makefile looks for /etc/aliases
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 05/21/2000 12:48:13
>Number: 10167
>Category: bin
>Synopsis: yp Makefile looks for /etc/aliases
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 21 12:49:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Mason Loring Bliss
>Release: 2000.05.21
>Organization:
>Environment:
System: NetBSD acheron.middleboro.ma.us 1.4Y NetBSD 1.4Y (MLB) #3: Sat May 20 17
:36:54 EDT 2000 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB
i386
>Description:
Makefile in /var/yp/foodomain (created from /var/yp/Makefile.yp) looks
for /etc/aliases, and not /etc/mail/aliases.
>How-To-Repeat:
cd /var/yp/foodomain && make
>Fix:
This is a bit ugly, but:
*** Makefile.yp Sat May 20 15:39:32 2000
--- Makefile.yp.fixed Sun May 21 15:41:36 2000
***************
*** 95,101 ****
fi
! aliases.time: ${DIR}/aliases
-@if [ -f ${.ALLSRC} ]; then \
${CP} -p ${.ALLSRC} ${DOMAIN}-aliases; \
${SENDMAIL} -bi -oA${PWD}/${DOMAIN}-aliases; \
--- 95,101 ----
fi
! aliases.time: ${DIR}/mail/aliases
-@if [ -f ${.ALLSRC} ]; then \
${CP} -p ${.ALLSRC} ${DOMAIN}-aliases; \
${SENDMAIL} -bi -oA${PWD}/${DOMAIN}-aliases; \
***************
*** 360,366 ****
${DIR}/passwd:
${DIR}/group:
${DIR}/hosts:
! ${DIR}/aliases:
${AMDDIR}/amd.home:
${DIR}/ethers:
${DIR}/master.passwd:
--- 360,366 ----
${DIR}/passwd:
${DIR}/group:
${DIR}/hosts:
! ${DIR}/mail/aliases:
${AMDDIR}/amd.home:
${DIR}/ethers:
${DIR}/master.passwd:
>Release-Note:
>Audit-Trail:
>Unformatted: