[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-11 Thread Arthur Zamarin
commit: 52b7d994f6f4521fc191b99cbb3d30532f4c03a9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 07:08:52 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 07:08:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b7d994

sys-process/systemd-cron: Stabilize 2.4.0 x86, #931626

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 95860b0c53c4..dadec18a1460 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Sam James
commit: 5e86c653f22b84f80ef5a22cd1d265eb02201d02
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:12:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:12:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e86c653

sys-process/systemd-cron: Stabilize 2.4.0 ppc64, #931626

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 1cbe9df4341b..deccbe07dda9 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Sam James
commit: 1dcaf72ba738752bfe89ad10a669435a374d5e89
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:12:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:12:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcaf72b

sys-process/systemd-cron: Stabilize 2.4.0 ppc, #931626

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index deccbe07dda9..95860b0c53c4 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Sam James
commit: 6cf5d9d1c028414ab930373bda09a0814efe28fd
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:12:06 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:12:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf5d9d1

sys-process/systemd-cron: Stabilize 2.4.0 arm, #931626

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 33c92f8a2fe9..7c0e28e70d63 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Sam James
commit: 5aae2646cbaa33a27fa03550366146267b11f98e
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:12:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:12:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aae2646

sys-process/systemd-cron: Stabilize 2.4.0 arm64, #931626

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 293661ce4869..33c92f8a2fe9 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Sam James
commit: 55b6abe93214ac16a86fc9890ba72fb424137e7d
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 12:12:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 12:12:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b6abe9

sys-process/systemd-cron: Stabilize 2.4.0 sparc, #931626

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 7c0e28e70d63..1cbe9df4341b 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-05-09 Thread Richard Freeman
commit: 650a30d52a41b06a9b5687c43d9e075f58066710
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu May  9 10:50:57 2024 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu May  9 10:52:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650a30d5

sys-process/systemd-cron: stabilize 2.4.0 for amd64

Bug: https://bugs.gentoo.org/931626
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
index 00738f1c0e07..293661ce4869 100644
--- a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 # We can't run the unshare tests within sandbox/with low privs, and the
 # 'test-nounshare' target just does static analysis (shellcheck etc).



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-04-30 Thread Richard Freeman
commit: 9650ada19875e027a46c5ce23dc1bd0044d0
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Apr 30 11:45:05 2024 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Apr 30 12:51:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9650ada1

sys-process/systemd-cron: add 2.4.0

Bug: https://bugs.gentoo.org/930950
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 sys-process/systemd-cron/systemd-cron-2.4.0.ebuild | 93 ++
 2 files changed, 94 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 06b7f8013a30..830f4e8bbd72 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,3 @@
 DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0
 DIST systemd-cron-2.3.4.tar.gz 58458 BLAKE2B 
594fff8f7cc126aa33b1dcbf74293a39b5939576203c11f8f0fc300285462f266c35503a6cfe46ee797e5e617e54e09b92dd6ba8a4044f962d1efd2822f0a87c
 SHA512 
2a9743df6d0e1a83b65d15609e47b901fde1d77d1207c4cc0617395be8d9e94daece91aec9a3398c3d09f86383e01cfff301614df727ca598efe873453f5a3c9
+DIST systemd-cron-2.4.0.tar.gz 60462 BLAKE2B 
6a4450637b69ed9c32ea5711018be9265db96a6bf19896bb72c13184817750e7d64d2fdd00ac885d5ae3393b671c04c89d1bf46f73fbb817c1b1798a4809b955
 SHA512 
88ce99307101d33e6fc6a5dfa25f16db9754785809b44da78c6b05b52592385c9a957770ee781b97a248ab475304bd7eb234bffa47114031bd804e2aa5f79c06

diff --git a/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
new file mode 100644
index ..00738f1c0e07
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.4.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+# We can't run the unshare tests within sandbox/with low privs, and the
+# 'test-nounshare' target just does static analysis (shellcheck etc).
+RESTRICT="test"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+   !sys-process/cronie[anacron]
+   acct-user/_cron-failure
+   acct-group/_cron-failure
+   app-crypt/libmd:=
+   sys-process/cronbase
+   >=sys-apps/systemd-255[-split-usr(-)]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   runparts? ( sys-apps/debianutils )
+"
+DEPEND="
+   dev-libs/openssl:=
+   sys-process/cronbase
+"
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.cpp" \
+   "${S}/test/test-generator" || die
+   fi
+
+   default
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   tc-export PKG_CONFIG CXX CC
+
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) || die
+
+   export CRONTAB=crontab-systemd
+}
+
+src_compile() {
+   emake PCH=
+}
+
+src_install() {
+   emake DESTDIR="${D}" PCH= install
+   rm -f "${ED}"/usr/lib/sysusers.d/systemd-cron.conf
+}
+
+pkg_postinst() {
+   elog "This package now supports USE=runparts which is enabled by 
default."
+   elog "This enables the traditional run-parts behavior."
+   elog "If you disable this flag you will get the new behavior of having"
+   elog "multiple jobs for each cron.* entry run in parallel with"
+  

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/files/, sys-process/systemd-cron/

2024-04-16 Thread Richard Freeman
commit: 46d48ef3f778d1ec33a8115b17f8cd0a53b60b51
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Apr 16 15:08:08 2024 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Apr 16 15:16:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d48ef3

sys-process/systemd-cron: drop 1.16.7-r1, 2.3.0-r1, 2.3.0-r2

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |   2 -
 .../files/systemd-cron-2.3.0-pch.patch |  46 -
 .../systemd-cron/systemd-cron-1.16.7-r1.ebuild |  95 --
 .../systemd-cron/systemd-cron-2.3.0-r1.ebuild  |  92 --
 .../systemd-cron/systemd-cron-2.3.0-r2.ebuild  | 106 -
 5 files changed, 341 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 06aa4d41d515..06b7f8013a30 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,4 +1,2 @@
-DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
 DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0
-DIST systemd-cron-2.3.0.tar.gz 56873 BLAKE2B 
3efe8adc1b735ed5eb91c64d0936edceec50ff476d42ba5c1e9941c196a7bc8c777b0c293c8ed71894dae31c5b721a45a2876cab0143298e1b1ab3e82fcb7ceb
 SHA512 
abb7c34d6901160395d64cfc4e5124887909b963bcfee027f64642b25bb138b3f085eb45595197a380faf39b7f5980e32c50d083be6307d7c985a55057962565
 DIST systemd-cron-2.3.4.tar.gz 58458 BLAKE2B 
594fff8f7cc126aa33b1dcbf74293a39b5939576203c11f8f0fc300285462f266c35503a6cfe46ee797e5e617e54e09b92dd6ba8a4044f962d1efd2822f0a87c
 SHA512 
2a9743df6d0e1a83b65d15609e47b901fde1d77d1207c4cc0617395be8d9e94daece91aec9a3398c3d09f86383e01cfff301614df727ca598efe873453f5a3c9

diff --git a/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch 
b/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch
deleted file mode 100644
index e27f253a62ca..
--- a/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://bugs.gentoo.org/917646
-https://github.com/systemd-cron/systemd-cron/issues/141
-https://github.com/systemd-cron/systemd-cron/commit/1662b899b206f00face30b9d4671551427262b07
-
-From 1662b899b206f00face30b9d4671551427262b07 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= 
-Date: Tue, 21 Nov 2023 19:40:05 +0100
-Subject: [PATCH] Add PCH= for broken compilers like #141
-
 a/Makefile.in
-+++ b/Makefile.in
-@@ -1,6 +1,7 @@
- CFLAGS ?= -O2
- SHELLCHECK ?= shellcheck
- CRONTAB ?= crontab
-+PCH ?= y
- 
- version   := @version@
- schedules := @schedules@
-@@ -208,12 +209,12 @@ $(builddir)/include/%.hpp: $(srcdir)/include/%.hpp
- CXXVER := $(shell $(CXX) --version | { read -r l; echo "$$l"; })
- ifneq "$(findstring clang,$(CXXVER))" ""
-   # clang doesn't use PCHs automatically
--  PCH_ARG := -include-pch $(builddir)/include/libvoreutils.hpp.gch 
-Wno-gcc-compat
-+  PCH_ARG := $(if $(PCH),-include-pch 
$(builddir)/include/libvoreutils.hpp.gch) -Wno-gcc-compat
- else
-   PCH_ARG :=
- endif
- 
--common_headers := $(builddir)/include/configuration.hpp 
$(builddir)/include/libvoreutils.hpp.gch $(builddir)/include/util.hpp
-+common_headers := $(builddir)/include/configuration.hpp 
$(builddir)/include/libvoreutils.hpp$(if $(PCH),.gch) 
$(builddir)/include/util.hpp
- CFLAGS += -Wall -Wextra -fno-exceptions -Wno-psabi
- $(builddir)/include/libvoreutils.hpp.gch : 
$(builddir)/include/libvoreutils.hpp
-   $(CXX) $(CFLAGS) $(CPPFLAGS) -std=c++20 -I $(builddir)/include  
  $< -o $@
 a/README.md
-+++ b/README.md
-@@ -146,6 +146,8 @@ without the override, the jobs would run twice since 
native-timer detection woul
- If there is already a perfect 1:1 mapping between `/etc/cron./` 
and `/usr/lib/systemd/system/.timer`,
- then it is not needed to add an entry to these tables.
- 
-+If your compiler's [PCH compilation is 
broken](https://github.com/systemd-cron/systemd-cron/issues/141), build with 
`make PCH=`.
-+
- ### Caveat
- 
- Your package should also run these extra commands before starting cron.target
-

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
deleted file mode 100644
index b779832b971b..
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-04-16 Thread Richard Freeman
commit: 641c536fe4afa656f34ebb656bf1e8bca8bd87bc
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Apr 16 15:14:12 2024 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Apr 16 15:16:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641c536f

sys-process/systemd-cron: Require split-usr in deps and no longer die.

Closes: https://bugs.gentoo.org/928893
Signed-off-by: Richard Freeman  gentoo.org>

 ...{systemd-cron-2.3.4.ebuild => systemd-cron-2.3.4-r1.ebuild} | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
similarity index 90%
rename from sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
rename to sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
index 32892c37b102..00738f1c0e07 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.4-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
acct-group/_cron-failure
app-crypt/libmd:=
sys-process/cronbase
-   >=sys-apps/systemd-253
+   >=sys-apps/systemd-255[-split-usr(-)]
!etc-crontab-systemd? ( !sys-process/dcron )
runparts? ( sys-apps/debianutils )
 "
@@ -32,14 +32,6 @@ DEPEND="
sys-process/cronbase
 "
 
-pkg_pretend() {
-   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-   eerror "Please complete the migration to merged-usr."
-   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd-cron no longer supports split-usr"
-   fi
-}
-
 src_prepare() {
sed -i \
-e 's/^crontab/crontab-systemd/' \



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-03-29 Thread Richard Freeman
commit: 5bf8858b838e87def072cbc01927768799b7cc89
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Mar 29 11:31:04 2024 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Mar 29 11:31:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf8858b

sys-process/systemd-cron: add 2.3.4

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |   1 +
 sys-process/systemd-cron/systemd-cron-2.3.4.ebuild | 101 +
 2 files changed, 102 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 8da4bc90b8c5..06aa4d41d515 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,3 +1,4 @@
 DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
 DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0
 DIST systemd-cron-2.3.0.tar.gz 56873 BLAKE2B 
3efe8adc1b735ed5eb91c64d0936edceec50ff476d42ba5c1e9941c196a7bc8c777b0c293c8ed71894dae31c5b721a45a2876cab0143298e1b1ab3e82fcb7ceb
 SHA512 
abb7c34d6901160395d64cfc4e5124887909b963bcfee027f64642b25bb138b3f085eb45595197a380faf39b7f5980e32c50d083be6307d7c985a55057962565
+DIST systemd-cron-2.3.4.tar.gz 58458 BLAKE2B 
594fff8f7cc126aa33b1dcbf74293a39b5939576203c11f8f0fc300285462f266c35503a6cfe46ee797e5e617e54e09b92dd6ba8a4044f962d1efd2822f0a87c
 SHA512 
2a9743df6d0e1a83b65d15609e47b901fde1d77d1207c4cc0617395be8d9e94daece91aec9a3398c3d09f86383e01cfff301614df727ca598efe873453f5a3c9

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
new file mode 100644
index ..32892c37b102
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.3.4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+# We can't run the unshare tests within sandbox/with low privs, and the
+# 'test-nounshare' target just does static analysis (shellcheck etc).
+RESTRICT="test"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+   !sys-process/cronie[anacron]
+   acct-user/_cron-failure
+   acct-group/_cron-failure
+   app-crypt/libmd:=
+   sys-process/cronbase
+   >=sys-apps/systemd-253
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   runparts? ( sys-apps/debianutils )
+"
+DEPEND="
+   dev-libs/openssl:=
+   sys-process/cronbase
+"
+
+pkg_pretend() {
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
+   fi
+}
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.cpp" \
+   "${S}/test/test-generator" || die
+   fi
+
+   default
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   tc-export PKG_CONFIG CXX CC
+
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-01-29 Thread Sam James
commit: ee22ac8f636ce472339d49ef7b36143f95cc25de
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 30 05:25:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 30 05:38:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee22ac8f

sys-process/systemd-cron: fix indentation

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 8 
 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild  | 8 
 sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild  | 8 
 sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild  | 6 +++---
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 873c2ce086a0..b779832b971b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,9 +31,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-   eerror "Please complete the migration to merged-usr."
-   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd-cron no longer supports split-usr"
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
fi
 }
 

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index 9cc24c0a17b5..5fc4b9bc9d58 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -29,9 +29,9 @@ DEPEND="sys-process/cronbase"
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-   eerror "Please complete the migration to merged-usr."
-   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd-cron no longer supports split-usr"
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
fi
 }
 

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
index 730804899d73..cfc4ae02d6f4 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -29,9 +29,9 @@ DEPEND="sys-process/cronbase"
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-   eerror "Please complete the migration to merged-usr."
-   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd-cron no longer supports split-usr"
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
fi
 }
 

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
index 1e1081ed71b1..31ac52232f72 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
@@ -39,9 +39,9 @@ PATCHES=(
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
-   eerror "Please complete the migration to merged-usr."
-   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd-cron no longer supports split-usr"
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-01-20 Thread Sam James
commit: 4de0c66d358786aa00c283c1c2805c750c7ee43b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 20 08:55:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 20 09:06:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de0c66d

sys-process/systemd-cron: add note about openssl->libmd for next release

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
index b7c8fd07ac68..1e1081ed71b1 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
@@ -17,6 +17,7 @@ IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid 
yearly"
 RESTRICT="test"
 
 BDEPEND="virtual/pkgconfig"
+# Next release will switch openssl->libmd 
(https://github.com/systemd-cron/systemd-cron/commit/fe0b10b1ed55122a3cd07a382a951aeb87a3fee2)
 RDEPEND="
!sys-process/cronie[anacron]
acct-user/_cron-failure



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/, sys-process/systemd-cron/files/

2024-01-14 Thread Sam James
commit: d77f5a3f40122879f39a97420f170fca226e6e58
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 14 17:10:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 14 17:15:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77f5a3f

sys-process/systemd-cron: disable PCH

By policy in Gentoo, we don't do PCH as it's too brittle.

Closes: https://bugs.gentoo.org/917646
Signed-off-by: Sam James  gentoo.org>

 .../files/systemd-cron-2.3.0-pch.patch |  46 ++
 .../systemd-cron/systemd-cron-2.3.0-r2.ebuild  | 100 +
 2 files changed, 146 insertions(+)

diff --git a/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch 
b/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch
new file mode 100644
index ..e27f253a62ca
--- /dev/null
+++ b/sys-process/systemd-cron/files/systemd-cron-2.3.0-pch.patch
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/917646
+https://github.com/systemd-cron/systemd-cron/issues/141
+https://github.com/systemd-cron/systemd-cron/commit/1662b899b206f00face30b9d4671551427262b07
+
+From 1662b899b206f00face30b9d4671551427262b07 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= 
+Date: Tue, 21 Nov 2023 19:40:05 +0100
+Subject: [PATCH] Add PCH= for broken compilers like #141
+
+--- a/Makefile.in
 b/Makefile.in
+@@ -1,6 +1,7 @@
+ CFLAGS ?= -O2
+ SHELLCHECK ?= shellcheck
+ CRONTAB ?= crontab
++PCH ?= y
+ 
+ version   := @version@
+ schedules := @schedules@
+@@ -208,12 +209,12 @@ $(builddir)/include/%.hpp: $(srcdir)/include/%.hpp
+ CXXVER := $(shell $(CXX) --version | { read -r l; echo "$$l"; })
+ ifneq "$(findstring clang,$(CXXVER))" ""
+   # clang doesn't use PCHs automatically
+-  PCH_ARG := -include-pch $(builddir)/include/libvoreutils.hpp.gch 
-Wno-gcc-compat
++  PCH_ARG := $(if $(PCH),-include-pch 
$(builddir)/include/libvoreutils.hpp.gch) -Wno-gcc-compat
+ else
+   PCH_ARG :=
+ endif
+ 
+-common_headers := $(builddir)/include/configuration.hpp 
$(builddir)/include/libvoreutils.hpp.gch $(builddir)/include/util.hpp
++common_headers := $(builddir)/include/configuration.hpp 
$(builddir)/include/libvoreutils.hpp$(if $(PCH),.gch) 
$(builddir)/include/util.hpp
+ CFLAGS += -Wall -Wextra -fno-exceptions -Wno-psabi
+ $(builddir)/include/libvoreutils.hpp.gch : 
$(builddir)/include/libvoreutils.hpp
+   $(CXX) $(CFLAGS) $(CPPFLAGS) -std=c++20 -I $(builddir)/include  
  $< -o $@
+--- a/README.md
 b/README.md
+@@ -146,6 +146,8 @@ without the override, the jobs would run twice since 
native-timer detection woul
+ If there is already a perfect 1:1 mapping between `/etc/cron./` 
and `/usr/lib/systemd/system/.timer`,
+ then it is not needed to add an entry to these tables.
+ 
++If your compiler's [PCH compilation is 
broken](https://github.com/systemd-cron/systemd-cron/issues/141), build with 
`make PCH=`.
++
+ ### Caveat
+ 
+ Your package should also run these extra commands before starting cron.target
+

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
new file mode 100644
index ..f6651f53f31a
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+RESTRICT="test"
+
+BDEPEND="virtual/pkgconfig"
+
+RDEPEND=">=sys-apps/systemd-253
+   dev-libs/openssl
+   runparts? ( sys-apps/debianutils )
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.3.0-pch.patch
+)
+
+pkg_pretend() {
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
+   fi
+}
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-01-14 Thread Sam James
commit: 6189b51796d509dd3e67c6c0029f24be53460ff7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 14 17:12:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 14 17:15:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6189b517

sys-process/systemd-cron: add comment for restricted tests

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
index f6651f53f31a..edd033210173 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
@@ -12,6 +12,8 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+# We can't run the unshare tests within sandbox/with low privs, and the
+# 'test-nounshare' target just does static analysis (shellcheck etc).
 RESTRICT="test"
 
 BDEPEND="virtual/pkgconfig"



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2024-01-14 Thread Sam James
commit: 9e2ec90217ee7c52d891169dc543420ea70202f8
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 14 17:14:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 14 17:15:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2ec902

sys-process/systemd-cron: fix dependencies

* OpenSSL should be in DEPEND too as it's linked against
* ... and use := for it
* Sort dependencies the way we usually do and use consistent style

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild | 19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
index edd033210173..b7c8fd07ac68 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r2.ebuild
@@ -17,17 +17,20 @@ IUSE="cron-boot etc-crontab-systemd minutely +runparts 
setgid yearly"
 RESTRICT="test"
 
 BDEPEND="virtual/pkgconfig"
-
-RDEPEND=">=sys-apps/systemd-253
-   dev-libs/openssl
-   runparts? ( sys-apps/debianutils )
+RDEPEND="
!sys-process/cronie[anacron]
+   acct-user/_cron-failure
+   acct-group/_cron-failure
+   dev-libs/openssl:=
+   sys-process/cronbase
+   >=sys-apps/systemd-253
!etc-crontab-systemd? ( !sys-process/dcron )
+   runparts? ( sys-apps/debianutils )
+"
+DEPEND="
+   dev-libs/openssl:=
sys-process/cronbase
-   acct-user/_cron-failure
-   acct-group/_cron-failure"
-
-DEPEND="sys-process/cronbase"
+"
 
 PATCHES=(
"${FILESDIR}"/${PN}-2.3.0-pch.patch



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/, sys-process/systemd-cron/files/

2023-12-22 Thread Richard Freeman
commit: 1d2c97f4f820f566005e24ce0f10f4a5c464bc9d
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 10:03:28 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 10:04:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2c97f4

sys-process/systemd-cron: drop 1.15.19-r1, 1.15.20, 2.1.3-r1

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |   3 -
 .../systemd-cron-1.15.19-default-mail-user.patch   |  28 --
 .../systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch|  30 ---
 .../systemd-cron/systemd-cron-1.15.19-r1.ebuild|  96 
 .../systemd-cron/systemd-cron-1.15.20.ebuild   |  93 ---
 .../systemd-cron/systemd-cron-2.1.3-r1.ebuild  | 100 -
 6 files changed, 350 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index a7301a128266..8da4bc90b8c5 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,6 +1,3 @@
-DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
-DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee509975387f1634805c7c428065e720332d10665b6d5662a961304acf59cc688d99afc514500aa829fa2c71f296fc04503419fd
 SHA512 
814a639bd3a06b1c4aa5dbc449c29812e94ad7ed27bff26618637e305bf03800527c1242eb5343cea89aa1345b203c709fbdcd251905009f19c254ab25244bcf
 DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
-DIST systemd-cron-2.1.3.tar.gz 53796 BLAKE2B 
438229f84e2ad815bf658d93dcd3afd49d382f2c9499b6273d8e94a1d1ecda28016327a2e21882c0ed27e7d9e5603d804d3b697f04bbd130cc11ee9bfa341c80
 SHA512 
e8fccfdbd52d8e24b77e93db8f5afe25007e43c5d67e50aa7eda70f8a1197ebae8d080a2e179e8cf694188ba4c0bd2795740ef021f6991ae80ece4408e3500f9
 DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0
 DIST systemd-cron-2.3.0.tar.gz 56873 BLAKE2B 
3efe8adc1b735ed5eb91c64d0936edceec50ff476d42ba5c1e9941c196a7bc8c777b0c293c8ed71894dae31c5b721a45a2876cab0143298e1b1ab3e82fcb7ceb
 SHA512 
abb7c34d6901160395d64cfc4e5124887909b963bcfee027f64642b25bb138b3f085eb45595197a380faf39b7f5980e32c50d083be6307d7c985a55057962565

diff --git 
a/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch 
b/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch
deleted file mode 100644
index 420f68d81091..
--- 
a/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 525410d5dc2a7c33590d25d6c574dec7eb826ec1 Mon Sep 17 00:00:00 2001
-From: Richard Freeman 
-Date: Mon, 25 Jul 2022 15:36:21 -0400
-Subject: [PATCH] Fix default user fallback.
-
-Signed-off-by: Richard Freeman 

- src/bin/mail_on_failure.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/bin/mail_on_failure.py b/src/bin/mail_on_failure.py
-index 132eab9..dd2288f 100755
 a/src/bin/mail_on_failure.py
-+++ b/src/bin/mail_on_failure.py
-@@ -26,7 +26,9 @@ user = subprocess.check_output(
-  ['systemctl', 'show', args.unit, '--property=User'],
-  universal_newlines=True)
- user = user.rstrip('\n')
--user = user.split('=')[1] if user else 'root'
-+user = user.split('=')[1]
-+if not user:
-+user = 'root'
- 
- mailto = user
- mailfrom = 'root'
--- 
-2.35.1
-

diff --git 
a/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch 
b/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch
deleted file mode 100644
index 93d44a15c8f2..
--- a/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From acd77f59d58d9ec812f64c833a5e029b9dbae92a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= 
-Date: Sun, 24 Sep 2023 01:27:09 +0200
-Subject: [PATCH] MAYBE_DUPA needs to work around helpful toolchains that make
- string_view::operator[] actually be ::at()
-
-Closes: #134

- src/include/libvoreutils.hpp | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/include/libvoreutils.hpp b/src/include/libvoreutils.hpp
-index 02fad8e..eaa7adc 100644

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Arthur Zamarin
commit: 86645894f805959544ec2761e51d6c49d30b05a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 22 07:26:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 22 07:26:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86645894

sys-process/systemd-cron: Stabilize 2.2.0-r1 x86, #920505

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index 5463a94840d4..31138c0656f8 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Arthur Zamarin
commit: 170cacb8b03acb688528b89fc710ca824c59f76c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 22 07:26:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 22 07:26:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170cacb8

sys-process/systemd-cron: Stabilize 2.2.0-r1 ppc64, #920505

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index 31138c0656f8..9cc24c0a17b5 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Arthur Zamarin
commit: 17c3ca42c5e025abb8cdfd0f2baeef4fb3421ca9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 22 07:21:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 22 07:21:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c3ca42

sys-process/systemd-cron: Stabilize 2.2.0-r1 ppc, #920505

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index 2f0bdfa85856..5463a94840d4 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Sam James
commit: 46448f68254a46253bc675198dde360b6f31365e
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 22 05:02:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 22 05:04:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46448f68

sys-process/systemd-cron: Stabilize 2.2.0-r1 arm, #920505

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index ea630893c320..bf774942d0fa 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Sam James
commit: 966a8a3e3383b7b992ee38383a74befd440f1bb9
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 22 05:02:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 22 05:04:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966a8a3e

sys-process/systemd-cron: Stabilize 2.2.0-r1 arm64, #920505

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index ea6ebfd49e7d..2f0bdfa85856 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Sam James
commit: 3f69d8d87893675e3c1103149bc2162f75dc9eed
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 22 05:02:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 22 05:04:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f69d8d8

sys-process/systemd-cron: Stabilize 2.2.0-r1 sparc, #920505

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index bf774942d0fa..ea6ebfd49e7d 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Richard Freeman
commit: 174b4a1c984b6d4fd4ce67e66c4e1aac6daf70e9
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 00:29:07 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 00:29:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174b4a1c

sys-process/systemd-cron: remove 2.3.0 shellcheck dep and static tests

Signed-off-by: Richard Freeman  gentoo.org>

 ...systemd-cron-2.3.0.ebuild => systemd-cron-2.3.0-r1.ebuild} | 11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
similarity index 90%
rename from sys-process/systemd-cron/systemd-cron-2.3.0.ebuild
rename to sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
index 752240ab8359..730804899d73 100644
--- a/sys-process/systemd-cron/systemd-cron-2.3.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0-r1.ebuild
@@ -11,8 +11,8 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
-RESTRICT="!test? ( test )"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+RESTRICT="test"
 
 BDEPEND="virtual/pkgconfig"
 
@@ -25,8 +25,7 @@ RDEPEND=">=sys-apps/systemd-253
acct-user/_cron-failure
acct-group/_cron-failure"
 
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db || ( dev-util/shellcheck 
dev-util/shellcheck-bin ) )"
+DEPEND="sys-process/cronbase"
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
@@ -84,10 +83,6 @@ src_install() {
rm -f "${ED}"/usr/lib/sysusers.d/systemd-cron.conf
 }
 
