Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 16:45:25 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336742 - in head: etc sbin/dump
Message-ID:  <201807261645.w6QGjPK9023685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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