Diff dehydrated-0.7.0-r1 with a dehydrated-0.7.1
/usr/portage/app-crypt/dehydrated/dehydrated-0.7.1.ebuild 2023-10-09 14:52:28.228368318 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI="7" |
|
4 |
EAPI="8" |
|
5 | ||
6 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/dehydrated.asc |
|
7 | ||
8 |
inherit verify-sig |
|
5 | 9 | |
6 | 10 |
DESCRIPTION="A client for signing certificates with an ACME-server" |
7 |
HOMEPAGE="https://github.com/dehydrated-io/dehydrated" |
|
8 |
SRC_URI="https://github.com/dehydrated-io/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
HOMEPAGE="https://dehydrated.io/" |
|
12 |
SRC_URI=" |
|
13 |
https://github.com/dehydrated-io/${PN}/releases/download/v${PV}/${P}.tar.gz |
|
14 |
verify-sig? ( https://github.com/dehydrated-io/${PN}/releases/download/v${PV}/${P}.tar.gz.asc ) |
|
15 |
" |
|
9 | 16 | |
10 | 17 |
LICENSE="MIT" |
11 | 18 |
SLOT="0" |
12 |
KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86" |
|
19 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
|
13 | 20 |
IUSE="+cron" |
14 | 21 | |
22 |
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-dehydrated )" |
|
15 | 23 |
RDEPEND="acct-group/dehydrated |
16 | 24 |
acct-user/dehydrated |
17 | 25 |
app-shells/bash |
18 | 26 |
net-misc/curl |
19 | 27 |
cron? ( virtual/cron )" |
20 | 28 | |
21 |
PATCHES=( "${FILESDIR}"/${P}-fix-CN-extraction-for-older-openssl-versions.patch ) |
|
22 | ||
23 | 29 |
src_configure() { |
24 | 30 |
default |
25 |
sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" |
|
31 |
sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config \ |
|
32 |
|| die "could not set config (CONFIG_D)" |
|
26 | 33 |
} |
27 | 34 | |
28 | 35 |
src_install() { |
... | ... | |
33 | 40 |
dodoc docs/*.md |
34 | 41 | |
35 | 42 |
insinto /etc/${PN}/config.d |
36 |
doins "${FILESDIR}"/00_gentoo.sh |
|
43 |
newins "${FILESDIR}"/00_gentoo.sh-r1 00_gentoo.sh |
|
44 | ||
45 |
keepdir /etc/${PN}/domains.d |
|
46 | ||
47 |
doman docs/man/dehydrated.1 |
|
37 | 48 | |
38 | 49 |
if use cron ; then |
39 | 50 |
insinto /etc/cron.d |