-src_test() {
-   emake test-nounshare
-}
-
 pkg_postinst() {
elog "This package now supports USE=runparts which is enabled by 
default."
elog "This enables the traditional run-parts behavior."



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Richard Freeman
commit: c0e565f905f716fd602b1a33724311b3d05751d6
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 00:27:07 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 00:29:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e565f9

sys-process/systemd-cron: remove 2.2.0 shellcheck dep and static tests

Signed-off-by: Richard Freeman  gentoo.org>

 ...systemd-cron-2.2.0.ebuild => systemd-cron-2.2.0-r1.ebuild} | 11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
similarity index 90%
rename from sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
rename to sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
index d1b5963bcebc..ea630893c320 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0-r1.ebuild
@@ -11,8 +11,8 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
-RESTRICT="!test? ( test )"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid yearly"
+RESTRICT="test"
 
 BDEPEND="virtual/pkgconfig"
 
@@ -25,8 +25,7 @@ RDEPEND=">=sys-apps/systemd-253
acct-user/_cron-failure
acct-group/_cron-failure"
 
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db || ( dev-util/shellcheck 
dev-util/shellcheck-bin ) )"
+DEPEND="sys-process/cronbase"
 
 pkg_pretend() {
if use runparts && ! [ -x /usr/bin/run-parts ] ; then
@@ -84,10 +83,6 @@ src_install() {
rm -f "${ED}"/usr/lib/sysusers.d/systemd-cron.conf
 }
 
-src_test() {
-   emake test-nounshare
-}
-
 pkg_postinst() {
elog "This package now supports USE=runparts which is enabled by 
default."
elog "This enables the traditional run-parts behavior."



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Richard Freeman
commit: f5fa0f3612e0809f1b5b1dc670a1d8af4d016937
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Dec 21 20:21:01 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Dec 21 20:21:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fa0f36

sys-process/systemd-cron: stabilize 2.2.0 for amd64

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
index 752240ab8359..d1b5963bcebc 100644
--- a/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-12-21 Thread Richard Freeman
commit: 5e2f8254423cb6a8e67d4152feb32a529a474b54
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Dec 21 18:22:11 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Dec 21 18:22:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2f8254

sys-process/systemd-cron: add 2.3.0

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 sys-process/systemd-cron/systemd-cron-2.3.0.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 34c9c9fa5c12..a7301a128266 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -3,3 +3,4 @@ DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee5099753
 DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
 DIST systemd-cron-2.1.3.tar.gz 53796 BLAKE2B 
438229f84e2ad815bf658d93dcd3afd49d382f2c9499b6273d8e94a1d1ecda28016327a2e21882c0ed27e7d9e5603d804d3b697f04bbd130cc11ee9bfa341c80
 SHA512 
e8fccfdbd52d8e24b77e93db8f5afe25007e43c5d67e50aa7eda70f8a1197ebae8d080a2e179e8cf694188ba4c0bd2795740ef021f6991ae80ece4408e3500f9
 DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0
+DIST systemd-cron-2.3.0.tar.gz 56873 BLAKE2B 
3efe8adc1b735ed5eb91c64d0936edceec50ff476d42ba5c1e9941c196a7bc8c777b0c293c8ed71894dae31c5b721a45a2876cab0143298e1b1ab3e82fcb7ceb
 SHA512 
abb7c34d6901160395d64cfc4e5124887909b963bcfee027f64642b25bb138b3f085eb45595197a380faf39b7f5980e32c50d083be6307d7c985a55057962565

diff --git a/sys-process/systemd-cron/systemd-cron-2.3.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.3.0.ebuild
new file mode 100644
index ..752240ab8359
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.3.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+RDEPEND=">=sys-apps/systemd-253
+   dev-libs/openssl
+   runparts? ( sys-apps/debianutils )
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db || ( dev-util/shellcheck 
dev-util/shellcheck-bin ) )"
+
+pkg_pretend() {
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
+   fi
+}
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.cpp" \
+   "${S}/test/test-generator" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   tc-export PKG_CONFIG CXX CC
+
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-10-01 Thread Arthur Zamarin
commit: c05f73abcb930b12f66c6e435d7ed056bc97b4ba
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  1 18:22:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  1 18:22:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05f73ab

sys-process/systemd-cron: Stabilize 1.16.7-r1 x86, #914618

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 4b9e946829d8..873c2ce086a0 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-10-01 Thread Arthur Zamarin
commit: 43255b3e88be04c4b659f5e95fcb5b7db74b2e97
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  1 18:22:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  1 18:22:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43255b3e

sys-process/systemd-cron: Stabilize 1.16.7-r1 ppc64, #914618

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index c53b8be32a34..4b9e946829d8 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-10-01 Thread Arthur Zamarin
commit: 7ac70861251202e5791e344cf8cdcc966f1db5fc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  1 18:22:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  1 18:22:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac70861

sys-process/systemd-cron: Stabilize 1.16.7-r1 ppc, #914618

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 849e70b596ad..c53b8be32a34 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-10-01 Thread Arthur Zamarin
commit: 1543e864a958937929ffb6e9f96892275696e098
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  1 18:22:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  1 18:22:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1543e864

sys-process/systemd-cron: Stabilize 1.16.7-r1 arm, #914618

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 918d4137f759..849e70b596ad 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-09-27 Thread Sam James
commit: 805f16e4a111bba7871fbed2d9a8a8e25bc83838
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 28 04:20:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 28 04:20:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805f16e4

sys-process/systemd-cron: Stabilize 1.16.7-r1 sparc, #914618

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 680892a6d54b..918d4137f759 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-09-26 Thread Richard Freeman
commit: eee4ed762747c532029356c5258657ba0e33f7cf
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Sep 26 18:55:34 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Sep 26 18:55:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee4ed76

sys-process/systemd-cron: add 2.2.0

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 sys-process/systemd-cron/systemd-cron-2.2.0.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index f2f8e1acc893..34c9c9fa5c12 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -2,3 +2,4 @@ DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e5
 DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee509975387f1634805c7c428065e720332d10665b6d5662a961304acf59cc688d99afc514500aa829fa2c71f296fc04503419fd
 SHA512 
814a639bd3a06b1c4aa5dbc449c29812e94ad7ed27bff26618637e305bf03800527c1242eb5343cea89aa1345b203c709fbdcd251905009f19c254ab25244bcf
 DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
 DIST systemd-cron-2.1.3.tar.gz 53796 BLAKE2B 
438229f84e2ad815bf658d93dcd3afd49d382f2c9499b6273d8e94a1d1ecda28016327a2e21882c0ed27e7d9e5603d804d3b697f04bbd130cc11ee9bfa341c80
 SHA512 
e8fccfdbd52d8e24b77e93db8f5afe25007e43c5d67e50aa7eda70f8a1197ebae8d080a2e179e8cf694188ba4c0bd2795740ef021f6991ae80ece4408e3500f9
+DIST systemd-cron-2.2.0.tar.gz 55825 BLAKE2B 
ca4b02fdea5084439aa56b3f04603000d811f21922c11cd26a22ea6387e4b54575587ff4e1eb7fc7a3260d2f656ea0eb91365942c135982f4bd26aead1a080f1
 SHA512 
f26c7d7e2da7eb5cd5558f352aff852585bfefd961de6ecc2409a4a53b63f82662a89bdbf71f739ea8e44ef9e3e1fdec15cdc63ce1e90c289fb0e636ff679ca0

diff --git a/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
new file mode 100644
index ..752240ab8359
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.2.0.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+RDEPEND=">=sys-apps/systemd-253
+   dev-libs/openssl
+   runparts? ( sys-apps/debianutils )
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db || ( dev-util/shellcheck 
dev-util/shellcheck-bin ) )"
+
+pkg_pretend() {
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
+   fi
+}
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.cpp" \
+   "${S}/test/test-generator" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   tc-export PKG_CONFIG CXX CC
+
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+  

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-09-26 Thread Richard Freeman
commit: 9dff8402a60678df2efbbd8b9984258d4384e24a
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Sep 26 18:44:07 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Sep 26 18:44:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dff8402

