diff options
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/Manifest.gz | bin | 10295 -> 10295 bytes | |||
-rw-r--r-- | sys-process/dcron/Manifest | 4 | ||||
-rw-r--r-- | sys-process/dcron/dcron-4.6.ebuild | 58 | ||||
-rw-r--r-- | sys-process/dcron/metadata.xml | 6 |
4 files changed, 65 insertions, 3 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex 406ad72600c0..1c0ec0c9f6b6 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/dcron/Manifest b/sys-process/dcron/Manifest index cb1222259adb..f695afc1586f 100644 --- a/sys-process/dcron/Manifest +++ b/sys-process/dcron/Manifest @@ -5,5 +5,7 @@ AUX dcron.confd 131 BLAKE2B 97b9d62f5a5f8798a5f85517a69807e137e552ecb2d287d02a41 AUX dcron.init 446 BLAKE2B 1b7646859045b5b9b3db558c40960029fbbe2e9442aa0788cb3920f71aaf7137b86b074f98dcd094bc6ff110c0d56c44baa7f42058f357bb3f28f80cf80320d1 SHA512 9a6d625713a96490dea7c05717f5bae0271a297a28bd3f08c45d913d09b2b8bda259e7f6f772666f2312b4a2fa60477139efba389c8940bf55f6dcae73ebd588 AUX dcron.service 151 BLAKE2B b8e3fa583592f6a3719356ed4d7b7429ba0cfaec2a6398af398df3a3b959b74659b6b89b7899c1bfb1c9ce048c00be6790aae650a88b5cfb5cc7ea51020e9fce SHA512 7249396786f5fc3b52981d0344c52bd56151d8ead161111a90a5b30c2985a39486aea3e263a6ddbefcb53d88a67277038bd88cc6480ce3d788093bac16835d1c DIST dcron-4.5.tar.gz 44978 BLAKE2B c77cea026b074eed11200bb335cc2f58f7346410f88ae50685db137583beddab14e50394233b8e0f27ae7e3bf30c7875b539db84c32236f78f52bf91862b3272 SHA512 08521391d16ba5adf80278ec2a734319c26c48841fd94b119c0b27d744c2cfb3562b1a3630135a03d1c43b1668d49262713abb20ff5f7ecd397a2a19a2f6105a +DIST dcron-4.6.tar.gz 46184 BLAKE2B 2cd90b3638813b2dd683008c43f8233d930a0d642833b67c6a210c626134ee343ecbed7324be89265b74b49f1152666fa7fcc3bc6cc3535787967697f0591184 SHA512 3f0ba26e488df804a9178478fd693ea7ad4b7d5f80230690669485e80f2f148da71d81e44e1c7a7e333078623caba6e1c3a51a8cdfada96437149872b7231863 EBUILD dcron-4.5-r2.ebuild 1147 BLAKE2B 0ebaf654d0339c55acff573a5443d0409d9dcdea423cd323bf8038e0553237ce266e3599ee42cc6a11910542f9024132dfcd198ebdcffa4fec72dcf0c32b176e SHA512 77c7bec029948634049b6ba4a354805cb02771e94f987dc51719d1c5e0209a9c3f005452b0e4b2df7fa25b0ea8cf5e69dc3506ab6383762a239a8de7ff672195 -MISC metadata.xml 647 BLAKE2B 8ace5a00cfcc4e4b77c7ce0f06fc0209e92fcf5f735505b31e36d869f1a3370b7150a40a376756e5e734b1cdeab193c75db553962bd5f8bc2963793f0fc58ff0 SHA512 fad2d995ff4a1b9e9bdda34877d731041757de23c43eb552c6cc4d7dce40be6681d9409dc180e5cf58fd7dd4b5b121dfbc13fd68c54967c8fac4b8d09514c9ce +EBUILD dcron-4.6.ebuild 1332 BLAKE2B fe36d63ff453a779c5c1ca60296a271bc73d079a43c4c684ee223e807feb064f7fd90ab1d0317499465e0c8e9b5913270c029858a1cff8fc00b9a03414a01a12 SHA512 4ed736409249cb8e825af0263b584788478383568f891610718e0876edd7c00b9a5a46dda414a8ed02c3aaddaf616a7e87e45859e9d55457224cd33b3a871be8 +MISC metadata.xml 758 BLAKE2B 0a14ef0c37e54fb388d0e928fb00c629593583779a7eeb433926ef0228786a27d58a74ccdd4a7f37cc5acaa05efaffa51cfded82984174d2bd18b3c1163cd295 SHA512 8162a6e14336a57243baa656ab5d313b98418464d76b197a6d3ad8706fd6894edd5ff98f3c089be08b07276758e60f74e819ce26c88839e531c1359c08dca021 diff --git a/sys-process/dcron/dcron-4.6.ebuild b/sys-process/dcron/dcron-4.6.ebuild new file mode 100644 index 000000000000..6c7a9037427c --- /dev/null +++ b/sys-process/dcron/dcron-4.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cron toolchain-funcs systemd + +DESCRIPTION="Dillon's lightweight and minimalist cron daemon" +HOMEPAGE="https://github.com/ptchinster/dcron" +SRC_URI="https://github.com/ptchinster/dcron/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +src_prepare() { + default + # fix typo: https://github.com/ptchinster/dcron/pull/2 + sed -i 's/CLFAGS/CFLAGS/g' Makefile || die + + # use system LDFLAGS: https://github.com/ptchinster/dcron/issues/3 + sed -i 's/^LDFLAGS =//g' Makefile || die +} + +src_configure() { + tc-export CC + + cat > config <<-EOF || die + PREFIX = /usr + CRONTAB_GROUP = cron + EOF +} + +src_test(){ : ; } # no tests + +src_install() { + default + dodoc extra/run-cron extra/root.crontab "${FILESDIR}"/crontab + + docrondir + docron crond -m0700 -o root -g wheel + docrontab + + insinto /etc + doins "${FILESDIR}"/crontab + + insinto /etc/cron.d + doins extra/prune-cronstamps + + insinto /etc/logrotate.d + newins extra/crond.logrotate dcron + + keepdir /var/spool/cron/cronstamps + + newinitd "${FILESDIR}"/dcron.init dcron + newconfd "${FILESDIR}"/dcron.confd dcron + systemd_dounit "${FILESDIR}"/dcron.service +} diff --git a/sys-process/dcron/metadata.xml b/sys-process/dcron/metadata.xml index ea32759400b4..5cff6cd89566 100644 --- a/sys-process/dcron/metadata.xml +++ b/sys-process/dcron/metadata.xml @@ -10,7 +10,9 @@ All jobs are run with `/bin/sh` for conformity and portability. </longdescription> <upstream> - <bugs-to>https://github.com/dubiousjim/dcron/issues</bugs-to> - <remote-id type="github">dubiousjim/dcron</remote-id> + <bugs-to>https://github.com/ptchinster/dcron/issues</bugs-to> + <!-- readme's the doc --> + <changelog>https://github.com/ptchinster/dcron/blob/master/CHANGELOG</changelog> + <remote-id type="github">ptchinster/dcron</remote-id> </upstream> </pkgmetadata> |