Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/acme-sh/
Date: Sun, 14 Apr 2019 18:18:05
Message-Id: 1555265788.c1a560a4f5c6a441282af0e592d1fe702db06ece.monsieurp@gentoo
1 commit: c1a560a4f5c6a441282af0e592d1fe702db06ece
2 Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
3 AuthorDate: Sun Apr 14 15:27:18 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 14 18:16:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a560a4
7
8 app-crypt/acme-sh: version bump to 2.8.0, fix depends.
9
10 1. Version bump to 2.8.0.
11 2. Removed slot for www-servers/nginx.
12 3. Replaced net-analyzer/netcat6 by net-analyzer/netcat.
13
14 Closes: https://bugs.gentoo.org/683266
15 Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
16 Package-Manager: Portage-2.3.62, Repoman-2.3.11
17 Closes: https://github.com/gentoo/gentoo/pull/11684
18 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
19
20 app-crypt/acme-sh/Manifest | 1 +
21 app-crypt/acme-sh/acme-sh-2.8.0.ebuild | 44 ++++++++++++++++++++++++++++++++++
22 2 files changed, 45 insertions(+)
23
24 diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest
25 index 84a85890ba1..e3fff5368ef 100644
26 --- a/app-crypt/acme-sh/Manifest
27 +++ b/app-crypt/acme-sh/Manifest
28 @@ -1 +1,2 @@
29 DIST acme.sh-2.7.9.tar.gz 110323 BLAKE2B 244afad17ddf17fa95a11d5af7943a153ed37e67ef304511787767a5d769f9cd22fb66875d637f2d536cce8942e4feee0c442af8349a32a91940b1fbbc2e879c SHA512 24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052
30 +DIST acme.sh-2.8.0.tar.gz 127638 BLAKE2B b5ef10c40da4b77c7f1f3175b7cac0cc19bff135959416a97b3e8443cf13bb92d9e0b86837fd3834351412a19f25e92a4ffa146815c146f2e91cd94bcbc655a8 SHA512 99f86866f7bd1426e9a8b31dd09206685ad4aa01a3d723d366681aae4ea2087f9437496e0b3da947766931493c9d94305da1906eadc7005373327342ca94ce23
31
32 diff --git a/app-crypt/acme-sh/acme-sh-2.8.0.ebuild b/app-crypt/acme-sh/acme-sh-2.8.0.ebuild
33 new file mode 100644
34 index 00000000000..27d064cd38c
35 --- /dev/null
36 +++ b/app-crypt/acme-sh/acme-sh-2.8.0.ebuild
37 @@ -0,0 +1,44 @@
38 +# Copyright 1999-2019 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +MY_PN="${PN/-/.}"
44 +MY_P="${MY_PN}-${PV}"
45 +
46 +DESCRIPTION="An ACME Shell script"
47 +HOMEPAGE="https://github.com/Neilpang/acme.sh"
48 +SRC_URI="https://github.com/Neilpang/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
49 +
50 +LICENSE="GPL-3"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE=""
54 +
55 +RDEPEND="net-misc/curl
56 + || ( dev-libs/libressl dev-libs/openssl:0 )
57 + || ( net-analyzer/netcat net-analyzer/openbsd-netcat )
58 + || ( net-misc/socat www-servers/apache:2 www-servers/nginx )
59 + virtual/cron"
60 +
61 +S="${WORKDIR}/${MY_P}"
62 +
63 +src_install() {
64 + einstalldocs
65 + newdoc dnsapi/README.md README-dnsapi.md
66 + newdoc deploy/README.md README-deploy.md
67 +
68 + keepdir /etc/acme-sh
69 + doenvd "${FILESDIR}"/99acme-sh
70 + insinto /etc/bash/bashrc.d
71 + doins "${FILESDIR}"/acme.sh
72 +
73 + exeinto /usr/share/acme.sh
74 + doexe acme.sh
75 + insinto /usr/share/acme.sh/dnsapi
76 + doins -r dnsapi/*.sh
77 + insinto /usr/share/acme.sh/deploy
78 + doins -r deploy/*.sh
79 +
80 + dosym ../share/acme.sh/acme.sh usr/bin/acme.sh
81 +}