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, 08 Feb 2022 13:08:15
Message-Id: 1644325592.8b6bce543ecfe7a7f486e14b08affae08ff8998e.conikost@gentoo
1 commit: 8b6bce543ecfe7a7f486e14b08affae08ff8998e
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 8 13:06:32 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 8 13:06:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6bce54
7
8 app-crypt/acme-sh: add 3.0.2
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 app-crypt/acme-sh/Manifest | 1 +
13 app-crypt/acme-sh/acme-sh-3.0.2.ebuild | 51 ++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest
17 index 713a25283ece..3c9169a5a32e 100644
18 --- a/app-crypt/acme-sh/Manifest
19 +++ b/app-crypt/acme-sh/Manifest
20 @@ -1 +1,2 @@
21 DIST acme.sh-3.0.1.tar.gz 239311 BLAKE2B cbbaf6da068447c3400081889e249dc6f17f56df2038d75915eb990e417ecf5407c9c8272dfbd8403fac413357f30df552678ed27096de769ee5355f6343b6f4 SHA512 8bc5468fa70bf0a23f516b05e49f4c457cceb3ae0c12e963b538297912adce1f16fca200b116fc39a88ee0ba522e1757654ed231bebb6199ef7f5ad152511c71
22 +DIST acme.sh-3.0.2.tar.gz 248581 BLAKE2B 13d13a86a904909272c271d52d579065a7c84263ef2169b282b3bf270f33c7a8405aca640724120c08d1f495ea2a39035d46e1ec7f7eecfc093ce4dfa7c33b7d SHA512 6bd40951df02e3eaa1ed0efd8767acb5245e9c26c666ec7087db2cd0a38b65ea3c79ade98be954b4fbde0e89b6a988ac1c85ce2a6bd77b33574fb3fc0266ea03
23
24 diff --git a/app-crypt/acme-sh/acme-sh-3.0.2.ebuild b/app-crypt/acme-sh/acme-sh-3.0.2.ebuild
25 new file mode 100644
26 index 000000000000..7a7a567f6e0f
27 --- /dev/null
28 +++ b/app-crypt/acme-sh/acme-sh-3.0.2.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +MY_PN="${PN/-/.}"
36 +MY_P="${MY_PN}-${PV}"
37 +
38 +inherit optfeature
39 +
40 +DESCRIPTION="A pure Unix shell script implementing ACME client protocol"
41 +HOMEPAGE="https://github.com/acmesh-official/acme.sh"
42 +SRC_URI="https://github.com/acmesh-official/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
43 +S="${WORKDIR}/${MY_P}"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48 +
49 +RDEPEND="
50 + dev-libs/openssl:0
51 + net-misc/curl
52 + net-misc/socat
53 +"
54 +
55 +src_install() {
56 + newdoc deploy/README.md README-deploy.md
57 + newdoc dnsapi/README.md README-dnsapi.md
58 + rm {deploy,dnsapi}/README.md || die
59 + einstalldocs
60 +
61 + exeinto /usr/share/acme.sh
62 + doexe acme.sh
63 +
64 + insinto /usr/share/acme.sh
65 + doins -r deploy dnsapi notify
66 +
67 + keepdir /etc/acme-sh
68 + doenvd "${FILESDIR}"/99acme-sh
69 +
70 + insinto /etc/bash/bashrc.d
71 + doins "${FILESDIR}"/acme.sh
72 +
73 + dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
74 +}
75 +
76 +pkg_postinst() {
77 + optfeature_header "For webserver mode, install a supported web server:"
78 + optfeature "using apache2 webserver mode" www-servers/apache
79 + optfeature "using nginx webserver mode" www-servers/nginx
80 +}