[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: e3c94dc25ab8c6edaf473c97ba37f32a88a40c4e Author: Michael Weber gentoo org> AuthorDate: Thu Feb 23 07:58:25 2017 + Commit: Michael Weber gentoo org> CommitDate: Thu Feb 23 08:04:39 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c94dc2 net-misc/openconnect: arm ppc64 stable (bug 591138). Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-misc/openconnect/openconnect-7.07-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/openconnect/openconnect-7.07-r2.ebuild b/net-misc/openconnect/openconnect-7.07-r2.ebuild index f5aa00722f..07c2cd96ec 100644 --- a/net-misc/openconnect/openconnect-7.07-r2.ebuild +++ b/net-misc/openconnect/openconnect-7.07-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ if [[ ${PV} == ]]; then inherit git-r3 autotools else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" + KEYWORDS="amd64 arm ~arm64 ppc64 x86" fi VPNC_VER=20160829 SRC_URI="${ARCHIVE_URI}
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/files/
commit: d69a628145b8027fa256bdaf331d05608337c1b1 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Wed Jan 25 19:49:50 2017 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Jan 26 04:06:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69a6281 net-misc/openconnect: remove unused init files net-misc/openconnect/files/openconnect.init.in-r2 | 144 - net-misc/openconnect/files/openconnect.init.in-r3 | 145 -- 2 files changed, 289 deletions(-) diff --git a/net-misc/openconnect/files/openconnect.init.in-r2 b/net-misc/openconnect/files/openconnect.init.in-r2 deleted file mode 100644 index 338afb8.. --- a/net-misc/openconnect/files/openconnect.init.in-r2 +++ /dev/null @@ -1,144 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -VPN="${RC_SVCNAME#*.}" -VPNLOG="/var/log/openconnect/${VPN}" -VPNLOGFILE="${VPNLOG}/openconnect.log" -VPNERRFILE="${VPNLOG}/openconnect.err" -VPNPID="/run/openconnect/${VPN}.pid" -VPNDIR="/etc/openconnect/${VPN}" -PREUPSCRIPT="${VPNDIR}/preup.sh" -PREDOWNSCRIPT="${VPNDIR}/predown.sh" -POSTUPSCRIPT="${VPNDIR}/postup.sh" -POSTDOWNSCRIPT="${VPNDIR}/postdown.sh" -SERVER="server_${VPN}" -PASSWORD="password_${VPN}" -VPNOPTS="vpnopts_${VPN}" - -depend() { - before netmount -} - -checkconfig() { - if [ $VPN = "openconnect" ]; then - eerror "You cannot call openconnect directly. You must create a symbolic link to it with the vpn name:" - echo - eerror "ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0" - echo - eerror "And then call it instead:" - echo - eerror "/etc/init.d/openconnect.vpn0 start" - return 1 - fi -} - -checktuntap() { - if [ $(uname -s) = "Linux" ] ; then - if [ ! -e /dev/net/tun ]; then - if ! modprobe tun ; then - eerror "TUN/TAP support is not available in this kernel" - return 1 - fi - fi - if [ -h /dev/net/tun ] && [ -c /dev/misc/net/tun ]; then - ebegin "Detected broken /dev/net/tun symlink, fixing..." - rm -f /dev/net/tun - ln -s /dev/misc/net/tun /dev/net/tun - eend $? - fi - fi -} - -start() { - ebegin "Starting OpenConnect: ${VPN}" - - local tmp_SERVER tmp_VPNOPTS tmp_PASSWORD - eval tmp_SERVER="\${${SERVER}}" - eval tmp_VPNOPTS="\${${VPNOPTS}}" - eval tmp_PASSWORD="\${${PASSWORD}}" - - checkconfig || return 1 - - checktuntap || return 1 - - if [ "${tmp_SERVER}" = "vpn.server.tld" ]; then - eend 1 "${VPN} not configured" - return 1 - fi - - if [ ! -e "${VPNLOG}" ]; then - mkdir -p "${VPNLOG}" - fi - -local piddir="${VPNPID%/*}" -if [ ! -d "$piddir" ] ; then -mkdir -p "$piddir" -if [ $? -ne 0 ]; then -eerror "Directory $piddir for pidfile does not exist and cannot be created" -return 1 -fi -fi - - if [ -x "${PREUPSCRIPT}" ] ; then - "${PREUPSCRIPT}" - fi - - start-stop-daemon --start \ - --make-pidfile \ - --pidfile "${VPNPID}" \ - --stderr "${VPNERRFILE}" \ - --stdout "${VPNLOGFILE}" \ - --background \ - --exec /usr/sbin/openconnect -- \ - --interface="${VPN}" \ - --pid-file="${VPNPID}" \ - ${tmp_VPNOPTS} \ - ${tmp_SERVER} <<-E - ${tmp_PASSWORD} - E - - local retval=$? - - if [ ! ${retval} -eq 0 ]; then - eend ${retval} - return ${retval} - fi - - if [ -x "${POSTUPSCRIPT}" ] ; then - # wait until the interface is up and an ip address is set before running postup - while true; do - if [ -n "$(ip addr show $VPN | grep inet)" ]; then - "${POSTUPSCRIPT}" - break - fi - done - fi - - eend $? -} - -stop() { - ebegin "Stopping OpenConnect: ${VPN}" - - checkconfig || return 1 - - if [ -x "${PREDOWNSCRIPT}" ] ; then - "${PREDOWNSCRIPT}" - fi - - start-stop-daemon --pidfile "${VPNPID}" --stop /usr/sbin/openconnect - local retval=$? - - if [ ! ${retval} -eq 0 ]; then - eend ${retval} - return ${retval} - fi - -
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: a43c643e086f81e080166cd84cc23efc9bf86d4f Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Dec 20 09:06:37 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Dec 20 09:07:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43c643e net-misc/openconnect: x86 stable wrt bug #591138 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/openconnect/openconnect-7.07-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-7.07-r2.ebuild b/net-misc/openconnect/openconnect-7.07-r2.ebuild index 5e793cd..f5aa007 100644 --- a/net-misc/openconnect/openconnect-7.07-r2.ebuild +++ b/net-misc/openconnect/openconnect-7.07-r2.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == ]]; then inherit git-r3 autotools else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" fi VPNC_VER=20160829 SRC_URI="${ARCHIVE_URI}
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: bf810b1f6effe379d49709694ff64445677ccac3 Author: Mike Gilbert gentoo org> AuthorDate: Sun Dec 18 18:09:42 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Sun Dec 18 18:10:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf810b1f net-misc/openconnect: bump to 7.08 Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1 net-misc/openconnect/Manifest| 1 + net-misc/openconnect/openconnect-7.08.ebuild | 163 +++ 2 files changed, 164 insertions(+) diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest index 74b9bd6..5a16aa5 100644 --- a/net-misc/openconnect/Manifest +++ b/net-misc/openconnect/Manifest @@ -1,5 +1,6 @@ DIST openconnect-7.06.tar.gz 1343870 SHA256 facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2 SHA512 d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108 WHIRLPOOL b1b98bf8d900714eb7c7ab82bbd4371050f307b7872bd70b4b9c31f72bb15670842f41c381cbe31aad7e5e98bccbe0663e49b988d5c321c706719b8fa19a2654 DIST openconnect-7.06_p20160614.tar.gz 2332148 SHA256 dcba2a087d66e0cf27c087c74ee64ae6b747b2191dfbf5fa2729ec2b156aee4a SHA512 7832251180e9c738c84ee89d0ad35144318f90cc9ede48e0cdb73747e64b2a3fbf4ad8175d0d755cb5629fbfc37c76a131a1b54a03c4249727102b572cbdfd66 WHIRLPOOL 2f25ef9a09c1efb88f5439a8f55b05d68adf868d108c7378e7a4d2889e092838b245ac2660ffc6234846a34a320971fce99ce1f0519be1426a8b2c3be371fbf4 DIST openconnect-7.07.tar.gz 1557283 SHA256 f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366 SHA512 fcce82419a058f5210f8b6167a10e52eb572c93cda3ec941bf11e5bfcf8395ce2f816cba4f5f9a02920eb023fe7dfbd8192d5664ce5bab29bf88506b67ec34e3 WHIRLPOOL 188d5117c1b669e1ab6c11d4d66431e3c59e50b21b39db5e6e9df3d3e3f1905c75be46e101e10483f4de2547a40e894b474eef35e001744bfdeb4a7f4c128dd1 +DIST openconnect-7.08.tar.gz 1686133 SHA256 1c44ec1f37a6a025d1ca726b9555649417f1d31a46f747922b84099ace628a03 SHA512 22f9b0bd4bd17e2ab91ff42b2464c89abba035fe705c037ba4d1042ace460c8738e20481783a1edc3b7dd6503fe9fcc7fdd188552811fb1525310e25a4c2f400 WHIRLPOOL 0f3e9f2435be11915de1e73075454f6be45dc4752df7d27b69a186dc7d8c9a6ce49d0a55510b3e836b26bced78eaa792f78ce9be5c51cff4212cd5c799e3ad70 DIST vpnc-scripts-20140806.tar.gz 20070 SHA256 1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f SHA512 bfa230d6eb2db0696a23228cef6e742dcf5e609c25de725c23e2c7bee96d00045ea656d6c7025cdf7785f70baeb8a8d79af6aec93d7285bcb3c029dc744e5380 WHIRLPOOL 78d0c5e23f408167904639a7804859a1d6b89668feab6834a589a3d9f7abf4f9d1da984553a8871b6a16af39a03e5a6f3f6506dd77f7f960c7fcdd56f0683e27 DIST vpnc-scripts-20160829.tar.gz 20297 SHA256 b737cbfbd2a0c9339ad108f8f2f02269981f0236ff350ce675b0391a08f861bc SHA512 0edd0e5184ac4a705f213a87fa8afa2e2cd54c9bd1aa01955a3a5107c42da8eae7b639896daceecc556a63b0663ee47e25fc21e77f0f74774330d546584fd2c1 WHIRLPOOL 0afe6e9ec1fb952bdad319d65f2353e7a8812e3301bc94ad3c472081ec9673506c9a52d8c4bd4f1035cfacca9f30494b9822034a6d468ce4357277ede2330d1e diff --git a/net-misc/openconnect/openconnect-7.08.ebuild b/net-misc/openconnect/openconnect-7.08.ebuild new file mode 100644 index ..5f4b500 --- /dev/null +++ b/net-misc/openconnect/openconnect-7.08.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1 + +if [[ ${PV} == ]]; then + EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" + inherit git-r3 autotools +else + ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +VPNC_VER=20160829 +SRC_URI="${ARCHIVE_URI} + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +IUSE="doc +gnutls gssapi java libproxy libressl lz4 nls smartcard static-libs stoken" + +DEPEND=" + dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0=[static-libs?] ) + libressl? ( dev-libs/libressl:0=[static-libs?] ) + ) + gnutls? ( + app-misc/ca-certificates + dev-libs/nettle + >=net-libs/gnutls-3:0=[static-libs?] + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + lz4? ( app-arch/lz4:= ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS || die + fi + + if use doc; then + python_setup + else + exp
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: f29adf534acbc354b1d27b2dd689108bf64f5ff1 Author: Mike Gilbert gentoo org> AuthorDate: Sun Nov 20 16:19:06 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Sun Nov 20 16:21:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29adf53 net-misc/openconnect: general ebuild cleanup Package-Manager: portage-2.3.2_p8 net-misc/openconnect/openconnect-.ebuild | 37 ++-- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 7e5fb54..5f4b500 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -87,24 +87,25 @@ src_configure() { if use doc; then python_setup else - # If the python cannot be found, the docs will not build - sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + export PYTHON=/bin/false fi - # liboath not in portage - econf \ - --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ - --without-openssl-version-check \ - $(use_enable static-libs static) \ - $(use_enable nls ) \ - $(use_with !gnutls openssl) \ - $(use_with gnutls ) \ - $(use_with libproxy) \ - $(use_with lz4) \ - $(use_with gssapi) \ - $(use_with smartcard libpcsclite) \ - $(use_with stoken) \ + local myconf=( + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" + --without-openssl-version-check + $(use_enable static-libs static) + $(use_enable nls) + $(use_with !gnutls openssl) + $(use_with gnutls) + $(use_with libproxy) + $(use_with lz4) + $(use_with gssapi) + $(use_with smartcard libpcsclite) + $(use_with stoken) $(use_with java) + ) + + econf "${myconf[@]}" } DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. @@ -135,9 +136,8 @@ chmod 755 /etc/openconnect/vpn0/* " src_install() { - emake DESTDIR="${D}" install + default - dodoc AUTHORS TODO newinitd "${FILESDIR}"/openconnect.init.in-r4 openconnect dodir /etc/openconnect insinto /etc/openconnect @@ -148,8 +148,7 @@ src_install() { newins "${FILESDIR}"/openconnect.logrotate openconnect keepdir /var/log/openconnect - # Remove useless .la files - prune_libtool_files --all + prune_libtool_files readme.gentoo_create_doc }
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/, net-misc/openconnect/files/
commit: 9f755166990850a2f869b1da92c76283e1708b5d Author: Aric Belsito gmail com> AuthorDate: Thu Nov 3 08:24:42 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Nov 3 19:34:50 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f755166 net-misc/openconnect: Reintroduce libressl USE. Closes: https://github.com/gentoo/gentoo/pull/2727 .../files/openconnect-7.07-libressl.patch | 77 ++ net-misc/openconnect/openconnect-7.06-r4.ebuild| 8 ++- ...nect-.ebuild => openconnect-7.07-r3.ebuild} | 16 +++-- net-misc/openconnect/openconnect-.ebuild | 12 ++-- 4 files changed, 102 insertions(+), 11 deletions(-) diff --git a/net-misc/openconnect/files/openconnect-7.07-libressl.patch b/net-misc/openconnect/files/openconnect-7.07-libressl.patch new file mode 100644 index ..4f9d34b --- /dev/null +++ b/net-misc/openconnect/files/openconnect-7.07-libressl.patch @@ -0,0 +1,77 @@ +From d4a8afc2e8693628f2de554e717458e08bcc2fcf Mon Sep 17 00:00:00 2001 +From: Aric Belsito +Date: Thu, 3 Nov 2016 11:37:23 -0700 +Subject: [PATCH] Fix LibreSSL Build. + +From Voidlinux: + +From d51ab5615e11af4a2c160b2b8240e5d9f3c15422 Mon Sep 17 00:00:00 2001 +From: Duncaen +Date: Wed, 13 Jul 2016 15:21:16 +0200 +Subject: [PATCH] openconnect: update to 7.07. +--- + openssl-esp.c | 4 ++-- + openssl.c | 8 + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/openssl-esp.c b/openssl-esp.c +index 2c1aa49..bd4dce3 100644 +--- a/openssl-esp.c b/openssl-esp.c +@@ -27,7 +27,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER < 0x1010L ++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) + + #define EVP_CIPHER_CTX_free(c) do { \ + EVP_CIPHER_CTX_cleanup(c); \ +@@ -85,7 +85,7 @@ static int init_esp_ciphers(struct openconnect_info *vpninfo, struct esp *esp, + } + EVP_CIPHER_CTX_set_padding(esp->cipher, 0); + +-#if OPENSSL_VERSION_NUMBER < 0x1010L ++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) + esp->hmac = malloc(sizeof(*esp->hmac)); + esp->pkt_hmac = malloc(sizeof(*esp->pkt_hmac)); + if (!esp->hmac || &esp->pkt_hmac) { +diff --git a/openssl.c b/openssl.c +index 785fd2a..6007cef 100644 +--- a/openssl.c b/openssl.c +@@ -36,11 +36,11 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER < 0x1010L ++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) + #define X509_up_ref(x)CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509) + #endif + +-#if OPENSSL_VERSION_NUMBER < 0x1010L ++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER) + #define EVP_MD_CTX_new EVP_MD_CTX_create + #define EVP_MD_CTX_free EVP_MD_CTX_destroy + #define X509_STORE_CTX_get0_chain(ctx) ((ctx)->chain) +@@ -991,7 +991,7 @@ static int set_peer_cert_hash(struct openconnect_info *vpninfo) + return 0; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10002000L ++#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) + static int match_hostname_elem(const char *hostname, int helem_len, + const char *match, int melem_len) + { +@@ -1653,7 +1653,7 @@ int openconnect_open_https(struct openconnect_info *vpninfo) +* 4fcdd66fff5fea0cfa1055c6680a76a4303f28a2 +* cd6bd5ffda616822b52104fee0c4c7d623fd4f53 +*/ +-#if OPENSSL_VERSION_NUMBER >= 0x10001070 ++#if OPENSSL_VERSION_NUMBER >= 0x10001070 || defined(LIBRESSL_VERSION_NUMBER) + if (string_is_hostname(vpninfo->hostname)) + SSL_set_tlsext_host_name(https_ssl, vpninfo->hostname); + #endif +-- +2.10.2 + diff --git a/net-misc/openconnect/openconnect-7.06-r4.ebuild b/net-misc/openconnect/openconnect-7.06-r4.ebuild index c2727fa..101a611 100644 --- a/net-misc/openconnect/openconnect-7.06-r4.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r4.ebuild @@ -18,7 +18,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken" +IUSE="doc +gnutls gssapi java libproxy libressl nls smartcard static-libs stoken" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do IUSE="${IUSE} linguas_${lang}" @@ -27,11 +27,13 @@ done DEPEND="dev-libs/libxml2 sys-libs/zlib !gnutls? ( - >=dev-libs/openssl-1.0.1h:0[static-libs?] + !libressl? ( >=dev-libs/openssl-1.0.1h:0=[static-libs?] ) + libressl? ( dev-libs/libressl:0=[static-libs?] ) ) gnutls? ( - >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle app-misc/ca-certificates + dev-libs/nettle + >
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 5ad6769c29f9ecf6c653657148a9dc803e7d8d28 Author: Mike Gilbert gentoo org> AuthorDate: Thu Oct 6 06:59:28 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Oct 6 07:00:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad6769c net-misc/openconnect: Optionally depend on lz4 Bug: https://bugs.gentoo.org/596192 Package-Manager: portage-2.3.1_p6 net-misc/openconnect/metadata.xml | 7 --- net-misc/openconnect/openconnect-7.07-r2.ebuild | 4 +++- net-misc/openconnect/openconnect-.ebuild| 4 +++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml index 270f27d..392587d 100644 --- a/net-misc/openconnect/metadata.xml +++ b/net-misc/openconnect/metadata.xml @@ -15,9 +15,10 @@ Proxied maintainer. Copy on bugs. - Build GSSAPI support. + Build GSSAPI support Build JNI bindings using jni.h - Enable proxy support. - Enable stoken support. + Enable proxy support + Enable support for lz4 compression + Enable stoken support diff --git a/net-misc/openconnect/openconnect-7.07-r2.ebuild b/net-misc/openconnect/openconnect-7.07-r2.ebuild index 57ae5c0..5e793cd 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-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 1fe1ada..4abd3db 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.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) \
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/files/, net-misc/openconnect/
commit: 5f9049c9da39886975077c93c119129cd31e8f88 Author: William Hubbs gentoo org> AuthorDate: Sat Sep 24 17:44:31 2016 + Commit: William Hubbs gentoo org> CommitDate: Sat Sep 24 17:44:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9049c9 net-misc/openconnect: 7.07-r2 revbump to fix pulse secure Current stable openconnect is broken for newer releases of pulse secure [1]. This revbump fixes that issue. I have verified it on amd64 so I'm going straight to stable since the previous revision is stable. [1] http://lists.infradead.org/pipermail/openconnect-devel/2016-September/003952.html Package-Manager: portage-2.2.28 RepoMan-Options: --force .../openconnect-7.07-mimic-pulse-client.patch | 38 + net-misc/openconnect/openconnect-7.07-r2.ebuild| 162 + 2 files changed, 200 insertions(+) diff --git a/net-misc/openconnect/files/openconnect-7.07-mimic-pulse-client.patch b/net-misc/openconnect/files/openconnect-7.07-mimic-pulse-client.patch new file mode 100644 index ..5cfeca6 --- /dev/null +++ b/net-misc/openconnect/files/openconnect-7.07-mimic-pulse-client.patch @@ -0,0 +1,38 @@ +From 4ce9c9241f5707917e87e93a055f757cea5fb84d Mon Sep 17 00:00:00 2001 +From: Jon DeVree +Date: Mon, 19 Sep 2016 21:00:18 -0400 +Subject: [PATCH] Add Content-Length header to mimic official pulse client + +The official pulse client sends in a fixed "Content-Length: 256" header +with these two HTTP requests. Some versions of the VPN server will +reject requests with an HTTP 400 error if they do not have this header. + +Signed-off-by: Jon DeVree +Signed-off-by: David Woodhouse +--- + oncp.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/oncp.c b/oncp.c +index cc9a223..2bf1571 100644 +--- a/oncp.c b/oncp.c +@@ -562,6 +562,7 @@ int oncp_connect(struct openconnect_info *vpninfo) + + buf_append(reqbuf, "POST /dana/js?prot=1&svc=1 HTTP/1.1\r\n"); + oncp_common_headers(vpninfo, reqbuf); ++ buf_append(reqbuf, "Content-Length: 256\r\n"); + buf_append(reqbuf, "\r\n"); + + if (buf_error(reqbuf)) { +@@ -606,6 +607,7 @@ int oncp_connect(struct openconnect_info *vpninfo) + buf_truncate(reqbuf); + buf_append(reqbuf, "POST /dana/js?prot=1&svc=4 HTTP/1.1\r\n"); + oncp_common_headers(vpninfo, reqbuf); ++ buf_append(reqbuf, "Content-Length: 256\r\n"); + buf_append(reqbuf, "\r\n"); + + if (buf_error(reqbuf)) { +-- +2.7.3 + diff --git a/net-misc/openconnect/openconnect-7.07-r2.ebuild b/net-misc/openconnect/openconnect-7.07-r2.ebuild new file mode 100644 index ..57ae5c0 --- /dev/null +++ b/net-misc/openconnect/openconnect-7.07-r2.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1 + +if [[ ${PV} == ]]; then + EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" + inherit git-r3 autotools +else + ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +VPNC_VER=20160829 +SRC_URI="${ARCHIVE_URI} + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +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" + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + >=dev-libs/openssl-1.0.1h:0[static-libs?] + ) + gnutls? ( + >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS || die + fi + + if use doc; then + python_setup + else + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + $(use_with gssapi) \ + $(use_with smartcard libpcsclite) \ + $(use_with stoken) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You ne
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 629362a3a691b0830b7c62aaba8471a2d56a6212 Author: William Hubbs gentoo org> AuthorDate: Tue Sep 20 16:00:40 2016 + Commit: William Hubbs gentoo org> CommitDate: Tue Sep 20 16:01:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=629362a3 net-misc/openconnect: stabilize 7.07-r1 on amd64 for #594524 Package-Manager: portage-2.2.28 net-misc/openconnect/openconnect-7.07-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-7.07-r1.ebuild b/net-misc/openconnect/openconnect-7.07-r1.ebuild index 1fe1ada..8cbc483 100644 --- a/net-misc/openconnect/openconnect-7.07-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.07-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == ]]; then inherit git-r3 autotools else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" fi VPNC_VER=20160829 SRC_URI="${ARCHIVE_URI}
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: f5603ba03de16afc0785069a46b31e1bb02f172d Author: Mike Gilbert gentoo org> AuthorDate: Mon Sep 12 15:32:42 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Sep 12 15:33:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5603ba0 net-misc/openconnect: drop broken libressl support Bug: https://bugs.gentoo.org/593546 Package-Manager: portage-2.3.0_p24 net-misc/openconnect/openconnect-7.06-r4.ebuild| 5 ++--- net-misc/openconnect/openconnect-7.06_p20160614.ebuild | 5 ++--- net-misc/openconnect/openconnect-7.07-r1.ebuild| 5 ++--- net-misc/openconnect/openconnect-.ebuild | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/net-misc/openconnect/openconnect-7.06-r4.ebuild b/net-misc/openconnect/openconnect-7.06-r4.ebuild index d403ff1..c2727fa 100644 --- a/net-misc/openconnect/openconnect-7.06-r4.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r4.ebuild @@ -18,7 +18,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" +IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do IUSE="${IUSE} linguas_${lang}" @@ -27,8 +27,7 @@ done DEPEND="dev-libs/libxml2 sys-libs/zlib !gnutls? ( - !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) - libressl? ( dev-libs/libressl[static-libs?] ) + >=dev-libs/openssl-1.0.1h:0[static-libs?] ) gnutls? ( >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle diff --git a/net-misc/openconnect/openconnect-7.06_p20160614.ebuild b/net-misc/openconnect/openconnect-7.06_p20160614.ebuild index 01fc3ed..025c721 100644 --- a/net-misc/openconnect/openconnect-7.06_p20160614.ebuild +++ b/net-misc/openconnect/openconnect-7.06_p20160614.ebuild @@ -26,13 +26,12 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"; LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" +IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken" DEPEND="dev-libs/libxml2 sys-libs/zlib !gnutls? ( - !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) - libressl? ( dev-libs/libressl[static-libs?] ) + >=dev-libs/openssl-1.0.1h:0[static-libs?] ) gnutls? ( >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle diff --git a/net-misc/openconnect/openconnect-7.07-r1.ebuild b/net-misc/openconnect/openconnect-7.07-r1.ebuild index b490e17..1fe1ada 100644 --- a/net-misc/openconnect/openconnect-7.07-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.07-r1.ebuild @@ -25,13 +25,12 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"; LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" +IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken" DEPEND="dev-libs/libxml2 sys-libs/zlib !gnutls? ( - !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) - libressl? ( dev-libs/libressl[static-libs?] ) + >=dev-libs/openssl-1.0.1h:0[static-libs?] ) gnutls? ( >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index b490e17..1fe1ada 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -25,13 +25,12 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"; LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" +IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs stoken" DEPEND="dev-libs/libxml2 sys-libs/zlib !gnutls? ( - !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) - libressl? ( dev-libs/libressl[static-libs?] ) + >=dev-libs/openssl-1.0.1h:0[static-libs?] ) gnutls? ( >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 967c1fb9a56d4cd216f4516d7acf8a136a827565 Author: Mike Gilbert gentoo org> AuthorDate: Mon Sep 12 00:50:29 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Sep 12 00:51:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967c1fb9 net-misc/openconnect: use vpnc-scripts-20160829 Bug: https://bugs.gentoo.org/591774 Package-Manager: portage-2.3.0_p24 net-misc/openconnect/Manifest | 1 + .../openconnect/{openconnect-7.07.ebuild => openconnect-7.07-r1.ebuild} | 2 +- net-misc/openconnect/openconnect-.ebuild| 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest index 3d6d856..74b9bd6 100644 --- a/net-misc/openconnect/Manifest +++ b/net-misc/openconnect/Manifest @@ -2,3 +2,4 @@ DIST openconnect-7.06.tar.gz 1343870 SHA256 facf695368dc4537a6a30e2147be90b1d77e DIST openconnect-7.06_p20160614.tar.gz 2332148 SHA256 dcba2a087d66e0cf27c087c74ee64ae6b747b2191dfbf5fa2729ec2b156aee4a SHA512 7832251180e9c738c84ee89d0ad35144318f90cc9ede48e0cdb73747e64b2a3fbf4ad8175d0d755cb5629fbfc37c76a131a1b54a03c4249727102b572cbdfd66 WHIRLPOOL 2f25ef9a09c1efb88f5439a8f55b05d68adf868d108c7378e7a4d2889e092838b245ac2660ffc6234846a34a320971fce99ce1f0519be1426a8b2c3be371fbf4 DIST openconnect-7.07.tar.gz 1557283 SHA256 f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366 SHA512 fcce82419a058f5210f8b6167a10e52eb572c93cda3ec941bf11e5bfcf8395ce2f816cba4f5f9a02920eb023fe7dfbd8192d5664ce5bab29bf88506b67ec34e3 WHIRLPOOL 188d5117c1b669e1ab6c11d4d66431e3c59e50b21b39db5e6e9df3d3e3f1905c75be46e101e10483f4de2547a40e894b474eef35e001744bfdeb4a7f4c128dd1 DIST vpnc-scripts-20140806.tar.gz 20070 SHA256 1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f SHA512 bfa230d6eb2db0696a23228cef6e742dcf5e609c25de725c23e2c7bee96d00045ea656d6c7025cdf7785f70baeb8a8d79af6aec93d7285bcb3c029dc744e5380 WHIRLPOOL 78d0c5e23f408167904639a7804859a1d6b89668feab6834a589a3d9f7abf4f9d1da984553a8871b6a16af39a03e5a6f3f6506dd77f7f960c7fcdd56f0683e27 +DIST vpnc-scripts-20160829.tar.gz 20297 SHA256 b737cbfbd2a0c9339ad108f8f2f02269981f0236ff350ce675b0391a08f861bc SHA512 0edd0e5184ac4a705f213a87fa8afa2e2cd54c9bd1aa01955a3a5107c42da8eae7b639896daceecc556a63b0663ee47e25fc21e77f0f74774330d546584fd2c1 WHIRLPOOL 0afe6e9ec1fb952bdad319d65f2353e7a8812e3301bc94ad3c472081ec9673506c9a52d8c4bd4f1035cfacca9f30494b9822034a6d468ce4357277ede2330d1e diff --git a/net-misc/openconnect/openconnect-7.07.ebuild b/net-misc/openconnect/openconnect-7.07-r1.ebuild similarity index 99% rename from net-misc/openconnect/openconnect-7.07.ebuild rename to net-misc/openconnect/openconnect-7.07-r1.ebuild index 20c579a..b490e17 100644 --- a/net-misc/openconnect/openconnect-7.07.ebuild +++ b/net-misc/openconnect/openconnect-7.07-r1.ebuild @@ -16,7 +16,7 @@ else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" fi -VPNC_VER=20140806 +VPNC_VER=20160829 SRC_URI="${ARCHIVE_URI} ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 20c579a..b490e17 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -16,7 +16,7 @@ else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" fi -VPNC_VER=20140806 +VPNC_VER=20160829 SRC_URI="${ARCHIVE_URI} ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz";
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 5eda65d91a4dbc89f62e493af4e09bcdedb187e2 Author: William Hubbs gentoo org> AuthorDate: Wed Jul 13 17:40:15 2016 + Commit: William Hubbs gentoo org> CommitDate: Wed Jul 13 17:42:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eda65d9 net-misc/openconnect: 7.07 version bump Package-Manager: portage-2.2.28 net-misc/openconnect/Manifest| 1 + net-misc/openconnect/openconnect-7.07.ebuild | 159 +++ 2 files changed, 160 insertions(+) diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest index 09000b2..3d6d856 100644 --- a/net-misc/openconnect/Manifest +++ b/net-misc/openconnect/Manifest @@ -1,3 +1,4 @@ DIST openconnect-7.06.tar.gz 1343870 SHA256 facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2 SHA512 d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108 WHIRLPOOL b1b98bf8d900714eb7c7ab82bbd4371050f307b7872bd70b4b9c31f72bb15670842f41c381cbe31aad7e5e98bccbe0663e49b988d5c321c706719b8fa19a2654 DIST openconnect-7.06_p20160614.tar.gz 2332148 SHA256 dcba2a087d66e0cf27c087c74ee64ae6b747b2191dfbf5fa2729ec2b156aee4a SHA512 7832251180e9c738c84ee89d0ad35144318f90cc9ede48e0cdb73747e64b2a3fbf4ad8175d0d755cb5629fbfc37c76a131a1b54a03c4249727102b572cbdfd66 WHIRLPOOL 2f25ef9a09c1efb88f5439a8f55b05d68adf868d108c7378e7a4d2889e092838b245ac2660ffc6234846a34a320971fce99ce1f0519be1426a8b2c3be371fbf4 +DIST openconnect-7.07.tar.gz 1557283 SHA256 f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366 SHA512 fcce82419a058f5210f8b6167a10e52eb572c93cda3ec941bf11e5bfcf8395ce2f816cba4f5f9a02920eb023fe7dfbd8192d5664ce5bab29bf88506b67ec34e3 WHIRLPOOL 188d5117c1b669e1ab6c11d4d66431e3c59e50b21b39db5e6e9df3d3e3f1905c75be46e101e10483f4de2547a40e894b474eef35e001744bfdeb4a7f4c128dd1 DIST vpnc-scripts-20140806.tar.gz 20070 SHA256 1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f SHA512 bfa230d6eb2db0696a23228cef6e742dcf5e609c25de725c23e2c7bee96d00045ea656d6c7025cdf7785f70baeb8a8d79af6aec93d7285bcb3c029dc744e5380 WHIRLPOOL 78d0c5e23f408167904639a7804859a1d6b89668feab6834a589a3d9f7abf4f9d1da984553a8871b6a16af39a03e5a6f3f6506dd77f7f960c7fcdd56f0683e27 diff --git a/net-misc/openconnect/openconnect-7.07.ebuild b/net-misc/openconnect/openconnect-7.07.ebuild new file mode 100644 index 000..20c579a --- /dev/null +++ b/net-misc/openconnect/openconnect-7.07.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1 + +if [[ ${PV} == ]]; then + EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" + inherit git-r3 autotools +else + ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +VPNC_VER=20140806 +SRC_URI="${ARCHIVE_URI} + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) + libressl? ( dev-libs/libressl[static-libs?] ) + ) + gnutls? ( + >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS || die + fi + + if use doc; then + python_setup + else + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + $(use_with gssapi) \ + $(use_with smartcard libpcsclite) \ + $(use_with stoken) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d +instead of calling it directly: + +ln -s /etc/init.d
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 5020703a379f409433095c29e7f0f29e8ea87a1a Author: William Hubbs gentoo org> AuthorDate: Tue Jul 5 14:39:16 2016 + Commit: William Hubbs gentoo org> CommitDate: Tue Jul 5 14:42:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5020703a net-misc/openconnect: add 20160614 snapshot release The date of this snapshot is taken from the upstream git log; it is the date of the most recent commit when the snapshot was created. This snapshot includes several upstream changes since the last release. Package-Manager: portage-2.2.28 net-misc/openconnect/Manifest | 1 + .../openconnect/openconnect-7.06_p20160614.ebuild | 158 + 2 files changed, 159 insertions(+) diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest index ad3c064..09000b2 100644 --- a/net-misc/openconnect/Manifest +++ b/net-misc/openconnect/Manifest @@ -1,2 +1,3 @@ DIST openconnect-7.06.tar.gz 1343870 SHA256 facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2 SHA512 d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108 WHIRLPOOL b1b98bf8d900714eb7c7ab82bbd4371050f307b7872bd70b4b9c31f72bb15670842f41c381cbe31aad7e5e98bccbe0663e49b988d5c321c706719b8fa19a2654 +DIST openconnect-7.06_p20160614.tar.gz 2332148 SHA256 dcba2a087d66e0cf27c087c74ee64ae6b747b2191dfbf5fa2729ec2b156aee4a SHA512 7832251180e9c738c84ee89d0ad35144318f90cc9ede48e0cdb73747e64b2a3fbf4ad8175d0d755cb5629fbfc37c76a131a1b54a03c4249727102b572cbdfd66 WHIRLPOOL 2f25ef9a09c1efb88f5439a8f55b05d68adf868d108c7378e7a4d2889e092838b245ac2660ffc6234846a34a320971fce99ce1f0519be1426a8b2c3be371fbf4 DIST vpnc-scripts-20140806.tar.gz 20070 SHA256 1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f SHA512 bfa230d6eb2db0696a23228cef6e742dcf5e609c25de725c23e2c7bee96d00045ea656d6c7025cdf7785f70baeb8a8d79af6aec93d7285bcb3c029dc744e5380 WHIRLPOOL 78d0c5e23f408167904639a7804859a1d6b89668feab6834a589a3d9f7abf4f9d1da984553a8871b6a16af39a03e5a6f3f6506dd77f7f960c7fcdd56f0683e27 diff --git a/net-misc/openconnect/openconnect-7.06_p20160614.ebuild b/net-misc/openconnect/openconnect-7.06_p20160614.ebuild new file mode 100644 index 000..01fc3ed --- /dev/null +++ b/net-misc/openconnect/openconnect-7.06_p20160614.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1 + +if [[ ${PV} == ]]; then + EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" + inherit git-r3 autotools +else + inherit autotools + ARCHIVE_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"; + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +VPNC_VER=20140806 +SRC_URI="${ARCHIVE_URI} + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) + libressl? ( dev-libs/libressl[static-libs?] ) + ) + gnutls? ( + >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS || die + fi + + if use doc; then + python_setup + else + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + $(use_with gssapi) \ + $(use_with smartcard libpcsclite) \ + $(use_with stoken) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d +instead of calling it directly: + +ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0 + +You can then start the vpn tunnel like this: + +/etc/init.
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 8f752261cf351aea4ded195296aec54efc1578dd Author: Mike Gilbert gentoo org> AuthorDate: Tue Jul 5 00:20:54 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Tue Jul 5 00:20:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f752261 net-misc/openconnect: ebuild improvements EAPI=6. Drop linguas from IUSE. Move python_setup from pkg_setup to src_configure. Package-Manager: portage-2.3.0_p11 net-misc/openconnect/openconnect-.ebuild | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index c457dfe..20c579a 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="xml" -inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1 if [[ ${PV} == ]]; then EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" @@ -26,10 +26,6 @@ HOMEPAGE="http://www.infradead.org/openconnect.html"; LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" -ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" -for lang in $ILINGUAS; do - IUSE="${IUSE} linguas_${lang}" -done DEPEND="dev-libs/libxml2 sys-libs/zlib @@ -63,30 +59,31 @@ pkg_pretend() { pkg_setup() { java-pkg-opt-2_pkg_setup - - if use doc; then - python-any-r1_pkg_setup - fi } src_unpack() { if [[ ${PV} == ]]; then git-r3_src_unpack fi - unpack ${A} + default } src_prepare() { - epatch_user + default if [[ ${PV} == ]]; then eautoreconf fi } src_configure() { - strip-linguas $ILINGUAS - echo ${LINGUAS} > po/LINGUAS - if ! use doc; then + if [[ ${LINGUAS+set} == set ]]; then + strip-linguas -u po + echo "${LINGUAS}" > po/LINGUAS || die + fi + + if use doc; then + python_setup + else # If the python cannot be found, the docs will not build sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die fi
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: f2f2e62fecc8654b24625959b2bda0ce3c8da09d Author: Mike Gilbert gentoo org> AuthorDate: Thu May 12 14:31:57 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Thu May 12 14:32:15 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f2e62f net-misc/openconnect: remove old Package-Manager: portage-2.2.28_p106 net-misc/openconnect/Manifest | 5 - net-misc/openconnect/openconnect-4.08.ebuild| 144 - net-misc/openconnect/openconnect-6.00.ebuild| 153 --- net-misc/openconnect/openconnect-7.02.ebuild| 150 -- net-misc/openconnect/openconnect-7.06-r2.ebuild | 140 - net-misc/openconnect/openconnect-7.06.ebuild| 158 6 files changed, 750 deletions(-) diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest index 1d4ddc4..ad3c064 100644 --- a/net-misc/openconnect/Manifest +++ b/net-misc/openconnect/Manifest @@ -1,7 +1,2 @@ -DIST openconnect-4.08.tar.gz 1214464 SHA256 114eef2b5a8087f26c7871db8700a293101e9626fc94fbef54ac6daef6ce1a77 SHA512 0731a2bb85f1f98c232a73c03962d8854e58b9aa9687a1521ed142e3aadbd9ba76e760a6fbc9fe3d61d5236fcb82af21aba0c50cb27b4c1a5b7f82f9bb9836a0 WHIRLPOOL fd4a52ceb804e2ef77939dcf8b111cf7dacf956dee6a1421b436b595961a14c038f3cf4bc3bb67e91b20a5b5a8473e27123d403c369864a78130ee9f5cd552ff -DIST openconnect-6.00.tar.gz 1021981 SHA256 8a0c684dccac2447d204d544f6f466e41b21bce71e033ba58e2cb17b795ab81c SHA512 98c39fdbf6931bc20521de107752ffad1cd99381f4a221cc6ab3f43b6a779f5259ed082e05044c25d61bd32f7f3ade28adfdc3bc2535c2e6acb27375a9591e0c WHIRLPOOL dd3a037def1c192bb9c203b6a97185164f0a5f9ff224f64ab0b36482bd45d57ed4b83a79ac71186d93a29a6d4417c8fe0edd7fd08adf6df1f69f59cc807b6f2f -DIST openconnect-7.02.tar.gz 1136137 SHA256 083626e6f2a87393dd13f379a222bf27b0d57fe1ca286d5f3731d4a444ee7169 SHA512 2452308913e5fabf6824dc46baee3ee8493153788b2f6ee0e2e2ab94fa0b00b1604e09140aba3f8a81e121addedd2ca20d3989509ac2d336b69e3c6a7b753757 WHIRLPOOL 0c10c572f0de0583dea746aff45d1ccab5e13623b854bdf665a55f60f74d135dcb2d94b98561985b0bac5fb923872e45f6fd1d3637209875390871cd7783e351 DIST openconnect-7.06.tar.gz 1343870 SHA256 facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2 SHA512 d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108 WHIRLPOOL b1b98bf8d900714eb7c7ab82bbd4371050f307b7872bd70b4b9c31f72bb15670842f41c381cbe31aad7e5e98bccbe0663e49b988d5c321c706719b8fa19a2654 -DIST openconnect-script-20121108205904.tar.gz 6380 SHA256 99fb6c72c13b5724766a952e392b75774771f220f59793e5d2576d7e3412555b SHA512 089650538f035875c205bed0190e44ed8176a138bbe2f635ac5335050c3b831fc85fbd61448ddaf7cb540c0a5d9b32f8f909e1fd5be188bfef07e721d4656545 WHIRLPOOL 3dc2b820afe49cc59c96d514f166d94fdbc3db9f3edbace69e41ae7e604263a834fff0a1fa7be806ff88c328a75de4306ec159e4022d43cd245addf34615efb2 -DIST openconnect-script-20140311.tar.xz 6240 SHA256 908c667507132ef0269b6d1511ee8b89ae22dfa272c9ffa7ea24c1fa1b31fceb SHA512 043443c615b076d61ea8c464a6b7b68ca526e636313488501459f6eca6974c276d3a60e165fb23f017858a18b255f9c9e1ad80736cb852756d7fe8f3bc5aa917 WHIRLPOOL ae5632be17d72bf7992814e0262cb862ee0bec48dbd119d33bc94b3647755087c2427418ea0064c7560be6e06dc83a2702587fab3403afccfc90d3df8acd0a9f DIST vpnc-scripts-20140806.tar.gz 20070 SHA256 1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f SHA512 bfa230d6eb2db0696a23228cef6e742dcf5e609c25de725c23e2c7bee96d00045ea656d6c7025cdf7785f70baeb8a8d79af6aec93d7285bcb3c029dc744e5380 WHIRLPOOL 78d0c5e23f408167904639a7804859a1d6b89668feab6834a589a3d9f7abf4f9d1da984553a8871b6a16af39a03e5a6f3f6506dd77f7f960c7fcdd56f0683e27 diff --git a/net-misc/openconnect/openconnect-4.08.ebuild b/net-misc/openconnect/openconnect-4.08.ebuild deleted file mode 100644 index 0652107..000 --- a/net-misc/openconnect/openconnect-4.08.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils linux-info python-any-r1 - -DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" -HOMEPAGE="http://www.infradead.org/openconnect.html"; -# New versions of openconnect-script can be found here: -# http://git.infradead.org/users/dwmw2/vpnc-scripts.git/history/HEAD:/vpnc-script -SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz - https://dev.gentoo.org/~hwoarang/distfiles/openconnect-script-20121108205904.tar.gz"; - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0/2" -KEYWORDS="amd64 ppc64 x86" -IUSE="doc static-libs nls -gnutls" -ILINGUAS="ar as ast bg bg_BG bn bn_IN bs ca ca@valencia cs da de el en_GB en_US eo es es_CR - es_MX et eu fa fi fr gd gl gu he hi hi_IN hu id it ja km kn ko ku lo lt lv ml mr - ms nb nl nn no or pa pl pt pt_BR pt_PT ro ru sk sl sq sr sr
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: ff9e06aba71213809073ccaa8a67200d90c039d7 Author: Mike Gilbert gentoo org> AuthorDate: Thu May 12 14:28:12 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Thu May 12 14:32:15 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff9e06ab net-misc/openconnect: add slot-operation to gnutls dep Package-Manager: portage-2.2.28_p106 .../{openconnect-7.06-r3.ebuild => openconnect-7.06-r4.ebuild} | 2 +- net-misc/openconnect/openconnect-.ebuild| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/openconnect/openconnect-7.06-r3.ebuild b/net-misc/openconnect/openconnect-7.06-r4.ebuild similarity index 98% rename from net-misc/openconnect/openconnect-7.06-r3.ebuild rename to net-misc/openconnect/openconnect-7.06-r4.ebuild index 1f0e80c..d403ff1 100644 --- a/net-misc/openconnect/openconnect-7.06-r3.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r4.ebuild @@ -31,7 +31,7 @@ DEPEND="dev-libs/libxml2 libressl? ( dev-libs/libressl[static-libs?] ) ) gnutls? ( - >=net-libs/gnutls-3[static-libs?] dev-libs/nettle + >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle app-misc/ca-certificates ) gssapi? ( virtual/krb5 ) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index e0a5bcd..c457dfe 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -38,7 +38,7 @@ DEPEND="dev-libs/libxml2 libressl? ( dev-libs/libressl[static-libs?] ) ) gnutls? ( - >=net-libs/gnutls-3[static-libs?] dev-libs/nettle + >=net-libs/gnutls-3:0=[static-libs?] dev-libs/nettle app-misc/ca-certificates ) gssapi? ( virtual/krb5 )
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/files/
commit: d7087fa26676b5230a2fbf6ac33d3fa91e4c7416 Author: William Hubbs gentoo org> AuthorDate: Sat May 7 04:24:18 2016 + Commit: William Hubbs gentoo org> CommitDate: Sat May 7 04:24:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7087fa2 net-misc/openconnect: Update service scripts to use /sbin/openrc-run Package-Manager: portage-2.2.26 net-misc/openconnect/files/openconnect.init.in| 2 +- net-misc/openconnect/files/openconnect.init.in-r2 | 2 +- net-misc/openconnect/files/openconnect.init.in-r3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net-misc/openconnect/files/openconnect.init.in b/net-misc/openconnect/files/openconnect.init.in index 939d02f..d88b2a3 100644 --- a/net-misc/openconnect/files/openconnect.init.in +++ b/net-misc/openconnect/files/openconnect.init.in @@ -1,4 +1,4 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/openconnect/files/openconnect.init.in-r2 b/net-misc/openconnect/files/openconnect.init.in-r2 index a945a4b..338afb8 100644 --- a/net-misc/openconnect/files/openconnect.init.in-r2 +++ b/net-misc/openconnect/files/openconnect.init.in-r2 @@ -1,4 +1,4 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/net-misc/openconnect/files/openconnect.init.in-r3 b/net-misc/openconnect/files/openconnect.init.in-r3 index 1f51fd4..daaec8e 100644 --- a/net-misc/openconnect/files/openconnect.init.in-r3 +++ b/net-misc/openconnect/files/openconnect.init.in-r3 @@ -1,4 +1,4 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 3602a6fd72ad649264d9d30e6675b68caf75c4e1 Author: Mike Gilbert gentoo org> AuthorDate: Thu Apr 7 18:29:15 2016 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Apr 7 18:29:40 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3602a6fd net-misc/openconnect: Cleanup stoken change Package-Manager: portage-2.2.28_p64 net-misc/openconnect/openconnect-7.06-r3.ebuild | 3 +-- net-misc/openconnect/openconnect-.ebuild| 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/net-misc/openconnect/openconnect-7.06-r3.ebuild b/net-misc/openconnect/openconnect-7.06-r3.ebuild index 4518c8a..1f0e80c 100644 --- a/net-misc/openconnect/openconnect-7.06-r3.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r3.ebuild @@ -70,7 +70,7 @@ src_configure() { sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die fi - # stoken and liboath not in portage + # liboath not in portage econf \ --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ $(use_enable static-libs static) \ @@ -78,7 +78,6 @@ src_configure() { $(use_with !gnutls openssl) \ $(use_with gnutls ) \ $(use_with libproxy) \ - --without-stoken \ $(use_with gssapi) \ $(use_with smartcard libpcsclite) \ $(use_with stoken) \ diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 3a6c716..e0a5bcd 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -91,7 +91,7 @@ src_configure() { sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die fi - # stoken and liboath not in portage + # liboath not in portage econf \ --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ $(use_enable static-libs static) \ @@ -99,7 +99,6 @@ src_configure() { $(use_with !gnutls openssl) \ $(use_with gnutls ) \ $(use_with libproxy) \ - --without-stoken \ $(use_with gssapi) \ $(use_with smartcard libpcsclite) \ $(use_with stoken) \
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 8dbe82f004070334ab9e77cc3a0198983a2a8a04 Author: Matthew Thode gentoo org> AuthorDate: Thu Apr 7 17:57:27 2016 + Commit: Matt Thode gentoo org> CommitDate: Thu Apr 7 17:57:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dbe82f0 net-misc/openconnect: adding stoken support to the live ebuild Package-Manager: portage-2.2.26 net-misc/openconnect/openconnect-.ebuild | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 403671f..3a6c716 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -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 libressl libproxy nls smartcard static-libs" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do IUSE="${IUSE} linguas_${lang}" @@ -44,7 +44,8 @@ DEPEND="dev-libs/libxml2 gssapi? ( virtual/krb5 ) libproxy? ( net-libs/libproxy ) nls? ( virtual/libintl ) - smartcard? ( sys-apps/pcsc-lite:0= )" + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" RDEPEND="${DEPEND} sys-apps/iproute2 !
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 696329499c0f7ae1fdd67d54696e67b2f8d8e9fa Author: Matthew Thode gentoo org> AuthorDate: Thu Apr 7 17:53:39 2016 + Commit: Matt Thode gentoo org> CommitDate: Thu Apr 7 17:54:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69632949 net-misc/openconnect: adding stoken support (RSA token) Package-Manager: portage-2.2.26 net-misc/openconnect/metadata.xml | 1 + net-misc/openconnect/openconnect-7.06-r3.ebuild | 142 2 files changed, 143 insertions(+) diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml index 23bfc65..270f27d 100644 --- a/net-misc/openconnect/metadata.xml +++ b/net-misc/openconnect/metadata.xml @@ -18,5 +18,6 @@ Build GSSAPI support. Build JNI bindings using jni.h Enable proxy support. + Enable stoken support. diff --git a/net-misc/openconnect/openconnect-7.06-r3.ebuild b/net-misc/openconnect/openconnect-7.06-r3.ebuild new file mode 100644 index 000..4518c8a --- /dev/null +++ b/net-misc/openconnect/openconnect-7.06-r3.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; +VPNC_VER=20140806 +SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs stoken" +ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" +for lang in $ILINGUAS; do + IUSE="${IUSE} linguas_${lang}" +done + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) + libressl? ( dev-libs/libressl[static-libs?] ) + ) + gnutls? ( + >=net-libs/gnutls-3[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= ) + stoken? ( app-crypt/stoken )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS + if ! use doc; then + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # stoken and liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + --without-stoken \ + $(use_with gssapi) \ + $(use_with smartcard libpcsclite) \ + $(use_with stoken) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d +instead of calling it directly: + +ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0 + +You can then start the vpn tunnel like this: + +/etc/init.d/openconnect.vpn0 start + +If you would like to run preup, postup, predown, and/or postdown scripts, +You need to create a directory in /etc/openconnect with the name of the vpn: + +mkdir /etc/openconnect/vpn0 + +Then add executable shell files: + +mkdir /etc/openconnect/vpn0 +cd /etc/openconnect/vpn0 +echo '#!/bin/sh' > preup.sh +cp preup.sh predown.sh +cp preup.sh postup.sh +cp preup.sh postdown.sh +chmod 755 /etc/openconnect/vpn0/* +" + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS TODO + newinitd "${FILESDIR}"/openconnect.init.in-r4 openconnect + dodir /etc/openconnect + insinto /etc/openconnect + newconfd "${FILESDIR}"/openconnect.conf.in openconnect + exeinto /etc/openconnect + newexe "${WORKDIR}"/vpnc-scripts-${VPNC_VER}/vpnc-script openconnect.sh + insinto /etc/logrotate.d + newins "${FILESDIR}"/openconnect.logrotate openconnect + keepdir /var/log/openconnect + + # Remove useless .la files + prune_libtool_files --all + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "You may want to consider installing the following optional pa
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 6da6fd1c24d62e4fb1914d80b481b271adb23e9e Author: William Hubbs gentoo org> AuthorDate: Fri Dec 11 17:20:53 2015 + Commit: William Hubbs gentoo org> CommitDate: Fri Dec 11 17:21:20 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da6fd1c sys-apps/openconnect: call epatch_user before eautoreconf net-misc/openconnect/openconnect-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 9515779..403671f 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -76,10 +76,10 @@ src_unpack() { } src_prepare() { + epatch_user if [[ ${PV} == ]]; then eautoreconf fi - epatch_user } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 57d3e16784676109b3f9ffd527e356e9873edda5 Author: Mike Gilbert gentoo org> AuthorDate: Fri Dec 11 02:49:29 2015 + Commit: Mike Gilbert gentoo org> CommitDate: Fri Dec 11 02:49:29 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d3e167 net-misc/openconnect: Cosmetic cleanup Package-Manager: portage-2.2.26_p25 net-misc/openconnect/openconnect-.ebuild | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 08beef3..9515779 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -7,7 +7,9 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="xml" -if [[ "${PV}" = "" ]]; then +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo + +if [[ ${PV} == ]]; then EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" inherit git-r3 autotools else @@ -18,8 +20,6 @@ VPNC_VER=20140806 SRC_URI="${ARCHIVE_URI} ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; -inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo - DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" HOMEPAGE="http://www.infradead.org/openconnect.html"; @@ -69,16 +69,17 @@ pkg_setup() { } src_unpack() { - if [[ ${PV} = ]]; then + if [[ ${PV} == ]]; then git-r3_src_unpack fi unpack ${A} } src_prepare() { - if [[ "${PV}" = ]]; then + if [[ ${PV} == ]]; then eautoreconf fi + epatch_user } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 7cded1512874bcbf24440fa84096cdda4703746d Author: William Hubbs gentoo org> AuthorDate: Thu Dec 10 23:14:11 2015 + Commit: William Hubbs gentoo org> CommitDate: Thu Dec 10 23:14:11 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cded151 sys-apps/openconnect: fix quoting in live ebuild net-misc/openconnect/openconnect-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index d4aaa53..3a93319 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -72,7 +72,7 @@ src_unpack() { if [[ ${PV} = ]]; then git-r3_src_unpack fi - unpack "${A}" + unpack ${A} } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 31eafb6209e2b70bcf44677f2b3a107e5268aa27 Author: William Hubbs gentoo org> AuthorDate: Thu Dec 10 23:21:58 2015 + Commit: William Hubbs gentoo org> CommitDate: Thu Dec 10 23:21:58 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31eafb62 net-misc/openconnect: qa fixes In the live ebuild, inherit autotools and change the autogen.sh call to eautoreconf and move it to src_prepare. net-misc/openconnect/openconnect-.ebuild | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild index 3a93319..08beef3 100644 --- a/net-misc/openconnect/openconnect-.ebuild +++ b/net-misc/openconnect/openconnect-.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE="xml" if [[ "${PV}" = "" ]]; then EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" - inherit git-r3 + inherit git-r3 autotools else ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" @@ -75,10 +75,13 @@ src_unpack() { unpack ${A} } -src_configure() { +src_prepare() { if [[ "${PV}" = ]]; then - ./autogen.sh || die "autogen failed" + eautoreconf fi +} + +src_configure() { strip-linguas $ILINGUAS echo ${LINGUAS} > po/LINGUAS if ! use doc; then
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: d2bdc8a6ee61b160699b61f0fdd268656ce089a1 Author: William Hubbs gentoo org> AuthorDate: Thu Dec 10 23:07:58 2015 + Commit: William Hubbs gentoo org> CommitDate: Thu Dec 10 23:08:16 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bdc8a6 net-misc/openconnect: add live ebuild net-misc/openconnect/openconnect-.ebuild | 157 +++ 1 file changed, 157 insertions(+) diff --git a/net-misc/openconnect/openconnect-.ebuild b/net-misc/openconnect/openconnect-.ebuild new file mode 100644 index 000..d4aaa53 --- /dev/null +++ b/net-misc/openconnect/openconnect-.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +if [[ "${PV}" = "" ]]; then + EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" + inherit git-r3 +else + ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"; + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi +VPNC_VER=20140806 +SRC_URI="${ARCHIVE_URI} + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs" +ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" +for lang in $ILINGUAS; do + IUSE="${IUSE} linguas_${lang}" +done + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) + libressl? ( dev-libs/libressl[static-libs?] ) + ) + gnutls? ( + >=net-libs/gnutls-3[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS + if ! use doc; then + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # stoken and liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + --without-stoken \ + $(use_with gssapi) \ + $(use_with smartcard libpcsclite) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d +instead of calling it directly: + +ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0 + +You can then start the vpn tunnel like this: + +/etc/init.d/openconnect.vpn0 start + +If you would like to run preup, postup, predown, and/or postdown scripts, +You need to create a directory in /etc/openconnect with the name of the vpn: + +mkdir /etc/openconnect/vpn0 + +Then add executable shell files: + +mkdir /etc/openconnect/vpn0 +cd /etc/openconnect/vpn0 +echo '#!/bin/sh' > preup.sh +cp preup.sh predown.sh +cp preup.sh postup.sh +cp preup.sh postdown.sh +chmod 755 /etc/openconnect/vpn0/* +" + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS TODO + newinitd "${FILESDIR}"/openconnect.init.in-r4 openconnect + dodir /etc/openconnect + insinto /etc/openconnect + newconfd "${FILESDIR}"/openconnect.conf.in openconnect + exeinto /etc/openconnect + newexe "${WORKDIR}"/vpnc-scripts-${VPNC_VER}/vpnc-script openconnect.sh + insinto /etc/logrotate.d + newins "${FILESDIR}"/openconnect.logrotate openconnect + keepdir /var/log/openconnect + + # Remove useless .la files + prune_libtool_files --all + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "You may want to consider installing the following optional packages." + optfeature "resolvconf support" net-dns/openresolv + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 725acdbd2d94a8561c97d672ffd75408bdb076f9 Author: William Hubbs gentoo org> AuthorDate: Mon Nov 2 17:20:58 2015 + Commit: William Hubbs gentoo org> CommitDate: Mon Nov 2 17:21:26 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725acdbd net-misc/openconnect: add myself as a maintainer net-misc/openconnect/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml index 7030dec..f07fd2d 100644 --- a/net-misc/openconnect/metadata.xml +++ b/net-misc/openconnect/metadata.xml @@ -6,6 +6,10 @@ Mike Gilbert + willi...@gentoo.org + William Hubbs + + matt...@gmail.com Matthew Schultz Proxied maintainer. Copy on bugs.
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: c937d6f90e60dd0f0eb00467447eaadf7078473b Author: Mike Gilbert gentoo org> AuthorDate: Mon Nov 2 17:00:25 2015 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Nov 2 17:00:33 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c937d6f9 net-misc/openconnect: Add smartcard USE flag Resolves automagic dependency on sys-apps/pcsc-lite. Bug: https://bugs.gentoo.org/562010 Package-Manager: portage-2.2.23_p10 net-misc/openconnect/openconnect-7.06-r1.ebuild | 6 -- net-misc/openconnect/openconnect-7.06-r2.ebuild | 6 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net-misc/openconnect/openconnect-7.06-r1.ebuild b/net-misc/openconnect/openconnect-7.06-r1.ebuild index ec6630a..4654f98 100644 --- a/net-misc/openconnect/openconnect-7.06-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" KEYWORDS="amd64 arm ~arm64 ppc64 x86" -IUSE="doc +gnutls gssapi java libproxy nls static-libs" +IUSE="doc +gnutls gssapi java libproxy nls smartcard static-libs" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do IUSE="${IUSE} linguas_${lang}" @@ -35,7 +35,8 @@ DEPEND="dev-libs/libxml2 ) gssapi? ( virtual/krb5 ) libproxy? ( net-libs/libproxy ) - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= )" RDEPEND="${DEPEND} sys-apps/iproute2 !ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="doc +gnutls gssapi java libressl libproxy nls static-libs" +IUSE="doc +gnutls gssapi java libressl libproxy nls smartcard static-libs" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do IUSE="${IUSE} linguas_${lang}" @@ -36,7 +36,8 @@ DEPEND="dev-libs/libxml2 ) gssapi? ( virtual/krb5 ) libproxy? ( net-libs/libproxy ) - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) + smartcard? ( sys-apps/pcsc-lite:0= )" RDEPEND="${DEPEND} sys-apps/iproute2 !
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 63663b29b377f7257ce28b753a921c9d1e761300 Author: Julian Ospald gentoo org> AuthorDate: Mon Oct 5 13:13:38 2015 + Commit: Julian Ospald gentoo org> CommitDate: Mon Oct 5 13:52:36 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63663b29 net-misc/openconnect: add libressl support net-misc/openconnect/openconnect-7.06-r2.ebuild | 138 1 file changed, 138 insertions(+) diff --git a/net-misc/openconnect/openconnect-7.06-r2.ebuild b/net-misc/openconnect/openconnect-7.06-r2.ebuild new file mode 100644 index 000..2a75168 --- /dev/null +++ b/net-misc/openconnect/openconnect-7.06-r2.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo + +DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" +HOMEPAGE="http://www.infradead.org/openconnect.html"; +VPNC_VER=20140806 +SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz + ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"; + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc +gnutls gssapi java libressl libproxy nls static-libs" +ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" +for lang in $ILINGUAS; do + IUSE="${IUSE} linguas_${lang}" +done + +DEPEND="dev-libs/libxml2 + sys-libs/zlib + !gnutls? ( + !libressl? ( >=dev-libs/openssl-1.0.1h:0[static-libs?] ) + libressl? ( dev-libs/libressl[static-libs?] ) + ) + gnutls? ( + >=net-libs/gnutls-3[static-libs?] dev-libs/nettle + app-misc/ca-certificates + ) + gssapi? ( virtual/krb5 ) + libproxy? ( net-libs/libproxy ) + nls? ( virtual/libintl )" +RDEPEND="${DEPEND} + sys-apps/iproute2 + ! po/LINGUAS + if ! use doc; then + # If the python cannot be found, the docs will not build + sed -e 's#"${ac_cv_path_PYTHON}"#""#' -i configure || die + fi + + # stoken and liboath not in portage + econf \ + --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" \ + $(use_enable static-libs static) \ + $(use_enable nls ) \ + $(use_with !gnutls openssl) \ + $(use_with gnutls ) \ + $(use_with libproxy) \ + --without-stoken \ + $(use_with gssapi) \ + $(use_with java) +} + +DOC_CONTENTS="The init script for openconnect supports multiple vpn tunnels. + +You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d +instead of calling it directly: + +ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0 + +You can then start the vpn tunnel like this: + +/etc/init.d/openconnect.vpn0 start + +If you would like to run preup, postup, predown, and/or postdown scripts, +You need to create a directory in /etc/openconnect with the name of the vpn: + +mkdir /etc/openconnect/vpn0 + +Then add executable shell files: + +mkdir /etc/openconnect/vpn0 +cd /etc/openconnect/vpn0 +echo '#!/bin/sh' > preup.sh +cp preup.sh predown.sh +cp preup.sh postup.sh +cp preup.sh postdown.sh +chmod 755 /etc/openconnect/vpn0/* +" + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS TODO + newinitd "${FILESDIR}"/openconnect.init.in-r4 openconnect + dodir /etc/openconnect + insinto /etc/openconnect + newconfd "${FILESDIR}"/openconnect.conf.in openconnect + exeinto /etc/openconnect + newexe "${WORKDIR}"/vpnc-scripts-${VPNC_VER}/vpnc-script openconnect.sh + insinto /etc/logrotate.d + newins "${FILESDIR}"/openconnect.logrotate openconnect + keepdir /var/log/openconnect + + # Remove useless .la files + prune_libtool_files --all + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "You may want to consider installing the following optional packages." + optfeature "resolvconf support" net-dns/openresolv + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 9be1f2277717843f8477c62ac9dc38af95f259c6 Author: Markus Meier gentoo org> AuthorDate: Thu Oct 1 20:40:33 2015 + Commit: Markus Meier gentoo org> CommitDate: Thu Oct 1 20:40:33 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be1f227 net-misc/openconnect: arm stable, bug #558968 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="arm" net-misc/openconnect/openconnect-7.06-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-7.06-r1.ebuild b/net-misc/openconnect/openconnect-7.06-r1.ebuild index 05cc3f0..ec6630a 100644 --- a/net-misc/openconnect/openconnect-7.06-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" +KEYWORDS="amd64 arm ~arm64 ppc64 x86" IUSE="doc +gnutls gssapi java libproxy nls static-libs" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 2a9fb4196189156a68d62ca2ef7401f0a1fb0e2b Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Sep 23 12:51:23 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Sep 23 12:51:54 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9fb419 net-misc/openconnect: ppc64 stable wrt bug #558968 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="ppc64" net-misc/openconnect/openconnect-7.06-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-7.06-r1.ebuild b/net-misc/openconnect/openconnect-7.06-r1.ebuild index a6e8c99..05cc3f0 100644 --- a/net-misc/openconnect/openconnect-7.06-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" IUSE="doc +gnutls gssapi java libproxy nls static-libs" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 57a772a741f5c8b52c998dc76dc276511f1bb1c4 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Sep 19 19:09:24 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Sep 19 19:09:24 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a772a7 net-misc/openconnect: amd64 stable wrt bug #558968 Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64" net-misc/openconnect/openconnect-7.06-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/openconnect/openconnect-7.06-r1.ebuild b/net-misc/openconnect/openconnect-7.06-r1.ebuild index 76711e2..c375b4b 100644 --- a/net-misc/openconnect/openconnect-7.06-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz LICENSE="LGPL-2.1 GPL-2" SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="doc +gnutls gssapi java libproxy nls static-libs" ILINGUAS="ar cs de el en_GB en_US es eu fi fr gl id lt nl pa pl pt pt_BR sk sl tg ug uk zh_CN zh_TW" for lang in $ILINGUAS; do
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: 10af1d23d759ef64f97126f5a588b2ca49bdef00 Author: Mike Gilbert gentoo org> AuthorDate: Wed Sep 2 14:40:50 2015 + Commit: Mike Gilbert gentoo org> CommitDate: Wed Sep 2 14:42:56 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10af1d23 net-misc/openconnect: Make CONFIG_TUN check non-fatal Also move the check to pkg_pretend, and remove the custom error messaging. Package-Manager: portage-2.2.20 net-misc/openconnect/metadata.xml | 2 +- net-misc/openconnect/openconnect-7.06-r1.ebuild | 30 - 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml index 4b425f0..7030dec 100644 --- a/net-misc/openconnect/metadata.xml +++ b/net-misc/openconnect/metadata.xml @@ -8,7 +8,7 @@ matt...@gmail.com Matthew Schultz - Proxied maintainer. Assign bugs to him. + Proxied maintainer. Copy on bugs. Build GSSAPI support. diff --git a/net-misc/openconnect/openconnect-7.06-r1.ebuild b/net-misc/openconnect/openconnect-7.06-r1.ebuild index ab33ab3..76711e2 100644 --- a/net-misc/openconnect/openconnect-7.06-r1.ebuild +++ b/net-misc/openconnect/openconnect-7.06-r1.ebuild @@ -45,19 +45,10 @@ DEPEND="${DEPEND} java? ( >=virtual/jdk-1.6 ) nls? ( sys-devel/gettext )" -tun_tap_check() { - ebegin "Checking for TUN/TAP support" - if { ! linux_chkconfig_present TUN; }; then - eerror "Please enable TUN/TAP support in your kernel config, found at:" - eerror - eerror " Device Drivers --->" - eerror "[*] Network device support --->" - eerror " <*> Universal TUN/TAP device driver support" - eerror - eerror "and recompile your kernel ..." - die "no CONFIG_TUN support detected!" - fi - eend $? +CONFIG_CHECK="~TUN" + +pkg_pretend() { + check_extra_config } pkg_setup() { @@ -66,19 +57,6 @@ pkg_setup() { if use doc; then python-any-r1_pkg_setup fi - - if use kernel_linux; then - get_version - if linux_config_exists; then - tun_tap_check - else - ewarn "Was unable to determine your kernel .config" - ewarn "Please note that OpenConnect requires CONFIG_TUN to be set in your" - ewarn "kernel .config, Without it, it will not work correctly." - # We don't die here, so it's possible to compile this package without - # kernel sources available. Required for cross-compilation. - fi - fi } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
commit: adf37427ab93226913d9d316c69dd648318c1f50 Author: Mike Gilbert gentoo org> AuthorDate: Thu Aug 27 20:57:38 2015 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Aug 27 21:07:21 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf37427 net-misc/openconnect: Re-order maintainers and drop proxy-maint herd Package-Manager: portage-2.2.20 net-misc/openconnect/metadata.xml | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net-misc/openconnect/metadata.xml b/net-misc/openconnect/metadata.xml index 00d9c55..4b425f0 100644 --- a/net-misc/openconnect/metadata.xml +++ b/net-misc/openconnect/metadata.xml @@ -2,15 +2,14 @@ http://www.gentoo.org/dtd/metadata.dtd";> + flop...@gentoo.org + Mike Gilbert + + matt...@gmail.com Matthew Schultz Proxied maintainer. Assign bugs to him. - - flop...@gentoo.org - Mike Gilbert - - proxy-maintainers Build GSSAPI support. Build JNI bindings using jni.h