svn commit: r336742 - in head: etc sbin/dump

Brad Davis brd at FreeBSD.org
Thu Jul 26 16:45:26 UTC 2018


Author: brd
Date: Thu Jul 26 16:45:25 2018
New Revision: 336742
URL: https://svnweb.freebsd.org/changeset/base/336742

Log:
  Move dumpdates creation to CONFS=
  
  Approved by:	bapt (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16435

Modified:
  head/etc/Makefile
  head/sbin/dump/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Thu Jul 26 16:08:34 2018	(r336741)
+++ head/etc/Makefile	Thu Jul 26 16:45:25 2018	(r336742)
@@ -296,8 +296,6 @@ distribution:
 		${INSTALL_SYMLINK} mail/aliases ${DESTDIR}/etc/aliases; \
 	fi
 .endif
-	${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \
-	    ${DESTDIR}/etc/dumpdates
 .if ${MK_LOCATE} != "no"
 	${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \
 	    ${DESTDIR}/var/db/locate.database

Modified: head/sbin/dump/Makefile
==============================================================================
--- head/sbin/dump/Makefile	Thu Jul 26 16:08:34 2018	(r336741)
+++ head/sbin/dump/Makefile	Thu Jul 26 16:45:25 2018	(r336742)
@@ -15,6 +15,10 @@
 
 PACKAGE=runtime
 PROG=	dump
+CONFS=	/dev/null
+CONFSGRP=	operator
+CONFSMODE=	664
+CONFSNAME_/dev/null=	dumpdates
 LINKS=	${BINDIR}/dump ${BINDIR}/rdump
 CFLAGS+=-DRDUMP
 SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c


More information about the svn-src-head mailing list