Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 19:52:33 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r345308 - in stable/12: libexec/rc/rc.d tools/build/mk
Message-ID:  <201903191952.x2JJqXUD034030@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Mar 19 19:52:32 2019
New Revision: 345308
URL: https://svnweb.freebsd.org/changeset/base/345308

Log:
  MFC r345079:
  
  Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER
  is specified.
  
  When WITHOUT_IPFILTER is specified, delete-old-files fails to delete
  the optional rc.d files from above. Fix this.
  
  WITHOUT_IPFILTER fails to delete the ipfilter.5 optional file during
  delete-old-files. Fix this.
  
  Reported by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>

Modified:
  stable/12/libexec/rc/rc.d/Makefile
  stable/12/tools/build/mk/OptionalObsoleteFiles.inc
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/libexec/rc/rc.d/Makefile
==============================================================================
--- stable/12/libexec/rc/rc.d/Makefile	Tue Mar 19 19:11:44 2019	(r345307)
+++ stable/12/libexec/rc/rc.d/Makefile	Tue Mar 19 19:52:32 2019	(r345308)
@@ -46,10 +46,6 @@ CONFS=	DAEMON \
 	hostname \
 	iovctl \
 	ip6addrctl \
-	ipfilter \
-	ipfs \
-	ipmon \
-	ipnat \
 	ipsec \
 	${_kadmind} \
 	${_kdc} \
@@ -213,6 +209,13 @@ HASTPACKAGE=	hast
 
 .if ${MK_INETD} != "no"
 CONFS+=		inetd
+.endif
+
+.if ${MK_IPFILTER} != "no"
+CONFS+=	ipfilter \
+	ipfs \
+	ipmon \
+	ipnat
 .endif
 
 .if ${MK_IPFW} != "no"

Modified: stable/12/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- stable/12/tools/build/mk/OptionalObsoleteFiles.inc	Tue Mar 19 19:11:44 2019	(r345307)
+++ stable/12/tools/build/mk/OptionalObsoleteFiles.inc	Tue Mar 19 19:52:32 2019	(r345308)
@@ -3124,6 +3124,10 @@ OLD_FILES+=usr/share/man/man8/inetd.8.gz
 .if ${MK_IPFILTER} == no
 OLD_FILES+=etc/periodic/security/510.ipfdenied
 OLD_FILES+=etc/periodic/security/610.ipf6denied
+OLD_FILES+=etc/rc.d/ipfilter
+OLD_FILES+=etc/rc.d/ipfs
+OLD_FILES+=etc/rc.d/ipmon
+OLD_FILES+=etc/rc.d/ipnat
 OLD_FILES+=rescue/ipf
 OLD_FILES+=sbin/ipf
 OLD_FILES+=sbin/ipfs
@@ -3193,6 +3197,7 @@ OLD_FILES+=usr/share/man/man4/ipnat.4.gz
 OLD_FILES+=usr/share/man/man5/ipf.5.gz
 OLD_FILES+=usr/share/man/man5/ipf.conf.5.gz
 OLD_FILES+=usr/share/man/man5/ipf6.conf.5.gz
+OLD_FILES+=usr/share/man/man5/ipfilter.5.gz
 OLD_FILES+=usr/share/man/man5/ipnat.5.gz
 OLD_FILES+=usr/share/man/man5/ipnat.conf.5.gz
 OLD_FILES+=usr/share/man/man5/ippool.5.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903191952.x2JJqXUD034030>