Subject: misc/29341: checkflist fails with MKPOSTFIX=no
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <nakayama@NetBSD.org>
List: netbsd-bugs
Date: 02/12/2005 09:35:01
>Number:         29341
>Category:       misc
>Synopsis:       checkflist fails with MKPOSTFIX=no
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 09:35:00 +0000 2005
>Originator:     Takeshi Nakayama
>Release:        NetBSD-current [2005-02-12]
>Organization:
Private
>Environment:
>Description:

checkflist ===> distrib/sets
cd /export/anoncvs/src/distrib/sets &&  DESTDIR=/lfs/tmp/current-hpcmips  MACHINE=hpcmips MACHINE_ARCH=mipsel  CKSUM=/lfs/tools/bin/nbcksum MAKE=/lfs/tools/bin/nbmake MTREE=/lfs/tools/bin/nbmtree  MKTEMP=/lfs/tools/bin/nbmktemp PAX=/lfs/tools/bin/nbpax HOST_SH=sh  sh ./checkflist    

============  6 extra files  ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./etc/postfix/README
./etc/postfix/main.cf
./etc/postfix/master.cf
./etc/postfix/post-install
./etc/postfix/postfix-files
./etc/postfix/postfix-script
=========  end of 6 extra files  ===========


*** Failed target:  checkflist

>How-To-Repeat:
	Put MKPOSTFIX=no into /etc/mk.conf, then do ./build.sh.
>Fix:
	Don't install postfix configration files as follows.

Index: etc/Makefile
===================================================================
RCS file: /cvsroot/src/etc/Makefile,v
retrieving revision 1.302
diff -u -d -r1.302 Makefile
--- etc/Makefile	15 Jan 2005 18:18:18 -0000	1.302
+++ etc/Makefile	12 Feb 2005 09:20:11 -0000
@@ -16,6 +16,7 @@
 #   KERNCONFDIR is where the configuration files for kernels are found;
 #	default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden.
 #   MKCRYPTO; if not `no', install crypto-related configuration
+#   MKPOSTFIX; if not `no', install postfix configuration
 #   MKSENDMAIL; if not `no', install sendmail configuration
 #   MKUNPRIVED; if not `no', allow non-root installs.
 #   MKUPDATE; if not `no', don't do a 'make clean' before kernel compile
@@ -315,7 +316,9 @@
 .endfor
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/mail configinstall
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.sbin/pf configinstall
+.if (${MKPOSTFIX} != "no")
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall
+.endif
 .if (${MKCRYPTO} != "no")
 	${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh configinstall
 .endif