Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme-sh/
Date: Tue, 04 May 2021 13:56:00
Message-Id: 1620136464.b320a5e4b179ac73361ebd995cb1e7e487ddd26a.conikost@gentoo
1 commit: b320a5e4b179ac73361ebd995cb1e7e487ddd26a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 13:54:24 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 13:54:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b320a5e4
7
8 app-crypt/acme-sh: bump to version 2.8.9
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 app-crypt/acme-sh/Manifest | 1 +
14 app-crypt/acme-sh/acme-sh-2.8.9.ebuild | 51 ++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest
18 index 7149e334d2a..b5dbb442f11 100644
19 --- a/app-crypt/acme-sh/Manifest
20 +++ b/app-crypt/acme-sh/Manifest
21 @@ -1 +1,2 @@
22 DIST acme.sh-2.8.8.tar.gz 218582 BLAKE2B bcd2fbc0ff984d7bbcf4e0ee4c1f08f868ebc4b31a5d217587cdeb5810b8991698de52dd082219194c762ef245324e981eb2a044b213e2713c0d12370be1c19b SHA512 cf601965cd5542dbd11668330d0a4e428e89ccc3af92d4d04ea3936c8a31979a5c00aa8e18a31fde07812242dddcebbfdbc06f1c29260b917dfa19f88d12fd72
23 +DIST acme.sh-2.8.9.tar.gz 233430 BLAKE2B fa2c16007bc07dd597443103ebf3afa4986e3885b2b3e0a545cf79408741709171ee67fe019e2abf7891d08cef9d2560a438695dd32c72eb729ea2bea2900221 SHA512 94f771fcbc5b12a2a9992659884d16b543d70db52bccf20eddad931b4a5c233c0fd7362ce525e0cbebfdbd841824b815f5b419572f97b549fea7f2663c92c0a8
24
25 diff --git a/app-crypt/acme-sh/acme-sh-2.8.9.ebuild b/app-crypt/acme-sh/acme-sh-2.8.9.ebuild
26 new file mode 100644
27 index 00000000000..a6b09a058aa
28 --- /dev/null
29 +++ b/app-crypt/acme-sh/acme-sh-2.8.9.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +MY_PN="${PN/-/.}"
37 +MY_P="${MY_PN}-${PV}"
38 +
39 +inherit optfeature
40 +
41 +DESCRIPTION="A pure Unix shell script implementing ACME client protocol"
42 +HOMEPAGE="https://github.com/acmesh-official/acme.sh"
43 +SRC_URI="https://github.com/acmesh-official/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
44 +S="${WORKDIR}/${MY_P}"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 +
50 +RDEPEND="
51 + dev-libs/openssl:0
52 + net-misc/curl
53 + net-misc/socat
54 +"
55 +
56 +src_install() {
57 + newdoc deploy/README.md README-deploy.md
58 + newdoc dnsapi/README.md README-dnsapi.md
59 + rm {deploy,dnsapi}/README.md || die
60 + einstalldocs
61 +
62 + exeinto /usr/share/acme.sh
63 + doexe acme.sh
64 +
65 + insinto /usr/share/acme.sh
66 + doins -r deploy dnsapi notify
67 +
68 + keepdir /etc/acme-sh
69 + doenvd "${FILESDIR}"/99acme-sh
70 +
71 + insinto /etc/bash/bashrc.d
72 + doins "${FILESDIR}"/acme.sh
73 +
74 + dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
75 +}
76 +
77 +pkg_postinst() {
78 + optfeature_header "For webserver mode, install a supported web server:"
79 + optfeature "using apache2 webserver mode" www-servers/apache
80 + optfeature "using nginx webserver mode" www-servers/nginx
81 +}