public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/uacme/
@ 2021-06-29 13:33 Greg Depoire--Ferrer
  0 siblings, 0 replies; only message in thread
From: Greg Depoire--Ferrer @ 2021-06-29 13:33 UTC (permalink / raw
  To: gentoo-commits

commit:     f5e76e77c761ce4e54309fee9f6f89328cbdc906
Author:     Greg Depoire--Ferrer <greg.depoire+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Jun 29 13:05:53 2021 +0000
Commit:     Greg Depoire--Ferrer <greg.depoire+gentoo <AT> gmail <DOT> com>
CommitDate: Tue Jun 29 13:32:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f5e76e77

app-crypt/uacme: add new package

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Greg Depoire--Ferrer <greg.depoire+gentoo <AT> gmail.com>

 app-crypt/uacme/Manifest           |  1 +
 app-crypt/uacme/metadata.xml       | 14 ++++++++++++++
 app-crypt/uacme/uacme-1.7.1.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/app-crypt/uacme/Manifest b/app-crypt/uacme/Manifest
new file mode 100644
index 000000000..21c8df26d
--- /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 000000000..1780e2299
--- /dev/null
+++ b/app-crypt/uacme/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<upstream>
+		<remote-id type="github">ndilieto/uacme</remote-id>
+	</upstream>
+	<use>
+		<flag name="gnutls">Use <pkg>net-libs/gnutls</pkg> instead of <pkg>dev-libs/openssl</pkg></flag>
+		<flag name="mbedtls">Use <pkg>net-libs/mbedtls</pkg> instead of <pkg>dev-libs/openssl</pkg></flag>
+		<flag name="ualpn">Build the ualpn proxy that transparently handles tls-alpn-01</flag>
+		<flag name="man">Build and install man pages</flag>
+	</use>
+</pkgmetadata>

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 000000000..862429748
--- /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)
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-29 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-29 13:33 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/uacme/ Greg Depoire--Ferrer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox