Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2019 12:38:33 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347522 - head/etc
Message-ID:  <201905131238.x4DCcXml055812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Mon May 13 12:38:33 2019
New Revision: 347522
URL: https://svnweb.freebsd.org/changeset/base/347522

Log:
  Revert r347356 and r347371
  
  passwd related files need to be tagged as config file so pkg update
  will attempt merging them when we install a new package.
  We should use CONFS for that.
  Revert for now until I come up with a better version of this patch as
  it breaks pkgbase for users.

Modified:
  head/etc/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Mon May 13 11:17:31 2019	(r347521)
+++ head/etc/Makefile	Mon May 13 12:38:33 2019	(r347522)
@@ -18,10 +18,15 @@ BIN1=	\
 	group \
 	login.access \
 	rc.bsdextended \
+	rc.firewall \
 	termcap.small
 
 # NB: keep these sorted by MK_* knobs
 
+.if ${MK_SENDMAIL} != "no"
+BIN1+=	rc.sendmail
+.endif
+
 .if ${MK_SENDMAIL} == "no"
 ETCMAIL=mailer.conf aliases
 .else
@@ -58,20 +63,10 @@ distribution:
 	@echo "set DESTDIR before running \"make ${.TARGET}\""
 	@false
 .endif
-.if ${MK_SENDMAIL} != "no"
 	cd ${.CURDIR}; \
-	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=sendmail"\
-		rc.sendmail ${DESTDIR}/etc;
-.endif
-.if ${MK_IPFW} != "no"
-	cd ${.CURDIR}; \
-	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=ipfw"\
-		rc.firewall ${DESTDIR}/etc;
-.endif
-	cd ${.CURDIR}; \
-	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=runtime"\
+	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
 		${BIN1} ${DESTDIR}/etc; \
-	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 -T "tags=package=runtime"\
+	    ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
 		master.passwd ${DESTDIR}/etc;
 
 .if ${MK_TCSH} == "no"



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