sys-process/systemd-cron: stabilize 1.16.7-r1 for amd64

Bug: https://bugs.gentoo.org/914618
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 083a40da15b2..680892a6d54b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/, sys-process/systemd-cron/files/

2023-09-23 Thread Georgy Yakovlev
commit: 003194957fafdd2832863e8bd445085189e2a743
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Sep 24 00:16:25 2023 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Sep 24 00:17:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00319495

sys-process/systemd-cron: revbump 2.1.3, fix SIGABRT with cxx assertions

Happens on hardened toolchain systems.

Issue: https://github.com/systemd-cron/systemd-cron/issues/134
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch| 30 ++
 ...n-2.1.3.ebuild => systemd-cron-2.1.3-r1.ebuild} |  3 +++
 2 files changed, 33 insertions(+)

diff --git 
a/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch 
b/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch
new file mode 100644
index ..93d44a15c8f2
--- /dev/null
+++ b/sys-process/systemd-cron/files/systemd-cron-2.1.3-MAYBE_DUPA_SIGABRT.patch
@@ -0,0 +1,30 @@
+From acd77f59d58d9ec812f64c833a5e029b9dbae92a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= 
+Date: Sun, 24 Sep 2023 01:27:09 +0200
+Subject: [PATCH] MAYBE_DUPA needs to work around helpful toolchains that make
+ string_view::operator[] actually be ::at()
+
+Closes: #134
+---
+ src/include/libvoreutils.hpp | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/include/libvoreutils.hpp b/src/include/libvoreutils.hpp
+index 02fad8e..eaa7adc 100644
+--- a/src/include/libvoreutils.hpp
 b/src/include/libvoreutils.hpp
