diff options
author | David Seifert <soap@gentoo.org> | 2023-03-11 22:25:55 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-11 22:25:55 +0100 |
commit | 7a82fa2d08493ef780c2c2b16c0ec77f7b3a0650 (patch) | |
tree | 8eddc4126bb9d19bcd1df673982cd6b580c153a8 /sys-process/dcron | |
parent | app-emulation/firecracker-bin: drop old versions (diff) | |
download | gentoo-7a82fa2d08493ef780c2c2b16c0ec77f7b3a0650.tar.gz gentoo-7a82fa2d08493ef780c2c2b16c0ec77f7b3a0650.tar.bz2 gentoo-7a82fa2d08493ef780c2c2b16c0ec77f7b3a0650.zip |
sys-process/dcron: update EAPI 6 -> 7
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-process/dcron')
-rw-r--r-- | sys-process/dcron/dcron-4.5-r2.ebuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/sys-process/dcron/dcron-4.5-r2.ebuild b/sys-process/dcron/dcron-4.5-r2.ebuild index 05ef8ec95b54..925bb4d75945 100644 --- a/sys-process/dcron/dcron-4.5-r2.ebuild +++ b/sys-process/dcron/dcron-4.5-r2.ebuild @@ -1,28 +1,29 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit cron toolchain-funcs systemd DESCRIPTION="A cute little cron from Matt Dillon" -HOMEPAGE="http://www.jimpryor.net/linux/dcron.html http://apollo.backplane.com/FreeSrc/" +HOMEPAGE=" + http://www.jimpryor.net/linux/dcron.html + http://apollo.backplane.com/FreeSrc/" SRC_URI="http://www.jimpryor.net/linux/releases/${P}.tar.gz" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" LICENSE="GPL-2" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -DOCS=( CHANGELOG README extra/run-cron extra/root.crontab "${FILESDIR}"/crontab ) - -PATCHES=( "${FILESDIR}"/${PN}-4.5-ldflags.patch "${FILESDIR}"/${PN}-4.5-pidfile.patch ) - -src_prepare() { - default +PATCHES=( + "${FILESDIR}"/${PN}-4.5-ldflags.patch + "${FILESDIR}"/${PN}-4.5-pidfile.patch +) +src_configure() { tc-export CC - cat <<-EOF > config + cat > config <<-EOF || die PREFIX = /usr CRONTAB_GROUP = cron EOF @@ -30,6 +31,7 @@ src_prepare() { src_install() { default + dodoc extra/run-cron extra/root.crontab "${FILESDIR}"/crontab docrondir docron crond -m0700 -o root -g wheel |