git: 7209444a80fd - main - package: move cron into its own package
Date: Tue, 23 Apr 2024 04:52:46 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=7209444a80fd37de0e19c7cf93623f84709827e3
commit 7209444a80fd37de0e19c7cf93623f84709827e3
Author: Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-04-22 22:05:53 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-23 04:36:35 +0000
package: move cron into its own package
Reviewed by: imp, manu, Mina Galic
Pull Request: https://github.com/freebsd/freebsd-src/pull/1172
---
lib/libpam/pam.d/Makefile | 5 ++++-
libexec/rc/rc.d/Makefile | 5 ++++-
usr.sbin/cron/cron/Makefile | 1 +
usr.sbin/cron/crontab/Makefile | 1 +
4 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile
index 218d79e12ab4..d2cc192f3599 100644
--- a/lib/libpam/pam.d/Makefile
+++ b/lib/libpam/pam.d/Makefile
@@ -7,7 +7,6 @@ NO_OBJ=
CONFGROUPS= CONFS
CONFS= README \
- cron \
imap \
login \
other \
@@ -18,6 +17,10 @@ CONFS= README \
CONFDIR= /etc/pam.d
CONFSMODE_README= 444
+CONFGROUPS+= CRON
+CRON+= cron
+CRONPACKAGE= cron
+
.if ${MK_AT} != "no"
CONFGROUPS+= AT
AT+= atrun
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index 15dcc811d9b4..6e9cb7fc50ae 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -17,7 +17,6 @@ CONFS= DAEMON \
cfumass \
cleanvar \
cleartmp \
- cron \
ctld \
ddb \
defaultroute \
@@ -129,6 +128,10 @@ CONFGROUPS+= RESOLVCONF
RESOLVCONF= resolv
RESOLVCONFPACKAGE= resolvconf
+CONFGROUPS+= CRON
+CRON+= cron
+CRONPACKAGE= cron
+
.if ${MK_NIS} != "no"
CONFS+= ypbind \
ypldap \
diff --git a/usr.sbin/cron/cron/Makefile b/usr.sbin/cron/cron/Makefile
index 673ae49e01a1..206f001b8387 100644
--- a/usr.sbin/cron/cron/Makefile
+++ b/usr.sbin/cron/cron/Makefile
@@ -1,4 +1,5 @@
+PACKAGE=cron
CONFS= crontab
PROG= cron
MAN= cron.8
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile
index 7b4901b7a281..5fbd2b44b2fa 100644
--- a/usr.sbin/cron/crontab/Makefile
+++ b/usr.sbin/cron/crontab/Makefile
@@ -1,6 +1,7 @@
BINDIR= /usr/bin
+PACKAGE=cron
PROG= crontab
MAN= crontab.1 crontab.5
BINOWN= root