Module Name:    src
Committed By:   jmmv
Date:           Sun Dec 29 09:47:50 UTC 2024

Modified Files:
        src/distrib/sets/lists/etc: mi
        src/etc/rc.d: Makefile

Log Message:
Don't install /etc/rc.d/postfix when MKPOSTFIX=no


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.118 -r1.119 src/etc/rc.d/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/etc/mi
diff -u src/distrib/sets/lists/etc/mi:1.275 src/distrib/sets/lists/etc/mi:1.276
--- src/distrib/sets/lists/etc/mi:1.275	Tue Apr  9 21:02:17 2024
+++ src/distrib/sets/lists/etc/mi	Sun Dec 29 09:47:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.275 2024/04/09 21:02:17 kre Exp $
+# $NetBSD: mi,v 1.276 2024/12/29 09:47:49 jmmv Exp $
 #
 # Note: end-user configuration files that are moved to another location
 #	should not be marked "obsolete"; they should just be removed from
@@ -285,7 +285,7 @@
 ./etc/rc.d/pf_boot				etc-net-rc
 ./etc/rc.d/pflogd				etc-net-rc
 ./etc/rc.d/poffd				etc-obsolete		obsolete
-./etc/rc.d/postfix				etc-postfix-rc
+./etc/rc.d/postfix				etc-postfix-rc		postfix
 ./etc/rc.d/powerd				etc-sysutil-rc
 ./etc/rc.d/ppp					etc-ppp-rc
 ./etc/rc.d/pwcheck				etc-sys-rc

Index: src/etc/rc.d/Makefile
diff -u src/etc/rc.d/Makefile:1.118 src/etc/rc.d/Makefile:1.119
--- src/etc/rc.d/Makefile:1.118	Wed Sep 27 00:24:13 2023
+++ src/etc/rc.d/Makefile	Sun Dec 29 09:47:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2023/09/27 00:24:13 riastradh Exp $
+# $NetBSD: Makefile,v 1.119 2024/12/29 09:47:49 jmmv Exp $
 
 .include <bsd.own.mk>
 
@@ -32,7 +32,7 @@ CONFIGFILES=\
 		mountcritlocal mountcritremote mountd moused mrouted \
 		named ndbootd network newsyslog nfsd nfslocking npf npf_boot \
 		npfd ntpd ntpdate \
-		perusertmp pf pf_boot pflogd postfix powerd ppp pwcheck \
+		perusertmp pf pf_boot pflogd powerd ppp pwcheck \
 		quota \
 		racoon rpcbind raidframe raidframeparity random_seed rarpd \
 		rbootd resize_root rndctl root route6d routed rtadvd \
@@ -44,6 +44,10 @@ CONFIGFILES=\
 FILESDIR=	/etc/rc.d
 FILESMODE=	${BINMODE}
 
+.if ${MKPOSTFIX} != "no"
+CONFIGFILES+=	postfix
+.endif
+
 .if ${MKYP} != "no"
 CONFIGFILES+=	ypbind yppasswdd ypserv
 .endif

Reply via email to