public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-01-02  3:05 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2016-01-02  3:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9b260b54797e7923cdb4bce3eb7fd47b4679df85
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 03:12:23 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 03:12:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b260b54

sys-process/fcron: fix minor typo

Package-Manager: portage-2.2.24

 sys-process/fcron/fcron-3.1.1.ebuild    | 4 ++--
 sys-process/fcron/fcron-3.1.2-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-process/fcron/fcron-3.1.1.ebuild b/sys-process/fcron/fcron-3.1.1.ebuild
index 9b37917..99605e4 100644
--- a/sys-process/fcron/fcron-3.1.1.ebuild
+++ b/sys-process/fcron/fcron-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -191,7 +191,7 @@ pkg_config() {
 	if use system-crontab; then
 		elog "This is going to set up fcron to execute check_system_crontabs."
 		elog "In this configuration, you're no longer free to edit the systab"
-		elog "at your leisure, at it'll be rewritten the moment the crontabs"
+		elog "at your leisure, as it'll be rewritten the moment the crontabs"
 		elog "are modified."
 		/usr/libexec/check_system_crontabs -v -i -f
 	else

diff --git a/sys-process/fcron/fcron-3.1.2-r2.ebuild b/sys-process/fcron/fcron-3.1.2-r2.ebuild
index 1bcdc1a..64a269b 100644
--- a/sys-process/fcron/fcron-3.1.2-r2.ebuild
+++ b/sys-process/fcron/fcron-3.1.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -195,7 +195,7 @@ pkg_config() {
 	if use system-crontab; then
 		elog "This is going to set up fcron to execute check_system_crontabs."
 		elog "In this configuration, you're no longer free to edit the systab"
-		elog "at your leisure, at it'll be rewritten the moment the crontabs"
+		elog "at your leisure, as it'll be rewritten the moment the crontabs"
 		elog "are modified."
 		/usr/libexec/check_system_crontabs -v -i -f
 	else


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-01-02  3:16 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2016-01-02  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     cb3636879e1fe4fec5c92fd166a3ab2b43fe3d1e
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 03:23:44 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 03:23:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb363687

sys-process/fcron: version bump to 3.2.0

Package-Manager: portage-2.2.24

 sys-process/fcron/Manifest           |   1 +
 sys-process/fcron/fcron-3.2.0.ebuild | 211 +++++++++++++++++++++++++++++++++++
 2 files changed, 212 insertions(+)

diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index ece19da..8f3512a 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,2 +1,3 @@
 DIST fcron-3.1.1.src.tar.gz 597094 SHA256 449e21f09f80bd419d87165ba15dad94ad8ab215b7946fcf805b5340f019e952 SHA512 ce20f0aee72521f809af2be13ba797e0f6ac65f12f7797e67a4db56c3b111d24c499c135ec1c948d8385ded415da25a258daf90051a75f603f7322c23dbca945 WHIRLPOOL e3f4d056dd9926629c7ea36de2d5d768f510f256c6cdf0b051baaf5fda776d6295dd8a3213c32765d871cd6bdfc8bbb0bc7b5b0ab1da42c78441e19458594abe
 DIST fcron-3.1.2.src.tar.gz 592409 SHA256 1c9299baab86e2b141031193c98ccd2e1b52d97a023b45a9e80266372ab11a5d SHA512 14aec35031449bb8abb81bee781215a09a6cd1d8e08a002ca391ea84c05b9c1cd07ef383e4fc3ee4ae928b60ad75f3f91114a41336110283a07fab64dc770503 WHIRLPOOL 0ec40e9921c187d87247a2bd5b0f807dda6a780e313608ba5c0933d1c470313b9db7f6d5b0ff15b7a853e966bb738c4bbac1c80a54541f402c2c51044f53cca9
+DIST fcron-3.2.0.src.tar.gz 595408 SHA256 eb13b86ed96805d117e19847f1da30b834f1990f7ef4c38f5007234d44679564 SHA512 97b200dfec02ca0aba76abf3cf71f54608fbadf46aa29d81d7316920fb1bebbba81d0118925f658cd9062f362b6075467c7f595e736b47616995a95958ae776b WHIRLPOOL 58cd9e7484181354518a53b99a2465608ba94001cf5908342b0e195b7436c0296b6a60a428f6d4136c65ce02644fa568e3a706962d76f6e59fcbe948b4bf0afc

diff --git a/sys-process/fcron/fcron-3.2.0.ebuild b/sys-process/fcron/fcron-3.2.0.ebuild
new file mode 100644
index 0000000..117234e
--- /dev/null
+++ b/sys-process/fcron/fcron-3.2.0.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+WANT_AUTOMAKE=none
+
+inherit cron pam eutils flag-o-matic user autotools systemd
+
+MY_P=${P/_/-}
+DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
+HOMEPAGE="http://fcron.free.fr/"
+SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug pam selinux linguas_fr +mta +system-crontab readline"
+
+DEPEND="selinux? ( sys-libs/libselinux )
+	mta? ( virtual/mta )
+	pam? ( virtual/pam )
+	readline? ( sys-libs/readline:= )"
+
+# see bug 282214 for the reason to depend on bash
+RDEPEND="${DEPEND}
+	app-shells/bash
+	app-misc/editor-wrapper
+	pam? ( sys-auth/pambase )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	enewgroup fcron
+	enewuser fcron -1 -1 -1 fcron
+	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
+	[[ ${rootuser} ]] || rootuser=root
+	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
+	[[ ${rootgroup} ]] || rootgroup=root
+}
+
+src_prepare() {
+	# respect LDFLAGS
+	sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
+
+	sed -i -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' script/check_system_crontabs.sh || die
+
+	epatch "${FILESDIR}"/${PN}-3.1.1-noreadline.patch
+	eautoconf
+}
+
+src_configure() {
+	local myconf
+
+	# Don't try to pass --with-debug as it'll play with cflags as
+	# well, and run foreground which is a _very_ nasty idea for
+	# Gentoo.
+	use debug && append-flags -DDEBUG
+
+	# bindir is used just for calling fcronsighup
+	econf \
+		--with-cflags="${CFLAGS}" \
+		--bindir=/usr/libexec \
+		--sbindir=/usr/libexec \
+		$(use_with pam) \
+		$(use_with mta sendmail) \
+		$(use_with selinux) \
+		$(use_with readline) \
+		--without-audit \
+		--sysconfdir=/etc/fcron \
+		--with-username=fcron \
+		--with-groupname=fcron \
+		--with-piddir=/var/run \
+		--with-spooldir=/var/spool/fcron \
+		--with-fifodir=/var/run \
+		--with-fcrondyn=yes \
+		--disable-checks \
+		--with-editor=/usr/libexec/editor \
+		--with-shell=/bin/sh \
+		--without-db2man --without-dsssl-dir \
+		--with-rootname=${rootuser} \
+		--with-rootgroup=${rootgroup} \
+		$(systemd_with_unitdir)
+}
+
+src_compile() {
+	default
+
+	# bug #216460
+	sed -i \
+		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
+		-e 's:/usr/local/etc:/etc:g' \
+		-e 's:/usr/local/:/usr/:g' \
+		doc/*/*/*.{txt,1,5,8,html} \
+		|| die "unable to fix documentation references"
+}
+
+src_install() {
+	keepdir /var/spool/fcron
+
+	exeinto /usr/libexec
+	doexe fcron fcronsighup
+
+	dobin fcrondyn fcrontab
+
+	insinto /etc/fcron
+	doins files/fcron.{allow,deny,conf}
+
+	if use system-crontab; then
+		dosym fcrontab /usr/bin/crontab
+
+		exeinto /usr/libexec
+		newexe script/check_system_crontabs.sh check_system_crontabs
+
+		insinto /etc/fcron
+		newins "${FILESDIR}"/fcrontab.2 fcrontab
+
+		fowners ${rootuser}:fcron /etc/fcron/fcrontab
+		fperms 0640 /etc/fcron/fcrontab
+
+		insinto /etc
+		doins "${FILESDIR}"/crontab
+	fi
+
+	fowners fcron:fcron \
+		/var/spool/fcron \
+		/usr/bin/fcron{dyn,tab}
+
+	# fcronsighup needs to be suid root, because it sends a HUP to the
+	# running fcron daemon, but only has to be called by the fcron group
+	# anyway
+	fowners ${rootuser}:fcron \
+		/usr/libexec/fcronsighup \
+		/etc/fcron/fcron.{allow,deny,conf} \
+		/etc/fcron
+
+	fperms 6770 /var/spool/fcron
+	fperms 6775 /usr/bin/fcron{dyn,tab}
+
+	fperms 4710 /usr/libexec/fcronsighup
+
+	fperms 0750 /etc/fcron
+	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
+
+	pamd_mimic system-services fcron auth account session
+	cat > "${T}"/fcrontab.pam <<- EOF
+	# Don't ask for the user's password; fcrontab will only allow to
+	# change user if running as root.
+	auth		sufficient		pam_permit.so
+
+	# Still use the system-auth stack for account and session as the
+	# sysadmin might have set up stuff properly, and also avoids
+	# sidestepping limits (since fcrontab will run \$EDITOR).
+	account		include			system-auth
+	session		include			system-auth
+	EOF
+	newpamd "${T}"/fcrontab.pam fcrontab
+
+	newinitd "${FILESDIR}"/fcron.init.3 fcron
+	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
+
+	dodoc MANIFEST VERSION "${FILESDIR}"/crontab \
+		doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt
+	newdoc files/fcron.conf fcron.conf.sample
+	dohtml doc/en/HTML/*.html
+	doman doc/en/man/*.{1,5,8}
+
+	for lang in fr; do
+		use linguas_${lang} || continue
+
+		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8} || die
+		docinto html/${lang}
+		dohtml doc/${lang}/HTML/*.html || die
+	done
+}
+
+pkg_postinst() {
+	elog "If it's the first time you install fcron make sure to execute"
+	elog "  emerge --config ${CATEGORY}/${PN}"
+	elog "to configure the proper settings."
+	if ! use system-crontab; then
+		echo ""
+		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
+		echo ""
+	fi
+}
+
+pkg_config() {
+	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
+		eerror "We're not going to make any change to your systab as long as"
+		eerror "it contains data; please clear it before proceeding."
+		return 1
+	fi
+
+	if use system-crontab; then
+		elog "This is going to set up fcron to execute check_system_crontabs."
+		elog "In this configuration, you're no longer free to edit the systab"
+		elog "at your leisure, as it'll be rewritten the moment the crontabs"
+		elog "are modified."
+		/usr/libexec/check_system_crontabs -v -i -f
+	else
+		elog "This is going to set up fcron to set up a default systab that"
+		elog "executes /etc/cron.{hourly,daily,weekly,monthly}."
+		fcrontab -u systab - <<- EOF
+		0  *  * * *      rm -f /var/spool/cron/lastrun/cron.hourly
+		1  3  * * *      rm -f /var/spool/cron/lastrun/cron.daily
+		15 4  * * 6      rm -f /var/spool/cron/lastrun/cron.weekly
+		30 5  1 * *      rm -f /var/spool/cron/lastrun/cron.monthly
+		EOF
+	fi
+}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-05-19 17:48 Mike Frysinger
  0 siblings, 0 replies; 52+ messages in thread
From: Mike Frysinger @ 2016-05-19 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     b75c163df4e20ede10b6d566cdd74b82d2a7198c
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 17:47:21 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu May 19 17:48:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b75c163d

sys-process/fcron: drop bash dep #580274

We install the POSIX shell version of check_system_crontabs now.

 sys-process/fcron/fcron-3.1.1.ebuild    | 2 --
 sys-process/fcron/fcron-3.1.2-r2.ebuild | 2 --
 sys-process/fcron/fcron-3.2.0.ebuild    | 2 --
 3 files changed, 6 deletions(-)

diff --git a/sys-process/fcron/fcron-3.1.1.ebuild b/sys-process/fcron/fcron-3.1.1.ebuild
index 99605e4..357683b 100644
--- a/sys-process/fcron/fcron-3.1.1.ebuild
+++ b/sys-process/fcron/fcron-3.1.1.ebuild
@@ -21,9 +21,7 @@ DEPEND="selinux? ( sys-libs/libselinux )
 	pam? ( virtual/pam )
 	readline? ( sys-libs/readline )"
 
-# see bug 282214 for the reason to depend on bash
 RDEPEND="${DEPEND}
-	app-shells/bash
 	>=app-misc/editor-wrapper-3
 	pam? ( >=sys-auth/pambase-20100310 )"
 

diff --git a/sys-process/fcron/fcron-3.1.2-r2.ebuild b/sys-process/fcron/fcron-3.1.2-r2.ebuild
index 64a269b..b6d86b5 100644
--- a/sys-process/fcron/fcron-3.1.2-r2.ebuild
+++ b/sys-process/fcron/fcron-3.1.2-r2.ebuild
@@ -22,9 +22,7 @@ DEPEND="selinux? ( sys-libs/libselinux )
 	pam? ( virtual/pam )
 	readline? ( sys-libs/readline )"
 
-# see bug 282214 for the reason to depend on bash
 RDEPEND="${DEPEND}
-	app-shells/bash
 	>=app-misc/editor-wrapper-3
 	pam? ( >=sys-auth/pambase-20100310 )"
 

diff --git a/sys-process/fcron/fcron-3.2.0.ebuild b/sys-process/fcron/fcron-3.2.0.ebuild
index 117234e..7f50be1 100644
--- a/sys-process/fcron/fcron-3.2.0.ebuild
+++ b/sys-process/fcron/fcron-3.2.0.ebuild
@@ -22,9 +22,7 @@ DEPEND="selinux? ( sys-libs/libselinux )
 	pam? ( virtual/pam )
 	readline? ( sys-libs/readline:= )"
 
-# see bug 282214 for the reason to depend on bash
 RDEPEND="${DEPEND}
-	app-shells/bash
 	app-misc/editor-wrapper
 	pam? ( sys-auth/pambase )"
 


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-06-25 15:57 Ulrich Müller
  0 siblings, 0 replies; 52+ messages in thread
From: Ulrich Müller @ 2016-06-25 15:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4a93562f5149d62ce4794e4961876bed2e6416fb
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 15:57:29 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 15:57:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a93562f

sys-process/fcron: Migrate from LINGUAS to L10N.

Package-Manager: portage-2.3.0

 sys-process/fcron/fcron-3.1.1.ebuild    | 6 +++---
 sys-process/fcron/fcron-3.1.2-r2.ebuild | 6 +++---
 sys-process/fcron/fcron-3.2.0.ebuild    | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-process/fcron/fcron-3.1.1.ebuild b/sys-process/fcron/fcron-3.1.1.ebuild
index 357683b..b41d4ab 100644
--- a/sys-process/fcron/fcron-3.1.1.ebuild
+++ b/sys-process/fcron/fcron-3.1.1.ebuild
@@ -15,11 +15,11 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz"
 
 LICENSE="GPL-2"
 KEYWORDS="amd64 arm hppa ia64 ~mips ppc sparc x86 ~x86-fbsd"
-IUSE="debug pam selinux linguas_fr +system-crontab readline"
+IUSE="debug pam selinux l10n_fr +system-crontab readline"
 
 DEPEND="selinux? ( sys-libs/libselinux )
 	pam? ( virtual/pam )
-	readline? ( sys-libs/readline )"
+	readline? ( sys-libs/readline:= )"
 
 RDEPEND="${DEPEND}
 	>=app-misc/editor-wrapper-3
@@ -160,7 +160,7 @@ src_install() {
 	doman doc/en/man/*.{1,5,8}
 
 	for lang in fr; do
-		use linguas_${lang} || continue
+		use l10n_${lang} || continue
 
 		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8} || die
 		docinto html/${lang}

diff --git a/sys-process/fcron/fcron-3.1.2-r2.ebuild b/sys-process/fcron/fcron-3.1.2-r2.ebuild
index b6d86b5..2bf7e56 100644
--- a/sys-process/fcron/fcron-3.1.2-r2.ebuild
+++ b/sys-process/fcron/fcron-3.1.2-r2.ebuild
@@ -15,12 +15,12 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz"
 
 LICENSE="GPL-2"
 KEYWORDS="amd64 arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
-IUSE="debug pam selinux linguas_fr +mta +system-crontab readline"
+IUSE="debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="selinux? ( sys-libs/libselinux )
 	mta? ( virtual/mta )
 	pam? ( virtual/pam )
-	readline? ( sys-libs/readline )"
+	readline? ( sys-libs/readline:= )"
 
 RDEPEND="${DEPEND}
 	>=app-misc/editor-wrapper-3
@@ -164,7 +164,7 @@ src_install() {
 	doman doc/en/man/*.{1,5,8}
 
 	for lang in fr; do
-		use linguas_${lang} || continue
+		use l10n_${lang} || continue
 
 		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8} || die
 		docinto html/${lang}

diff --git a/sys-process/fcron/fcron-3.2.0.ebuild b/sys-process/fcron/fcron-3.2.0.ebuild
index 7f50be1..341eb8f 100644
--- a/sys-process/fcron/fcron-3.2.0.ebuild
+++ b/sys-process/fcron/fcron-3.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz"
 
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="debug pam selinux linguas_fr +mta +system-crontab readline"
+IUSE="debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="selinux? ( sys-libs/libselinux )
 	mta? ( virtual/mta )
@@ -164,7 +164,7 @@ src_install() {
 	doman doc/en/man/*.{1,5,8}
 
 	for lang in fr; do
-		use linguas_${lang} || continue
+		use l10n_${lang} || continue
 
 		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8} || die
 		docinto html/${lang}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-08-07  9:30 Pacho Ramos
  0 siblings, 0 replies; 52+ messages in thread
From: Pacho Ramos @ 2016-08-07  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     40fdf3cd81ea849cc2df1bf0699fa20782af43af
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 09:18:04 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 09:29:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40fdf3cd

sys-process/fcron: Cleanup per bug #85210

Package-Manager: portage-2.3.0

 sys-process/fcron/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index db61aa6..f1b77af 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -1,9 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>flameeyes@gentoo.org</email>
-	</maintainer>
 	<maintainer type="project">
 		<email>cron-bugs@gentoo.org</email>
 		<name>Gentoo Cron Project</name>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2016-11-17 22:00 Thomas Deutschmann
  0 siblings, 0 replies; 52+ messages in thread
From: Thomas Deutschmann @ 2016-11-17 22:00 UTC (permalink / raw
  To: gentoo-commits

commit:     bb7670f0cbadf22199f990b6f9d87ea1ee961e9d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 21:37:53 2016 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 22:00:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7670f0

sys-process/fcron: Add myself as maintainer

Package-Manager: portage-2.3.2

 sys-process/fcron/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index f1b77af..0a8d8d7 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+	<maintainer type="person">
+		<email>whissi@gentoo.org</email>
+		<name>Thomas Deutschmann</name>
+	</maintainer>
 	<maintainer type="project">
 		<email>cron-bugs@gentoo.org</email>
 		<name>Gentoo Cron Project</name>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-01-11 11:34 Aaron Bauman
  0 siblings, 0 replies; 52+ messages in thread
From: Aaron Bauman @ 2017-01-11 11:34 UTC (permalink / raw
  To: gentoo-commits

commit:     9c3e7aebd4388ebc0c98360b06e61f277e85544b
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 11:34:12 2017 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 11:34:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3e7aeb

sys-process/fcron: amd64 stable

Package-Manager: portage-2.3.0

 sys-process/fcron/fcron-3.2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index f3988dc..162ae71 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-02-18 18:59 Markus Meier
  0 siblings, 0 replies; 52+ messages in thread
From: Markus Meier @ 2017-02-18 18:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f74269b36f42205cd04bdf56f90bb0a64e9f591e
Author:     Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 18:59:01 2017 +0000
Commit:     Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 18:59:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74269b3

sys-process/fcron: arm stable, bug #605328

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-process/fcron/fcron-3.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index bf0c6aae5b..691fc990db 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="amd64 arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-03-08  5:30 Jeroen Roovers
  0 siblings, 0 replies; 52+ messages in thread
From: Jeroen Roovers @ 2017-03-08  5:30 UTC (permalink / raw
  To: gentoo-commits

commit:     bf98758501f287246639d30df82b5207074d13a2
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  8 05:29:22 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 05:29:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf987585

sys-process/fcron: Stable for HPPA (bug #605328).

Package-Manager: Portage-2.3.4, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 sys-process/fcron/fcron-3.2.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index 59100c18728..20b933e1b28 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-06-09 10:54 Thomas Deutschmann
  0 siblings, 0 replies; 52+ messages in thread
From: Thomas Deutschmann @ 2017-06-09 10:54 UTC (permalink / raw
  To: gentoo-commits

commit:     864f7ee07715bdaf3a5681e042b7d93c814c5021
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 10:54:27 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 10:54:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864f7ee0

sys-process/fcron: Add v3.3.0 beta (bug #621200)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-process/fcron/Manifest                |   1 +
 sys-process/fcron/fcron-3.3.0_beta.ebuild | 260 ++++++++++++++++++++++++++++++
 2 files changed, 261 insertions(+)

diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 405a72e3c83..3669e99fdcc 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1 +1,2 @@
 DIST fcron-3.2.1.src.tar.gz 601142 SHA256 6114d0a39a32853669c0c0ba0f96d92920e7cabca3ff1edf37d25750403e5f6a SHA512 ddfd3e3a297b843c924aacccffaa5c1c6b300497f39daa1cdb90dc4cf4bc757042b0b2c1f055c119c8128c64d830ee0e8757091610432f5ffcacca25d369e5cd WHIRLPOOL 39b44f88b09be40705ca5d1f421aa4bff6d9a00fbcb572b9012fb1dd65a24c3b1b746196e722bc544a6c0db062625d9981c60956a7fb7c34e6cb630202bd5a2b
+DIST fcron-3.3.0_beta.tar.gz 592481 SHA256 9aead33a0926e2eec123698c502114c6d67b483fe1ec232969fae6809b0bab60 SHA512 e5b76e23af774997d9ee1ef58d17009cea95d10b19a2d22b550b178a39bb7c439c055b440eb99c4286db6622901e5deb029318e4425e8cd098766452ffc15bc6 WHIRLPOOL ec814a8d23263539623ef6f3415313b80f22353c5ca72d556a537e4c46ca98818dbebf79966138c1de9e1f071478e782e01d9e3139fc9b75e981b3807e069a91

diff --git a/sys-process/fcron/fcron-3.3.0_beta.ebuild b/sys-process/fcron/fcron-3.3.0_beta.ebuild
new file mode 100644
index 00000000000..0ec297cae21
--- /dev/null
+++ b/sys-process/fcron/fcron-3.3.0_beta.ebuild
@@ -0,0 +1,260 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+WANT_AUTOMAKE=none
+
+inherit cron pam flag-o-matic user autotools versionator systemd
+
+MY_PV=${PV/_beta/}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
+HOMEPAGE="http://fcron.free.fr/"
+SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
+
+DEPEND="audit? ( sys-process/audit )
+	pam? ( virtual/pam )
+	readline? ( sys-libs/readline:= )
+	selinux? ( sys-libs/libselinux )"
+
+RDEPEND="${DEPEND}
+	app-misc/editor-wrapper
+	mta? ( virtual/mta )
+	pam? ( sys-auth/pambase )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
+	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	enewgroup fcron
+	enewuser fcron -1 -1 -1 fcron
+	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
+	[[ ${rootuser} ]] || rootuser=root
+	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
+	[[ ${rootgroup} ]] || rootgroup=root
+}
+
+src_prepare() {
+	default
+
+	# respect LDFLAGS
+	sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
+
+	# Adjust fcrontab path
+	sed -i -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' script/check_system_crontabs.sh || die
+
+	mv configure.in configure.ac || die
+
+	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
+
+	eautoconf
+}
+
+src_configure() {
+	# Don't try to pass --with-debug as it'll play with cflags as
+	# well, and run foreground which is a _very_ nasty idea for
+	# Gentoo.
+	use debug && append-cppflags -DDEBUG
+
+	# bindir is used just for calling fcronsighup
+	econf \
+		--with-cflags="${CFLAGS}" \
+		--bindir=/usr/libexec \
+		--sbindir=/usr/libexec \
+		$(use_with audit) \
+		$(use_with mta sendmail) \
+		$(use_with pam) \
+		$(use_with readline) \
+		$(use_with selinux) \
+		--sysconfdir=/etc/fcron \
+		--with-username=fcron \
+		--with-groupname=fcron \
+		--with-piddir=/run \
+		--with-spooldir=/var/spool/fcron \
+		--with-fifodir=/run \
+		--with-fcrondyn=yes \
+		--disable-checks \
+		--with-editor=/usr/libexec/editor \
+		--with-shell=/bin/sh \
+		--without-db2man \
+		--without-dsssl-dir \
+		--with-rootname=${rootuser} \
+		--with-rootgroup=${rootgroup} \
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+src_compile() {
+	default
+
+	# bug #216460
+	sed -i \
+		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
+		-e 's:/usr/local/etc:/etc:g' \
+		-e 's:/usr/local/:/usr/:g' \
+		doc/*/*/*.{txt,1,5,8,html} \
+		|| die "unable to fix documentation references"
+}
+
+src_install() {
+	keepdir /var/spool/fcron
+
+	exeinto /usr/libexec
+	doexe fcron fcronsighup
+
+	dobin fcrondyn fcrontab
+
+	insinto /etc/fcron
+	doins files/fcron.{allow,deny,conf}
+
+	if use system-crontab; then
+		dosym fcrontab /usr/bin/crontab
+
+		exeinto /usr/libexec
+		newexe script/check_system_crontabs.sh check_system_crontabs
+
+		insinto /etc/fcron
+		newins "${FILESDIR}"/fcrontab.2 fcrontab
+
+		fowners ${rootuser}:fcron /etc/fcron/fcrontab
+		fperms 0640 /etc/fcron/fcrontab
+
+		insinto /etc
+		newins "${FILESDIR}"/crontab.2 crontab
+	fi
+
+	fowners fcron:fcron \
+		/var/spool/fcron \
+		/usr/bin/fcron{dyn,tab}
+
+	# fcronsighup needs to be suid root, because it sends a HUP to the
+	# running fcron daemon, but only has to be called by the fcron group
+	# anyway
+	fowners ${rootuser}:fcron \
+		/usr/libexec/fcronsighup \
+		/etc/fcron/fcron.{allow,deny,conf} \
+		/etc/fcron
+
+	fperms 6770 /var/spool/fcron
+	fperms 6775 /usr/bin/fcron{dyn,tab}
+
+	fperms 4710 /usr/libexec/fcronsighup
+
+	fperms 0750 /etc/fcron
+	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
+
+	pamd_mimic system-services fcron auth account session
+	cat > "${T}"/fcrontab.pam <<- EOF
+	# Don't ask for the user's password; fcrontab will only allow to
+	# change user if running as root.
+	auth		sufficient		pam_permit.so
+
+	# Still use the system-auth stack for account and session as the
+	# sysadmin might have set up stuff properly, and also avoids
+	# sidestepping limits (since fcrontab will run \$EDITOR).
+	account		include			system-auth
+	session		include			system-auth
+	EOF
+	newpamd "${T}"/fcrontab.pam fcrontab
+
+	newinitd "${FILESDIR}"/fcron.init.4 fcron
+	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
+
+	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
+	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
+
+	local HTML_DOCS=( doc/en/HTML/. )
+
+	einstalldocs
+
+	newdoc files/fcron.conf fcron.conf.sample
+	doman doc/en/man/*.{1,5,8}
+
+	for lang in fr; do
+		use l10n_${lang} || continue
+
+		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
+
+		docinto html/${lang}
+		dodoc -r doc/${lang}/HTML/.
+	done
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		# This is a new installation
+		elog "Make sure you execute"
+		elog ""
+		elog "  # emerge --config ${CATEGORY}/${PN}"
+		elog ""
+		elog "to install the default systab on this system."
+	else
+		local v
+		for v in ${REPLACING_VERSIONS}; do
+			if ! version_is_at_least "3.2.1" ${v}; then
+				# This is an upgrade
+
+				elog "fcron's default systab was updated since your last installation."
+				elog "You can use"
+				elog ""
+				elog "  # emerge --config ${CATEGORY}/${PN}"
+				elog ""
+				elog "to re-install systab (do not call this command before you"
+				elog "have merged your configuration files)."
+
+				# Show this elog only once
+				break
+			fi
+		done
+	fi
+
+	if ! use system-crontab; then
+		echo ""
+		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
+		ewarn "due to USE=-system-crontab!"
+		echo ""
+	fi
+}
+
+pkg_config() {
+	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
+		eerror "We're not going to make any change to your systab as long as"
+		eerror "it contains data; please clear it before proceeding."
+		eerror "You can do that with"
+		eerror ""
+		eerror "  # fcrontab -u systab -r"
+		eerror ""
+		eerror "However you are advised to do this by hand to review existing"
+		eerror "systab just in case."
+		return 1
+	fi
+
+	if use system-crontab; then
+		elog "This is going to set up fcron to execute check_system_crontabs."
+		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
+		elog "Per default fcron will check for modifications every 10 minutes."
+		/usr/libexec/check_system_crontabs -v -i -f
+	else
+		elog "This is going to set up fcron to set up a default systab that"
+		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
+		elog "/etc/crontab and /etc/cron.d."
+		fcrontab -u systab - <<- EOF
+		!serial(true)
+		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
+		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
+		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
+		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
+		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
+		!serial(false)
+		EOF
+	fi
+}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-11-26 23:26 David Seifert
  0 siblings, 0 replies; 52+ messages in thread
From: David Seifert @ 2017-11-26 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     6c01502814b28957a0244129a4037f063ed10593
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 13:03:06 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 23:25:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c015028

sys-process/fcron: [QA] Consistent whitespace in metadata.xml

 sys-process/fcron/metadata.xml | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index 0a8d8d7a3e5..1eeec4c614d 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -11,24 +11,24 @@
 	</maintainer>
 	<use>
 		<flag name="debug">
-      Enable debug code and output. Since version 3.0.5 this will no
-      longer force foreground execution, and fcron will be able to run
-      as a service properly.
-    </flag>
+			Enable debug code and output. Since version 3.0.5 this will no
+			longer force foreground execution, and fcron will be able to run
+			as a service properly.
+		</flag>
 		<flag name="mta">
-      Enable mta support for sending emails from fcron
-    </flag>
+			Enable mta support for sending emails from fcron
+		</flag>
 		<flag name="pam">
-      Enable PAM support for fcron. This means that fcron will pass
-      through the "fcron" stack before executing the jobs, and
-      fcrontab will use the "fcrontab" stack to authenticate the user
-      before editing its crontab file.
-    </flag>
+			Enable PAM support for fcron. This means that fcron will pass
+			through the "fcron" stack before executing the jobs, and
+			fcrontab will use the "fcrontab" stack to authenticate the user
+			before editing its crontab file.
+		</flag>
 		<flag name="system-crontab">
-      Set up fcron to respect /etc/crontab and /etc/cron.d. If this
-      flag is disabled, /etc/cron.d and /etc/crontab will be ignored,
-      but /etc/cron.{hourly,daily,weekly,monthly} will still be
-      respected.
-    </flag>
+			Set up fcron to respect /etc/crontab and /etc/cron.d. If this
+			flag is disabled, /etc/cron.d and /etc/crontab will be ignored,
+			but /etc/cron.{hourly,daily,weekly,monthly} will still be
+			respected.
+		</flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2017-12-20 17:41 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2017-12-20 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b4e33b180952982375054288b33e0c624a9b8178
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 17:13:31 2017 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 17:41:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e33b18

sys-process/fcron: added myself to the metadata.xml

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-process/fcron/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index 1eeec4c614d..197ff1d0806 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -5,6 +5,10 @@
 		<email>whissi@gentoo.org</email>
 		<name>Thomas Deutschmann</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>blueness@gentoo.org</email>
+		<name>Anthony G. Basile</name>
+	</maintainer>
 	<maintainer type="project">
 		<email>cron-bugs@gentoo.org</email>
 		<name>Gentoo Cron Project</name>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2019-10-12 18:17 Mikle Kolyada
  0 siblings, 0 replies; 52+ messages in thread
From: Mikle Kolyada @ 2019-10-12 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     8dd7e0e14c817672f2c37ac783063485e79d665d
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 18:17:10 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 18:17:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd7e0e1

sys-process/fcron: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r1.ebuild      | 4 ++--
 sys-process/fcron/fcron-3.2.1-r3.ebuild      | 4 ++--
 sys-process/fcron/fcron-3.3.0_beta-r1.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index 10317a200e6..846cb64e2ce 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,7 +16,7 @@ KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )
-	pam? ( virtual/pam )
+	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"
 

diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild
index e985a1f713d..4ddaac2cf7f 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )
-	pam? ( virtual/pam )
+	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"
 

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
index f842946849e..ca2a152f403 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -19,7 +19,7 @@ KEYWORDS=""
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )
-	pam? ( virtual/pam )
+	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"
 


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2020-10-28 16:44 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2020-10-28 16:44 UTC (permalink / raw
  To: gentoo-commits

commit:     987e59fe0b2df731022837a42a08be87fe4ab474
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 16:43:14 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 16:44:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987e59fe

sys-process/fcron: Keyword 3.2.1-r3 arm64, #747175

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild
index 4ddaac2cf7f..8ca7c91051c 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2020-12-22 16:29 Thomas Deutschmann
  0 siblings, 0 replies; 52+ messages in thread
From: Thomas Deutschmann @ 2020-12-22 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     468a6c93a0cb8b9bacab7b388bb5417bf26e3e65
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 16:03:04 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 16:28:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468a6c93

sys-process/fcron: rollover stable keywords

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild
index 8ca7c91051c..58691340016 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r3.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="audit? ( sys-process/audit )


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-01-22 21:19 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-01-22 21:19 UTC (permalink / raw
  To: gentoo-commits

commit:     21a41a187a3eb57511fde8278f0153d91047cdb8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 21:19:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 21:19:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a41a18

sys-process/fcron: install pam files conditionally

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r1.ebuild      | 6 +++---
 sys-process/fcron/fcron-3.2.1-r3.ebuild      | 6 +++---
 sys-process/fcron/fcron-3.3.0_beta-r1.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r1.ebuild
index 7e07ebb433d..e1c90a0def3 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -147,7 +147,7 @@ src_install() {
 	fperms 0750 /etc/fcron
 	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
 
-	pamd_mimic system-services fcron auth account session
+	use pam && pamd_mimic system-services fcron auth account session
 	cat > "${T}"/fcrontab.pam <<- EOF
 	# Don't ask for the user's password; fcrontab will only allow to
 	# change user if running as root.
@@ -159,7 +159,7 @@ src_install() {
 	account		include			system-auth
 	session		include			system-auth
 	EOF
-	newpamd "${T}"/fcrontab.pam fcrontab
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
 
 	newinitd "${FILESDIR}"/fcron.init.4 fcron
 	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service

diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r3.ebuild
index e4ae261689b..a564610b6fc 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -148,7 +148,7 @@ src_install() {
 	fperms 0750 /etc/fcron
 	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
 
-	pamd_mimic system-services fcron auth account session
+	use pam && pamd_mimic system-services fcron auth account session
 	cat > "${T}"/fcrontab.pam <<- EOF
 	# Don't ask for the user's password; fcrontab will only allow to
 	# change user if running as root.
@@ -160,7 +160,7 @@ src_install() {
 	account		include			system-auth
 	session		include			system-auth
 	EOF
-	newpamd "${T}"/fcrontab.pam fcrontab
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
 
 	newinitd "${FILESDIR}"/fcron.init-r5 fcron
 	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
index ca2a152f403..0e7915a8d60 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -153,7 +153,7 @@ src_install() {
 	fperms 0750 /etc/fcron
 	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
 
-	pamd_mimic system-services fcron auth account session
+	use pam && pamd_mimic system-services fcron auth account session
 	cat > "${T}"/fcrontab.pam <<- EOF
 	# Don't ask for the user's password; fcrontab will only allow to
 	# change user if running as root.
@@ -165,7 +165,7 @@ src_install() {
 	account		include			system-auth
 	session		include			system-auth
 	EOF
-	newpamd "${T}"/fcrontab.pam fcrontab
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
 
 	newinitd "${FILESDIR}"/fcron.init-r5 fcron
 	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-02-24 21:03 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-02-24 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     44d3e0f4bda6d0f6a48d0c748b24a32507cb5c97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 21:02:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 21:03:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d3e0f4

sys-process/fcron: add github remote-id

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index cb0e5273483..31d35a44a27 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -31,4 +31,7 @@
 			respected.
 		</flag>
 	</use>
+	<upstream>
+		<remote-id type="github">yo8192/fcron</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-06-25 19:32 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-06-25 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     4a061113a658451af9e27b91a85572f18dfe8a1d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 01:56:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 19:31:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a061113

sys-process/fcron: add virtual/libcrypt dependency

Needed for upcoming libxcrypt migration.

Acked-by: David Seifert <soap <AT> gentoo.org>
Reported-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/{fcron-3.2.1-r1.ebuild => fcron-3.2.1-r4.ebuild}     | 3 ++-
 sys-process/fcron/{fcron-3.2.1-r3.ebuild => fcron-3.2.1-r5.ebuild}     | 3 ++-
 .../fcron/{fcron-3.3.0_beta-r1.ebuild => fcron-3.3.0_beta-r2.ebuild}   | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r1.ebuild b/sys-process/fcron/fcron-3.2.1-r4.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.2.1-r1.ebuild
rename to sys-process/fcron/fcron-3.2.1-r4.ebuild
index e1c90a0def3..1c7ecc01a74 100644
--- a/sys-process/fcron/fcron-3.2.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r4.ebuild
@@ -15,7 +15,8 @@ LICENSE="GPL-2"
 KEYWORDS="amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
-DEPEND="audit? ( sys-process/audit )
+DEPEND="virtual/libcrypt:=
+	audit? ( sys-process/audit )
 	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"

diff --git a/sys-process/fcron/fcron-3.2.1-r3.ebuild b/sys-process/fcron/fcron-3.2.1-r5.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.2.1-r3.ebuild
rename to sys-process/fcron/fcron-3.2.1-r5.ebuild
index a564610b6fc..fefe1afcd1b 100644
--- a/sys-process/fcron/fcron-3.2.1-r3.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r5.ebuild
@@ -15,7 +15,8 @@ LICENSE="GPL-2"
 KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
-DEPEND="audit? ( sys-process/audit )
+DEPEND="virtual/libcrypt:=
+	audit? ( sys-process/audit )
 	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
rename to sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
index 0e7915a8d60..f670bb69dd3 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
@@ -18,7 +18,8 @@ LICENSE="GPL-2"
 KEYWORDS=""
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
-DEPEND="audit? ( sys-process/audit )
+DEPEND="virtual/libcrypt:=
+	audit? ( sys-process/audit )
 	pam? ( sys-libs/pam )
 	readline? ( sys-libs/readline:= )
 	selinux? ( sys-libs/libselinux )"


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-07-21  2:22 Yixun Lan
  0 siblings, 0 replies; 52+ messages in thread
From: Yixun Lan @ 2021-07-21  2:22 UTC (permalink / raw
  To: gentoo-commits

commit:     f9642c6d8f1fb130758da0335991ca09506a9970
Author:     Alex Fan <alexfanqi <AT> yahoo <DOT> com>
AuthorDate: Mon Jul 19 00:39:15 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jul 21 02:20:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9642c6d

sys-process/fcron: keyword 3.2.1-r5 for ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Fan <alexfanqi <AT> yahoo.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r5.ebuild b/sys-process/fcron/fcron-3.2.1-r5.ebuild
index fefe1afcd1b..d6ec5a35ddc 100644
--- a/sys-process/fcron/fcron-3.2.1-r5.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r5.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="virtual/libcrypt:=


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-08-05  2:49 Yixun Lan
  0 siblings, 0 replies; 52+ messages in thread
From: Yixun Lan @ 2021-08-05  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     a1d27b3bd622bf58c49062a6a876aeeed26d6467
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 02:35:30 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 02:35:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d27b3b

sys-process/fcron: keyword ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.0_beta-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
index f670bb69dd3..12fc00624ce 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS=""
+KEYWORDS="~riscv"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="virtual/libcrypt:=


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-10-19 20:26 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2021-10-19 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     b9d9761d3fc5fd321bcd3b4e283dd091b3748a0b
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 19 20:17:28 2021 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Oct 19 20:24:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d9761d

sys-process/fcron: migrate to glep 81

Also updated to EAPI 7.

Bug: https://bugs.gentoo.org/781518
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r6.ebuild      | 266 ++++++++++++++++++++++++++
 sys-process/fcron/fcron-3.3.0_beta-r3.ebuild | 270 +++++++++++++++++++++++++++
 2 files changed, 536 insertions(+)

diff --git a/sys-process/fcron/fcron-3.2.1-r6.ebuild b/sys-process/fcron/fcron-3.2.1-r6.ebuild
new file mode 100644
index 00000000000..eee51e1d3c3
--- /dev/null
+++ b/sys-process/fcron/fcron-3.2.1-r6.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WANT_AUTOMAKE="none"
+
+inherit autotools cron flag-o-matic pam systemd
+
+DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
+HOMEPAGE="http://fcron.free.fr/"
+SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
+
+DEPEND="
+	acct-group/fcron
+	acct-user/fcron
+	virtual/libcrypt:=
+	audit? ( sys-process/audit )
+	pam? ( sys-libs/pam )
+	readline? ( sys-libs/readline:= )
+	selinux? ( sys-libs/libselinux )
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/editor-wrapper
+	mta? ( virtual/mta )
+	pam? ( sys-auth/pambase )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
+	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
+	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
+)
+
+pkg_setup() {
+	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
+	[[ ${rootuser} ]] || rootuser=root
+	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
+	[[ ${rootgroup} ]] || rootgroup=root
+}
+
+src_prepare() {
+	default
+
+	# respect LDFLAGS
+	sed "s:\(@LIBS@\):\$(LDFLAGS) \1:" -i Makefile.in || die "sed failed"
+
+	# Adjust fcrontab path
+	sed -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' -i script/check_system_crontabs.sh || die
+
+	mv configure.in configure.ac || die
+
+	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
+
+	eautoconf
+}
+
+src_configure() {
+	# Don't try to pass --with-debug as it'll play with cflags as
+	# well, and run foreground which is a _very_ nasty idea for
+	# Gentoo.
+	use debug && append-cppflags -DDEBUG
+
+	# bindir is used just for calling fcronsighup
+	local myeconfargs=(
+		--with-cflags="${CFLAGS}"
+		--bindir=/usr/libexec
+		--sbindir=/usr/libexec
+		$(use_with audit)
+		$(use_with mta sendmail)
+		$(use_with pam)
+		$(use_with readline)
+		$(use_with selinux)
+		--sysconfdir=/etc/fcron
+		--with-username=fcron
+		--with-groupname=fcron
+		--with-piddir=/run
+		--with-spooldir=/var/spool/fcron
+		--with-fifodir=/run
+		--with-fcrondyn=yes
+		--disable-checks
+		--with-editor=/usr/libexec/editor
+		--with-shell=/bin/sh
+		--without-db2man
+		--without-dsssl-dir
+		--with-rootname=${rootuser}
+		--with-rootgroup=${rootgroup}
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	# bug #216460
+	sed \
+		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
+		-e 's:/usr/local/etc:/etc:g' \
+		-e 's:/usr/local/:/usr/:g' \
+		-i doc/*/*/*.{txt,1,5,8,html} \
+		|| die "unable to fix documentation references"
+}
+
+src_install() {
+	keepdir /var/spool/fcron
+
+	exeinto /usr/libexec
+	doexe fcron fcronsighup
+
+	dobin fcrondyn fcrontab
+
+	insinto /etc/fcron
+	doins files/fcron.{allow,deny,conf}
+
+	if use system-crontab; then
+		dosym fcrontab /usr/bin/crontab
+
+		exeinto /usr/libexec
+		newexe script/check_system_crontabs.sh check_system_crontabs
+
+		insinto /etc/fcron
+		newins "${FILESDIR}"/fcrontab.2 fcrontab
+
+		fowners ${rootuser}:fcron /etc/fcron/fcrontab
+		fperms 0640 /etc/fcron/fcrontab
+
+		insinto /etc
+		newins "${FILESDIR}"/crontab.2 crontab
+	fi
+
+	fowners fcron:fcron \
+		/var/spool/fcron \
+		/usr/bin/fcron{dyn,tab}
+
+	# fcronsighup needs to be suid root, because it sends a HUP to the
+	# running fcron daemon, but only has to be called by the fcron group
+	# anyway
+	fowners ${rootuser}:fcron \
+		/usr/libexec/fcronsighup \
+		/etc/fcron/fcron.{allow,deny,conf} \
+		/etc/fcron
+
+	fperms 6770 /var/spool/fcron
+	fperms 6775 /usr/bin/fcron{dyn,tab}
+
+	fperms 4710 /usr/libexec/fcronsighup
+
+	fperms 0750 /etc/fcron
+	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
+
+	use pam && pamd_mimic system-services fcron auth account session
+	cat > "${T}"/fcrontab.pam <<- EOF
+	# Don't ask for the user's password; fcrontab will only allow to
+	# change user if running as root.
+	auth		sufficient		pam_permit.so
+
+	# Still use the system-auth stack for account and session as the
+	# sysadmin might have set up stuff properly, and also avoids
+	# sidestepping limits (since fcrontab will run \$EDITOR).
+	account		include			system-auth
+	session		include			system-auth
+	EOF
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
+
+	newinitd "${FILESDIR}"/fcron.init-r5 fcron
+	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
+
+	newconfd "${FILESDIR}"/fcron.confd fcron
+
+	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
+	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
+
+	local HTML_DOCS=( doc/en/HTML/. )
+
+	einstalldocs
+
+	newdoc files/fcron.conf fcron.conf.sample
+	doman doc/en/man/*.{1,5,8}
+
+	for lang in fr; do
+		use l10n_${lang} || continue
+
+		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
+
+		docinto html/${lang}
+		dodoc -r doc/${lang}/HTML/.
+	done
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		# This is a new installation
+		elog "Make sure you execute"
+		elog ""
+		elog "  # emerge --config ${CATEGORY}/${PN}"
+		elog ""
+		elog "to install the default systab on this system."
+	else
+		local v
+		for v in ${REPLACING_VERSIONS}; do
+			if ! version_is_at_least "3.2.1" ${v}; then
+				# This is an upgrade
+
+				elog "fcron's default systab was updated since your last installation."
+				elog "You can use"
+				elog ""
+				elog "  # emerge --config ${CATEGORY}/${PN}"
+				elog ""
+				elog "to re-install systab (do not call this command before you"
+				elog "have merged your configuration files)."
+
+				# Show this elog only once
+				break
+			fi
+		done
+	fi
+
+	if ! use system-crontab; then
+		echo ""
+		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
+		ewarn "due to USE=-system-crontab!"
+		echo ""
+	fi
+}
+
+pkg_config() {
+	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
+		eerror "We're not going to make any change to your systab as long as"
+		eerror "it contains data; please clear it before proceeding."
+		eerror "You can do that with"
+		eerror ""
+		eerror "  # fcrontab -u systab -r"
+		eerror ""
+		eerror "However you are advised to do this by hand to review existing"
+		eerror "systab just in case."
+		return 1
+	fi
+
+	if use system-crontab; then
+		elog "This is going to set up fcron to execute check_system_crontabs."
+		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
+		elog "Per default fcron will check for modifications every 10 minutes."
+		/usr/libexec/check_system_crontabs -v -i -f
+	else
+		elog "This is going to set up fcron to set up a default systab that"
+		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
+		elog "/etc/crontab and /etc/cron.d."
+		fcrontab -u systab - <<- EOF
+		!serial(true)
+		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
+		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
+		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
+		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
+		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
+		!serial(false)
+		EOF
+	fi
+}

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
new file mode 100644
index 00000000000..7af1483a4c8
--- /dev/null
+++ b/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
@@ -0,0 +1,270 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WANT_AUTOMAKE="none"
+
+inherit autotools cron flag-o-matic pam systemd
+
+MY_PV="${PV/_beta/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
+HOMEPAGE="http://fcron.free.fr/"
+SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+KEYWORDS="~riscv"
+IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
+
+DEPEND="
+	acct-group/fcron
+	acct-user/fcron
+	virtual/libcrypt:=
+	audit? ( sys-process/audit )
+	pam? ( sys-libs/pam )
+	readline? ( sys-libs/readline:= )
+	selinux? ( sys-libs/libselinux )
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/editor-wrapper
+	mta? ( virtual/mta )
+	pam? ( sys-auth/pambase )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
+	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
+	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
+)
+
+pkg_setup() {
+	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
+	[[ ${rootuser} ]] || rootuser=root
+	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
+	[[ ${rootgroup} ]] || rootgroup=root
+}
+
+src_prepare() {
+	default
+
+	# respect LDFLAGS
+	sed "s:\(@LIBS@\):\$(LDFLAGS) \1:" -i Makefile.in || die "sed failed"
+
+	# Adjust fcrontab path
+	sed -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' -i script/check_system_crontabs.sh || die
+
+	mv configure.in configure.ac || die
+
+	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
+
+	eautoconf
+}
+
+src_configure() {
+	# Don't try to pass --with-debug as it'll play with cflags as
+	# well, and run foreground which is a _very_ nasty idea for
+	# Gentoo.
+	use debug && append-cppflags -DDEBUG
+
+	# bindir is used just for calling fcronsighup
+	local myeconfargs=(
+		--with-cflags="${CFLAGS}"
+		--bindir=/usr/libexec
+		--sbindir=/usr/libexec
+		$(use_with audit)
+		$(use_with mta sendmail)
+		$(use_with pam)
+		$(use_with readline)
+		$(use_with selinux)
+		--sysconfdir=/etc/fcron
+		--with-username=fcron
+		--with-groupname=fcron
+		--with-piddir=/run
+		--with-spooldir=/var/spool/fcron
+		--with-fifodir=/run
+		--with-fcrondyn=yes
+		--disable-checks
+		--with-editor=/usr/libexec/editor
+		--with-shell=/bin/sh
+		--without-db2man
+		--without-dsssl-dir
+		--with-rootname=${rootuser}
+		--with-rootgroup=${rootgroup}
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	# bug #216460
+	sed \
+		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
+		-e 's:/usr/local/etc:/etc:g' \
+		-e 's:/usr/local/:/usr/:g' \
+		-i doc/*/*/*.{txt,1,5,8,html} \
+		|| die "unable to fix documentation references"
+}
+
+src_install() {
+	keepdir /var/spool/fcron
+
+	exeinto /usr/libexec
+	doexe fcron fcronsighup
+
+	dobin fcrondyn fcrontab
+
+	insinto /etc/fcron
+	doins files/fcron.{allow,deny,conf}
+
+	if use system-crontab; then
+		dosym fcrontab /usr/bin/crontab
+
+		exeinto /usr/libexec
+		newexe script/check_system_crontabs.sh check_system_crontabs
+
+		insinto /etc/fcron
+		newins "${FILESDIR}"/fcrontab.2 fcrontab
+
+		fowners ${rootuser}:fcron /etc/fcron/fcrontab
+		fperms 0640 /etc/fcron/fcrontab
+
+		insinto /etc
+		newins "${FILESDIR}"/crontab.2 crontab
+	fi
+
+	fowners fcron:fcron \
+		/var/spool/fcron \
+		/usr/bin/fcron{dyn,tab}
+
+	# fcronsighup needs to be suid root, because it sends a HUP to the
+	# running fcron daemon, but only has to be called by the fcron group
+	# anyway
+	fowners ${rootuser}:fcron \
+		/usr/libexec/fcronsighup \
+		/etc/fcron/fcron.{allow,deny,conf} \
+		/etc/fcron
+
+	fperms 6770 /var/spool/fcron
+	fperms 6775 /usr/bin/fcron{dyn,tab}
+
+	fperms 4710 /usr/libexec/fcronsighup
+
+	fperms 0750 /etc/fcron
+	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
+
+	use pam && pamd_mimic system-services fcron auth account session
+	cat > "${T}"/fcrontab.pam <<- EOF
+	# Don't ask for the user's password; fcrontab will only allow to
+	# change user if running as root.
+	auth		sufficient		pam_permit.so
+
+	# Still use the system-auth stack for account and session as the
+	# sysadmin might have set up stuff properly, and also avoids
+	# sidestepping limits (since fcrontab will run \$EDITOR).
+	account		include			system-auth
+	session		include			system-auth
+	EOF
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
+
+	newinitd "${FILESDIR}"/fcron.init-r5 fcron
+	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
+
+	newconfd "${FILESDIR}"/fcron.confd fcron
+
+	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
+	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
+
+	local HTML_DOCS=( doc/en/HTML/. )
+
+	einstalldocs
+
+	newdoc files/fcron.conf fcron.conf.sample
+	doman doc/en/man/*.{1,5,8}
+
+	for lang in fr; do
+		use l10n_${lang} || continue
+
+		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
+
+		docinto html/${lang}
+		dodoc -r doc/${lang}/HTML/.
+	done
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		# This is a new installation
+		elog "Make sure you execute"
+		elog ""
+		elog "  # emerge --config ${CATEGORY}/${PN}"
+		elog ""
+		elog "to install the default systab on this system."
+	else
+		local v
+		for v in ${REPLACING_VERSIONS}; do
+			if ! version_is_at_least "3.2.1" ${v}; then
+				# This is an upgrade
+
+				elog "fcron's default systab was updated since your last installation."
+				elog "You can use"
+				elog ""
+				elog "  # emerge --config ${CATEGORY}/${PN}"
+				elog ""
+				elog "to re-install systab (do not call this command before you"
+				elog "have merged your configuration files)."
+
+				# Show this elog only once
+				break
+			fi
+		done
+	fi
+
+	if ! use system-crontab; then
+		echo ""
+		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
+		ewarn "due to USE=-system-crontab!"
+		echo ""
+	fi
+}
+
+pkg_config() {
+	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
+		eerror "We're not going to make any change to your systab as long as"
+		eerror "it contains data; please clear it before proceeding."
+		eerror "You can do that with"
+		eerror ""
+		eerror "  # fcrontab -u systab -r"
+		eerror ""
+		eerror "However you are advised to do this by hand to review existing"
+		eerror "systab just in case."
+		return 1
+	fi
+
+	if use system-crontab; then
+		elog "This is going to set up fcron to execute check_system_crontabs."
+		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
+		elog "Per default fcron will check for modifications every 10 minutes."
+		/usr/libexec/check_system_crontabs -v -i -f
+	else
+		elog "This is going to set up fcron to set up a default systab that"
+		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
+		elog "/etc/crontab and /etc/cron.d."
+		fcrontab -u systab - <<- EOF
+		!serial(true)
+		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
+		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
+		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
+		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
+		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
+		!serial(false)
+		EOF
+	fi
+}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-10-20  7:30 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-10-20  7:30 UTC (permalink / raw
  To: gentoo-commits

commit:     e89d45212dbf6a8656d22a0c687fc0c5ee5e4418
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 07:30:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 07:30:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89d4521

sys-process/fcron: fix unrecognised commands

Closes: https://bugs.gentoo.org/818970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/{fcron-3.2.1-r6.ebuild => fcron-3.2.1-r7.ebuild}    | 4 ++--
 .../fcron/{fcron-3.3.0_beta-r3.ebuild => fcron-3.3.0_beta-r4.ebuild}  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r6.ebuild b/sys-process/fcron/fcron-3.2.1-r7.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.2.1-r6.ebuild
rename to sys-process/fcron/fcron-3.2.1-r7.ebuild
index eee51e1d3c3..0d71756ff30 100644
--- a/sys-process/fcron/fcron-3.2.1-r6.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 WANT_AUTOMAKE="none"
 
-inherit autotools cron flag-o-matic pam systemd
+inherit autotools cron flag-o-matic pam systemd user-info
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
 HOMEPAGE="http://fcron.free.fr/"
@@ -206,7 +206,7 @@ pkg_postinst() {
 	else
 		local v
 		for v in ${REPLACING_VERSIONS}; do
-			if ! version_is_at_least "3.2.1" ${v}; then
+			if ver_test "3.2.1" -le ${v}; then
 				# This is an upgrade
 
 				elog "fcron's default systab was updated since your last installation."

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
rename to sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
index 7af1483a4c8..857880e1ae4 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 WANT_AUTOMAKE="none"
 
-inherit autotools cron flag-o-matic pam systemd
+inherit autotools cron flag-o-matic pam systemd user-info
 
 MY_PV="${PV/_beta/}"
 MY_P="${PN}-${MY_PV}"
@@ -210,7 +210,7 @@ pkg_postinst() {
 	else
 		local v
 		for v in ${REPLACING_VERSIONS}; do
-			if ! version_is_at_least "3.2.1" ${v}; then
+			if ver_test "3.2.1" -le ${v}; then
 				# This is an upgrade
 
 				elog "fcron's default systab was updated since your last installation."


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-10-20 10:33 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-10-20 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     7a51d63c9b998e4aa55465bd094d989ef6681f1d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 10:33:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 10:33:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a51d63c

sys-process/fcron: fix ver_test operator

Closes: https://bugs.gentoo.org/818970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/{fcron-3.2.1-r7.ebuild => fcron-3.2.1-r8.ebuild}      | 2 +-
 .../fcron/{fcron-3.3.0_beta-r4.ebuild => fcron-3.3.0_beta-r5.ebuild}    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r7.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.2.1-r7.ebuild
rename to sys-process/fcron/fcron-3.2.1-r8.ebuild
index 0d71756ff30..a9f01c0b081 100644
--- a/sys-process/fcron/fcron-3.2.1-r7.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -206,7 +206,7 @@ pkg_postinst() {
 	else
 		local v
 		for v in ${REPLACING_VERSIONS}; do
-			if ver_test "3.2.1" -le ${v}; then
+			if ver_test "3.2.1" -gt ${v}; then
 				# This is an upgrade
 
 				elog "fcron's default systab was updated since your last installation."

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
rename to sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
index 857880e1ae4..07a27b00a82 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
@@ -210,7 +210,7 @@ pkg_postinst() {
 	else
 		local v
 		for v in ${REPLACING_VERSIONS}; do
-			if ver_test "3.2.1" -le ${v}; then
+			if ver_test "3.2.1" -gt ${v}; then
 				# This is an upgrade
 
 				elog "fcron's default systab was updated since your last installation."


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-11-16  6:13 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-11-16  6:13 UTC (permalink / raw
  To: gentoo-commits

commit:     4671b4807c27f62283ea6fa48481c53a8b2662e3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 16 06:11:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 16 06:11:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4671b480

sys-process/fcron: drop ~riscv from unkeyworded-everywhere versions

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.0_beta-r2.ebuild | 2 +-
 sys-process/fcron/fcron-3.3.0_beta-r5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
index 12fc00624ce3..f670bb69dd3d 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~riscv"
+KEYWORDS=""
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="virtual/libcrypt:=

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
index 07a27b00a822..0c8a71885714 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~riscv"
+KEYWORDS=""
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-02  8:29 Andreas Sturmlechner
  0 siblings, 0 replies; 52+ messages in thread
From: Andreas Sturmlechner @ 2021-12-02  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     c6192b610d1ebe0631f5b9fbc9bbc451d32a8a3a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 10:31:48 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec  2 08:28:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6192b61

sys-process/fcron: Drop 3.2.1-r4, 3.3.0_beta-r2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r4.ebuild      | 256 --------------------------
 sys-process/fcron/fcron-3.3.0_beta-r2.ebuild | 264 ---------------------------
 2 files changed, 520 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r4.ebuild b/sys-process/fcron/fcron-3.2.1-r4.ebuild
deleted file mode 100644
index 1c7ecc01a742..000000000000
--- a/sys-process/fcron/fcron-3.2.1-r4.ebuild
+++ /dev/null
@@ -1,256 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-WANT_AUTOMAKE=none
-
-inherit cron pam flag-o-matic user autotools versionator systemd
-
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
-
-DEPEND="virtual/libcrypt:=
-	audit? ( sys-process/audit )
-	pam? ( sys-libs/pam )
-	readline? ( sys-libs/readline:= )
-	selinux? ( sys-libs/libselinux )"
-
-RDEPEND="${DEPEND}
-	app-misc/editor-wrapper
-	mta? ( virtual/mta )
-	pam? ( sys-auth/pambase )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
-)
-
-pkg_setup() {
-	enewgroup fcron
-	enewuser fcron -1 -1 -1 fcron
-	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
-	[[ ${rootuser} ]] || rootuser=root
-	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
-	[[ ${rootgroup} ]] || rootgroup=root
-}
-
-src_prepare() {
-	default
-
-	# respect LDFLAGS
-	sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
-
-	# Adjust fcrontab path
-	sed -i -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' script/check_system_crontabs.sh || die
-
-	mv configure.in configure.ac || die
-
-	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
-
-	eautoconf
-}
-
-src_configure() {
-	# Don't try to pass --with-debug as it'll play with cflags as
-	# well, and run foreground which is a _very_ nasty idea for
-	# Gentoo.
-	use debug && append-cppflags -DDEBUG
-
-	# bindir is used just for calling fcronsighup
-	econf \
-		--with-cflags="${CFLAGS}" \
-		--bindir=/usr/libexec \
-		--sbindir=/usr/libexec \
-		$(use_with audit) \
-		$(use_with mta sendmail) \
-		$(use_with pam) \
-		$(use_with readline) \
-		$(use_with selinux) \
-		--sysconfdir=/etc/fcron \
-		--with-username=fcron \
-		--with-groupname=fcron \
-		--with-piddir=/run \
-		--with-spooldir=/var/spool/fcron \
-		--with-fifodir=/run \
-		--with-fcrondyn=yes \
-		--disable-checks \
-		--with-editor=/usr/libexec/editor \
-		--with-shell=/bin/sh \
-		--without-db2man \
-		--without-dsssl-dir \
-		--with-rootname=${rootuser} \
-		--with-rootgroup=${rootgroup} \
-		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-}
-
-src_compile() {
-	default
-
-	# bug #216460
-	sed -i \
-		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
-		-e 's:/usr/local/etc:/etc:g' \
-		-e 's:/usr/local/:/usr/:g' \
-		doc/*/*/*.{txt,1,5,8,html} \
-		|| die "unable to fix documentation references"
-}
-
-src_install() {
-	keepdir /var/spool/fcron
-
-	exeinto /usr/libexec
-	doexe fcron fcronsighup
-
-	dobin fcrondyn fcrontab
-
-	insinto /etc/fcron
-	doins files/fcron.{allow,deny,conf}
-
-	if use system-crontab; then
-		dosym fcrontab /usr/bin/crontab
-
-		exeinto /usr/libexec
-		newexe script/check_system_crontabs.sh check_system_crontabs
-
-		insinto /etc/fcron
-		newins "${FILESDIR}"/fcrontab.2 fcrontab
-
-		fowners ${rootuser}:fcron /etc/fcron/fcrontab
-		fperms 0640 /etc/fcron/fcrontab
-
-		insinto /etc
-		newins "${FILESDIR}"/crontab.2 crontab
-	fi
-
-	fowners fcron:fcron \
-		/var/spool/fcron \
-		/usr/bin/fcron{dyn,tab}
-
-	# fcronsighup needs to be suid root, because it sends a HUP to the
-	# running fcron daemon, but only has to be called by the fcron group
-	# anyway
-	fowners ${rootuser}:fcron \
-		/usr/libexec/fcronsighup \
-		/etc/fcron/fcron.{allow,deny,conf} \
-		/etc/fcron
-
-	fperms 6770 /var/spool/fcron
-	fperms 6775 /usr/bin/fcron{dyn,tab}
-
-	fperms 4710 /usr/libexec/fcronsighup
-
-	fperms 0750 /etc/fcron
-	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
-
-	use pam && pamd_mimic system-services fcron auth account session
-	cat > "${T}"/fcrontab.pam <<- EOF
-	# Don't ask for the user's password; fcrontab will only allow to
-	# change user if running as root.
-	auth		sufficient		pam_permit.so
-
-	# Still use the system-auth stack for account and session as the
-	# sysadmin might have set up stuff properly, and also avoids
-	# sidestepping limits (since fcrontab will run \$EDITOR).
-	account		include			system-auth
-	session		include			system-auth
-	EOF
-	use pam && newpamd "${T}"/fcrontab.pam fcrontab
-
-	newinitd "${FILESDIR}"/fcron.init.4 fcron
-	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
-
-	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
-	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
-
-	local HTML_DOCS=( doc/en/HTML/. )
-
-	einstalldocs
-
-	newdoc files/fcron.conf fcron.conf.sample
-	doman doc/en/man/*.{1,5,8}
-
-	for lang in fr; do
-		use l10n_${lang} || continue
-
-		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
-
-		docinto html/${lang}
-		dodoc -r doc/${lang}/HTML/.
-	done
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		# This is a new installation
-		elog "Make sure you execute"
-		elog ""
-		elog "  # emerge --config ${CATEGORY}/${PN}"
-		elog ""
-		elog "to install the default systab on this system."
-	else
-		local v
-		for v in ${REPLACING_VERSIONS}; do
-			if ! version_is_at_least "3.2.1" ${v}; then
-				# This is an upgrade
-
-				elog "fcron's default systab was updated since your last installation."
-				elog "You can use"
-				elog ""
-				elog "  # emerge --config ${CATEGORY}/${PN}"
-				elog ""
-				elog "to re-install systab (do not call this command before you"
-				elog "have merged your configuration files)."
-
-				# Show this elog only once
-				break
-			fi
-		done
-	fi
-
-	if ! use system-crontab; then
-		echo ""
-		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
-		ewarn "due to USE=-system-crontab!"
-		echo ""
-	fi
-}
-
-pkg_config() {
-	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
-		eerror "We're not going to make any change to your systab as long as"
-		eerror "it contains data; please clear it before proceeding."
-		eerror "You can do that with"
-		eerror ""
-		eerror "  # fcrontab -u systab -r"
-		eerror ""
-		eerror "However you are advised to do this by hand to review existing"
-		eerror "systab just in case."
-		return 1
-	fi
-
-	if use system-crontab; then
-		elog "This is going to set up fcron to execute check_system_crontabs."
-		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
-		elog "Per default fcron will check for modifications every 10 minutes."
-		/usr/libexec/check_system_crontabs -v -i -f
-	else
-		elog "This is going to set up fcron to set up a default systab that"
-		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
-		elog "/etc/crontab and /etc/cron.d."
-		fcrontab -u systab - <<- EOF
-		!serial(true)
-		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
-		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
-		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
-		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
-		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
-		!serial(false)
-		EOF
-	fi
-}

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild b/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
deleted file mode 100644
index f670bb69dd3d..000000000000
--- a/sys-process/fcron/fcron-3.3.0_beta-r2.ebuild
+++ /dev/null
@@ -1,264 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-WANT_AUTOMAKE=none
-
-inherit cron pam flag-o-matic user autotools versionator systemd
-
-MY_PV=${PV/_beta/}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS=""
-IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
-
-DEPEND="virtual/libcrypt:=
-	audit? ( sys-process/audit )
-	pam? ( sys-libs/pam )
-	readline? ( sys-libs/readline:= )
-	selinux? ( sys-libs/libselinux )"
-
-RDEPEND="${DEPEND}
-	app-misc/editor-wrapper
-	mta? ( virtual/mta )
-	pam? ( sys-auth/pambase )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
-	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
-)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-	enewgroup fcron
-	enewuser fcron -1 -1 -1 fcron
-	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
-	[[ ${rootuser} ]] || rootuser=root
-	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
-	[[ ${rootgroup} ]] || rootgroup=root
-}
-
-src_prepare() {
-	default
-
-	# respect LDFLAGS
-	sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
-
-	# Adjust fcrontab path
-	sed -i -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' script/check_system_crontabs.sh || die
-
-	mv configure.in configure.ac || die
-
-	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
-
-	eautoconf
-}
-
-src_configure() {
-	# Don't try to pass --with-debug as it'll play with cflags as
-	# well, and run foreground which is a _very_ nasty idea for
-	# Gentoo.
-	use debug && append-cppflags -DDEBUG
-
-	# bindir is used just for calling fcronsighup
-	econf \
-		--with-cflags="${CFLAGS}" \
-		--bindir=/usr/libexec \
-		--sbindir=/usr/libexec \
-		$(use_with audit) \
-		$(use_with mta sendmail) \
-		$(use_with pam) \
-		$(use_with readline) \
-		$(use_with selinux) \
-		--sysconfdir=/etc/fcron \
-		--with-username=fcron \
-		--with-groupname=fcron \
-		--with-piddir=/run \
-		--with-spooldir=/var/spool/fcron \
-		--with-fifodir=/run \
-		--with-fcrondyn=yes \
-		--disable-checks \
-		--with-editor=/usr/libexec/editor \
-		--with-shell=/bin/sh \
-		--without-db2man \
-		--without-dsssl-dir \
-		--with-rootname=${rootuser} \
-		--with-rootgroup=${rootgroup} \
-		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-}
-
-src_compile() {
-	default
-
-	# bug #216460
-	sed -i \
-		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
-		-e 's:/usr/local/etc:/etc:g' \
-		-e 's:/usr/local/:/usr/:g' \
-		doc/*/*/*.{txt,1,5,8,html} \
-		|| die "unable to fix documentation references"
-}
-
-src_install() {
-	keepdir /var/spool/fcron
-
-	exeinto /usr/libexec
-	doexe fcron fcronsighup
-
-	dobin fcrondyn fcrontab
-
-	insinto /etc/fcron
-	doins files/fcron.{allow,deny,conf}
-
-	if use system-crontab; then
-		dosym fcrontab /usr/bin/crontab
-
-		exeinto /usr/libexec
-		newexe script/check_system_crontabs.sh check_system_crontabs
-
-		insinto /etc/fcron
-		newins "${FILESDIR}"/fcrontab.2 fcrontab
-
-		fowners ${rootuser}:fcron /etc/fcron/fcrontab
-		fperms 0640 /etc/fcron/fcrontab
-
-		insinto /etc
-		newins "${FILESDIR}"/crontab.2 crontab
-	fi
-
-	fowners fcron:fcron \
-		/var/spool/fcron \
-		/usr/bin/fcron{dyn,tab}
-
-	# fcronsighup needs to be suid root, because it sends a HUP to the
-	# running fcron daemon, but only has to be called by the fcron group
-	# anyway
-	fowners ${rootuser}:fcron \
-		/usr/libexec/fcronsighup \
-		/etc/fcron/fcron.{allow,deny,conf} \
-		/etc/fcron
-
-	fperms 6770 /var/spool/fcron
-	fperms 6775 /usr/bin/fcron{dyn,tab}
-
-	fperms 4710 /usr/libexec/fcronsighup
-
-	fperms 0750 /etc/fcron
-	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
-
-	use pam && pamd_mimic system-services fcron auth account session
-	cat > "${T}"/fcrontab.pam <<- EOF
-	# Don't ask for the user's password; fcrontab will only allow to
-	# change user if running as root.
-	auth		sufficient		pam_permit.so
-
-	# Still use the system-auth stack for account and session as the
-	# sysadmin might have set up stuff properly, and also avoids
-	# sidestepping limits (since fcrontab will run \$EDITOR).
-	account		include			system-auth
-	session		include			system-auth
-	EOF
-	use pam && newpamd "${T}"/fcrontab.pam fcrontab
-
-	newinitd "${FILESDIR}"/fcron.init-r5 fcron
-	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
-
-	newconfd "${FILESDIR}"/fcron.confd fcron
-
-	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
-	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
-
-	local HTML_DOCS=( doc/en/HTML/. )
-
-	einstalldocs
-
-	newdoc files/fcron.conf fcron.conf.sample
-	doman doc/en/man/*.{1,5,8}
-
-	for lang in fr; do
-		use l10n_${lang} || continue
-
-		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
-
-		docinto html/${lang}
-		dodoc -r doc/${lang}/HTML/.
-	done
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		# This is a new installation
-		elog "Make sure you execute"
-		elog ""
-		elog "  # emerge --config ${CATEGORY}/${PN}"
-		elog ""
-		elog "to install the default systab on this system."
-	else
-		local v
-		for v in ${REPLACING_VERSIONS}; do
-			if ! version_is_at_least "3.2.1" ${v}; then
-				# This is an upgrade
-
-				elog "fcron's default systab was updated since your last installation."
-				elog "You can use"
-				elog ""
-				elog "  # emerge --config ${CATEGORY}/${PN}"
-				elog ""
-				elog "to re-install systab (do not call this command before you"
-				elog "have merged your configuration files)."
-
-				# Show this elog only once
-				break
-			fi
-		done
-	fi
-
-	if ! use system-crontab; then
-		echo ""
-		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
-		ewarn "due to USE=-system-crontab!"
-		echo ""
-	fi
-}
-
-pkg_config() {
-	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
-		eerror "We're not going to make any change to your systab as long as"
-		eerror "it contains data; please clear it before proceeding."
-		eerror "You can do that with"
-		eerror ""
-		eerror "  # fcrontab -u systab -r"
-		eerror ""
-		eerror "However you are advised to do this by hand to review existing"
-		eerror "systab just in case."
-		return 1
-	fi
-
-	if use system-crontab; then
-		elog "This is going to set up fcron to execute check_system_crontabs."
-		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
-		elog "Per default fcron will check for modifications every 10 minutes."
-		/usr/libexec/check_system_crontabs -v -i -f
-	else
-		elog "This is going to set up fcron to set up a default systab that"
-		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
-		elog "/etc/crontab and /etc/cron.d."
-		fcrontab -u systab - <<- EOF
-		!serial(true)
-		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
-		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
-		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
-		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
-		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
-		!serial(false)
-		EOF
-	fi
-}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-26 18:49 Arthur Zamarin
  0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2021-12-26 18:49 UTC (permalink / raw
  To: gentoo-commits

commit:     be8380941893eb0cc2c712ca2edecf7929ada095
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 18:49:47 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 18:49:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be838094

sys-process/fcron: Stabilize 3.2.1-r8 arm, #827888

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index a9f01c0b0818..e6bbb56c8fb0 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-26 18:54 Arthur Zamarin
  0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2021-12-26 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     4d93f132bbbad30cb38def9f745ba2473d4aaa8e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 18:54:24 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 18:54:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d93f132

sys-process/fcron: Stabilize 3.2.1-r8 ppc, #827888

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index e6bbb56c8fb0..bf692763ffba 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-26 18:57 Arthur Zamarin
  0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2021-12-26 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ee340f62433b1dd7a38ecbd88e208a2e964486cd
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 18:57:30 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 18:57:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee340f62

sys-process/fcron: Stabilize 3.2.1-r8 ppc64, #827888

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index bf692763ffba..c9693ff9740b 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-27 14:13 Agostino Sarubbo
  0 siblings, 0 replies; 52+ messages in thread
From: Agostino Sarubbo @ 2021-12-27 14:13 UTC (permalink / raw
  To: gentoo-commits

commit:     b7e5d5c49f321bc85ed603daf56275c7f699e4c3
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 14:13:27 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 14:13:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e5d5c4

sys-process/fcron: amd64 stable wrt bug #827888

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index c9693ff9740b..95010ece562e 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-28  5:57 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2021-12-28  5:57 UTC (permalink / raw
  To: gentoo-commits

commit:     7d5cf731c1178d3ccb14d6f5b53b2853221acb23
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 05:57:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 05:57:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5cf731

sys-process/fcron: Stabilize 3.2.1-r8 x86, #827888

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index 95010ece562e..818b2806c516 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2021-12-30 20:40 Arthur Zamarin
  0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2021-12-30 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     aa93d0f7e22e23562fbb29ac58cab34e1902d113
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 20:39:49 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 20:39:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa93d0f7

sys-process/fcron: Stabilize 3.2.1-r8 sparc, #827888

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
index 818b2806c516..cdf73c577fde 100644
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://fcron.free.fr/"
 SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2022-01-19 18:32 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2022-01-19 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     1fd950874a5bb7a4197ef169d4fe9bf9b1e02349
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 19 18:32:32 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 18:32:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd95087

sys-process/fcron: version bump to 3.3.1_beta

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 sys-process/fcron/Manifest                                             | 2 +-
 .../fcron/{fcron-3.3.0_beta-r5.ebuild => fcron-3.3.1_beta.ebuild}      | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 86e6c3e3319e..4581d3a65584 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,2 +1,2 @@
 DIST fcron-3.2.1.src.tar.gz 601142 BLAKE2B 184b74f9d64186b7d3aae87d48ed0107525fd0c73bb8db86408bd246592ff4fbcbc04f8ca0064868a8555d7c6be2f183172d62daeed75275cd836517da504d0f SHA512 ddfd3e3a297b843c924aacccffaa5c1c6b300497f39daa1cdb90dc4cf4bc757042b0b2c1f055c119c8128c64d830ee0e8757091610432f5ffcacca25d369e5cd
-DIST fcron-3.3.0_beta.tar.gz 592481 BLAKE2B b862dac8e70621e299ec2fbbc75a0e8843e7a085190fa7a18f9444f6f41f28cf55ef0dcd7234a388b9b3e6689f25019a581ded2ae6002643bb3dc472a59207bb SHA512 e5b76e23af774997d9ee1ef58d17009cea95d10b19a2d22b550b178a39bb7c439c055b440eb99c4286db6622901e5deb029318e4425e8cd098766452ffc15bc6
+DIST fcron-3.3.1_beta.tar.gz 593688 BLAKE2B 5c2f91667c94fc9eae7ae014a7826ab1f26647a192425630dbdb84bbe3c9041be23a2a480eb13844dc18a5ba406fe77a157938af1e0343e5f9b0ce1a1405d66b SHA512 b9c5066bdf8588a6b8d811ccc0d49f1d41a17dabf898a280997a8136dc449c2a505c46868abf732f86184ff0720d51f17442691909acae8fb26edcd180cff281

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild b/sys-process/fcron/fcron-3.3.1_beta.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
rename to sys-process/fcron/fcron-3.3.1_beta.ebuild
index 0c8a71885714..47ecda3b7186 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
+++ b/sys-process/fcron/fcron-3.3.1_beta.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,7 +38,6 @@ RDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
 	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
 )
 


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2022-02-13  0:56 Conrad Kostecki
  0 siblings, 0 replies; 52+ messages in thread
From: Conrad Kostecki @ 2022-02-13  0:56 UTC (permalink / raw
  To: gentoo-commits

commit:     7e379ea72638b91a225be75b79fd802174dfee74
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 00:55:09 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 00:56:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e379ea7

sys-process/fcron: drop 3.2.1-r5

Closes: https://bugs.gentoo.org/781518
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-process/fcron/fcron-3.2.1-r5.ebuild | 259 --------------------------------
 1 file changed, 259 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r5.ebuild b/sys-process/fcron/fcron-3.2.1-r5.ebuild
deleted file mode 100644
index d6ec5a35ddce..000000000000
--- a/sys-process/fcron/fcron-3.2.1-r5.ebuild
+++ /dev/null
@@ -1,259 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-WANT_AUTOMAKE=none
-
-inherit cron pam flag-o-matic user autotools versionator systemd
-
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
-
-DEPEND="virtual/libcrypt:=
-	audit? ( sys-process/audit )
-	pam? ( sys-libs/pam )
-	readline? ( sys-libs/readline:= )
-	selinux? ( sys-libs/libselinux )"
-
-RDEPEND="${DEPEND}
-	app-misc/editor-wrapper
-	mta? ( virtual/mta )
-	pam? ( sys-auth/pambase )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
-	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
-)
-
-pkg_setup() {
-	enewgroup fcron
-	enewuser fcron -1 -1 -1 fcron
-	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
-	[[ ${rootuser} ]] || rootuser=root
-	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
-	[[ ${rootgroup} ]] || rootgroup=root
-}
-
-src_prepare() {
-	default
-
-	# respect LDFLAGS
-	sed -i "s:\(@LIBS@\):\$(LDFLAGS) \1:" Makefile.in || die "sed failed"
-
-	# Adjust fcrontab path
-	sed -i -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' script/check_system_crontabs.sh || die
-
-	mv configure.in configure.ac || die
-
-	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
-
-	eautoconf
-}
-
-src_configure() {
-	# Don't try to pass --with-debug as it'll play with cflags as
-	# well, and run foreground which is a _very_ nasty idea for
-	# Gentoo.
-	use debug && append-cppflags -DDEBUG
-
-	# bindir is used just for calling fcronsighup
-	econf \
-		--with-cflags="${CFLAGS}" \
-		--bindir=/usr/libexec \
-		--sbindir=/usr/libexec \
-		$(use_with audit) \
-		$(use_with mta sendmail) \
-		$(use_with pam) \
-		$(use_with readline) \
-		$(use_with selinux) \
-		--sysconfdir=/etc/fcron \
-		--with-username=fcron \
-		--with-groupname=fcron \
-		--with-piddir=/run \
-		--with-spooldir=/var/spool/fcron \
-		--with-fifodir=/run \
-		--with-fcrondyn=yes \
-		--disable-checks \
-		--with-editor=/usr/libexec/editor \
-		--with-shell=/bin/sh \
-		--without-db2man \
-		--without-dsssl-dir \
-		--with-rootname=${rootuser} \
-		--with-rootgroup=${rootgroup} \
-		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-}
-
-src_compile() {
-	default
-
-	# bug #216460
-	sed -i \
-		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
-		-e 's:/usr/local/etc:/etc:g' \
-		-e 's:/usr/local/:/usr/:g' \
-		doc/*/*/*.{txt,1,5,8,html} \
-		|| die "unable to fix documentation references"
-}
-
-src_install() {
-	keepdir /var/spool/fcron
-
-	exeinto /usr/libexec
-	doexe fcron fcronsighup
-
-	dobin fcrondyn fcrontab
-
-	insinto /etc/fcron
-	doins files/fcron.{allow,deny,conf}
-
-	if use system-crontab; then
-		dosym fcrontab /usr/bin/crontab
-
-		exeinto /usr/libexec
-		newexe script/check_system_crontabs.sh check_system_crontabs
-
-		insinto /etc/fcron
-		newins "${FILESDIR}"/fcrontab.2 fcrontab
-
-		fowners ${rootuser}:fcron /etc/fcron/fcrontab
-		fperms 0640 /etc/fcron/fcrontab
-
-		insinto /etc
-		newins "${FILESDIR}"/crontab.2 crontab
-	fi
-
-	fowners fcron:fcron \
-		/var/spool/fcron \
-		/usr/bin/fcron{dyn,tab}
-
-	# fcronsighup needs to be suid root, because it sends a HUP to the
-	# running fcron daemon, but only has to be called by the fcron group
-	# anyway
-	fowners ${rootuser}:fcron \
-		/usr/libexec/fcronsighup \
-		/etc/fcron/fcron.{allow,deny,conf} \
-		/etc/fcron
-
-	fperms 6770 /var/spool/fcron
-	fperms 6775 /usr/bin/fcron{dyn,tab}
-
-	fperms 4710 /usr/libexec/fcronsighup
-
-	fperms 0750 /etc/fcron
-	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
-
-	use pam && pamd_mimic system-services fcron auth account session
-	cat > "${T}"/fcrontab.pam <<- EOF
-	# Don't ask for the user's password; fcrontab will only allow to
-	# change user if running as root.
-	auth		sufficient		pam_permit.so
-
-	# Still use the system-auth stack for account and session as the
-	# sysadmin might have set up stuff properly, and also avoids
-	# sidestepping limits (since fcrontab will run \$EDITOR).
-	account		include			system-auth
-	session		include			system-auth
-	EOF
-	use pam && newpamd "${T}"/fcrontab.pam fcrontab
-
-	newinitd "${FILESDIR}"/fcron.init-r5 fcron
-	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
-
-	newconfd "${FILESDIR}"/fcron.confd fcron
-
-	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
-	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
-
-	local HTML_DOCS=( doc/en/HTML/. )
-
-	einstalldocs
-
-	newdoc files/fcron.conf fcron.conf.sample
-	doman doc/en/man/*.{1,5,8}
-
-	for lang in fr; do
-		use l10n_${lang} || continue
-
-		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
-
-		docinto html/${lang}
-		dodoc -r doc/${lang}/HTML/.
-	done
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		# This is a new installation
-		elog "Make sure you execute"
-		elog ""
-		elog "  # emerge --config ${CATEGORY}/${PN}"
-		elog ""
-		elog "to install the default systab on this system."
-	else
-		local v
-		for v in ${REPLACING_VERSIONS}; do
-			if ! version_is_at_least "3.2.1" ${v}; then
-				# This is an upgrade
-
-				elog "fcron's default systab was updated since your last installation."
-				elog "You can use"
-				elog ""
-				elog "  # emerge --config ${CATEGORY}/${PN}"
-				elog ""
-				elog "to re-install systab (do not call this command before you"
-				elog "have merged your configuration files)."
-
-				# Show this elog only once
-				break
-			fi
-		done
-	fi
-
-	if ! use system-crontab; then
-		echo ""
-		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
-		ewarn "due to USE=-system-crontab!"
-		echo ""
-	fi
-}
-
-pkg_config() {
-	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
-		eerror "We're not going to make any change to your systab as long as"
-		eerror "it contains data; please clear it before proceeding."
-		eerror "You can do that with"
-		eerror ""
-		eerror "  # fcrontab -u systab -r"
-		eerror ""
-		eerror "However you are advised to do this by hand to review existing"
-		eerror "systab just in case."
-		return 1
-	fi
-
-	if use system-crontab; then
-		elog "This is going to set up fcron to execute check_system_crontabs."
-		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
-		elog "Per default fcron will check for modifications every 10 minutes."
-		/usr/libexec/check_system_crontabs -v -i -f
-	else
-		elog "This is going to set up fcron to set up a default systab that"
-		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
-		elog "/etc/crontab and /etc/cron.d."
-		fcrontab -u systab - <<- EOF
-		!serial(true)
-		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
-		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
-		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
-		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
-		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
-		!serial(false)
-		EOF
-	fi
-}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2022-05-14 11:48 Anthony G. Basile
  0 siblings, 0 replies; 52+ messages in thread
From: Anthony G. Basile @ 2022-05-14 11:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1d1a10cceedf2d603f957d97b11040e6f7d2b0fb
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 11:46:18 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May 14 11:46:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d1a10cc

sys-process/fcron: version bump to 3.3.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 sys-process/fcron/Manifest                                        | 2 +-
 sys-process/fcron/{fcron-3.3.1_beta.ebuild => fcron-3.3.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 4581d3a65584..2740f599c094 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,2 +1,2 @@
 DIST fcron-3.2.1.src.tar.gz 601142 BLAKE2B 184b74f9d64186b7d3aae87d48ed0107525fd0c73bb8db86408bd246592ff4fbcbc04f8ca0064868a8555d7c6be2f183172d62daeed75275cd836517da504d0f SHA512 ddfd3e3a297b843c924aacccffaa5c1c6b300497f39daa1cdb90dc4cf4bc757042b0b2c1f055c119c8128c64d830ee0e8757091610432f5ffcacca25d369e5cd
-DIST fcron-3.3.1_beta.tar.gz 593688 BLAKE2B 5c2f91667c94fc9eae7ae014a7826ab1f26647a192425630dbdb84bbe3c9041be23a2a480eb13844dc18a5ba406fe77a157938af1e0343e5f9b0ce1a1405d66b SHA512 b9c5066bdf8588a6b8d811ccc0d49f1d41a17dabf898a280997a8136dc449c2a505c46868abf732f86184ff0720d51f17442691909acae8fb26edcd180cff281
+DIST fcron-3.3.1.tar.gz 593688 BLAKE2B 5c2f91667c94fc9eae7ae014a7826ab1f26647a192425630dbdb84bbe3c9041be23a2a480eb13844dc18a5ba406fe77a157938af1e0343e5f9b0ce1a1405d66b SHA512 b9c5066bdf8588a6b8d811ccc0d49f1d41a17dabf898a280997a8136dc449c2a505c46868abf732f86184ff0720d51f17442691909acae8fb26edcd180cff281

diff --git a/sys-process/fcron/fcron-3.3.1_beta.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.3.1_beta.ebuild
rename to sys-process/fcron/fcron-3.3.1.ebuild
index 47ecda3b7186..7aae866128a9 100644
--- a/sys-process/fcron/fcron-3.3.1_beta.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2022-08-28  6:30 WANG Xuerui
  0 siblings, 0 replies; 52+ messages in thread
From: WANG Xuerui @ 2022-08-28  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     793c2810e621ed364e148c690739910943f81dfc
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 06:29:29 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 06:29:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=793c2810

sys-process/fcron: keyword 3.3.1 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 7aae866128a9..4341ce3b8ce4 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-23  7:04 Joonas Niilola
  0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2023-02-23  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     4c0d90fed051c2fe999b758847ef4b7ed3908987
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Thu Feb  9 08:58:31 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 07:00:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0d90fe

sys-process/fcron: add myself as a maintainer

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/29502
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/fcron/metadata.xml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/metadata.xml b/sys-process/fcron/metadata.xml
index 56676d154a72..73e3113823f3 100644
--- a/sys-process/fcron/metadata.xml
+++ b/sys-process/fcron/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person" proxied="yes">
+		<email>alexey+gentoo@asokolov.org</email>
+		<name>Alexey Sokolov</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<use>
 		<flag name="debug">
 			Enable debug code and output. Since version 3.0.5 this will no
@@ -21,7 +28,7 @@
 			Set up fcron to respect /etc/crontab and /etc/cron.d. If this
 			flag is disabled, /etc/cron.d and /etc/crontab will be ignored,
 			but /etc/cron.{hourly,daily,weekly,monthly} will still be
-			respected.
+			respected. Also this creates /usr/bin/crontab symlink.
 		</flag>
 	</use>
 	<upstream>


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-24  9:29 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-24  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     4dacdefa9cf38dea81ae72b6c5f27bb56824c6c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 09:29:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 09:29:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dacdefa

sys-process/fcron: Stabilize 3.3.1 arm, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 3b2752d05e87..bae0f7893736 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-24  9:29 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-24  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3bc0a63c279da58a93507ecadd94683c8fc3efbb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 09:29:09 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 09:29:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc0a63c

sys-process/fcron: Stabilize 3.3.1 ppc, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 5819f4c7023b..7abed513bfe3 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-24  9:29 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-24  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     4192562ff7f4e7628ce10514ddc86e0529351370
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 09:29:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 09:29:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4192562f

sys-process/fcron: Stabilize 3.3.1 ppc64, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 7abed513bfe3..3b2752d05e87 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-24  9:29 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-24  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6ed574cb4c6e9cf141e799f896b7f8981ba181b5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 09:29:08 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 09:29:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed574cb

sys-process/fcron: Stabilize 3.3.1 x86, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 4341ce3b8ce4..5819f4c7023b 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-24 10:01 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-24 10:01 UTC (permalink / raw
  To: gentoo-commits

commit:     573075e585e11e8c9c0a8f4dfb53841ea727141e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 10:01:26 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 10:01:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573075e5

sys-process/fcron: Stabilize 3.3.1 amd64, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index bae0f7893736..a408babd9242 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-26 19:25 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-26 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     2fc20022695b4d1a51677986c304c5c5dc681e20
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 19:25:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 19:25:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc20022

sys-process/fcron: Stabilize 3.3.1 sparc, #896174

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index a408babd9242..7142b8367a37 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-02-27  9:04 Joonas Niilola
  0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2023-02-27  9:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b995271380719cb19b36070412f1aa2ce9502505
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Feb 27 00:00:52 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 09:04:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9952713

sys-process/fcron: drop 3.2.1-r8

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/fcron/Manifest              |   1 -
 sys-process/fcron/fcron-3.2.1-r8.ebuild | 266 --------------------------------
 2 files changed, 267 deletions(-)

diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 2740f599c094..3bb7eaf2f17e 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -1,2 +1 @@
-DIST fcron-3.2.1.src.tar.gz 601142 BLAKE2B 184b74f9d64186b7d3aae87d48ed0107525fd0c73bb8db86408bd246592ff4fbcbc04f8ca0064868a8555d7c6be2f183172d62daeed75275cd836517da504d0f SHA512 ddfd3e3a297b843c924aacccffaa5c1c6b300497f39daa1cdb90dc4cf4bc757042b0b2c1f055c119c8128c64d830ee0e8757091610432f5ffcacca25d369e5cd
 DIST fcron-3.3.1.tar.gz 593688 BLAKE2B 5c2f91667c94fc9eae7ae014a7826ab1f26647a192425630dbdb84bbe3c9041be23a2a480eb13844dc18a5ba406fe77a157938af1e0343e5f9b0ce1a1405d66b SHA512 b9c5066bdf8588a6b8d811ccc0d49f1d41a17dabf898a280997a8136dc449c2a505c46868abf732f86184ff0720d51f17442691909acae8fb26edcd180cff281

diff --git a/sys-process/fcron/fcron-3.2.1-r8.ebuild b/sys-process/fcron/fcron-3.2.1-r8.ebuild
deleted file mode 100644
index cdf73c577fde..000000000000
--- a/sys-process/fcron/fcron-3.2.1-r8.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WANT_AUTOMAKE="none"
-
-inherit autotools cron flag-o-matic pam systemd user-info
-
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${P}.src.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
-
-DEPEND="
-	acct-group/fcron
-	acct-user/fcron
-	virtual/libcrypt:=
-	audit? ( sys-process/audit )
-	pam? ( sys-libs/pam )
-	readline? ( sys-libs/readline:= )
-	selinux? ( sys-libs/libselinux )
-"
-
-RDEPEND="
-	${DEPEND}
-	app-misc/editor-wrapper
-	mta? ( virtual/mta )
-	pam? ( sys-auth/pambase )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-configure-fix-audit-parameter-check.patch
-	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
-)
-
-pkg_setup() {
-	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
-	[[ ${rootuser} ]] || rootuser=root
-	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
-	[[ ${rootgroup} ]] || rootgroup=root
-}
-
-src_prepare() {
-	default
-
-	# respect LDFLAGS
-	sed "s:\(@LIBS@\):\$(LDFLAGS) \1:" -i Makefile.in || die "sed failed"
-
-	# Adjust fcrontab path
-	sed -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' -i script/check_system_crontabs.sh || die
-
-	mv configure.in configure.ac || die
-
-	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
-
-	eautoconf
-}
-
-src_configure() {
-	# Don't try to pass --with-debug as it'll play with cflags as
-	# well, and run foreground which is a _very_ nasty idea for
-	# Gentoo.
-	use debug && append-cppflags -DDEBUG
-
-	# bindir is used just for calling fcronsighup
-	local myeconfargs=(
-		--with-cflags="${CFLAGS}"
-		--bindir=/usr/libexec
-		--sbindir=/usr/libexec
-		$(use_with audit)
-		$(use_with mta sendmail)
-		$(use_with pam)
-		$(use_with readline)
-		$(use_with selinux)
-		--sysconfdir=/etc/fcron
-		--with-username=fcron
-		--with-groupname=fcron
-		--with-piddir=/run
-		--with-spooldir=/var/spool/fcron
-		--with-fifodir=/run
-		--with-fcrondyn=yes
-		--disable-checks
-		--with-editor=/usr/libexec/editor
-		--with-shell=/bin/sh
-		--without-db2man
-		--without-dsssl-dir
-		--with-rootname=${rootuser}
-		--with-rootgroup=${rootgroup}
-		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	default
-
-	# bug #216460
-	sed \
-		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
-		-e 's:/usr/local/etc:/etc:g' \
-		-e 's:/usr/local/:/usr/:g' \
-		-i doc/*/*/*.{txt,1,5,8,html} \
-		|| die "unable to fix documentation references"
-}
-
-src_install() {
-	keepdir /var/spool/fcron
-
-	exeinto /usr/libexec
-	doexe fcron fcronsighup
-
-	dobin fcrondyn fcrontab
-
-	insinto /etc/fcron
-	doins files/fcron.{allow,deny,conf}
-
-	if use system-crontab; then
-		dosym fcrontab /usr/bin/crontab
-
-		exeinto /usr/libexec
-		newexe script/check_system_crontabs.sh check_system_crontabs
-
-		insinto /etc/fcron
-		newins "${FILESDIR}"/fcrontab.2 fcrontab
-
-		fowners ${rootuser}:fcron /etc/fcron/fcrontab
-		fperms 0640 /etc/fcron/fcrontab
-
-		insinto /etc
-		newins "${FILESDIR}"/crontab.2 crontab
-	fi
-
-	fowners fcron:fcron \
-		/var/spool/fcron \
-		/usr/bin/fcron{dyn,tab}
-
-	# fcronsighup needs to be suid root, because it sends a HUP to the
-	# running fcron daemon, but only has to be called by the fcron group
-	# anyway
-	fowners ${rootuser}:fcron \
-		/usr/libexec/fcronsighup \
-		/etc/fcron/fcron.{allow,deny,conf} \
-		/etc/fcron
-
-	fperms 6770 /var/spool/fcron
-	fperms 6775 /usr/bin/fcron{dyn,tab}
-
-	fperms 4710 /usr/libexec/fcronsighup
-
-	fperms 0750 /etc/fcron
-	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
-
-	use pam && pamd_mimic system-services fcron auth account session
-	cat > "${T}"/fcrontab.pam <<- EOF
-	# Don't ask for the user's password; fcrontab will only allow to
-	# change user if running as root.
-	auth		sufficient		pam_permit.so
-
-	# Still use the system-auth stack for account and session as the
-	# sysadmin might have set up stuff properly, and also avoids
-	# sidestepping limits (since fcrontab will run \$EDITOR).
-	account		include			system-auth
-	session		include			system-auth
-	EOF
-	use pam && newpamd "${T}"/fcrontab.pam fcrontab
-
-	newinitd "${FILESDIR}"/fcron.init-r5 fcron
-	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
-
-	newconfd "${FILESDIR}"/fcron.confd fcron
-
-	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
-	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
-
-	local HTML_DOCS=( doc/en/HTML/. )
-
-	einstalldocs
-
-	newdoc files/fcron.conf fcron.conf.sample
-	doman doc/en/man/*.{1,5,8}
-
-	for lang in fr; do
-		use l10n_${lang} || continue
-
-		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
-
-		docinto html/${lang}
-		dodoc -r doc/${lang}/HTML/.
-	done
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		# This is a new installation
-		elog "Make sure you execute"
-		elog ""
-		elog "  # emerge --config ${CATEGORY}/${PN}"
-		elog ""
-		elog "to install the default systab on this system."
-	else
-		local v
-		for v in ${REPLACING_VERSIONS}; do
-			if ver_test "3.2.1" -gt ${v}; then
-				# This is an upgrade
-
-				elog "fcron's default systab was updated since your last installation."
-				elog "You can use"
-				elog ""
-				elog "  # emerge --config ${CATEGORY}/${PN}"
-				elog ""
-				elog "to re-install systab (do not call this command before you"
-				elog "have merged your configuration files)."
-
-				# Show this elog only once
-				break
-			fi
-		done
-	fi
-
-	if ! use system-crontab; then
-		echo ""
-		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
-		ewarn "due to USE=-system-crontab!"
-		echo ""
-	fi
-}
-
-pkg_config() {
-	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
-		eerror "We're not going to make any change to your systab as long as"
-		eerror "it contains data; please clear it before proceeding."
-		eerror "You can do that with"
-		eerror ""
-		eerror "  # fcrontab -u systab -r"
-		eerror ""
-		eerror "However you are advised to do this by hand to review existing"
-		eerror "systab just in case."
-		return 1
-	fi
-
-	if use system-crontab; then
-		elog "This is going to set up fcron to execute check_system_crontabs."
-		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
-		elog "Per default fcron will check for modifications every 10 minutes."
-		/usr/libexec/check_system_crontabs -v -i -f
-	else
-		elog "This is going to set up fcron to set up a default systab that"
-		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
-		elog "/etc/crontab and /etc/cron.d."
-		fcrontab -u systab - <<- EOF
-		!serial(true)
-		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
-		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
-		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
-		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
-		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
-		!serial(false)
-		EOF
-	fi
-}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2023-03-11 23:35 David Seifert
  0 siblings, 0 replies; 52+ messages in thread
From: David Seifert @ 2023-03-11 23:35 UTC (permalink / raw
  To: gentoo-commits

commit:     5a59ee6e462a0ba82cfca609023932f6c8fc3410
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 23:35:26 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 23:35:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a59ee6e

sys-process/fcron: add SLOT

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
index 7142b8367a37..88aca353aef9 100644
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1.ebuild
@@ -16,6 +16,7 @@ SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-03-09 10:46 Florian Schmaus
  0 siblings, 0 replies; 52+ messages in thread
From: Florian Schmaus @ 2024-03-09 10:46 UTC (permalink / raw
  To: gentoo-commits

commit:     62fbb208ebcb2b089a1db2f34938b3f9f7dd11e0
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Mar  4 01:52:55 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Mar  9 10:45:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62fbb208

sys-process/fcron: update EAPI 7 -> 8

Fix file permissions

Closes: https://bugs.gentoo.org/925511
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/35615
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 270 ++++++++++++++++++++++++++++++++
 1 file changed, 270 insertions(+)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
new file mode 100644
index 000000000000..ef7b9af05781
--- /dev/null
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -0,0 +1,270 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WANT_AUTOMAKE="none"
+
+inherit autotools cron flag-o-matic pam systemd user-info
+
+MY_PV="${PV/_beta/}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
+HOMEPAGE="http://fcron.free.fr/"
+SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
+
+DEPEND="
+	acct-group/fcron
+	acct-user/fcron
+	virtual/libcrypt:=
+	audit? ( sys-process/audit )
+	pam? ( sys-libs/pam )
+	readline? ( sys-libs/readline:= )
+	selinux? ( sys-libs/libselinux )
+"
+
+RDEPEND="
+	${DEPEND}
+	app-misc/editor-wrapper
+	mta? ( virtual/mta )
+	pam? ( sys-auth/pambase )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
+	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
+)
+
+pkg_setup() {
+	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
+	[[ ${rootuser} ]] || rootuser=root
+	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
+	[[ ${rootgroup} ]] || rootgroup=root
+}
+
+src_prepare() {
+	default
+
+	# respect LDFLAGS
+	sed "s:\(@LIBS@\):\$(LDFLAGS) \1:" -i Makefile.in || die "sed failed"
+
+	# Adjust fcrontab path
+	sed -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' -i script/check_system_crontabs.sh || die
+
+	mv configure.in configure.ac || die
+
+	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
+
+	eautoconf
+}
+
+src_configure() {
+	# Don't try to pass --with-debug as it'll play with cflags as
+	# well, and run foreground which is a _very_ nasty idea for
+	# Gentoo.
+	use debug && append-cppflags -DDEBUG
+
+	# bindir is used just for calling fcronsighup
+	local myeconfargs=(
+		--with-cflags="${CFLAGS}"
+		--bindir=/usr/libexec
+		--sbindir=/usr/libexec
+		$(use_with audit)
+		$(use_with mta sendmail)
+		$(use_with pam)
+		$(use_with readline)
+		$(use_with selinux)
+		--sysconfdir=/etc/fcron
+		--with-username=fcron
+		--with-groupname=fcron
+		--with-piddir=/run
+		--with-spooldir=/var/spool/fcron
+		--with-fifodir=/run
+		--with-fcrondyn=yes
+		--disable-checks
+		--with-editor=/usr/libexec/editor
+		--with-shell=/bin/sh
+		--without-db2man
+		--without-dsssl-dir
+		--with-rootname=${rootuser}
+		--with-rootgroup=${rootgroup}
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+
+	# bug #216460
+	sed \
+		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
+		-e 's:/usr/local/etc:/etc:g' \
+		-e 's:/usr/local/:/usr/:g' \
+		-i doc/*/*/*.{txt,1,5,8,html} \
+		|| die "unable to fix documentation references"
+}
+
+src_install() {
+	keepdir /var/spool/fcron
+
+	exeinto /usr/libexec
+	doexe fcron fcronsighup
+
+	dobin fcrondyn fcrontab
+
+	insinto /etc/fcron
+	doins files/fcron.{allow,deny,conf}
+
+	if use system-crontab; then
+		dosym fcrontab /usr/bin/crontab
+
+		exeinto /usr/libexec
+		newexe script/check_system_crontabs.sh check_system_crontabs
+
+		insinto /etc/fcron
+		newins "${FILESDIR}"/fcrontab.2 fcrontab
+
+		fowners ${rootuser}:fcron /etc/fcron/fcrontab
+		fperms 0640 /etc/fcron/fcrontab
+
+		insinto /etc
+		newins "${FILESDIR}"/crontab.2 crontab
+	fi
+
+	fowners fcron:fcron \
+		/var/spool/fcron \
+		/usr/bin/fcron{dyn,tab}
+
+	# fcronsighup needs to be suid root, because it sends a HUP to the
+	# running fcron daemon, but only has to be called by the fcron group
+	# anyway
+	fowners ${rootuser}:fcron \
+		/usr/libexec/fcronsighup \
+		/etc/fcron/fcron.{allow,deny,conf} \
+		/etc/fcron
+
+	fperms 6770 /var/spool/fcron
+	fperms 6755 /usr/bin/fcron{dyn,tab}
+
+	fperms 4710 /usr/libexec/fcronsighup
+
+	fperms 0750 /etc/fcron
+	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
+
+	use pam && pamd_mimic system-services fcron auth account session
+	cat > "${T}"/fcrontab.pam <<- EOF
+	# Don't ask for the user's password; fcrontab will only allow to
+	# change user if running as root.
+	auth		sufficient		pam_permit.so
+
+	# Still use the system-auth stack for account and session as the
+	# sysadmin might have set up stuff properly, and also avoids
+	# sidestepping limits (since fcrontab will run \$EDITOR).
+	account		include			system-auth
+	session		include			system-auth
+	EOF
+	use pam && newpamd "${T}"/fcrontab.pam fcrontab
+
+	newinitd "${FILESDIR}"/fcron.init-r5 fcron
+	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
+
+	newconfd "${FILESDIR}"/fcron.confd fcron
+
+	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
+	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
+
+	local HTML_DOCS=( doc/en/HTML/. )
+
+	einstalldocs
+
+	newdoc files/fcron.conf fcron.conf.sample
+	doman doc/en/man/*.{1,5,8}
+
+	for lang in fr; do
+		use l10n_${lang} || continue
+
+		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
+
+		docinto html/${lang}
+		dodoc -r doc/${lang}/HTML/.
+	done
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		# This is a new installation
+		elog "Make sure you execute"
+		elog ""
+		elog "  # emerge --config ${CATEGORY}/${PN}"
+		elog ""
+		elog "to install the default systab on this system."
+	else
+		local v
+		for v in ${REPLACING_VERSIONS}; do
+			if ver_test "3.2.1" -gt ${v}; then
+				# This is an upgrade
+
+				elog "fcron's default systab was updated since your last installation."
+				elog "You can use"
+				elog ""
+				elog "  # emerge --config ${CATEGORY}/${PN}"
+				elog ""
+				elog "to re-install systab (do not call this command before you"
+				elog "have merged your configuration files)."
+
+				# Show this elog only once
+				break
+			fi
+		done
+	fi
+
+	if ! use system-crontab; then
+		echo ""
+		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
+		ewarn "due to USE=-system-crontab!"
+		echo ""
+	fi
+}
+
+pkg_config() {
+	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
+		eerror "We're not going to make any change to your systab as long as"
+		eerror "it contains data; please clear it before proceeding."
+		eerror "You can do that with"
+		eerror ""
+		eerror "  # fcrontab -u systab -r"
+		eerror ""
+		eerror "However you are advised to do this by hand to review existing"
+		eerror "systab just in case."
+		return 1
+	fi
+
+	if use system-crontab; then
+		elog "This is going to set up fcron to execute check_system_crontabs."
+		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
+		elog "Per default fcron will check for modifications every 10 minutes."
+		/usr/libexec/check_system_crontabs -v -i -f
+	else
+		elog "This is going to set up fcron to set up a default systab that"
+		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
+		elog "/etc/crontab and /etc/cron.d."
+		fcrontab -u systab - <<- EOF
+		!serial(true)
+		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
+		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
+		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
+		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
+		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
+		!serial(false)
+		EOF
+	fi
+}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-12 22:41 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     a8edf004e76551e269a67f6d21ee04a710c7440a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 22:40:31 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 22:40:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8edf004

sys-process/fcron: Stabilize 3.3.1-r1 sparc, #931790

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index 271c12d18ae8..f2eebae9a3e5 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-12 22:41 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     061d3c0853b3f47cd3e08980d36aea8338943e5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 22:40:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 22:40:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061d3c08

sys-process/fcron: Stabilize 3.3.1-r1 ppc, #931790

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index 517a62418732..271c12d18ae8 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-12 22:41 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     2b42b6ccde3af813536566bcb4f1c9a1d273f43a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 22:40:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 22:40:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b42b6cc

sys-process/fcron: Stabilize 3.3.1-r1 arm, #931790

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index ef7b9af05781..517a62418732 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-12 22:41 Sam James
  0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 22:41 UTC (permalink / raw
  To: gentoo-commits

commit:     87ec0643358594138884a59733eb393755161bf7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 22:40:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 22:40:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ec0643

sys-process/fcron: Stabilize 3.3.1-r1 ppc64, #931790

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index f2eebae9a3e5..73a278f4d605 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-13  5:27 Joonas Niilola
  0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2024-05-13  5:27 UTC (permalink / raw
  To: gentoo-commits

commit:     5c0720a302c384296cb0f3eefd6b7b8002d1f4f0
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 05:26:36 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon May 13 05:26:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c0720a3

sys-process/fcron: Stabilize 3.3.1-r1 amd64, #931790

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index 73a278f4d605..bcc9f8e95561 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-05-13  5:27 Joonas Niilola
  0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2024-05-13  5:27 UTC (permalink / raw
  To: gentoo-commits

commit:     99997020f80b2f135b15691ee3958bc25c8c2ad5
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 05:27:05 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon May 13 05:27:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99997020

sys-process/fcron: Stabilize 3.3.1-r1 x86, #931790

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/fcron/fcron-3.3.1-r1.ebuild b/sys-process/fcron/fcron-3.3.1-r1.ebuild
index bcc9f8e95561..f24198fef608 100644
--- a/sys-process/fcron/fcron-3.3.1-r1.ebuild
+++ b/sys-process/fcron/fcron-3.3.1-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
 IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 52+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/
@ 2024-08-30 14:23 Arthur Zamarin
  0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2024-08-30 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     beb9fff3bebb5f2581c3367e229be93c1261bf28
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 14:11:13 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 14:23:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb9fff3

sys-process/fcron: drop 3.3.1, EAPI7--

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/fcron/fcron-3.3.1.ebuild | 270 -----------------------------------
 1 file changed, 270 deletions(-)

diff --git a/sys-process/fcron/fcron-3.3.1.ebuild b/sys-process/fcron/fcron-3.3.1.ebuild
deleted file mode 100644
index 88aca353aef9..000000000000
--- a/sys-process/fcron/fcron-3.3.1.ebuild
+++ /dev/null
@@ -1,270 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WANT_AUTOMAKE="none"
-
-inherit autotools cron flag-o-matic pam systemd user-info
-
-MY_PV="${PV/_beta/}"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
-HOMEPAGE="http://fcron.free.fr/"
-SRC_URI="http://fcron.free.fr/archives/${MY_P}.src.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="audit debug pam selinux l10n_fr +mta +system-crontab readline"
-
-DEPEND="
-	acct-group/fcron
-	acct-user/fcron
-	virtual/libcrypt:=
-	audit? ( sys-process/audit )
-	pam? ( sys-libs/pam )
-	readline? ( sys-libs/readline:= )
-	selinux? ( sys-libs/libselinux )
-"
-
-RDEPEND="
-	${DEPEND}
-	app-misc/editor-wrapper
-	mta? ( virtual/mta )
-	pam? ( sys-auth/pambase )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.1.1-noreadline.patch
-	"${FILESDIR}"/${PN}-3.2.1-musl-getopt-order.patch
-)
-
-pkg_setup() {
-	rootuser=$(egetent passwd 0 | cut -d ':' -f 1)
-	[[ ${rootuser} ]] || rootuser=root
-	rootgroup=$(egetent group 0 | cut -d ':' -f 1)
-	[[ ${rootgroup} ]] || rootgroup=root
-}
-
-src_prepare() {
-	default
-
-	# respect LDFLAGS
-	sed "s:\(@LIBS@\):\$(LDFLAGS) \1:" -i Makefile.in || die "sed failed"
-
-	# Adjust fcrontab path
-	sed -e 's:/etc/fcrontab:/etc/fcron/fcrontab:' -i script/check_system_crontabs.sh || die
-
-	mv configure.in configure.ac || die
-
-	cp "${FILESDIR}"/crontab.2 "${WORKDIR}"/crontab || die
-
-	eautoconf
-}
-
-src_configure() {
-	# Don't try to pass --with-debug as it'll play with cflags as
-	# well, and run foreground which is a _very_ nasty idea for
-	# Gentoo.
-	use debug && append-cppflags -DDEBUG
-
-	# bindir is used just for calling fcronsighup
-	local myeconfargs=(
-		--with-cflags="${CFLAGS}"
-		--bindir=/usr/libexec
-		--sbindir=/usr/libexec
-		$(use_with audit)
-		$(use_with mta sendmail)
-		$(use_with pam)
-		$(use_with readline)
-		$(use_with selinux)
-		--sysconfdir=/etc/fcron
-		--with-username=fcron
-		--with-groupname=fcron
-		--with-piddir=/run
-		--with-spooldir=/var/spool/fcron
-		--with-fifodir=/run
-		--with-fcrondyn=yes
-		--disable-checks
-		--with-editor=/usr/libexec/editor
-		--with-shell=/bin/sh
-		--without-db2man
-		--without-dsssl-dir
-		--with-rootname=${rootuser}
-		--with-rootgroup=${rootgroup}
-		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
-	)
-
-	econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	default
-
-	# bug #216460
-	sed \
-		-e 's:/usr/local/etc/fcron:/etc/fcron/fcron:g' \
-		-e 's:/usr/local/etc:/etc:g' \
-		-e 's:/usr/local/:/usr/:g' \
-		-i doc/*/*/*.{txt,1,5,8,html} \
-		|| die "unable to fix documentation references"
-}
-
-src_install() {
-	keepdir /var/spool/fcron
-
-	exeinto /usr/libexec
-	doexe fcron fcronsighup
-
-	dobin fcrondyn fcrontab
-
-	insinto /etc/fcron
-	doins files/fcron.{allow,deny,conf}
-
-	if use system-crontab; then
-		dosym fcrontab /usr/bin/crontab
-
-		exeinto /usr/libexec
-		newexe script/check_system_crontabs.sh check_system_crontabs
-
-		insinto /etc/fcron
-		newins "${FILESDIR}"/fcrontab.2 fcrontab
-
-		fowners ${rootuser}:fcron /etc/fcron/fcrontab
-		fperms 0640 /etc/fcron/fcrontab
-
-		insinto /etc
-		newins "${FILESDIR}"/crontab.2 crontab
-	fi
-
-	fowners fcron:fcron \
-		/var/spool/fcron \
-		/usr/bin/fcron{dyn,tab}
-
-	# fcronsighup needs to be suid root, because it sends a HUP to the
-	# running fcron daemon, but only has to be called by the fcron group
-	# anyway
-	fowners ${rootuser}:fcron \
-		/usr/libexec/fcronsighup \
-		/etc/fcron/fcron.{allow,deny,conf} \
-		/etc/fcron
-
-	fperms 6770 /var/spool/fcron
-	fperms 6775 /usr/bin/fcron{dyn,tab}
-
-	fperms 4710 /usr/libexec/fcronsighup
-
-	fperms 0750 /etc/fcron
-	fperms 0640 /etc/fcron/fcron.{allow,deny,conf}
-
-	use pam && pamd_mimic system-services fcron auth account session
-	cat > "${T}"/fcrontab.pam <<- EOF
-	# Don't ask for the user's password; fcrontab will only allow to
-	# change user if running as root.
-	auth		sufficient		pam_permit.so
-
-	# Still use the system-auth stack for account and session as the
-	# sysadmin might have set up stuff properly, and also avoids
-	# sidestepping limits (since fcrontab will run \$EDITOR).
-	account		include			system-auth
-	session		include			system-auth
-	EOF
-	use pam && newpamd "${T}"/fcrontab.pam fcrontab
-
-	newinitd "${FILESDIR}"/fcron.init-r5 fcron
-	systemd_newunit "${S}/script/fcron.init.systemd" fcron.service
-
-	newconfd "${FILESDIR}"/fcron.confd fcron
-
-	local DOCS=( MANIFEST VERSION "${WORKDIR}/crontab")
-	DOCS+=( doc/en/txt/{readme,thanks,faq,todo,relnotes,changes}.txt )
-
-	local HTML_DOCS=( doc/en/HTML/. )
-
-	einstalldocs
-
-	newdoc files/fcron.conf fcron.conf.sample
-	doman doc/en/man/*.{1,5,8}
-
-	for lang in fr; do
-		use l10n_${lang} || continue
-
-		doman -i18n=${lang} doc/${lang}/man/*.{1,5,8}
-
-		docinto html/${lang}
-		dodoc -r doc/${lang}/HTML/.
-	done
-}
-
-pkg_postinst() {
-	if [[ -z "${REPLACING_VERSIONS}" ]]; then
-		# This is a new installation
-		elog "Make sure you execute"
-		elog ""
-		elog "  # emerge --config ${CATEGORY}/${PN}"
-		elog ""
-		elog "to install the default systab on this system."
-	else
-		local v
-		for v in ${REPLACING_VERSIONS}; do
-			if ver_test "3.2.1" -gt ${v}; then
-				# This is an upgrade
-
-				elog "fcron's default systab was updated since your last installation."
-				elog "You can use"
-				elog ""
-				elog "  # emerge --config ${CATEGORY}/${PN}"
-				elog ""
-				elog "to re-install systab (do not call this command before you"
-				elog "have merged your configuration files)."
-
-				# Show this elog only once
-				break
-			fi
-		done
-	fi
-
-	if ! use system-crontab; then
-		echo ""
-		ewarn "Remember that fcron will *not* use /etc/cron.d in this configuration"
-		ewarn "due to USE=-system-crontab!"
-		echo ""
-	fi
-}
-
-pkg_config() {
-	if [[ $(fcrontab -l -u systab 2>/dev/null) ]]; then
-		eerror "We're not going to make any change to your systab as long as"
-		eerror "it contains data; please clear it before proceeding."
-		eerror "You can do that with"
-		eerror ""
-		eerror "  # fcrontab -u systab -r"
-		eerror ""
-		eerror "However you are advised to do this by hand to review existing"
-		eerror "systab just in case."
-		return 1
-	fi
-
-	if use system-crontab; then
-		elog "This is going to set up fcron to execute check_system_crontabs."
-		elog "In this configuration, /etc/crontab and /etc/cron.d are respected."
-		elog "Per default fcron will check for modifications every 10 minutes."
-		/usr/libexec/check_system_crontabs -v -i -f
-	else
-		elog "This is going to set up fcron to set up a default systab that"
-		elog "executes /etc/cron.{hourly,daily,weekly,monthly} but will ignore"
-		elog "/etc/crontab and /etc/cron.d."
-		fcrontab -u systab - <<- EOF
-		!serial(true)
-		00   *    *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.hourly
-		00   00   *    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.daily
-		00   00   *    *    6     /bin/rm -f /var/spool/cron/lastrun/cron.weekly
-		00   00   1    *    *     /bin/rm -f /var/spool/cron/lastrun/cron.monthly
-		*/10 *    *    *    *     /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
-		!serial(false)
-		EOF
-	fi
-}


^ permalink raw reply related	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2024-08-30 14:23 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02  8:29 [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 14:23 Arthur Zamarin
2024-05-13  5:27 Joonas Niilola
2024-05-13  5:27 Joonas Niilola
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-05-12 22:41 Sam James
2024-03-09 10:46 Florian Schmaus
2023-03-11 23:35 David Seifert
2023-02-27  9:04 Joonas Niilola
2023-02-26 19:25 Sam James
2023-02-24 10:01 Sam James
2023-02-24  9:29 Sam James
2023-02-24  9:29 Sam James
2023-02-24  9:29 Sam James
2023-02-24  9:29 Sam James
2023-02-23  7:04 Joonas Niilola
2022-08-28  6:30 WANG Xuerui
2022-05-14 11:48 Anthony G. Basile
2022-02-13  0:56 Conrad Kostecki
2022-01-19 18:32 Anthony G. Basile
2021-12-30 20:40 Arthur Zamarin
2021-12-28  5:57 Sam James
2021-12-27 14:13 Agostino Sarubbo
2021-12-26 18:57 Arthur Zamarin
2021-12-26 18:54 Arthur Zamarin
2021-12-26 18:49 Arthur Zamarin
2021-11-16  6:13 Sam James
2021-10-20 10:33 Sam James
2021-10-20  7:30 Sam James
2021-10-19 20:26 Anthony G. Basile
2021-08-05  2:49 Yixun Lan
2021-07-21  2:22 Yixun Lan
2021-06-25 19:32 Sam James
2021-02-24 21:03 Sam James
2021-01-22 21:19 Sam James
2020-12-22 16:29 Thomas Deutschmann
2020-10-28 16:44 Sam James
2019-10-12 18:17 Mikle Kolyada
2017-12-20 17:41 Anthony G. Basile
2017-11-26 23:26 David Seifert
2017-06-09 10:54 Thomas Deutschmann
2017-03-08  5:30 Jeroen Roovers
2017-02-18 18:59 Markus Meier
2017-01-11 11:34 Aaron Bauman
2016-11-17 22:00 Thomas Deutschmann
2016-08-07  9:30 Pacho Ramos
2016-06-25 15:57 Ulrich Müller
2016-05-19 17:48 Mike Frysinger
2016-01-02  3:16 Anthony G. Basile
2016-01-02  3:05 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox