summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-14 19:34:41 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-14 19:36:35 +0200
commit4fd397e907754f58312008af9f6fa2bdb7dba2c2 (patch)
tree2a511e20d000d8c1181070fd4062b865b7a16bbb
parentapp-text/ghostscript-gpl: Stabilize 9.52 sparc, #734322 (diff)
downloadgentoo-4fd397e907754f58312008af9f6fa2bdb7dba2c2.tar.gz
gentoo-4fd397e907754f58312008af9f6fa2bdb7dba2c2.tar.bz2
gentoo-4fd397e907754f58312008af9f6fa2bdb7dba2c2.zip
dev-libs/libevent: Update live ebuild
- Add IUSE=mbedtls - Update metadata.xml to clarify IUSE=ssl/mbedtls difference Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--dev-libs/libevent/libevent-9999.ebuild6
-rw-r--r--dev-libs/libevent/metadata.xml32
2 files changed, 21 insertions, 17 deletions
diff --git a/dev-libs/libevent/libevent-9999.ebuild b/dev-libs/libevent/libevent-9999.ebuild
index 71d7fb943c27..ed19f34dab5f 100644
--- a/dev-libs/libevent/libevent-9999.ebuild
+++ b/dev-libs/libevent/libevent-9999.ebuild
@@ -15,12 +15,13 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE="
- +clock-gettime debug libressl malloc-replacement +ssl static-libs test
- +threads verbose-debug
+ +clock-gettime debug libressl malloc-replacement mbedtls +ssl static-libs
+ test +threads verbose-debug
"
RESTRICT="test"
DEPEND="
+ mbedtls? ( net-libs/mbedtls )
ssl? (
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
@@ -52,6 +53,7 @@ multilib_src_configure() {
$(use_enable clock-gettime) \
$(use_enable debug debug-mode) \
$(use_enable malloc-replacement malloc-replacement) \
+ $(use_enable mbedtls) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_enable test libevent-regress) \
diff --git a/dev-libs/libevent/metadata.xml b/dev-libs/libevent/metadata.xml
index 0669d49f12f1..78451ccf1300 100644
--- a/dev-libs/libevent/metadata.xml
+++ b/dev-libs/libevent/metadata.xml
@@ -1,19 +1,21 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>jer@gentoo.org</email>
- <name>Jeroen Roovers</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id>
- <remote-id type="sourceforge">levent</remote-id>
- <remote-id type="github">libevent/libevent</remote-id>
- </upstream>
- <use>
- <flag name="clock-gettime">Disable use of clock_gettime even if it is available</flag>
- <flag name="debug">Support for running in debug mode</flag>
- <flag name="malloc-replacement">Support for replacing the memory management functions</flag>
- <flag name="verbose-debug">Support for verbose debug logging</flag>
- </use>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+<name>Jeroen Roovers</name>
+</maintainer>
+<upstream>
+<remote-id type="cpe">cpe:/a:niels_provos:libevent</remote-id>
+<remote-id type="github">libevent/libevent</remote-id>
+<remote-id type="sourceforge">levent</remote-id>
+</upstream>
+<use>
+<flag name="clock-gettime">Disable use of clock_gettime even if it is available</flag>
+<flag name="debug">Support for running in debug mode</flag>
+<flag name="malloc-replacement">Support for replacing the memory management functions</flag>
+<flag name="mbedtls">Support for <pkg>net-libs/mbedtls</pkg> encryption</flag>
+<flag name="ssl">Support for <pkg>dev-libs/openssl</pkg> encryption</flag>
+<flag name="verbose-debug">Support for verbose debug logging</flag>
+</use>
</pkgmetadata>