1 |
commit: 90e7773e6be8589673a15b63d057c45cf738432b |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 06:30:59 2019 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 06:31:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e7773e |
7 |
|
8 |
app-crypt/acmebot: new package, LetsEncrypt automation client |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
12 |
|
13 |
app-crypt/acmebot/Manifest | 1 + |
14 |
app-crypt/acmebot/acmebot-2.3.0.ebuild | 44 ++++++++++++++++++++++++++++++++++ |
15 |
app-crypt/acmebot/acmebot-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++ |
16 |
app-crypt/acmebot/metadata.xml | 7 ++++++ |
17 |
4 files changed, 96 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/acmebot/Manifest b/app-crypt/acmebot/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..4b55640b4b6 |
22 |
--- /dev/null |
23 |
+++ b/app-crypt/acmebot/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST acmebot-2.3.0.tar.gz 64841 BLAKE2B 92bfb9a58722b9955fe908e2fcb1a3ee593bf87e3fdf3dc9564bcbe291b13c553ad426673c337a59344287da64c4ee5cffc734f8dfb60447f96d6234814f0167 SHA512 3951cc7138eb0b83bd802a2e0a221fa985209ba276028606d887b7d2eff84c35db034f4a3d8a6836b3ac149c6dbfa27b1ea47e864f549f8d88b758b40407c4f4 |
26 |
|
27 |
diff --git a/app-crypt/acmebot/acmebot-2.3.0.ebuild b/app-crypt/acmebot/acmebot-2.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..efcd7603271 |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/acmebot/acmebot-2.3.0.ebuild |
32 |
@@ -0,0 +1,44 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=(python3_{4..6}) |
38 |
+EGIT_REPO_URI="https://github.com/plinss/${PN}.git" |
39 |
+[[ $PV == 9999 ]] && _scm=git-r3 |
40 |
+ |
41 |
+inherit ${_scm} python-r1 |
42 |
+ |
43 |
+DESCRIPTION="Certificate manager bot using ACME protocol" |
44 |
+HOMEPAGE="https://github.com/plinss/acmebot" |
45 |
+if [[ $PV != 9999 ]]; then |
46 |
+ SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="" |
53 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
+ |
55 |
+CDEPEND=" |
56 |
+ >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pydns-3.1.0:3[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/acme-0.25.1[${PYTHON_USEDEP}] |
64 |
+ " |
65 |
+RDEPEND="${CDEPEND}" |
66 |
+DEPEND="" |
67 |
+ |
68 |
+src_install() { |
69 |
+ dobin acmebot |
70 |
+ python_replicate_script "${ED}"/usr/bin/acmebot |
71 |
+ insinto /etc/logrotate.d |
72 |
+ doins logrotate.d/acmebot |
73 |
+ insinto /etc/acmebot |
74 |
+ doins acmebot.example.json |
75 |
+ dodoc README.rst |
76 |
+} |
77 |
|
78 |
diff --git a/app-crypt/acmebot/acmebot-9999.ebuild b/app-crypt/acmebot/acmebot-9999.ebuild |
79 |
new file mode 100644 |
80 |
index 00000000000..efcd7603271 |
81 |
--- /dev/null |
82 |
+++ b/app-crypt/acmebot/acmebot-9999.ebuild |
83 |
@@ -0,0 +1,44 @@ |
84 |
+# Copyright 1999-2019 Gentoo Authors |
85 |
+# Distributed under the terms of the GNU General Public License v2 |
86 |
+ |
87 |
+EAPI=7 |
88 |
+PYTHON_COMPAT=(python3_{4..6}) |
89 |
+EGIT_REPO_URI="https://github.com/plinss/${PN}.git" |
90 |
+[[ $PV == 9999 ]] && _scm=git-r3 |
91 |
+ |
92 |
+inherit ${_scm} python-r1 |
93 |
+ |
94 |
+DESCRIPTION="Certificate manager bot using ACME protocol" |
95 |
+HOMEPAGE="https://github.com/plinss/acmebot" |
96 |
+if [[ $PV != 9999 ]]; then |
97 |
+ SRC_URI="https://github.com/plinss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
98 |
+fi |
99 |
+ |
100 |
+LICENSE="GPL-3" |
101 |
+SLOT="0" |
102 |
+[[ $PV != 9999 ]] && KEYWORDS="~amd64 ~x86" |
103 |
+IUSE="" |
104 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
105 |
+ |
106 |
+CDEPEND=" |
107 |
+ >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/pydns-3.1.0:3[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/acme-0.25.1[${PYTHON_USEDEP}] |
115 |
+ " |
116 |
+RDEPEND="${CDEPEND}" |
117 |
+DEPEND="" |
118 |
+ |
119 |
+src_install() { |
120 |
+ dobin acmebot |
121 |
+ python_replicate_script "${ED}"/usr/bin/acmebot |
122 |
+ insinto /etc/logrotate.d |
123 |
+ doins logrotate.d/acmebot |
124 |
+ insinto /etc/acmebot |
125 |
+ doins acmebot.example.json |
126 |
+ dodoc README.rst |
127 |
+} |
128 |
|
129 |
diff --git a/app-crypt/acmebot/metadata.xml b/app-crypt/acmebot/metadata.xml |
130 |
new file mode 100644 |
131 |
index 00000000000..79d462e8557 |
132 |
--- /dev/null |
133 |
+++ b/app-crypt/acmebot/metadata.xml |
134 |
@@ -0,0 +1,7 @@ |
135 |
+<?xml version="1.0" encoding="UTF-8"?> |
136 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
137 |
+<pkgmetadata> |
138 |
+<maintainer type="person"> |
139 |
+ <email>robbat2@g.o</email> |
140 |
+</maintainer> |
141 |
+</pkgmetadata> |