Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 13:52:23 +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: r337626 - in head: etc etc/cron.d usr.bin/at
Message-ID:  <201808111352.w7BDqNPA036531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Sat Aug 11 13:52:23 2018
New Revision: 337626
URL: https://svnweb.freebsd.org/changeset/base/337626

Log:
  Move cron.d/at to usr.bin/at/
  
  This helps with pkgbase as it tags this as a config file so it is handled as
  such
  
  Approved by:	allanjude (mentor)
  Sponsored by:	Essen Hackathon
  Differential Revision:	https://reviews.freebsd.org/D16673

Added:
  head/usr.bin/at/atrun
     - copied unchanged from r337625, head/etc/cron.d/at
Deleted:
  head/etc/cron.d/
Modified:
  head/etc/Makefile
  head/usr.bin/at/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Sat Aug 11 13:47:28 2018	(r337625)
+++ head/etc/Makefile	Sat Aug 11 13:52:23 2018	(r337626)
@@ -174,7 +174,6 @@ distribution:
 .if ${MK_BLUETOOTH} != "no"
 	${_+_}cd ${.CURDIR}/bluetooth; ${MAKE} install
 .endif
-	${_+_}cd ${.CURDIR}/cron.d; ${MAKE} install
 	${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
 	${_+_}cd ${.CURDIR}/devd; ${MAKE} install
 	${_+_}cd ${.CURDIR}/gss; ${MAKE} install

Modified: head/usr.bin/at/Makefile
==============================================================================
--- head/usr.bin/at/Makefile	Sat Aug 11 13:47:28 2018	(r337625)
+++ head/usr.bin/at/Makefile	Sat Aug 11 13:52:23 2018	(r337626)
@@ -2,6 +2,9 @@
 
 .include "${.CURDIR}/Makefile.inc"
 
+CONFS=	atrun
+CONFSDIR=	/etc/cron.d
+CONFSNAME=	at
 PROG=	at
 SRCS=	at.c panic.c parsetime.c perm.c
 LINKS=	${BINDIR}/at ${BINDIR}/atq \

Copied: head/usr.bin/at/atrun (from r337625, head/etc/cron.d/at)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/at/atrun	Sat Aug 11 13:52:23 2018	(r337626, copy of r337625, head/etc/cron.d/at)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+#
+SHELL=/bin/sh
+PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
+
+# See crontab(5) for field format.
+*/5	*	*	*	*	root	/usr/libexec/atrun



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