diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/acme-sh/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/acme-sh/acme-sh-3.0.3.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/acme-sh/Manifest b/app-crypt/acme-sh/Manifest index 7a658ef478e5..b4cdcfec99af 100644 --- a/app-crypt/acme-sh/Manifest +++ b/app-crypt/acme-sh/Manifest @@ -1 +1,2 @@ DIST acme.sh-3.0.2.tar.gz 248581 BLAKE2B 13d13a86a904909272c271d52d579065a7c84263ef2169b282b3bf270f33c7a8405aca640724120c08d1f495ea2a39035d46e1ec7f7eecfc093ce4dfa7c33b7d SHA512 6bd40951df02e3eaa1ed0efd8767acb5245e9c26c666ec7087db2cd0a38b65ea3c79ade98be954b4fbde0e89b6a988ac1c85ce2a6bd77b33574fb3fc0266ea03 +DIST acme.sh-3.0.3.tar.gz 253111 BLAKE2B 43b97b033e5e16412e8a958966077ba6b26c49b17206cda5af848b7f9fbf8a8f8bc406b63a13f792dfa93ff7b0759da03a0f599c43f92d25587b582feb59a3cf SHA512 b26f20422a3b40d6c1acbdd52d41124962975313f4187cf918746ad9dc047600a92e529cd1e66ede5b456e253522920b574cb614f455dd73aac707a18f34ad35 diff --git a/app-crypt/acme-sh/acme-sh-3.0.3.ebuild b/app-crypt/acme-sh/acme-sh-3.0.3.ebuild new file mode 100644 index 000000000000..388ce2e32f48 --- /dev/null +++ b/app-crypt/acme-sh/acme-sh-3.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +inherit optfeature + +DESCRIPTION="A pure Unix shell script implementing ACME client protocol" +HOMEPAGE="https://github.com/acmesh-official/acme.sh" +SRC_URI="https://github.com/acmesh-official/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-libs/openssl:0 + net-misc/curl + net-misc/socat +" + +src_install() { + newdoc deploy/README.md README-deploy.md + newdoc dnsapi/README.md README-dnsapi.md + rm {deploy,dnsapi}/README.md || die + einstalldocs + + exeinto /usr/share/acme.sh + doexe acme.sh + + insinto /usr/share/acme.sh + doins -r deploy dnsapi notify + + keepdir /etc/acme-sh + doenvd "${FILESDIR}"/99acme-sh + + insinto /etc/bash/bashrc.d + doins "${FILESDIR}"/acme.sh + + dosym ../share/acme.sh/acme.sh usr/bin/acme.sh +} + +pkg_postinst() { + optfeature_header "For webserver mode, install a supported web server:" + optfeature "using apache2 webserver mode" www-servers/apache + optfeature "using nginx webserver mode" www-servers/nginx +} |