Diff logrotate-3.19.0 with a logrotate-3.20.1-r1
/usr/portage/app-admin/logrotate/logrotate-3.20.1-r1.ebuild 2023-10-09 14:52:28.156368316 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit systemd tmpfiles |
|
6 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/kamildudka.asc |
|
7 |
inherit systemd tmpfiles verify-sig |
|
7 | 8 | |
8 | 9 |
DESCRIPTION="Rotates, compresses, and mails system logs" |
9 | 10 |
HOMEPAGE="https://github.com/logrotate/logrotate" |
10 | 11 |
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" |
12 |
SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )" |
|
11 | 13 | |
12 | 14 |
LICENSE="GPL-2" |
13 | 15 |
SLOT="0" |
... | ... | |
20 | 22 |
RDEPEND="${DEPEND} |
21 | 23 |
selinux? ( sec-policy/selinux-logrotate ) |
22 | 24 |
cron? ( virtual/cron )" |
25 |
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-kamildudka )" |
|
23 | 26 | |
24 | 27 |
STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" |
25 | 28 |
OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" |
26 | 29 | |
27 | 30 |
PATCHES=( |
28 |
"${FILESDIR}/${PN}-3.15.0-ignore-hidden.patch" |
|
31 |
"${FILESDIR}"/${PN}-3.15.0-ignore-hidden.patch |
|
32 |
"${FILESDIR}"/${P}-log-changes.patch |
|
29 | 33 |
) |
30 | 34 | |
31 | 35 |
move_old_state_file() { |
... | ... | |
55 | 59 |
--with-state-file-path="${STATEFILE}" |
56 | 60 |
} |
57 | 61 | |
58 |
src_test() { |
|
59 |
emake test |
|
60 |
} |
|
61 | ||
62 | 62 |
src_install() { |
63 | 63 |
dobin logrotate |
64 | 64 |
doman logrotate.8 |