1 |
commit: 8c80c15d06b64de071f84d9c8e6f608d603f0fb5 |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Sun Oct 14 10:48:52 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 20 15:07:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c80c15d |
7 |
|
8 |
app-crypt/acme-sh: new ebuild |
9 |
|
10 |
A pure Unix shell script implementing ACME client protocol |
11 |
|
12 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
13 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/10139 |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
app-crypt/acme-sh/Manifest | 1 + |
18 |
app-crypt/acme-sh/acme-sh-2.7.9.ebuild | 44 ++++++++++++++++++++++++++++++++++ |
19 |
app-crypt/acme-sh/acme-sh-9999.ebuild | 43 +++++++++++++++++++++++++++++++++ |
20 |
app-crypt/acme-sh/files/99acme-sh | 2 ++ |
21 |
app-crypt/acme-sh/files/acme.sh | 1 + |
22 |
app-crypt/acme-sh/metadata.xml | 19 +++++++++++++++ |
23 |
6 files changed, 110 insertions(+) |
24 |
|
25 |
diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest |
26 |
new file mode 100644 |
27 |
index 00000000000..84a85890ba1 |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/acme-sh/Manifest |
30 |
@@ -0,0 +1 @@ |
31 |
+DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052 |
32 |
|
33 |
diff --git a/app-crypt/acme-sh/acme-sh-2.7.9.ebuild b/app-crypt/acme-sh/acme-sh-2.7.9.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..3224bb2b448 |
36 |
--- /dev/null |
37 |
+++ b/app-crypt/acme-sh/acme-sh-2.7.9.ebuild |
38 |
@@ -0,0 +1,44 @@ |
39 |
+# Copyright 1999-2018 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+MY_PN="${PN/-/.}" |
45 |
+MY_P="${MY_PN}-${PV}" |
46 |
+ |
47 |
+DESCRIPTION="An ACME Shell script" |
48 |
+HOMEPAGE="https://github.com/Neilpang/acme.sh" |
49 |
+SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+IUSE="" |
55 |
+ |
56 |
+RDEPEND="net-misc/curl |
57 |
+ || ( dev-libs/libressl dev-libs/openssl:0 ) |
58 |
+ || ( net-analyzer/netcat6 net-analyzer/openbsd-netcat ) |
59 |
+ || ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 ) |
60 |
+ virtual/cron" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_P}" |
63 |
+ |
64 |
+src_install() { |
65 |
+ einstalldocs |
66 |
+ newdoc dnsapi/README.md README-dnsapi.md |
67 |
+ newdoc deploy/README.md README-deploy.md |
68 |
+ |
69 |
+ keepdir /etc/acme-sh |
70 |
+ doenvd "${FILESDIR}"/99acme-sh |
71 |
+ insinto /etc/bash/bashrc.d |
72 |
+ doins "${FILESDIR}"/acme.sh |
73 |
+ |
74 |
+ exeinto /usr/share/acme.sh |
75 |
+ doexe acme.sh |
76 |
+ insinto /usr/share/acme.sh/dnsapi |
77 |
+ doins -r dnsapi/*.sh |
78 |
+ insinto /usr/share/acme.sh/deploy |
79 |
+ doins -r deploy/*.sh |
80 |
+ |
81 |
+ dosym ../share/acme.sh/acme.sh usr/bin/acme.sh |
82 |
+} |
83 |
|
84 |
diff --git a/app-crypt/acme-sh/acme-sh-9999.ebuild b/app-crypt/acme-sh/acme-sh-9999.ebuild |
85 |
new file mode 100644 |
86 |
index 00000000000..23935922162 |
87 |
--- /dev/null |
88 |
+++ b/app-crypt/acme-sh/acme-sh-9999.ebuild |
89 |
@@ -0,0 +1,43 @@ |
90 |
+# Copyright 1999-2018 Gentoo Authors |
91 |
+# Distributed under the terms of the GNU General Public License v2 |
92 |
+ |
93 |
+EAPI=7 |
94 |
+ |
95 |
+EGIT_REPO_URI="https://github.com/Neilpang/${PN/-/.}.git" |
96 |
+ |
97 |
+inherit git-r3 |
98 |
+ |
99 |
+DESCRIPTION="An ACME Shell script" |
100 |
+HOMEPAGE="https://github.com/Neilpang/acme.sh" |
101 |
+SRC_URI="" |
102 |
+ |
103 |
+LICENSE="GPL-3" |
104 |
+SLOT="0" |
105 |
+KEYWORDS="" |
106 |
+IUSE="" |
107 |
+ |
108 |
+RDEPEND="net-misc/curl |
109 |
+ || ( dev-libs/libressl dev-libs/openssl:0 ) |
110 |
+ || ( net-analyzer/netcat6 net-analyzer/openbsd-netcat ) |
111 |
+ || ( net-misc/socat www-servers/apache:2 www-servers/nginx:0 ) |
112 |
+ virtual/cron" |
113 |
+ |
114 |
+src_install() { |
115 |
+ einstalldocs |
116 |
+ newdoc dnsapi/README.md README-dnsapi.md |
117 |
+ newdoc deploy/README.md README-deploy.md |
118 |
+ |
119 |
+ keepdir /etc/acme-sh |
120 |
+ doenvd "${FILESDIR}"/99acme-sh |
121 |
+ insinto /etc/bash/bashrc.d |
122 |
+ doins "${FILESDIR}"/acme.sh |
123 |
+ |
124 |
+ exeinto /usr/share/acme.sh |
125 |
+ doexe acme.sh |
126 |
+ insinto /usr/share/acme.sh/dnsapi |
127 |
+ doins -r dnsapi/*.sh |
128 |
+ insinto /usr/share/acme.sh/deploy |
129 |
+ doins -r deploy/*.sh |
130 |
+ |
131 |
+ dosym ../share/acme.sh/acme.sh usr/bin/acme.sh |
132 |
+} |
133 |
|
134 |
diff --git a/app-crypt/acme-sh/files/99acme-sh b/app-crypt/acme-sh/files/99acme-sh |
135 |
new file mode 100644 |
136 |
index 00000000000..a502b49016a |
137 |
--- /dev/null |
138 |
+++ b/app-crypt/acme-sh/files/99acme-sh |
139 |
@@ -0,0 +1,2 @@ |
140 |
+LE_WORKING_DIR="/etc/acme-sh/" |
141 |
+LE_CONFIG_HOME="/etc/acme-sh/" |
142 |
|
143 |
diff --git a/app-crypt/acme-sh/files/acme.sh b/app-crypt/acme-sh/files/acme.sh |
144 |
new file mode 100644 |
145 |
index 00000000000..f20d53850bc |
146 |
--- /dev/null |
147 |
+++ b/app-crypt/acme-sh/files/acme.sh |
148 |
@@ -0,0 +1 @@ |
149 |
+alias acme.sh="/usr/bin/acme.sh --config-home '/etc/acme-sh/'" |
150 |
|
151 |
diff --git a/app-crypt/acme-sh/metadata.xml b/app-crypt/acme-sh/metadata.xml |
152 |
new file mode 100644 |
153 |
index 00000000000..2a8926b55be |
154 |
--- /dev/null |
155 |
+++ b/app-crypt/acme-sh/metadata.xml |
156 |
@@ -0,0 +1,19 @@ |
157 |
+<?xml version="1.0" encoding="UTF-8"?> |
158 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
159 |
+<pkgmetadata> |
160 |
+ <maintainer type="person"> |
161 |
+ <email>spiderx@××××××××××.ua</email> |
162 |
+ <name>Vladimir Pavljuchenkov</name> |
163 |
+ </maintainer> |
164 |
+ <maintainer type="project"> |
165 |
+ <email>proxy-maint@g.o</email> |
166 |
+ <name>Proxy Maintainers</name> |
167 |
+ </maintainer> |
168 |
+ <longdescription lang="en"> |
169 |
+ A shell script to automatically issue and renew the free certificates |
170 |
+ from Let's Encrypt |
171 |
+ </longdescription> |
172 |
+ <upstream> |
173 |
+ <remote-id type="github">Neilpang/acme.sh</remote-id> |
174 |
+ </upstream> |
175 |
+</pkgmetadata> |