1 |
commit: f39ae000ce0d7b5afa7fe5f8f47974c187b5c1a2 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 21:11:42 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 21:20:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ae000 |
7 |
|
8 |
app-crypt/acme-sh: add 3.0.4 |
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.4.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 4446a5f66127..4dcc2d7c974f 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.3.tar.gz 253111 BLAKE2B 43b97b033e5e16412e8a958966077ba6b26c49b17206cda5af848b7f9fbf8a8f8bc406b63a13f792dfa93ff7b0759da03a0f599c43f92d25587b582feb59a3cf SHA512 b26f20422a3b40d6c1acbdd52d41124962975313f4187cf918746ad9dc047600a92e529cd1e66ede5b456e253522920b574cb614f455dd73aac707a18f34ad35 |
22 |
+DIST acme.sh-3.0.4.tar.gz 253157 BLAKE2B b1bde1ca31ef34c264f5045dd36220b3fd04230c59f7e65a9623681377dbde161ed3b92d86bd3e6f5a115d8847b1c2019bf984194f2901b52eb65abefad8bf81 SHA512 919987ac026366d245fa2730edf1212deafb051129811f35b482a30af9b0034a802baa218a35048e030795127cfeae03b4c3d4f12e580cd82edbacdd72e588e7 |
23 |
|
24 |
diff --git a/app-crypt/acme-sh/acme-sh-3.0.4.ebuild b/app-crypt/acme-sh/acme-sh-3.0.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..388ce2e32f48 |
27 |
--- /dev/null |
28 |
+++ b/app-crypt/acme-sh/acme-sh-3.0.4.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=8 |
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 |
+} |