+@@ -361,10 +361,10 @@ namespace vore {
+ #endif
+ 
+ 
+-#define MAYBE_DUPA(strv)  
 \
+-  __extension__({ 
 \
+-  auto && _strv = strv;   
   \
+-  _strv[_strv.size()] ? strndupa(_strv.data(), _strv.size()) : 
_strv.data(); \
++#define MAYBE_DUPA(strv)  
\
++  __extension__({ 
\
++  auto && _strv = strv;   
  \
++  _strv.data()[_strv.size()] ? strndupa(_strv.data(), 
_strv.size()) : _strv.data(); \
+   })
+ 
+ 

diff --git a/sys-process/systemd-cron/systemd-cron-2.1.3.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.1.3-r1.ebuild
similarity index 92%
rename from sys-process/systemd-cron/systemd-cron-2.1.3.ebuild
rename to sys-process/systemd-cron/systemd-cron-2.1.3-r1.ebuild
index 752240ab8359..892d8b5f3d04 100644
--- a/sys-process/systemd-cron/systemd-cron-2.1.3.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-2.1.3-r1.ebuild
@@ -50,6 +50,9 @@ src_prepare() {
"${S}/test/test-generator" || die
fi
 
+   # https://github.com/systemd-cron/systemd-cron/issues/134
+   # 
https://github.com/systemd-cron/systemd-cron/commit/acd77f59d58d9ec812f64c833a5e029b9dbae92a
+   eapply "${FILESDIR}/${P}-MAYBE_DUPA_SIGABRT.patch"
eapply_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-09-13 Thread Richard Freeman
commit: b80649ddc1d7626ef6e3de1f6fe7958255a5be78
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Sep 13 19:09:02 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Sep 13 19:10:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80649dd

sys-process/systemd-cron: add 2.1.3

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 sys-process/systemd-cron/systemd-cron-2.1.3.ebuild | 97 ++
 2 files changed, 98 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 531e9ff85cda..f2f8e1acc893 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,3 +1,4 @@
 DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
 DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee509975387f1634805c7c428065e720332d10665b6d5662a961304acf59cc688d99afc514500aa829fa2c71f296fc04503419fd
 SHA512 
814a639bd3a06b1c4aa5dbc449c29812e94ad7ed27bff26618637e305bf03800527c1242eb5343cea89aa1345b203c709fbdcd251905009f19c254ab25244bcf
 DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f
+DIST systemd-cron-2.1.3.tar.gz 53796 BLAKE2B 
438229f84e2ad815bf658d93dcd3afd49d382f2c9499b6273d8e94a1d1ecda28016327a2e21882c0ed27e7d9e5603d804d3b697f04bbd130cc11ee9bfa341c80
 SHA512 
e8fccfdbd52d8e24b77e93db8f5afe25007e43c5d67e50aa7eda70f8a1197ebae8d080a2e179e8cf694188ba4c0bd2795740ef021f6991ae80ece4408e3500f9

diff --git a/sys-process/systemd-cron/systemd-cron-2.1.3.ebuild 
b/sys-process/systemd-cron/systemd-cron-2.1.3.ebuild
new file mode 100644
index ..752240ab8359
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-2.1.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd toolchain-funcs
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+RDEPEND=">=sys-apps/systemd-253
+   dev-libs/openssl
+   runparts? ( sys-apps/debianutils )
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db || ( dev-util/shellcheck 
dev-util/shellcheck-bin ) )"
+
+pkg_pretend() {
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd-cron no longer supports split-usr"
+   fi
+}
+
+src_prepare() {
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.cpp" \
+   "${S}/test/test-generator" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   tc-export PKG_CONFIG CXX CC
+
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) || die
+
+   export 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-17 Thread Richard Freeman
commit: b5a5490235041b2de068c374ab7d6db9efe4fefa
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Aug 17 19:31:16 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Aug 17 19:31:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a54902

sys-process/systemd-cron: only check split usr for run-parts

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index 9971a8609893..083a40da15b2 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid split-usr test 
yearly"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 
 RDEPEND=">=sys-apps/systemd-217
@@ -30,10 +30,10 @@ DEPEND="sys-process/cronbase
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 pkg_pretend() {
-   if use split-usr; then
+   if use runparts && ! [ -x /usr/bin/run-parts ] ; then
eerror "Please complete the migration to merged-usr."
eerror "https://wiki.gentoo.org/wiki/Merge-usr;
-   die "systemd no longer supports split-usr"
+   die "systemd-cron no longer supports split-usr"
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-16 Thread Richard Freeman
commit: 75358cead992cc1081f4dd728bce053251fb1491
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Aug 16 19:39:44 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Aug 16 19:40:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75358cea

sys-process/systemd-cron: catch configure errors in future

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index c94d705a9f69..9971a8609893 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -76,7 +76,7 @@ src_configure() {
$(my_use_enable yearly) \
$(my_use_enable yearly quarterly) \
$(my_use_enable yearly semi_annually) \
-   $(my_use_enable setgid)
+   $(my_use_enable setgid) || die
 
export CRONTAB=crontab-systemd
 }



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-16 Thread Richard Freeman
commit: e35d715ebd098067176566bd065ee65340b5ed6a
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Aug 16 14:45:15 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Aug 16 14:45:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35d715e

sys-process/systemd-cron: use split-usr USE flag to detect split usr

This approach is the same as used by sys-apps/systemd-.

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
index e44362e5d6bf..c94d705a9f69 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid split-usr test 
yearly"
 RESTRICT="!test? ( test )"
 
 RDEPEND=">=sys-apps/systemd-217
@@ -29,9 +29,15 @@ DEPEND="sys-process/cronbase
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-src_prepare() {
-   [[ -L /bin ]] || die "systemd-cron requires a merged /usr"
+pkg_pretend() {
+   if use split-usr; then
+   eerror "Please complete the migration to merged-usr."
+   eerror "https://wiki.gentoo.org/wiki/Merge-usr;
+   die "systemd no longer supports split-usr"
+   fi
+}
 
+src_prepare() {
python_fix_shebang --force "${S}/src/bin"
 
sed -i \



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-16 Thread Richard Freeman
commit: 00b331aac5089037c01d00176d1ed7bd1cb4e4fc
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Aug 16 14:39:37 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Aug 16 14:39:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b331aa

sys-process/systemd-cron: revbump since installed files change

Signed-off-by: Richard Freeman  gentoo.org>

 .../{systemd-cron-1.16.7.ebuild => systemd-cron-1.16.7-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild
similarity index 100%
rename from sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
rename to sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-16 Thread Richard Freeman
commit: 44152e2ec8c240c3c2e6c1c7c3846225b8cce851
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Aug 16 14:34:18 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Aug 16 14:35:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44152e2e

sys-process/systemd-cron: Fix configure due to upstream refactor.

Bug: https://bugs.gentoo.org/912334
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.16.7.ebuild | 14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
index 2498aab65d88..e44362e5d6bf 100644
--- a/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
@@ -30,6 +30,8 @@ DEPEND="sys-process/cronbase
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 src_prepare() {
+   [[ -L /bin ]] || die "systemd-cron requires a merged /usr"
+
python_fix_shebang --force "${S}/src/bin"
 
sed -i \
@@ -37,12 +39,6 @@ src_prepare() {
-e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
-- "${S}/src/man/crontab."{1,5}".in" || die
 
-   sed -i \
-   -e 's!/crontab$!/crontab-systemd!' \
-   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
-   -e 's/pyflakes3/pyflakes/' \
-   -- "${S}/Makefile.in" || die
-
if use etc-crontab-systemd
thensed -i \
-e "s!/etc/crontab!/etc/crontab-systemd!" \
@@ -65,7 +61,6 @@ src_configure() {
./configure \
--prefix="${EPREFIX}/usr" \
--confdir="${EPREFIX}/etc" \
-   --runparts="${EPREFIX}/bin/run-parts" \
--mandir="${EPREFIX}/usr/share/man" \
--unitdir="$(systemd_get_systemunitdir)" \
--generatordir="$(systemd_get_systemgeneratordir)" \
@@ -75,8 +70,9 @@ src_configure() {
$(my_use_enable yearly) \
$(my_use_enable yearly quarterly) \
$(my_use_enable yearly semi_annually) \
-   $(my_use_enable setgid) \
-   --enable-persistent=yes
+   $(my_use_enable setgid)
+
+   export CRONTAB=crontab-systemd
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-08-15 Thread Richard Freeman
commit: d6b4f09d2dd9424fd27ad485275f4e6983fcf67f
Author: Richard Freeman  gentoo  org>
AuthorDate: Tue Aug 15 15:00:49 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Aug 15 15:05:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b4f09d

sys-process/systemd-cron: add 1.16.7

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.16.7.ebuild| 93 ++
 2 files changed, 94 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index eaa7d4323ff6..531e9ff85cda 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,3 @@
 DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
 DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee509975387f1634805c7c428065e720332d10665b6d5662a961304acf59cc688d99afc514500aa829fa2c71f296fc04503419fd
 SHA512 
814a639bd3a06b1c4aa5dbc449c29812e94ad7ed27bff26618637e305bf03800527c1242eb5343cea89aa1345b203c709fbdcd251905009f19c254ab25244bcf
+DIST systemd-cron-1.16.7.tar.gz 37887 BLAKE2B 
a900058cef1cd02ac464d3ecdd43ce2f264bdba386f349ef82f0a915104302b1e88d94331d5fbaabe2c54f526900f3e1ac65ea6bdc2f27a6464e6d7514561a19
 SHA512 
d65d641fd449cdc0e91db3ae6ebe464bc4e24027c501b30a8ab17e7cc40de290cc6141bfb7880a724d97248861587e6f5fea113a6aa6e468d971aff3a13b056f

diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
new file mode 100644
index ..2498aab65d88
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.16.7.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}
+
+src_install() {
+   default
+   rm -f "${ED}"/usr/lib/sysusers.d/systemd-cron.conf
+}
+
+pkg_postinst() {
+   elog "This package now supports USE=runparts which is enabled by 
default."
+   elog "This enables the traditional run-parts behavior."
+   elog "If you 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-07-17 Thread Sam James
commit: a1a497e48f9f3eda9e9a903d2bbb01acfc01e65b
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 17 11:15:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 17 11:15:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a497e4

sys-process/systemd-cron: Stabilize 1.15.20 ppc, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index 1bbe63f72d44..87efa58e4e82 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Sam James
commit: 61711eeb30244702f8c209acbf1b79f3997196bd
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 14 15:11:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 14 15:11:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61711eeb

sys-process/systemd-cron: Stabilize 1.15.20 sparc, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index 38c72aed81b2..de2a4658c761 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Sam James
commit: ee4e1bf96340564b40262b60f9ca4e844ceea8e2
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 14 15:11:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 14 15:11:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4e1bf9

sys-process/systemd-cron: Stabilize 1.15.20 ppc64, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index de2a4658c761..0dd42858fc73 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Sam James
commit: ed2bb63c879ad887bfb1f2b038479e3440fb5134
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 14 15:11:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 14 15:11:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2bb63c

sys-process/systemd-cron: Stabilize 1.15.20 arm64, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index d7eefd282e56..529bc02ad040 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Sam James
commit: 65ff63f168addc3a8b956d2eb5aeae8474c84f46
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 14 15:11:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 14 15:11:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ff63f1

sys-process/systemd-cron: Stabilize 1.15.20 x86, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index 529bc02ad040..1bbe63f72d44 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Sam James
commit: bdbb7079d89ade2d7de9afb4533bfb929158dabd
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 14 15:11:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 14 15:11:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdbb7079

sys-process/systemd-cron: Stabilize 1.15.20 arm, #908495

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index 0dd42858fc73..d7eefd282e56 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-06-14 Thread Richard Freeman
commit: 6abed81cff3c8ad31c2f78f2d9e4316a2ea7a5a8
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Jun 14 14:22:54 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Jun 14 14:22:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abed81c

sys-process/systemd-cron: stabilize 1.15.20 for amd64

Bug: https://bugs.gentoo.org/908495
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
index 2498aab65d88..38c72aed81b2 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-05-01 Thread Richard Freeman
commit: cdaf873b49d1752e799ffce2d2d9e7279360032a
Author: Richard Freeman  gentoo  org>
AuthorDate: Mon May  1 20:35:03 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Mon May  1 20:38:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdaf873b

sys-process/systemd-cron: add 1.15.20

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.15.20.ebuild   | 93 ++
 2 files changed, 94 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 44b7cf7f694b..eaa7d4323ff6 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1 +1,2 @@
 DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
+DIST systemd-cron-1.15.20.tar.gz 33384 BLAKE2B 
1e048009d19eb9e40a96ab7dee509975387f1634805c7c428065e720332d10665b6d5662a961304acf59cc688d99afc514500aa829fa2c71f296fc04503419fd
 SHA512 
814a639bd3a06b1c4aa5dbc449c29812e94ad7ed27bff26618637e305bf03800527c1242eb5343cea89aa1345b203c709fbdcd251905009f19c254ab25244bcf

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
new file mode 100644
index ..2498aab65d88
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.15.20.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}
+
+src_install() {
+   default
+   rm -f "${ED}"/usr/lib/sysusers.d/systemd-cron.conf
+}
+
+pkg_postinst() {
+   elog "This package now supports USE=runparts which is enabled by 
default."
+   elog "This enables the traditional run-parts behavior."
+   elog "If you disable this flag you will get the new behavior of having"
+   elog "multiple jobs for each cron.* entry run in parallel with"
+   elog "separate services/logs/etc."
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-02-17 Thread Richard Freeman
commit: 28cb409c75552a76794814a8e9343fe0055bdf85
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Feb 17 22:15:08 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Feb 17 22:15:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28cb409c

sys-process/systemd-cron: drop 1.5.18, 1.15.19

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 -
 .../systemd-cron/systemd-cron-1.15.19.ebuild   | 86 -
 .../systemd-cron/systemd-cron-1.5.18.ebuild| 89 --
 3 files changed, 176 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 139bd10ac7fa..44b7cf7f694b 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1 @@
 DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
-DIST systemd-cron-1.5.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild
deleted file mode 100644
index 9a2d4907085b..
--- a/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( pypy3 python3_{9..10} )
-inherit python-single-r1 systemd
-
-DESCRIPTION="systemd units to create timers for cron directories and crontab"
-HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
-SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=sys-apps/systemd-217
-   sys-apps/debianutils
-   !sys-process/cronie[anacron]
-   !etc-crontab-systemd? ( !sys-process/dcron )
-   ${PYTHON_DEPS}
-   sys-process/cronbase"
-
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db dev-python/pyflakes )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   python_fix_shebang --force "${S}/src/bin"
-
-   sed -i \
-   -e 's/^crontab/crontab-systemd/' \
-   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
-   -- "${S}/src/man/crontab."{1,5}".in" || die
-
-   sed -i \
-   -e 's!/crontab$!/crontab-systemd!' \
-   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
-   -e 's/pyflakes3/pyflakes/' \
-   -- "${S}/Makefile.in" || die
-
-   if use etc-crontab-systemd
-   thensed -i \
-   -e "s!/etc/crontab!/etc/crontab-systemd!" \
-   -- "${S}/src/man/crontab."{1,5}".in" \
-   "${S}/src/bin/systemd-crontab-generator.py" || die
-   fi
-
-   eapply_user
-}
-
-my_use_enable() {
-   if use ${1}; then
-   echo --enable-${2:-${1}}=yes
-   else
-   echo --enable-${2:-${1}}=no
-   fi
-}
-
-src_configure() {
-   ./configure \
-   --prefix="${EPREFIX}/usr" \
-   --confdir="${EPREFIX}/etc" \
-   --runparts="${EPREFIX}/bin/run-parts" \
-   --mandir="${EPREFIX}/usr/share/man" \
-   --unitdir="$(systemd_get_systemunitdir)" \
-   --generatordir="$(systemd_get_systemgeneratordir)" \
-   $(my_use_enable cron-boot boot) \
-   $(my_use_enable minutely) \
-   $(my_use_enable runparts) \
-   $(my_use_enable yearly) \
-   $(my_use_enable yearly quarterly) \
-   $(my_use_enable yearly semi_annually) \
-   $(my_use_enable setgid) \
-   --enable-persistent=yes
-}
-
-pkg_postinst() {
-   elog "This package now supports USE=runparts which is enabled by 
default."
-   elog "This enables the traditional run-parts behavior."
-   elog "If you disable this flag you will get the new behavior of having"
-   elog "multiple jobs for each cron.* entry run in parallel with"
-   elog "separate services/logs/etc."
-}

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
deleted file mode 100644
index ec21aaf808ea..
--- 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-02-10 Thread Sam James
commit: 9373d5f7ff2dd26ce4c89a2ab8e53cfabcf8aa75
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 10 20:41:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 10 20:41:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9373d5f7

sys-process/systemd-cron: Stabilize 1.15.19-r1 arm, #890319

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
index b7601bd1cc99..4aead1dcad2f 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-02-10 Thread Sam James
commit: 091a76b6230ddd06841cccfbdccee5262dd93c06
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 10 20:41:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 10 20:41:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=091a76b6

sys-process/systemd-cron: Stabilize 1.15.19-r1 x86, #890319

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
index c14600f0fa43..b7601bd1cc99 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-02-10 Thread Sam James
commit: a1e4e778248eb6c9aec082743d00df7d13379f2f
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 10 20:36:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 10 20:36:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e4e778

sys-process/systemd-cron: Stabilize 1.15.19-r1 arm64, #890319

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
index baf288c6e415..c14600f0fa43 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-02-10 Thread Richard Freeman
commit: 3fd5f7d79258a6ab1f3483eda18c2838d63fb264
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Feb 10 18:48:55 2023 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Feb 10 18:49:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd5f7d7

sys-process/systemd-cron: stabilize 1.15.19-r1 for amd64

Bug: https://bugs.gentoo.org/890319
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
index c32402b2ec85..b47c49c4c366 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2023-01-09 Thread Sam James
commit: 885d5aef8f5efb561c7c8da1bbecc24ef3212350
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 05:35:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 05:35:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885d5aef

sys-process/systemd-cron: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
index 400475508671..aedb1ef00c44 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 inherit python-single-r1 systemd
 
 DESCRIPTION="systemd units to create timers for cron directories and crontab"



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/files/, sys-process/systemd-cron/

2022-07-25 Thread Richard Freeman
commit: 787ea3d5ae3a9a6b8d4233b862f32a0d2a8615f9
Author: Richard Freeman  gentoo  org>
AuthorDate: Mon Jul 25 21:33:23 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Mon Jul 25 21:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787ea3d5

sys-process/systemd-cron: Fix cron-failure email errors

Includes creation of missing user, and patch to email script.
Pending upstream PR for the patch.

Signed-off-by: Richard Freeman  gentoo.org>

 .../systemd-cron-1.15.19-default-mail-user.patch   | 28 +++
 .../systemd-cron/systemd-cron-1.15.19-r1.ebuild| 96 ++
 2 files changed, 124 insertions(+)

diff --git 
a/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch 
b/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch
new file mode 100644
index ..420f68d81091
--- /dev/null
+++ 
b/sys-process/systemd-cron/files/systemd-cron-1.15.19-default-mail-user.patch
@@ -0,0 +1,28 @@
+From 525410d5dc2a7c33590d25d6c574dec7eb826ec1 Mon Sep 17 00:00:00 2001
+From: Richard Freeman 
+Date: Mon, 25 Jul 2022 15:36:21 -0400
+Subject: [PATCH] Fix default user fallback.
+
+Signed-off-by: Richard Freeman 
+---
+ src/bin/mail_on_failure.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/bin/mail_on_failure.py b/src/bin/mail_on_failure.py
+index 132eab9..dd2288f 100755
+--- a/src/bin/mail_on_failure.py
 b/src/bin/mail_on_failure.py
+@@ -26,7 +26,9 @@ user = subprocess.check_output(
+  ['systemctl', 'show', args.unit, '--property=User'],
+  universal_newlines=True)
+ user = user.rstrip('\n')
+-user = user.split('=')[1] if user else 'root'
++user = user.split('=')[1]
++if not user:
++user = 'root'
+ 
+ mailto = user
+ mailfrom = 'root'
+-- 
+2.35.1
+

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
new file mode 100644
index ..400475508671
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase
+   acct-user/_cron-failure
+   acct-group/_cron-failure"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=( "${FILESDIR}/${P}-default-mail-user.patch" )
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply "${PATCHES[@]}"
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}
+
+src_install() {
+   default
+   rm -f 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-07-16 Thread Richard Freeman
commit: 8f2ab99eb4641a8ff0daf3bb6ca236587b55299b
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Jul 16 20:21:19 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Jul 16 20:21:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f2ab99e

sys-process/systemd-cron: add 1.15.19

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.15.19.ebuild   | 86 ++
 2 files changed, 87 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 739e06fb5a1b..83968371fea8 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,3 @@
+DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
 DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3
 DIST systemd-cron-1.5.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild
new file mode 100644
index ..901357eed0a5
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.15.19.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}
+
+pkg_postinst() {
+   elog "This package now supports USE=runparts which is enabled by 
default."
+   elog "This enables the traditional run-parts behavior."
+   elog "If you disable this flag you will get the new behavior of having"
+   elog "multiple jobs for each cron.* entry run in parallel with"
+   elog "separate 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-07-16 Thread Richard Freeman
commit: 90940dab01f00cb89d72caef3b22eba8ed1f4766
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Jul 16 20:22:10 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Jul 16 20:22:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90940dab

sys-process/systemd-cron: drop 1.5.17

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 -
 .../systemd-cron/systemd-cron-1.5.17.ebuild| 86 --
 2 files changed, 87 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 83968371fea8..139bd10ac7fa 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,3 +1,2 @@
 DIST systemd-cron-1.15.19.tar.gz 33234 BLAKE2B 
d03c7024f9e4e569086e60908b07255e59259bc90182e34897746e1477e1b59da1934f239ef7c673e5df52c1831f07b2e759aeb7c514ba23dbbbeb780cb08a7b
 SHA512 
90ddb3584550714a21e88a89e804511af434432b95398f325f547ee226499f8b73e153b9cdb611a11389baf434d12bc39414244b0e5e1d4565ceaac5db12b012
-DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3
 DIST systemd-cron-1.5.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
deleted file mode 100644
index f80bf8b733c5..
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7,8,9,10} )
-inherit python-single-r1 systemd
-
-DESCRIPTION="systemd units to create timers for cron directories and crontab"
-HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
-SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv sparc x86"
-IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=sys-apps/systemd-217
-   sys-apps/debianutils
-   !sys-process/cronie[anacron]
-   !etc-crontab-systemd? ( !sys-process/dcron )
-   ${PYTHON_DEPS}
-   sys-process/cronbase"
-
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db dev-python/pyflakes )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   python_fix_shebang --force "${S}/src/bin"
-
-   sed -i \
-   -e 's/^crontab/crontab-systemd/' \
-   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
-   -- "${S}/src/man/crontab."{1,5}".in" || die
-
-   sed -i \
-   -e 's!/crontab$!/crontab-systemd!' \
-   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
-   -e 's/pyflakes3/pyflakes/' \
-   -- "${S}/Makefile.in" || die
-
-   if use etc-crontab-systemd
-   thensed -i \
-   -e "s!/etc/crontab!/etc/crontab-systemd!" \
-   -- "${S}/src/man/crontab."{1,5}".in" \
-   "${S}/src/bin/systemd-crontab-generator.py" || die
-   fi
-
-   eapply_user
-}
-
-my_use_enable() {
-   if use ${1}; then
-   echo --enable-${2:-${1}}=yes
-   else
-   echo --enable-${2:-${1}}=no
-   fi
-}
-
-src_configure() {
-   ./configure \
-   --prefix="${EPREFIX}/usr" \
-   --confdir="${EPREFIX}/etc" \
-   --runparts="${EPREFIX}/bin/run-parts" \
-   --mandir="${EPREFIX}/usr/share/man" \
-   --unitdir="$(systemd_get_systemunitdir)" \
-   --generatordir="$(systemd_get_systemgeneratordir)" \
-   $(my_use_enable cron-boot boot) \
-   $(my_use_enable minutely) \
-   $(my_use_enable runparts) \
-   $(my_use_enable yearly) \
-   $(my_use_enable yearly quarterly) \
-   $(my_use_enable yearly semi_annually) \
-   $(my_use_enable setgid) \
-   --enable-persistent=yes
-}
-
-pkg_postinst() {
-   elog "This package now supports USE=runparts which is enabled by 
default."
-   elog "This enables the traditional run-parts behavior."
-   elog "If you disable this flag you will get the new behavior of having"
-   elog "multiple jobs for each cron.* entry run in parallel with"
-   elog "separate services/logs/etc."

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-06-28 Thread Richard Freeman
commit: a4fac89ee29361717e6e2803941ccefeb41f7efd
Author: matoro  users  noreply  github  com>
AuthorDate: Tue Jun 28 01:23:58 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Tue Jun 28 10:49:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4fac89e

sys-process/systemd-cron: Keyword 1.5.18 ia64, #845147

Signed-off-by: matoro  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/26104
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 5d07a1a175e7..cbbce93dba4d 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-05-29 Thread Jakov Smolić
commit: ced2549f4aadae24b844ab31b7b3c54954c28fee
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun May 29 14:36:39 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun May 29 14:36:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced2549f

sys-process/systemd-cron: Keyword 1.5.18 hppa, #845147

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 0aafe93f288b..5d07a1a175e7 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-05-17 Thread Jakov Smolić
commit: 2378d4633fd288676c5173492e8c316f3c08d1c8
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue May 17 19:17:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue May 17 19:17:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2378d463

sys-process/systemd-cron: Stabilize 1.5.18 ppc, #845144

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index fcbeb9902102..4327306a6b34 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-05-17 Thread Jakov Smolić
commit: f03f16fcecddbe7fe80d50b09491434d5d6e1eaa
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue May 17 19:17:54 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue May 17 19:17:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03f16fc

sys-process/systemd-cron: Stabilize 1.5.18 arm, #845144

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 4327306a6b34..0aafe93f288b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-05-17 Thread Jakov Smolić
commit: c1fc77687c1299aa3ed3615b6dd67442397c0756
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue May 17 19:17:51 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue May 17 19:17:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1fc7768

sys-process/systemd-cron: Stabilize 1.5.18 arm64, #845144

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 4a534e3c5db1..fcbeb9902102 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-04-09 Thread Arthur Zamarin
commit: 02beb05dab44d61d9272b3968462ec38efaa2ddd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  9 19:50:48 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  9 19:50:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02beb05d

sys-process/systemd-cron: Stabilize 1.5.18 ppc64, #836610

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index a6bace9a68e3..4a534e3c5db1 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-04-09 Thread Arthur Zamarin
commit: 4ec06f48b0c9cd7b17830e1a9375f5c1925408d7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  9 19:36:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  9 19:36:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec06f48

sys-process/systemd-cron: Stabilize 1.5.18 sparc, #836610

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 43544397ad71..a6bace9a68e3 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-04-01 Thread Jakov Smolić
commit: cf2942c2295c2a7c47432d35e869040b8e9ded74
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Apr  1 19:51:43 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Apr  1 19:51:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2942c2

sys-process/systemd-cron: Stabilize 1.5.18 x86, #836610

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 957b7af3022c..43544397ad71 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-04-01 Thread Richard Freeman
commit: 9c8d0c975682dd8e19491e525413270ceacd978b
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Apr  1 19:06:02 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Apr  1 19:06:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8d0c97

sys-process/systemd-cron: stabilize 1.5.18 for amd64

Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.18.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index 09890a45a82a..957b7af3022c 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> syste
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-03-01 Thread Matt Turner
commit: 0088186492c4c050ecfc1b4ea64cff27ba48cb40
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar  2 01:02:39 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar  2 01:02:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00881864

sys-process/systemd-cron: Fix version

Upstream appears to have typo'd the tag name. The VERSION and CHANGELOG
files show that the version is supposed to be 1.5.18.

Bug: https://bugs.gentoo.org/832053
Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/Manifest  | 2 +-
 .../{systemd-cron-1.15.18.ebuild => systemd-cron-1.5.18.ebuild}| 7 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index fa6327c4f890..739e06fb5a1b 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,2 @@
-DIST systemd-cron-1.15.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3
 DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3
+DIST systemd-cron-1.5.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
similarity index 92%
rename from sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
rename to sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
index cbf442435aaf..09890a45a82a 100644
--- a/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
@@ -2,12 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( pypy3 python3_{7,8,9,10} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 inherit python-single-r1 systemd
 
 DESCRIPTION="systemd units to create timers for cron directories and crontab"
 HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
-SRC_URI="https://github.com/systemd-cron/systemd-cron/archive/refs/tags/v${PV}.tar.gz
 -> systemd-cron-${PV}.tar.gz"
+MY_PV="1.15.18"
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
@@ -27,6 +28,8 @@ DEPEND="sys-process/cronbase
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+S="${WORKDIR}/${PN}-${MY_PV}"
+
 src_prepare() {
python_fix_shebang --force "${S}/src/bin"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-03-01 Thread Richard Freeman
commit: 45a61849a4b0f6d8527745925b99217598d01d82
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Mar  2 00:42:38 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Mar  2 00:42:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a61849

sys-process/systemd-cron: remove obsolete

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  2 -
 .../systemd-cron/systemd-cron-1.5.14.ebuild| 77 ---
 .../systemd-cron/systemd-cron-1.5.15.ebuild| 86 --
 3 files changed, 165 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 71e8779a3950..fa6327c4f890 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,4 +1,2 @@
 DIST systemd-cron-1.15.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3
-DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
-DIST systemd-cron-1.5.15.tar.gz 32334 BLAKE2B 
7802f442a4ef3d4789f4ea0d534d5c52519313873fa53a43f036e9ffeb36eeec420ff9a5a952b4b7f2f57bfcaf733432e067483dd4984be60c12853ae83a1f9c
 SHA512 
b1c79275b88cba63b69112085d93ba52ba4a2966bdcdc722bdcd69c0270fd02bab96b8045d9ab79781b8f54a79a2ece942d97a6faa7d0cb50c31a13364b7179d
 DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
deleted file mode 100644
index ccdee536d183..
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit python-single-r1 systemd
-
-DESCRIPTION="systemd units to create timers for cron directories and crontab"
-HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
-SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 sparc x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=sys-apps/systemd-217
-   sys-apps/debianutils
-   !sys-process/cronie[anacron]
-   !etc-crontab-systemd? ( !sys-process/dcron )
-   ${PYTHON_DEPS}
-   sys-process/cronbase"
-
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db dev-python/pyflakes )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   python_fix_shebang --force "${S}/src/bin"
-
-   sed -i \
-   -e 's/^crontab/crontab-systemd/' \
-   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
-   -- "${S}/src/man/crontab."{1,5}".in" || die
-
-   sed -i \
-   -e 's!/crontab$!/crontab-systemd!' \
-   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
-   -e 's/pyflakes3/pyflakes/' \
-   -- "${S}/Makefile.in" || die
-
-   if use etc-crontab-systemd
-   thensed -i \
-   -e "s!/etc/crontab!/etc/crontab-systemd!" \
-   -- "${S}/src/man/crontab."{1,5}".in" \
-   "${S}/src/bin/systemd-crontab-generator.py" || die
-   fi
-
-   eapply_user
-}
-
-my_use_enable() {
-   if use ${1}; then
-   echo --enable-${2:-${1}}=yes
-   else
-   echo --enable-${2:-${1}}=no
-   fi
-}
-
-src_configure() {
-   ./configure \
-   --prefix="${EPREFIX}/usr" \
-   --confdir="${EPREFIX}/etc" \
-   --runparts="${EPREFIX}/bin/run-parts" \
-   --mandir="${EPREFIX}/usr/share/man" \
-   --unitdir="$(systemd_get_systemunitdir)" \
-   --generatordir="$(systemd_get_systemgeneratordir)" \
-   $(my_use_enable cron-boot boot) \
-   $(my_use_enable minutely) \
-   $(my_use_enable yearly) \
-   $(my_use_enable yearly quarterly) \
-   $(my_use_enable yearly semi_annually) \
-   $(my_use_enable setgid) \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-03-01 Thread Richard Freeman
commit: 92385cec5d5ea99e99f5e1b76b0df136a370b9af
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Mar  2 00:40:54 2022 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Mar  2 00:41:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92385cec

sys-process/systemd-cron: bump

Closes: https://bugs.gentoo.org/832053
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.15.18.ebuild   | 86 ++
 2 files changed, 87 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 3f133fef4772..71e8779a3950 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,3 +1,4 @@
+DIST systemd-cron-1.15.18.tar.gz 33056 BLAKE2B 
a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95
 SHA512 
7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3
 DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
 DIST systemd-cron-1.5.15.tar.gz 32334 BLAKE2B 
7802f442a4ef3d4789f4ea0d534d5c52519313873fa53a43f036e9ffeb36eeec420ff9a5a952b4b7f2f57bfcaf733432e067483dd4984be60c12853ae83a1f9c
 SHA512 
b1c79275b88cba63b69112085d93ba52ba4a2966bdcdc722bdcd69c0270fd02bab96b8045d9ab79781b8f54a79a2ece942d97a6faa7d0cb50c31a13364b7179d
 DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3

diff --git a/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
new file mode 100644
index ..cbf442435aaf
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( pypy3 python3_{7,8,9,10} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/systemd-cron/archive/refs/tags/v${PV}.tar.gz
 -> systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2022-01-08 Thread Arthur Zamarin
commit: 8b82dcc775c706bf80ed47a85425affbe1664458
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan  8 14:03:10 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan  8 14:03:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b82dcc7

sys-process/systemd-cron: Stabilize 1.5.17 sparc, #788601

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index 7b1606464a6b..f80bf8b733c5 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.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
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-12-25 Thread Georgy Yakovlev
commit: 678a64a1dbb69548765020c3227fc322a2896d49
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Dec 25 10:08:26 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Dec 25 10:08:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678a64a1

sys-process/systemd-cron: enable py3.10

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index b9c93cff84f3..7b1606464a6b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{7,8,9,10} )
 inherit python-single-r1 systemd
 
 DESCRIPTION="systemd units to create timers for cron directories and crontab"



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-07-06 Thread Georgy Yakovlev
commit: 0eac005c4d668bc85176916808a1fbec72de6602
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Jul  6 19:22:01 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Jul  6 19:56:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eac005c

sys-process/systemd-cron: stabilize 1.5.17 for ppc64

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index 86b4a14f8bf..b9c93cff84f 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-06-21 Thread Marek Szuba
commit: d4bb901117135605ec25841be50b5660e5185788
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jun 21 21:03:48 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jun 21 21:08:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4bb9011

sys-process/systemd-cron: keyword 1.5.17 for ~riscv

Builds, tests and installs fine.

Signed-off-by: Marek Szuba  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index c490b5221ac..86b4a14f8bf 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-05-23 Thread Thomas Deutschmann
commit: 8bb778f39c1d1c2a808a53a86bfa0543d038ec9b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 23 23:05:39 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 23 23:06:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb778f3

sys-process/systemd-cron: x86 stable (bug #788601)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index 91853a7fe39..c490b5221ac 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-05-10 Thread Richard Freeman
commit: fbbaed3076ee73c8c5d644e0582480d2de03c5e1
Author: Richard Freeman  gentoo  org>
AuthorDate: Mon May 10 18:58:03 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Mon May 10 18:58:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbaed30

sys-process/systemd-cron: amd64 stable

Bug: https://bugs.gentoo.org/788601
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
index 7815ef2eab1..91853a7fe39 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2021-03-05 Thread Richard Freeman
commit: a91f45a8de524855702689190df14f6f08f0089b
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Mar  5 20:13:21 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Mar  5 20:13:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91f45a8

sys-process/systemd-cron: bump

Bug: https://bugs.gentoo.org/774051
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.5.17.ebuild| 86 ++
 2 files changed, 87 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 70c9c67afe3..3f133fef477 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,3 @@
 DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
 DIST systemd-cron-1.5.15.tar.gz 32334 BLAKE2B 
7802f442a4ef3d4789f4ea0d534d5c52519313873fa53a43f036e9ffeb36eeec420ff9a5a952b4b7f2f57bfcaf733432e067483dd4984be60c12853ae83a1f9c
 SHA512 
b1c79275b88cba63b69112085d93ba52ba4a2966bdcdc722bdcd69c0270fd02bab96b8045d9ab79781b8f54a79a2ece942d97a6faa7d0cb50c31a13364b7179d
+DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 
763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e
 SHA512 
20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
new file mode 100644
index 000..7815ef2eab1
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.5.17.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}
+
+pkg_postinst() {
+   elog "This package now supports USE=runparts which is enabled by 
default."
+   elog "This enables the traditional run-parts behavior."
+   elog "If you disable this flag you will get the new behavior of having"
+   elog "multiple jobs for each cron.* entry run 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-11-04 Thread Richard Freeman
commit: 6b2aaadd3c6dbf050ce126a88dcdee96f6dcf6bd
Author: Richard Freeman  gentoo  org>
AuthorDate: Wed Nov  4 20:04:36 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Wed Nov  4 20:04:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2aaadd

sys-process/systemd-cron: bump, make run-parts optional

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 sys-process/systemd-cron/metadata.xml  |  1 +
 .../systemd-cron/systemd-cron-1.5.15.ebuild| 86 ++
 3 files changed, 88 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index b8b1e37e82c..70c9c67afe3 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1 +1,2 @@
 DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
+DIST systemd-cron-1.5.15.tar.gz 32334 BLAKE2B 
7802f442a4ef3d4789f4ea0d534d5c52519313873fa53a43f036e9ffeb36eeec420ff9a5a952b4b7f2f57bfcaf733432e067483dd4984be60c12853ae83a1f9c
 SHA512 
b1c79275b88cba63b69112085d93ba52ba4a2966bdcdc722bdcd69c0270fd02bab96b8045d9ab79781b8f54a79a2ece942d97a6faa7d0cb50c31a13364b7179d

diff --git a/sys-process/systemd-cron/metadata.xml 
b/sys-process/systemd-cron/metadata.xml
index a2e9865130b..6386b937113 100644
--- a/sys-process/systemd-cron/metadata.xml
+++ b/sys-process/systemd-cron/metadata.xml
@@ -8,6 +8,7 @@
Include support for the boot 
timer.
Use dedicated 
/etc/crontab-systemd instead of parsing /etc/crontab
Support /etc/cron.minutely
+   Use traditional run-parts instead of 
creating jobs for each cron.* entry
Support /etc/cron.yearly
Compile setgid C helper for crontab. Needs 
GCC or Clang.


diff --git a/sys-process/systemd-cron/systemd-cron-1.5.15.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.15.ebuild
new file mode 100644
index 000..d26a7c23352
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.5.15.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !sys-process/cronie[anacron]
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable runparts) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-09-28 Thread Georgy Yakovlev
commit: 05ffdb8742d01438dd28ddbb650b34ff4c823e4a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Sep 29 05:17:44 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Sep 29 05:17:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ffdb87

sys-process/systemd-cron: add ~ppc keyword, bug #737518

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index 347187200e0..23e98c5e305 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-09-28 Thread Georgy Yakovlev
commit: 1ebe73b86e7677a83eeeaa17e13e73b68bae8da9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Sep 29 05:06:22 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Sep 29 05:16:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ebe73b8

sys-process/systemd-cron: add ~ppc64 keyword, bug #737518

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index 9c20864eb74..347187200e0 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-09-04 Thread Sam James
commit: eeb96529a1de2638773325222c90c64b93ad565d
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  5 00:41:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  5 00:41:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb96529

sys-process/systemd-cron: arm64 keyworded (bug #737518)

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index 43855635ed8..9c20864eb74 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-09-04 Thread Sam James
commit: cf5801f4140943aefad6197aecf7a4a1026e775d
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  5 00:30:20 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  5 00:30:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5801f4

sys-process/systemd-cron: Keyword 1.5.14 arm, #737518

Signed-off-by: Sam James  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index edc6c943c70..43855635ed8 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 sparc x86"
+KEYWORDS="amd64 ~arm sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-07-24 Thread Lars Wendler
commit: 1707a8282d61d5c68a67461512fae367fd97d951
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jul 24 12:41:35 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jul 24 12:44:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1707a828

sys-process/systemd-cron: Block sys-process/cronie[anacron]

Closes: https://bugs.gentoo.org/733760
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Lars Wendler  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index 09986564103..edc6c943c70 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -17,6 +17,7 @@ RESTRICT="!test? ( test )"
 
 RDEPEND=">=sys-apps/systemd-217
sys-apps/debianutils
+   !sys-process/cronie[anacron]
!etc-crontab-systemd? ( !sys-process/dcron )
${PYTHON_DEPS}
sys-process/cronbase"



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/, sys-process/systemd-cron/files/

2020-07-17 Thread Matt Turner
commit: a5ddc21c484ac8a4e5515e853cc6fe5b28dd7e76
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jul 17 20:40:55 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul 17 21:19:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ddc21c

sys-process/systemd-cron: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 -
 .../systemd-cron/files/1.5.12-generatordir.patch   | 67 ---
 .../systemd-cron/systemd-cron-1.5.12-r1.ebuild | 78 --
 3 files changed, 146 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 054d8089a53..b8b1e37e82c 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1 @@
-DIST systemd-cron-1.5.12.tar.gz 31417 BLAKE2B 
d0776d2c4aa2d86289dd8ab5dade47f083ee7abc16f54c9527130f587049064d6100eaccd4a3a0a461d21ac8286910d3cb0590db14ea1d3a32e591b7ede0a59e
 SHA512 
6f85cef0870cde5ff6b397fb640a30a8a567e09e3cac48456498f1f102395f12f174731ca9cc8e826bb6c49a0d3a6dd49a9aec63e7b75648b7dccfaa499dcea4
 DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c

diff --git a/sys-process/systemd-cron/files/1.5.12-generatordir.patch 
b/sys-process/systemd-cron/files/1.5.12-generatordir.patch
deleted file mode 100644
index 71c0abd4d80..000
--- a/sys-process/systemd-cron/files/1.5.12-generatordir.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From e9c1dcd5e1a475a1974f0a6464637c4ab731bfae Mon Sep 17 00:00:00 2001
-From: Mike Gilbert 
-Date: Sat, 13 Jan 2018 11:42:05 -0500
-Subject: [PATCH] Replace remaining references to
- @libdir@/systemd/system-generators
-

- Makefile.in| 1 +
- src/bin/crontab.py | 2 +-
- src/man/systemd-crontab-generator.8.in | 6 +++---
- 3 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index b9a9b02..e5a2df8 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -60,6 +60,7 @@ define in2out
-   -e "s|\@bindir\@|$(bindir)|g" \
-   -e "s|\@libdir\@|$(libdir)|g" \
-   -e "s|\@unitdir\@|$(unitdir)|g" \
-+  -e "s|\@generatordir\@|$(generatordir)|g" \
-   -e "s|\@runparts\@|$(runparts)|g" \
-   -e "s|\@version\@|$(version)|g" \
-   -e "s|\@persistent\@|$(persistent)|g" \
-diff --git a/src/bin/crontab.py b/src/bin/crontab.py
-index d95b31e..921db1a 100755
 a/src/bin/crontab.py
-+++ b/src/bin/crontab.py
-@@ -333,7 +333,7 @@ if __name__ == '__main__':
- 'show': show,
- }.get(args.action, replace)
- 
--loader = importlib.machinery.SourceFileLoader('name', 
'@libdir@/systemd/system-generators/systemd-crontab-generator')
-+loader = importlib.machinery.SourceFileLoader('name', 
'@generatordir@/systemd-crontab-generator')
- parser = loader.load_module()
- 
- action(cron_file, args)
-diff --git a/src/man/systemd-crontab-generator.8.in 
b/src/man/systemd-crontab-generator.8.in
-index ea69688..dedf1d2 100644
 a/src/man/systemd-crontab-generator.8.in
-+++ b/src/man/systemd-crontab-generator.8.in
-@@ -4,7 +4,7 @@
- systemd-crontab-generator - translate cron schedules in systemd Units
- 
- .SH SYNOPSIS
--@libdir@/systemd/system-generators/systemd-crontab-generator output_folder
-+@generatordir@/systemd-crontab-generator output_folder
- 
- .SH DESCRIPTION
- systemd-crontab-generator is a generator that translates the legacy cron 
files (see FILES)
-@@ -77,11 +77,11 @@ to have a overview of timers and know when they will 
elapse.
- 
- If you get errors like
- .br
--.B @libdir@/systemd/system-generators/systemd-crontab-generator failed with 
error code 1.
-+.B @generatordir@/systemd-crontab-generator failed with error code 1.
- .br
- in the journal, you can manually run
- .br
--.B "@libdir@/systemd/system-generators/systemd-crontab-generator /tmp"
-+.B "@generatordir@/systemd-crontab-generator /tmp"
- .br
- to get a more verbose error message.
- 
--- 
-2.16.0.rc0
-

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
deleted file mode 100644
index b16de1a1a9a..000
--- a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( pypy3 python3_6 )
-inherit eutils python-single-r1 systemd
-
-DESCRIPTION="systemd units to create timers for cron directories and crontab"
-HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-07-17 Thread Matt Turner
commit: d45a80fda994722ad9c63c3467c4d2f0800edb6e
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jul 17 20:40:27 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul 17 21:19:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45a80fd

sys-process/systemd-cron: Add Python 3.8 and 3.9 compatibility

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index 4da8f8119ff..09986564103 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
 inherit python-single-r1 systemd
 
 DESCRIPTION="systemd units to create timers for cron directories and crontab"



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-04-28 Thread Matt Turner
commit: ee6693f75d461aaf7f2173cefec43fb49ce4615e
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Apr 28 16:37:48 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Apr 28 16:38:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6693f7

sys-process/systemd-cron-1.5.14: amd64 stable, bug 719880

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index b9d3d63b256..c251346c1dd 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-04-28 Thread Matt Turner
commit: b56b2b0616982f464560666addeffc3db176757d
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Apr 28 16:37:55 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Apr 28 16:38:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56b2b06

sys-process/systemd-cron-1.5.14: x86 stable, bug 719880

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index b4ff25c098c..4da8f8119ff 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 sparc ~x86"
+KEYWORDS="amd64 sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2020-04-28 Thread Matt Turner
commit: 77662d62dac53d979f518da4168be3dd8c59da97
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Apr 28 16:37:52 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Apr 28 16:38:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77662d62

sys-process/systemd-cron-1.5.14: sparc stable, bug 719880

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
index c251346c1dd..b4ff25c098c 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~sparc ~x86"
+KEYWORDS="amd64 sparc ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2019-09-01 Thread Matt Turner
commit: 3db95d50330d68371c1e06b0c277ef8dca294916
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Sep  2 00:26:01 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Sep  2 00:29:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db95d50

sys-process/systemd-cron: Version bump to 1.5.14

Closes: https://bugs.gentoo.org/685592
Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.5.14.ebuild| 75 ++
 2 files changed, 76 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index c18c8f04b7f..7d7c2585b2c 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,4 +1,5 @@
 DIST systemd-cron-1.5.10.tar.gz 31191 BLAKE2B 
c58a0cfec82534baf3daba6f706d054347f3bc5a2d272eb003228b48fc58c9df61ed2045526403295aed3edc9a0c84eaa589c5aea66562bf35d531b4f5ffacd7
 SHA512 
9a4bbf78c81adf74e589cd9431b5742d5dab63b0346a2330403a7e24bdab62833096445d9fd3e5f6a91f722b3f8176e52734dcc5e2ee0ec23b555e6d01805094
 DIST systemd-cron-1.5.12.tar.gz 31417 BLAKE2B 
d0776d2c4aa2d86289dd8ab5dade47f083ee7abc16f54c9527130f587049064d6100eaccd4a3a0a461d21ac8286910d3cb0590db14ea1d3a32e591b7ede0a59e
 SHA512 
6f85cef0870cde5ff6b397fb640a30a8a567e09e3cac48456498f1f102395f12f174731ca9cc8e826bb6c49a0d3a6dd49a9aec63e7b75648b7dccfaa499dcea4
+DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
 DIST systemd-cron-1.5.3.tar.gz 29105 BLAKE2B 
c7c95df9be0383aa39a8525d3a5179a04ef1edc77d6c0e34095eb0fe26045c139e4d0c340d6999405baa99d00181cc6c2fb14d87ad401a685aaf3ad7adb5e006
 SHA512 
ea0241f93b8d92497fa020d84630ee153dc299d9b16b17567784a4dcb5ddf0a4589e7e033428562a862218ef79b192245178df2d7dcc69f779ef9156921674c7
 DIST systemd-cron-1.5.4.tar.gz 30436 BLAKE2B 
5ce72e30e68cafbf812690704de4841d0436a97e6a9df12802374a0ef7fe2af4294310e4c14c68d5aa2508c9664402c17dcacb7b6a637f7b83853d97c78c557f
 SHA512 
e6fe60de9d6cbc223b8358bd6b1a060e11f1ea16a8f0b24662914ddb18d827f7b4c62fd40dbefed3d0ac38b1e748998ec5e0430d4ea751e8a20b94b9803bcb89

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
new file mode 100644
index 000..ef1605bcbad
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.5.14.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
+inherit python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
+
+RDEPEND=">=sys-apps/systemd-217
+   sys-apps/debianutils
+   !etc-crontab-systemd? ( !sys-process/dcron )
+   ${PYTHON_DEPS}
+   sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   eapply_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_systemunitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly 

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2019-09-01 Thread Matt Turner
commit: 2b0a5a4f650ac45cdf3b79bfe9bae08578b3003f
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Sep  2 00:29:01 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Sep  2 00:29:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b0a5a4f

sys-process/systemd-cron: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/Manifest  |  3 -
 .../systemd-cron/systemd-cron-1.5.10.ebuild| 74 --
 sys-process/systemd-cron/systemd-cron-1.5.3.ebuild | 74 --
 sys-process/systemd-cron/systemd-cron-1.5.4.ebuild | 74 --
 4 files changed, 225 deletions(-)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 7d7c2585b2c..054d8089a53 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,5 +1,2 @@
-DIST systemd-cron-1.5.10.tar.gz 31191 BLAKE2B 
c58a0cfec82534baf3daba6f706d054347f3bc5a2d272eb003228b48fc58c9df61ed2045526403295aed3edc9a0c84eaa589c5aea66562bf35d531b4f5ffacd7
 SHA512 
9a4bbf78c81adf74e589cd9431b5742d5dab63b0346a2330403a7e24bdab62833096445d9fd3e5f6a91f722b3f8176e52734dcc5e2ee0ec23b555e6d01805094
 DIST systemd-cron-1.5.12.tar.gz 31417 BLAKE2B 
d0776d2c4aa2d86289dd8ab5dade47f083ee7abc16f54c9527130f587049064d6100eaccd4a3a0a461d21ac8286910d3cb0590db14ea1d3a32e591b7ede0a59e
 SHA512 
6f85cef0870cde5ff6b397fb640a30a8a567e09e3cac48456498f1f102395f12f174731ca9cc8e826bb6c49a0d3a6dd49a9aec63e7b75648b7dccfaa499dcea4
 DIST systemd-cron-1.5.14.tar.gz 31634 BLAKE2B 
59394128145dbd04a2b1bb10a6ac8821a97a465e3c0d43f3ca8fdfe60db273352d46b1200c966adaf772272835269c5c553b040cb0e0340ec56340181c9b7245
 SHA512 
772a4f8181a0f8039a8138fdc43bfe0f2bd89222fe19fa971727be265036f86435334d6230e116440f6969425fc6d59dc26e9cf230c00d030ea5d62ba351713c
-DIST systemd-cron-1.5.3.tar.gz 29105 BLAKE2B 
c7c95df9be0383aa39a8525d3a5179a04ef1edc77d6c0e34095eb0fe26045c139e4d0c340d6999405baa99d00181cc6c2fb14d87ad401a685aaf3ad7adb5e006
 SHA512 
ea0241f93b8d92497fa020d84630ee153dc299d9b16b17567784a4dcb5ddf0a4589e7e033428562a862218ef79b192245178df2d7dcc69f779ef9156921674c7
-DIST systemd-cron-1.5.4.tar.gz 30436 BLAKE2B 
5ce72e30e68cafbf812690704de4841d0436a97e6a9df12802374a0ef7fe2af4294310e4c14c68d5aa2508c9664402c17dcacb7b6a637f7b83853d97c78c557f
 SHA512 
e6fe60de9d6cbc223b8358bd6b1a060e11f1ea16a8f0b24662914ddb18d827f7b4c62fd40dbefed3d0ac38b1e748998ec5e0430d4ea751e8a20b94b9803bcb89

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild
deleted file mode 100644
index dc4017fa0a1..000
--- a/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( pypy3 python3_{5,6} )
-inherit eutils python-single-r1 systemd
-
-DESCRIPTION="systemd units to create timers for cron directories and crontab"
-HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
-SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
-
-RDEPEND=">=sys-apps/systemd-217
-sys-apps/debianutils
-!etc-crontab-systemd? ( !sys-process/dcron )
-${PYTHON_DEPS}
-sys-process/cronbase"
-
-DEPEND="sys-process/cronbase
-   test? ( sys-apps/man-db dev-python/pyflakes )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   python_fix_shebang --force "${S}/src/bin"
-
-   sed -i \
-   -e 's/^crontab/crontab-systemd/' \
-   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
-   -- "${S}/src/man/crontab."{1,5}".in" || die
-
-   sed -i \
-   -e 's!/crontab$!/crontab-systemd!' \
-   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
-   -e 's/pyflakes3/pyflakes/' \
-   -- "${S}/Makefile.in" || die
-
-   if use etc-crontab-systemd
-   thensed -i \
-   -e "s!/etc/crontab!/etc/crontab-systemd!" \
-   -- "${S}/src/man/crontab."{1,5}".in" \
-   "${S}/src/bin/systemd-crontab-generator.py" || die
-   fi
-
-   epatch_user
-}
-
-my_use_enable() {
-   if use ${1}; then
-   echo --enable-${2:-${1}}=yes
-   else
-   echo --enable-${2:-${1}}=no
-   fi
-}
-
-src_configure() {
-   ./configure \
-   --prefix="${EPREFIX}/usr" \
-   --confdir="${EPREFIX}/etc" \
-   --runparts="${EPREFIX}/bin/run-parts" \
-   --mandir="${EPREFIX}/usr/share/man" \
-   --unitdir="$(systemd_get_unitdir)" \
-   $(my_use_enable cron-boot boot) \
-   $(my_use_enable minutely) \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2019-08-28 Thread Matt Turner
commit: 5ae230ea8056c34b67878e0085177d606c9b9f60
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Aug 29 01:55:39 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Aug 29 01:55:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae230ea

sys-process/systemd-cron-1.5.12-r1: sparc stable

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
index 51db20d0b8e..b5058f2594e 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
+KEYWORDS="amd64 sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2019-07-28 Thread Matt Turner
commit: 3269c350cf2760ef2aba371e88bb9e05fd6d3df3
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Jul 28 23:23:10 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Jul 28 23:23:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3269c350

sys-process/systemd-cron-1.5.12-r1: added ~sparc

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
index eb5f6fad2af..51db20d0b8e 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~sparc x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2018-01-28 Thread Thomas Deutschmann
commit: 74e6dc52d0aa74f7bc2bbc0cf2a91d0932d1a233
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jan 29 00:29:54 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jan 29 00:29:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e6dc52

sys-process/systemd-cron: x86 stable (bug #638972)

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
index c2c3644c42d..e2f62555753 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2018-01-22 Thread Richard Freeman
commit: c5704f6e8815a295f2d38075320636932561c41f
Author: Richard Freeman  gentoo  org>
AuthorDate: Mon Jan 22 18:33:16 2018 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Mon Jan 22 18:33:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5704f6e

sys-process/systemd-cron: amd64 stable

Bug: https://bugs.gentoo.org/638972
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
index 44cfac6b53b..c2c3644c42d 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/files/, sys-process/systemd-cron/

2018-01-13 Thread Mike Gilbert
commit: c84f9b9c7bfbc1e86d78750a1f112df955fa8371
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 13 16:53:22 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 13 16:53:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84f9b9c

sys-process/systemd-cron: fix references to @generatordir@

Closes: https://bugs.gentoo.org/643398
Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45

 .../systemd-cron/files/1.5.12-generatordir.patch   | 67 ++
 ...1.5.12.ebuild => systemd-cron-1.5.12-r1.ebuild} |  4 +-
 2 files changed, 70 insertions(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/files/1.5.12-generatordir.patch 
b/sys-process/systemd-cron/files/1.5.12-generatordir.patch
new file mode 100644
index 000..71c0abd4d80
--- /dev/null
+++ b/sys-process/systemd-cron/files/1.5.12-generatordir.patch
@@ -0,0 +1,67 @@
+From e9c1dcd5e1a475a1974f0a6464637c4ab731bfae Mon Sep 17 00:00:00 2001
+From: Mike Gilbert 
+Date: Sat, 13 Jan 2018 11:42:05 -0500
+Subject: [PATCH] Replace remaining references to
+ @libdir@/systemd/system-generators
+
+---
+ Makefile.in| 1 +
+ src/bin/crontab.py | 2 +-
+ src/man/systemd-crontab-generator.8.in | 6 +++---
+ 3 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index b9a9b02..e5a2df8 100644
+--- a/Makefile.in
 b/Makefile.in
+@@ -60,6 +60,7 @@ define in2out
+   -e "s|\@bindir\@|$(bindir)|g" \
+   -e "s|\@libdir\@|$(libdir)|g" \
+   -e "s|\@unitdir\@|$(unitdir)|g" \
++  -e "s|\@generatordir\@|$(generatordir)|g" \
+   -e "s|\@runparts\@|$(runparts)|g" \
+   -e "s|\@version\@|$(version)|g" \
+   -e "s|\@persistent\@|$(persistent)|g" \
+diff --git a/src/bin/crontab.py b/src/bin/crontab.py
+index d95b31e..921db1a 100755
+--- a/src/bin/crontab.py
 b/src/bin/crontab.py
+@@ -333,7 +333,7 @@ if __name__ == '__main__':
+ 'show': show,
+ }.get(args.action, replace)
+ 
+-loader = importlib.machinery.SourceFileLoader('name', 
'@libdir@/systemd/system-generators/systemd-crontab-generator')
++loader = importlib.machinery.SourceFileLoader('name', 
'@generatordir@/systemd-crontab-generator')
+ parser = loader.load_module()
+ 
+ action(cron_file, args)
+diff --git a/src/man/systemd-crontab-generator.8.in 
b/src/man/systemd-crontab-generator.8.in
+index ea69688..dedf1d2 100644
+--- a/src/man/systemd-crontab-generator.8.in
 b/src/man/systemd-crontab-generator.8.in
+@@ -4,7 +4,7 @@
+ systemd-crontab-generator - translate cron schedules in systemd Units
+ 
+ .SH SYNOPSIS
+-@libdir@/systemd/system-generators/systemd-crontab-generator output_folder
++@generatordir@/systemd-crontab-generator output_folder
+ 
+ .SH DESCRIPTION
+ systemd-crontab-generator is a generator that translates the legacy cron 
files (see FILES)
+@@ -77,11 +77,11 @@ to have a overview of timers and know when they will 
elapse.
+ 
+ If you get errors like
+ .br
+-.B @libdir@/systemd/system-generators/systemd-crontab-generator failed with 
error code 1.
++.B @generatordir@/systemd-crontab-generator failed with error code 1.
+ .br
+ in the journal, you can manually run
+ .br
+-.B "@libdir@/systemd/system-generators/systemd-crontab-generator /tmp"
++.B "@generatordir@/systemd-crontab-generator /tmp"
+ .br
+ to get a more verbose error message.
+ 
+-- 
+2.16.0.rc0
+

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
similarity index 95%
rename from sys-process/systemd-cron/systemd-cron-1.5.12.ebuild
rename to sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
index f3b6cfa0938..44cfac6b53b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.12.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,6 +26,8 @@ DEPEND="sys-process/cronbase
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 src_prepare() {
+   epatch "${FILESDIR}/1.5.12-generatordir.patch"
+
python_fix_shebang --force "${S}/src/bin"
 
sed -i \



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2017-12-09 Thread Mike Gilbert
commit: 2919bd92a88850f39364f67a905bc02610361c00
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Dec  9 18:21:41 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Dec  9 18:22:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2919bd92

sys-process/systemd-cron: bump to 1.5.12

Fixes rootprefix issues.

Closes: https://bugs.gentoo.org/625400
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.5.12.ebuild| 75 ++
 2 files changed, 76 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 8a912e0b25a..c18c8f04b7f 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,3 +1,4 @@
 DIST systemd-cron-1.5.10.tar.gz 31191 BLAKE2B 
c58a0cfec82534baf3daba6f706d054347f3bc5a2d272eb003228b48fc58c9df61ed2045526403295aed3edc9a0c84eaa589c5aea66562bf35d531b4f5ffacd7
 SHA512 
9a4bbf78c81adf74e589cd9431b5742d5dab63b0346a2330403a7e24bdab62833096445d9fd3e5f6a91f722b3f8176e52734dcc5e2ee0ec23b555e6d01805094
+DIST systemd-cron-1.5.12.tar.gz 31417 BLAKE2B 
d0776d2c4aa2d86289dd8ab5dade47f083ee7abc16f54c9527130f587049064d6100eaccd4a3a0a461d21ac8286910d3cb0590db14ea1d3a32e591b7ede0a59e
 SHA512 
6f85cef0870cde5ff6b397fb640a30a8a567e09e3cac48456498f1f102395f12f174731ca9cc8e826bb6c49a0d3a6dd49a9aec63e7b75648b7dccfaa499dcea4
 DIST systemd-cron-1.5.3.tar.gz 29105 BLAKE2B 
c7c95df9be0383aa39a8525d3a5179a04ef1edc77d6c0e34095eb0fe26045c139e4d0c340d6999405baa99d00181cc6c2fb14d87ad401a685aaf3ad7adb5e006
 SHA512 
ea0241f93b8d92497fa020d84630ee153dc299d9b16b17567784a4dcb5ddf0a4589e7e033428562a862218ef79b192245178df2d7dcc69f779ef9156921674c7
 DIST systemd-cron-1.5.4.tar.gz 30436 BLAKE2B 
5ce72e30e68cafbf812690704de4841d0436a97e6a9df12802374a0ef7fe2af4294310e4c14c68d5aa2508c9664402c17dcacb7b6a637f7b83853d97c78c557f
 SHA512 
e6fe60de9d6cbc223b8358bd6b1a060e11f1ea16a8f0b24662914ddb18d827f7b4c62fd40dbefed3d0ac38b1e748998ec5e0430d4ea751e8a20b94b9803bcb89

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.12.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.12.ebuild
new file mode 100644
index 000..f3b6cfa0938
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.5.12.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( pypy3 python3_{4,5,6} )
+inherit eutils python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
+
+RDEPEND=">=sys-apps/systemd-217
+sys-apps/debianutils
+!etc-crontab-systemd? ( !sys-process/dcron )
+${PYTHON_DEPS}
+sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   epatch_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_unitdir)" \
+   --generatordir="$(systemd_get_systemgeneratordir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2017-07-15 Thread Richard Freeman
commit: 90bb19824c44a66a9e7aa684400f97a5c200b863
Author: Richard Freeman  gentoo  org>
AuthorDate: Sat Jul 15 17:50:36 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sat Jul 15 17:50:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bb1982

sys-process/systemd-cron: bump

Bug: 607322
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-process/systemd-cron/Manifest  |  1 +
 .../systemd-cron/systemd-cron-1.5.10.ebuild| 74 ++
 2 files changed, 75 insertions(+)

diff --git a/sys-process/systemd-cron/Manifest 
b/sys-process/systemd-cron/Manifest
index 814430bbba5..70fd6a79d11 100644
--- a/sys-process/systemd-cron/Manifest
+++ b/sys-process/systemd-cron/Manifest
@@ -1,2 +1,3 @@
+DIST systemd-cron-1.5.10.tar.gz 31191 SHA256 
46872d8662e642f588f5c98c2f9540572a0862972b43f3fc76a73bdd6551a915 SHA512 
9a4bbf78c81adf74e589cd9431b5742d5dab63b0346a2330403a7e24bdab62833096445d9fd3e5f6a91f722b3f8176e52734dcc5e2ee0ec23b555e6d01805094
 WHIRLPOOL 
72f7afe7c0acba96ad7860e848b0369cde610d3c6be21cf683a8ea0cce14fe85f9230cf8a8a7c59ea49be154021136d8f8c35c6f11da04bb34b876260043bb20
 DIST systemd-cron-1.5.3.tar.gz 29105 SHA256 
3623b625938e1dc45ea3b7abf6eab35180c73eddf7865f4297cc5f38c8e09aca SHA512 
ea0241f93b8d92497fa020d84630ee153dc299d9b16b17567784a4dcb5ddf0a4589e7e033428562a862218ef79b192245178df2d7dcc69f779ef9156921674c7
 WHIRLPOOL 
51a148f780397b79d5988fb729061318c38afd2c096bf2eb4d62e340db2753f9268be11ca54974a7480d83b424cf9638961c713d843ef2ffaea1b1fe234ba539
 DIST systemd-cron-1.5.4.tar.gz 30436 SHA256 
acb99095cbef7812e556ac98574a9121c06ffdc3f28622b9dee098d81bcbbdcd SHA512 
e6fe60de9d6cbc223b8358bd6b1a060e11f1ea16a8f0b24662914ddb18d827f7b4c62fd40dbefed3d0ac38b1e748998ec5e0430d4ea751e8a20b94b9803bcb89
 WHIRLPOOL 
31f95488b3df2249807155eb5433d17a1e9013eee6ce49795b981847a4792b95ff6775297031cbd73cb0276b7c9ddf5a5241dfc7b4db99269da086803937c930

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild
new file mode 100644
index 000..f668c50f2a6
--- /dev/null
+++ b/sys-process/systemd-cron/systemd-cron-1.5.10.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( pypy3 python3_{4,5,6} )
+inherit eutils python-single-r1 systemd
+
+DESCRIPTION="systemd units to create timers for cron directories and crontab"
+HOMEPAGE="https://github.com/systemd-cron/systemd-cron/;
+SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> 
systemd-cron-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
+
+RDEPEND=">=sys-apps/systemd-217
+sys-apps/debianutils
+!etc-crontab-systemd? ( !sys-process/dcron )
+${PYTHON_DEPS}
+sys-process/cronbase"
+
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   python_fix_shebang --force "${S}/src/bin"
+
+   sed -i \
+   -e 's/^crontab/crontab-systemd/' \
+   -e 's/^CRONTAB/CRONTAB-SYSTEMD/' \
+   -- "${S}/src/man/crontab."{1,5}".in" || die
+
+   sed -i \
+   -e 's!/crontab$!/crontab-systemd!' \
+   -e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
+   -- "${S}/Makefile.in" || die
+
+   if use etc-crontab-systemd
+   thensed -i \
+   -e "s!/etc/crontab!/etc/crontab-systemd!" \
+   -- "${S}/src/man/crontab."{1,5}".in" \
+   "${S}/src/bin/systemd-crontab-generator.py" || die
+   fi
+
+   epatch_user
+}
+
+my_use_enable() {
+   if use ${1}; then
+   echo --enable-${2:-${1}}=yes
+   else
+   echo --enable-${2:-${1}}=no
+   fi
+}
+
+src_configure() {
+   ./configure \
+   --prefix="${EPREFIX}/usr" \
+   --confdir="${EPREFIX}/etc" \
+   --runparts="${EPREFIX}/bin/run-parts" \
+   --mandir="${EPREFIX}/usr/share/man" \
+   --unitdir="$(systemd_get_unitdir)" \
+   $(my_use_enable cron-boot boot) \
+   $(my_use_enable minutely) \
+   $(my_use_enable yearly) \
+   $(my_use_enable yearly quarterly) \
+   $(my_use_enable yearly semi_annually) \
+   $(my_use_enable setgid) \
+   --enable-persistent=yes
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2017-07-02 Thread Richard Freeman
commit: 14e10e09679329fa48ef3e8c9fee6e2a685a2033
Author: Richard Freeman  gentoo  org>
AuthorDate: Sun Jul  2 17:50:47 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Sun Jul  2 17:50:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e10e09

sys-process/systemd-cron: fix FEATURES=test support

Bug: 623552
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-process/systemd-cron/systemd-cron-1.5.3.ebuild | 8 +---
 sys-process/systemd-cron/systemd-cron-1.5.4.ebuild | 8 +---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild
index 0d52d1c3d5c..ab453bf98c5 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.3.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.3.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
 
 EAPI=5
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid yearly"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217
 sys-apps/debianutils
@@ -20,7 +20,8 @@ RDEPEND=">=sys-apps/systemd-217
 ${PYTHON_DEPS}
 sys-process/cronbase"
 
-DEPEND="sys-process/cronbase"
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -35,6 +36,7 @@ src_prepare() {
sed -i \
-e 's!/crontab$!/crontab-systemd!' \
-e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
-- "${S}/Makefile.in" || die
 
if use etc-crontab-systemd

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
index 3ac1e9729ac..59f59b8ab2a 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.4.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
 
 EAPI=5
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="cron-boot etc-crontab-systemd minutely setgid yearly"
+IUSE="cron-boot etc-crontab-systemd minutely setgid test yearly"
 
 RDEPEND=">=sys-apps/systemd-217
 sys-apps/debianutils
@@ -20,7 +20,8 @@ RDEPEND=">=sys-apps/systemd-217
 ${PYTHON_DEPS}
 sys-process/cronbase"
 
-DEPEND="sys-process/cronbase"
+DEPEND="sys-process/cronbase
+   test? ( sys-apps/man-db dev-python/pyflakes )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -35,6 +36,7 @@ src_prepare() {
sed -i \
-e 's!/crontab$!/crontab-systemd!' \
-e 's!/crontab\(\.[15]\)$!/crontab-systemd\1!' \
+   -e 's/pyflakes3/pyflakes/' \
-- "${S}/Makefile.in" || die
 
if use etc-crontab-systemd



[gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/

2016-11-21 Thread Richard Freeman
commit: ccf67a07f237cb2041a60848bb0706ee426511df
Author: Richard Freeman  gentoo  org>
AuthorDate: Mon Nov 21 22:07:37 2016 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Mon Nov 21 22:07:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf67a07

sys-process/systemd-cron: amd64 stable

Bug: 600442

Package-Manager: portage-2.3.0

 sys-process/systemd-cron/systemd-cron-1.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild 
b/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
index 0bd190d..8423b6b 100644
--- a/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
+++ b/sys-process/systemd-cron/systemd-cron-1.5.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd-
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cron-boot etc-crontab-systemd minutely setgid yearly"
 
 RDEPEND=">=sys-apps/systemd-217



  1   2   >