summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-10-06 02:59:28 -0400
committerMike Gilbert <floppym@gentoo.org>2016-10-06 03:00:37 -0400
commit5ad6769c29f9ecf6c653657148a9dc803e7d8d28 (patch)
treedabd73f3ef4b8687fa549dd7c6f15354f655dfae /net-misc/openconnect
parentmedia-libs/opencv: update metadata (diff)
downloadgentoo-5ad6769c29f9ecf6c653657148a9dc803e7d8d28.tar.gz
gentoo-5ad6769c29f9ecf6c653657148a9dc803e7d8d28.tar.bz2
gentoo-5ad6769c29f9ecf6c653657148a9dc803e7d8d28.zip
net-misc/openconnect: Optionally depend on lz4
Bug: https://bugs.gentoo.org/596192 Package-Manager: portage-2.3.1_p6
Diffstat (limited to 'net-misc/openconnect')
-rw-r--r--net-misc/openconnect/metadata.xml7
-rw-r--r--net-misc/openconnect/openconnect-7.07-r2.ebuild4
-rw-r--r--net-misc/openconnect/openconnect-9999.ebuild4
3 files changed, 10 insertions, 5 deletions
diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml
index 270f27d8e444..392587d6e70e 100644
--- a/net-misc/openconnect/metadata.xml
+++ b/net-misc/openconnect/metadata.xml
@@ -15,9 +15,10 @@
<description>Proxied maintainer. Copy on bugs.</description>
</maintainer>
<use>
- <flag name="gssapi">Build GSSAPI support.</flag>
+ <flag name="gssapi">Build GSSAPI support</flag>
<flag name="java">Build JNI bindings using jni.h</flag>
- <flag name="libproxy">Enable proxy support.</flag>
- <flag name="stoken">Enable stoken support.</flag>
+ <flag name="libproxy">Enable proxy support</flag>
+ <flag name="lz4">Enable support for lz4 compression</flag>
+ <flag name="stoken">Enable stoken support</flag>
</use>
</pkgmetadata>
diff --git a/net-misc/openconnect/openconnect-7.07-r2.ebuild b/net-misc/openconnect/openconnect-7.07-r2.ebuild
index 57ae5c007fa9..5e793cdb3a10 100644
--- a/net-misc/openconnect/openconnect-7.07-r2.ebuild
+++ b/net-misc/openconnect/openconnect-7.07-r2.ebuild
@@ -25,7 +25,7 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5"
-IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken"
+IUSE="doc +gnutls gssapi java libproxy lz4 nls smartcard static-libs stoken"
DEPEND="dev-libs/libxml2
sys-libs/zlib
@@ -38,6 +38,7 @@ DEPEND="dev-libs/libxml2
)
gssapi? ( virtual/krb5 )
libproxy? ( net-libs/libproxy )
+ lz4? ( app-arch/lz4:= )
nls? ( virtual/libintl )
smartcard? ( sys-apps/pcsc-lite:0= )
stoken? ( app-crypt/stoken )"
@@ -99,6 +100,7 @@ src_configure() {
$(use_with !gnutls openssl) \
$(use_with gnutls ) \
$(use_with libproxy) \
+ $(use_with lz4) \
$(use_with gssapi) \
$(use_with smartcard libpcsclite) \
$(use_with stoken) \
diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 1fe1adad2ea9..4abd3db278a0 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -25,7 +25,7 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5"
-IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken"
+IUSE="doc +gnutls gssapi java libproxy lz4 nls smartcard static-libs stoken"
DEPEND="dev-libs/libxml2
sys-libs/zlib
@@ -38,6 +38,7 @@ DEPEND="dev-libs/libxml2
)
gssapi? ( virtual/krb5 )
libproxy? ( net-libs/libproxy )
+ lz4? ( app-arch/lz4:= )
nls? ( virtual/libintl )
smartcard? ( sys-apps/pcsc-lite:0= )
stoken? ( app-crypt/stoken )"
@@ -95,6 +96,7 @@ src_configure() {
$(use_with !gnutls openssl) \
$(use_with gnutls ) \
$(use_with libproxy) \
+ $(use_with lz4) \
$(use_with gssapi) \
$(use_with smartcard libpcsclite) \
$(use_with stoken) \