Diff dcron-4.5-r2 with a dcron-4.6

/usr/portage/sys-process/dcron/dcron-4.6.ebuild 2025-07-29 16:22:17.944470274 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit cron toolchain-funcs systemd
7 7

  
8
DESCRIPTION="A cute little cron from Matt Dillon"
9
HOMEPAGE="
10
	http://www.jimpryor.net/linux/dcron.html
11
	http://apollo.backplane.com/FreeSrc/"
12
SRC_URI="http://www.jimpryor.net/linux/releases/${P}.tar.gz"
8
DESCRIPTION="Dillon's lightweight and minimalist cron daemon"
9
HOMEPAGE="https://github.com/ptchinster/dcron"
10
SRC_URI="https://github.com/ptchinster/dcron/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
13 11

  
14
LICENSE="GPL-2"
12
LICENSE="GPL-2+"
15 13
SLOT="0"
16 14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
17 15

  
18
PATCHES=(
19
	"${FILESDIR}"/${PN}-4.5-ldflags.patch
20
	"${FILESDIR}"/${PN}-4.5-pidfile.patch
21
)
16
src_prepare() {
17
	default
18
	# fix typo: https://github.com/ptchinster/dcron/pull/2
19
	sed -i 's/CLFAGS/CFLAGS/g' Makefile || die
20

  
21
	# use system LDFLAGS: https://github.com/ptchinster/dcron/issues/3
22
	sed -i 's/^LDFLAGS =//g' Makefile || die
23
}
22 24

  
23 25
src_configure() {
24 26
	tc-export CC
......
29 31
	EOF
30 32
}
31 33

  
34
src_test(){ : ; } # no tests
35

  
32 36
src_install() {
33 37
	default
34 38
	dodoc extra/run-cron extra/root.crontab "${FILESDIR}"/crontab
Thank you!