diff --git a/app-crypt/uacme/Manifest b/app-crypt/uacme/Manifest new file mode 100644 index 0000000000..21c8df26d4 --- /dev/null +++ b/app-crypt/uacme/Manifest @@ -0,0 +1 @@ +DIST uacme-1.7.1.tar.gz 328128 BLAKE2B 4b0b4196d529f508985659bb2b6307746a678e30afe75f7d204dc5a8b68fc4983dd6b06d39eddda1d35146b02ab120634cc1aa8e64c7de585588d8b1e3395bb9 SHA512 5004228cb3e59b5f85d561544a4ddf32df644c45be4b63fb5c29accade7ab2afc95b228119ec007175de682b0b2c4ce1211a451e021ecc7f32d9e5905632acfb diff --git a/app-crypt/uacme/metadata.xml b/app-crypt/uacme/metadata.xml new file mode 100644 index 0000000000..1780e2299d --- /dev/null +++ b/app-crypt/uacme/metadata.xml @@ -0,0 +1,14 @@ + + + + + + ndilieto/uacme + + + Use net-libs/gnutls instead of dev-libs/openssl + Use net-libs/mbedtls instead of dev-libs/openssl + Build the ualpn proxy that transparently handles tls-alpn-01 + Build and install man pages + + diff --git a/app-crypt/uacme/uacme-1.7.1.ebuild b/app-crypt/uacme/uacme-1.7.1.ebuild new file mode 100644 index 0000000000..8624297481 --- /dev/null +++ b/app-crypt/uacme/uacme-1.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="ACMEv2 client written in plain C with minimal dependencies" +HOMEPAGE="https://github.com/ndilieto/uacme" +SRC_URI="https://github.com/ndilieto/uacme/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/uacme-upstream-${PV}" + +KEYWORDS="~amd64" + +SLOT="0" +LICENSE="GPL-3" +IUSE="gnutls mbedtls +ualpn +man" +REQUIRED_USE="gnutls? ( !mbedtls )" + +RDEPEND=" + >=net-misc/curl-7.77.0-r1 + !gnutls? ( !mbedtls? ( >=dev-libs/openssl-1.1.1k ) ) + gnutls? ( >=net-libs/gnutls-3.7.1 ) + mbedtls? ( >=net-libs/mbedtls-2.26.0 ) +" +DEPEND="${RDEPEND}" +BDEPEND="man? ( >=app-text/asciidoc-9.0.5-r1 )" + +src_configure() { + econf --with$(use gnutls || use mbedtls && echo out)-openssl \ + $(use_with gnutls) \ + $(use_with mbedtls) \ + $(use_with ualpn) \ + $(use_enable man docs) +}