public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-08-27 21:08 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2015-08-27 21:08 UTC (permalink / raw
  To: gentoo-commits

commit:     adf37427ab93226913d9d316c69dd648318c1f50
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 20:57:38 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 21:07:21 2015 +0000
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 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<maintainer>
+		<email>floppym@gentoo.org</email>
+		<name>Mike Gilbert</name>
+	</maintainer>
+	<maintainer>
 		<email>mattsch@gmail.com</email>
 		<name>Matthew Schultz</name>
 		<description>Proxied maintainer. Assign bugs to him.</description>
 	</maintainer>
-	<maintainer>
-		<email>floppym@gentoo.org</email>
-		<name>Mike Gilbert</name>
-	</maintainer>
-	<herd>proxy-maintainers</herd>
 	<use>
 		<flag name='gssapi'>Build GSSAPI support.</flag>
 		<flag name='java'>Build JNI bindings using jni.h</flag>


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-09-02 14:43 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2015-09-02 14:43 UTC (permalink / raw
  To: gentoo-commits

commit:     10af1d23d759ef64f97126f5a588b2ca49bdef00
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 14:40:50 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 14:42:56 2015 +0000
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 @@
 	<maintainer>
 		<email>mattsch@gmail.com</email>
 		<name>Matthew Schultz</name>
-		<description>Proxied maintainer. Assign bugs to him.</description>
+		<description>Proxied maintainer. Copy on bugs.</description>
 	</maintainer>
 	<use>
 		<flag name='gssapi'>Build GSSAPI support.</flag>

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() {


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-09-19 19:09 Agostino Sarubbo
  0 siblings, 0 replies; 29+ messages in thread
From: Agostino Sarubbo @ 2015-09-19 19:09 UTC (permalink / raw
  To: gentoo-commits

commit:     57a772a741f5c8b52c998dc76dc276511f1bb1c4
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 19:09:24 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 19:09:24 2015 +0000
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


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-09-23 12:52 Agostino Sarubbo
  0 siblings, 0 replies; 29+ messages in thread
From: Agostino Sarubbo @ 2015-09-23 12:52 UTC (permalink / raw
  To: gentoo-commits

commit:     2a9fb4196189156a68d62ca2ef7401f0a1fb0e2b
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 12:51:23 2015 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 12:51:54 2015 +0000
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


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-10-01 20:40 Markus Meier
  0 siblings, 0 replies; 29+ messages in thread
From: Markus Meier @ 2015-10-01 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     9be1f2277717843f8477c62ac9dc38af95f259c6
Author:     Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  1 20:40:33 2015 +0000
Commit:     Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Thu Oct  1 20:40:33 2015 +0000
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


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-10-05 13:52 Julian Ospald
  0 siblings, 0 replies; 29+ messages in thread
From: Julian Ospald @ 2015-10-05 13:52 UTC (permalink / raw
  To: gentoo-commits

commit:     63663b29b377f7257ce28b753a921c9d1e761300
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  5 13:13:38 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Mon Oct  5 13:52:36 2015 +0000
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 0000000..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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+
+	if use doc; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_configure() {
+	strip-linguas $ILINGUAS
+	echo ${LINGUAS} > 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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-11-02 17:00 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2015-11-02 17:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c937d6f90e60dd0f0eb00467447eaadf7078473b
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  2 17:00:25 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Nov  2 17:00:33 2015 +0000
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
 	!<sys-apps/openrc-0.13"
@@ -77,6 +78,7 @@ src_configure() {
 		$(use_with libproxy) \
 		--without-stoken \
 		$(use_with gssapi) \
+		$(use_with smartcard libpcsclite) \
 		$(use_with java)
 }
 

diff --git a/net-misc/openconnect/openconnect-7.06-r2.ebuild b/net-misc/openconnect/openconnect-7.06-r2.ebuild
index 2a75168..5a2a4a7 100644
--- a/net-misc/openconnect/openconnect-7.06-r2.ebuild
+++ b/net-misc/openconnect/openconnect-7.06-r2.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 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
 	!<sys-apps/openrc-0.13"
@@ -78,6 +79,7 @@ src_configure() {
 		$(use_with libproxy) \
 		--without-stoken \
 		$(use_with gssapi) \
+		$(use_with smartcard libpcsclite) \
 		$(use_with java)
 }
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-11-02 17:24 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2015-11-02 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     725acdbd2d94a8561c97d672ffd75408bdb076f9
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  2 17:20:58 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Nov  2 17:21:26 2015 +0000
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 @@
 		<name>Mike Gilbert</name>
 	</maintainer>
 	<maintainer>
+		<email>williamh@gentoo.org</email>
+		<name>William Hubbs</name>
+	</maintainer>
+	<maintainer>
 		<email>mattsch@gmail.com</email>
 		<name>Matthew Schultz</name>
 		<description>Proxied maintainer. Copy on bugs.</description>


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-12-10 23:10 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2015-12-10 23:10 UTC (permalink / raw
  To: gentoo-commits

commit:     d2bdc8a6ee61b160699b61f0fdd268656ce089a1
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 23:07:58 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 23:08:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bdc8a6

net-misc/openconnect: add live ebuild

 net-misc/openconnect/openconnect-9999.ebuild | 157 +++++++++++++++++++++++++++
 1 file changed, 157 insertions(+)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
new file mode 100644
index 0000000..d4aaa53
--- /dev/null
+++ b/net-misc/openconnect/openconnect-9999.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}" = "9999" ]]; 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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+
+	if use doc; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_unpack() {
+	if [[ ${PV} = 9999 ]]; then
+		git-r3_src_unpack
+	fi
+	unpack "${A}"
+}
+
+src_configure() {
+	if [[ "${PV}" = 9999 ]]; then
+		./autogen.sh || die "autogen failed"
+	fi
+	strip-linguas $ILINGUAS
+	echo ${LINGUAS} > 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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-12-10 23:26 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2015-12-10 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     31eafb6209e2b70bcf44677f2b3a107e5268aa27
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 23:21:58 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 23:21:58 2015 +0000
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-9999.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 3a93319..08beef3 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE="xml"
 
 if [[ "${PV}" = "9999" ]]; 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}" = 9999 ]]; then
-		./autogen.sh || die "autogen failed"
+		eautoreconf
 	fi
+}
+
+src_configure() {
 	strip-linguas $ILINGUAS
 	echo ${LINGUAS} > po/LINGUAS
 	if ! use doc; then


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-12-10 23:26 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2015-12-10 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7cded1512874bcbf24440fa84096cdda4703746d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 23:14:11 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 23:14:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cded151

sys-apps/openconnect: fix quoting in live ebuild

 net-misc/openconnect/openconnect-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index d4aaa53..3a93319 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -72,7 +72,7 @@ src_unpack() {
 	if [[ ${PV} = 9999 ]]; then
 		git-r3_src_unpack
 	fi
-	unpack "${A}"
+	unpack ${A}
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-12-11  2:49 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2015-12-11  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     57d3e16784676109b3f9ffd527e356e9873edda5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 02:49:29 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 02:49:29 2015 +0000
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-9999.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 08beef3..9515779 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -7,7 +7,9 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="xml"
 
-if [[ "${PV}" = "9999" ]]; then
+inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo
+
+if [[ ${PV} == 9999 ]]; 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} = 9999 ]]; then
+	if [[ ${PV} == 9999 ]]; then
 		git-r3_src_unpack
 	fi
 	unpack ${A}
 }
 
 src_prepare() {
-	if [[ "${PV}" = 9999 ]]; then
+	if [[ ${PV} == 9999 ]]; then
 		eautoreconf
 	fi
+	epatch_user
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2015-12-11 17:21 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2015-12-11 17:21 UTC (permalink / raw
  To: gentoo-commits

commit:     6da6fd1c24d62e4fb1914d80b481b271adb23e9e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 17:20:53 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 17:21:20 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da6fd1c

sys-apps/openconnect: call epatch_user before eautoreconf

 net-misc/openconnect/openconnect-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 9515779..403671f 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -76,10 +76,10 @@ src_unpack() {
 }
 
 src_prepare() {
+	epatch_user
 	if [[ ${PV} == 9999 ]]; then
 		eautoreconf
 	fi
-	epatch_user
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-04-07 17:54 Matt Thode
  0 siblings, 0 replies; 29+ messages in thread
From: Matt Thode @ 2016-04-07 17:54 UTC (permalink / raw
  To: gentoo-commits

commit:     696329499c0f7ae1fdd67d54696e67b2f8d8e9fa
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 17:53:39 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 17:54:11 2016 +0000
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 @@
 		<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>
 	</use>
 </pkgmetadata>

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 0000000..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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+
+	if use doc; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_configure() {
+	strip-linguas $ILINGUAS
+	echo ${LINGUAS} > 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 packages."
+		optfeature "resolvconf support" net-dns/openresolv
+	fi
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-04-07 17:57 Matt Thode
  0 siblings, 0 replies; 29+ messages in thread
From: Matt Thode @ 2016-04-07 17:57 UTC (permalink / raw
  To: gentoo-commits

commit:     8dbe82f004070334ab9e77cc3a0198983a2a8a04
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 17:57:27 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 17:57:27 2016 +0000
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-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 403671f..3a6c716 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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
 	!<sys-apps/openrc-0.13"
@@ -101,6 +102,7 @@ src_configure() {
 		--without-stoken \
 		$(use_with gssapi) \
 		$(use_with smartcard libpcsclite) \
+		$(use_with stoken) \
 		$(use_with java)
 }
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-04-07 18:29 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-04-07 18:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3602a6fd72ad649264d9d30e6675b68caf75c4e1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 18:29:15 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 18:29:40 2016 +0000
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-9999.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-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 3a6c716..e0a5bcd 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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) \


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-05-12 14:32 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-05-12 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f2f2e62fecc8654b24625959b2bda0ce3c8da09d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 14:31:57 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu May 12 14:32:15 2016 +0000
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..0000000
--- 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@latin sv ta te
-	tg th tl tr ug uk ur_PK vi vi_VN wa zh_CN zh_HK zh_TW"
-for lang in $ILINGUAS; do
-	IUSE="${IUSE} linguas_${lang}"
-done
-
-DEPEND="dev-libs/libxml2
-	net-libs/libproxy
-	sys-libs/zlib
-	!gnutls? ( dev-libs/openssl[static-libs?] )
-	gnutls? (
-		|| (
-			( >=net-libs/gnutls-3[static-libs?] dev-libs/nettle )
-			( =net-libs/gnutls-2.12*[nettle,static-libs?] dev-libs/nettle )
-			( =net-libs/gnutls-2.12*[-nettle,static-libs?] dev-libs/libgcrypt:0[static-libs?] )
-		)
-		app-misc/ca-certificates
-	)
-	doc? ( ${PYTHON_DEPS} )"
-
-RDEPEND="${DEPEND}
-	 sys-apps/iproute2"
-
-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 $?
-}
-
-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() {
-	strip-linguas $ILINGUAS
-	echo ${LINGUAS} > po/LINGUAS
-	# Override vpn-script test since the build system violates the sandbox and
-	# needs the path set to the real default path after it's installed
-	sed -e "s#-x \"\$with_vpnc_script\"#-n \"${WORKDIR}/openconnect-script\"#" \
-		-i configure || die
-	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
-	econf \
-		--with-vpnc-script=/etc/openconnect/openconnect.sh \
-		$(use_enable static-libs static) \
-		$(use_enable nls ) \
-		$(use_with !gnutls openssl) \
-		$(use_with gnutls )
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc AUTHORS TODO
-	newinitd "${FILESDIR}"/openconnect.init.in openconnect
-	dodir /etc/openconnect
-	insinto /etc/openconnect
-	newconfd "${FILESDIR}"/openconnect.conf.in openconnect
-	exeinto /etc/openconnect
-	newexe "${WORKDIR}"/openconnect-script openconnect.sh
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/openconnect.logrotate openconnect
-	keepdir /var/log/openconnect
-
-	# Remove useless .la files
-	find "${D}" -name '*.la' -delete || die "la file removal failed"
-}
-
-pkg_postinst() {
-	elog "The init script for openconnect has changed and now supports multiple vpn tunnels."
-	elog
-	elog "You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d"
-	elog "instead of calling it directly:"
-	elog
-	elog "ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0"
-	elog
-	elog "You can then start the vpn tunnel like this:"
-	elog
-	elog "/etc/init.d/openconnect.vpn0 start"
-	elog
-	elog "If you would like to run preup, postup, predown, and/or postdown scripts,"
-	elog "You need to create a directory in /etc/openconnect with the name of the vpn:"
-	elog
-	elog "mkdir /etc/openconnect/vpn0"
-	elog
-	elog "Then add executable shell files:"
-	elog
-	elog "mkdir /etc/openconnect/vpn0"
-	elog "cd /etc/openconnect/vpn0"
-	elog "echo '#!/bin/sh' > preup.sh"
-	elog "cp preup.sh predown.sh"
-	elog "cp preup.sh postup.sh"
-	elog "cp preup.sh postdown.sh"
-	elog "chmod 755 /etc/openconnect/vpn0/*"
-}

diff --git a/net-misc/openconnect/openconnect-6.00.ebuild b/net-misc/openconnect/openconnect-6.00.ebuild
deleted file mode 100644
index 2b11248..0000000
--- a/net-misc/openconnect/openconnect-6.00.ebuild
+++ /dev/null
@@ -1,153 +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 )
-PYTHON_REQ_USE="xml"
-
-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/~hasufell/distfiles/openconnect-script-20140311.tar.xz"
-
-LICENSE="LGPL-2.1 GPL-2"
-SLOT="0/3"
-KEYWORDS="~amd64 ~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
-	IUSE="${IUSE} linguas_${lang}"
-done
-
-DEPEND="dev-libs/libxml2
-	sys-libs/zlib
-	!gnutls? (
-		>=dev-libs/openssl-1.0.1h:0[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
-	java? ( virtual/jre )"
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	doc? ( ${PYTHON_DEPS} sys-apps/groff )
-	java? ( virtual/jdk )
-	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 $?
-}
-
-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() {
-	strip-linguas $ILINGUAS
-	echo ${LINGUAS} > po/LINGUAS
-	# Override vpn-script test since the build system violates the sandbox and
-	# needs the path set to the real default path after it's installed
-	sed -e "s#-x \"\$with_vpnc_script\"#-n \"${WORKDIR}/openconnect-script\"#" \
-		-i configure || die
-	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=/etc/openconnect/openconnect.sh \
-		$(use_enable static-libs static) \
-		$(use_enable nls ) \
-		$(use_with !gnutls openssl) \
-		$(use_with gnutls ) \
-		$(use_with libproxy) \
-		--without-stoken \
-		--without-liboath \
-		$(use_with gssapi) \
-		$(use_with java)
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc AUTHORS TODO
-	newinitd "${FILESDIR}"/openconnect.init.in-r2 openconnect
-	dodir /etc/openconnect
-	insinto /etc/openconnect
-	newconfd "${FILESDIR}"/openconnect.conf.in openconnect
-	exeinto /etc/openconnect
-	newexe "${WORKDIR}"/openconnect-script openconnect.sh
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/openconnect.logrotate openconnect
-	keepdir /var/log/openconnect
-
-	# Remove useless .la files
-	find "${D}" -name '*.la' -delete || die "la file removal failed"
-}
-
-pkg_postinst() {
-	elog "The init script for openconnect has changed and now supports multiple vpn tunnels."
-	elog
-	elog "You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d"
-	elog "instead of calling it directly:"
-	elog
-	elog "ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0"
-	elog
-	elog "You can then start the vpn tunnel like this:"
-	elog
-	elog "/etc/init.d/openconnect.vpn0 start"
-	elog
-	elog "If you would like to run preup, postup, predown, and/or postdown scripts,"
-	elog "You need to create a directory in /etc/openconnect with the name of the vpn:"
-	elog
-	elog "mkdir /etc/openconnect/vpn0"
-	elog
-	elog "Then add executable shell files:"
-	elog
-	elog "mkdir /etc/openconnect/vpn0"
-	elog "cd /etc/openconnect/vpn0"
-	elog "echo '#!/bin/sh' > preup.sh"
-	elog "cp preup.sh predown.sh"
-	elog "cp preup.sh postup.sh"
-	elog "cp preup.sh postdown.sh"
-	elog "chmod 755 /etc/openconnect/vpn0/*"
-}

diff --git a/net-misc/openconnect/openconnect-7.02.ebuild b/net-misc/openconnect/openconnect-7.02.ebuild
deleted file mode 100644
index b0ce96a..0000000
--- a/net-misc/openconnect/openconnect-7.02.ebuild
+++ /dev/null
@@ -1,150 +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 )
-PYTHON_REQ_USE="xml"
-
-inherit eutils linux-info python-any-r1
-
-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 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? (
-		>=dev-libs/openssl-1.0.1h:0[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
-	java? ( virtual/jre )"
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	doc? ( ${PYTHON_DEPS} sys-apps/groff )
-	java? ( virtual/jdk )
-	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 $?
-}
-
-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() {
-	strip-linguas $ILINGUAS
-	echo ${LINGUAS} > 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 \
-		--without-liboath \
-		$(use_with gssapi) \
-		$(use_with java)
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc AUTHORS TODO
-	newinitd "${FILESDIR}"/openconnect.init.in-r3 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
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "The init script for openconnect has changed and now supports multiple vpn tunnels."
-		elog
-		elog "You need to create a symbolic link to /etc/init.d/openconnect in /etc/init.d"
-		elog "instead of calling it directly:"
-		elog
-		elog "ln -s /etc/init.d/openconnect /etc/init.d/openconnect.vpn0"
-		elog
-		elog "You can then start the vpn tunnel like this:"
-		elog
-		elog "/etc/init.d/openconnect.vpn0 start"
-		elog
-		elog "If you would like to run preup, postup, predown, and/or postdown scripts,"
-		elog "You need to create a directory in /etc/openconnect with the name of the vpn:"
-		elog
-		elog "mkdir /etc/openconnect/vpn0"
-		elog
-		elog "Then add executable shell files:"
-		elog
-		elog "mkdir /etc/openconnect/vpn0"
-		elog "cd /etc/openconnect/vpn0"
-		elog "echo '#!/bin/sh' > preup.sh"
-		elog "cp preup.sh predown.sh"
-		elog "cp preup.sh postup.sh"
-		elog "cp preup.sh postdown.sh"
-		elog "chmod 755 /etc/openconnect/vpn0/*"
-	fi
-}

diff --git a/net-misc/openconnect/openconnect-7.06-r2.ebuild b/net-misc/openconnect/openconnect-7.06-r2.ebuild
deleted file mode 100644
index 5a2a4a7..0000000
--- a/net-misc/openconnect/openconnect-7.06-r2.ebuild
+++ /dev/null
@@ -1,140 +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 )
-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"
-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
-	!<sys-apps/openrc-0.13"
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	doc? ( ${PYTHON_DEPS} sys-apps/groff )
-	java? ( >=virtual/jdk-1.6 )
-	nls? ( sys-devel/gettext )"
-
-CONFIG_CHECK="~TUN"
-
-pkg_pretend() {
-	check_extra_config
-}
-
-pkg_setup() {
-	java-pkg-opt-2_pkg_setup
-
-	if use doc; then
-		python-any-r1_pkg_setup
-	fi
-}
-
-src_configure() {
-	strip-linguas $ILINGUAS
-	echo ${LINGUAS} > 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
-}

diff --git a/net-misc/openconnect/openconnect-7.06.ebuild b/net-misc/openconnect/openconnect-7.06.ebuild
deleted file mode 100644
index 50197d6..0000000
--- a/net-misc/openconnect/openconnect-7.06.ebuild
+++ /dev/null
@@ -1,158 +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 )
-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 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? (
-		>=dev-libs/openssl-1.0.1h:0[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"
-DEPEND="${DEPEND}
-	virtual/pkgconfig
-	doc? ( ${PYTHON_DEPS} sys-apps/groff )
-	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 $?
-}
-
-pkg_setup() {
-	java-pkg-opt-2_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() {
-	strip-linguas $ILINGUAS
-	echo ${LINGUAS} > 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-r3 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
-}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-05-12 14:32 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-05-12 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ff9e06aba71213809073ccaa8a67200d90c039d7
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 14:28:12 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu May 12 14:32:15 2016 +0000
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-9999.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-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index e0a5bcd..c457dfe 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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 )


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-07-05  0:21 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-07-05  0:21 UTC (permalink / raw
  To: gentoo-commits

commit:     8f752261cf351aea4ded195296aec54efc1578dd
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 00:20:54 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 00:20:54 2016 +0000
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-9999.ebuild | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index c457dfe..20c579a 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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} == 9999 ]]; 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} == 9999 ]]; then
 		git-r3_src_unpack
 	fi
-	unpack ${A}
+	default
 }
 
 src_prepare() {
-	epatch_user
+	default
 	if [[ ${PV} == 9999 ]]; 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


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-07-05 14:42 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2016-07-05 14:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5020703a379f409433095c29e7f0f29e8ea87a1a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  5 14:39:16 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul  5 14:42:01 2016 +0000
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 0000000..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} == 9999 ]]; 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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+}
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	fi
+	default
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	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
+
+	# 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.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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-07-13 17:42 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2016-07-13 17:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5eda65d91a4dbc89f62e493af4e09bcdedb187e2
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 17:40:15 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 17:42:24 2016 +0000
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 0000000..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} == 9999 ]]; 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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+}
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	fi
+	default
+}
+
+src_prepare() {
+	default
+	if [[ ${PV} == 9999 ]]; then
+		eautoreconf
+	fi
+}
+
+src_configure() {
+	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
+
+	# 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.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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-09-12  0:51 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-09-12  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     967c1fb9a56d4cd216f4516d7acf8a136a827565
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 00:50:29 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 00:51:42 2016 +0000
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-9999.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-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 20c579a..b490e17 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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"
 


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-09-12 15:33 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-09-12 15:33 UTC (permalink / raw
  To: gentoo-commits

commit:     f5603ba03de16afc0785069a46b31e1bb02f172d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 15:32:42 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 15:33:05 2016 +0000
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-9999.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-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index b490e17..1fe1ada 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-09-20 16:01 William Hubbs
  0 siblings, 0 replies; 29+ messages in thread
From: William Hubbs @ 2016-09-20 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     629362a3a691b0830b7c62aaba8471a2d56a6212
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 16:00:40 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 16:01:25 2016 +0000
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} == 9999 ]]; 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}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-10-06  7:00 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-10-06  7:00 UTC (permalink / raw
  To: gentoo-commits

commit:     5ad6769c29f9ecf6c653657148a9dc803e7d8d28
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 06:59:28 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 07:00:37 2016 +0000
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-9999.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 @@
 		<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 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-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 1fe1ada..4abd3db 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) \


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-11-20 16:21 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-11-20 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     f29adf534acbc354b1d27b2dd689108bf64f5ff1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 16:19:06 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 16:21:11 2016 +0000
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-9999.ebuild | 37 ++++++++++++++--------------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 7e5fb54..5f4b500 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.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
 }


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-12-18 18:10 Mike Gilbert
  0 siblings, 0 replies; 29+ messages in thread
From: Mike Gilbert @ 2016-12-18 18:10 UTC (permalink / raw
  To: gentoo-commits

commit:     bf810b1f6effe379d49709694ff64445677ccac3
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 18:09:42 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 18:10:47 2016 +0000
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 00000000..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} == 9999 ]]; 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
+	!<sys-apps/openrc-0.13"
+DEPEND="${DEPEND}
+	virtual/pkgconfig
+	doc? ( ${PYTHON_DEPS} sys-apps/groff )
+	java? ( >=virtual/jdk-1.6 )
+	nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+	check_extra_config
+}
+
+pkg_setup() {
+	java-pkg-opt-2_pkg_setup
+}
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	fi
+	default
+}
+
+src_prepare() {
+	default
+	if [[ ${PV} == 9999 ]]; then
+		eautoreconf
+	fi
+}
+
+src_configure() {
+	if [[ ${LINGUAS+set} == set ]]; then
+		strip-linguas -u po
+		echo "${LINGUAS}" > po/LINGUAS || die
+	fi
+
+	if use doc; then
+		python_setup
+	else
+		export PYTHON=/bin/false
+	fi
+
+	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.
+
+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() {
+	default
+
+	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
+
+	prune_libtool_files
+
+	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
+}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2016-12-20  9:08 Agostino Sarubbo
  0 siblings, 0 replies; 29+ messages in thread
From: Agostino Sarubbo @ 2016-12-20  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     a43c643e086f81e080166cd84cc23efc9bf86d4f
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 09:06:37 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 09:07:51 2016 +0000
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 <ago <AT> 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} == 9999 ]]; 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}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
@ 2017-02-23  8:04 Michael Weber
  0 siblings, 0 replies; 29+ messages in thread
From: Michael Weber @ 2017-02-23  8:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e3c94dc25ab8c6edaf473c97ba37f32a88a40c4e
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 07:58:25 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 08:04:39 2017 +0000
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} == 9999 ]]; 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}


^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2017-02-23  8:04 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-18 18:10 [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2017-02-23  8:04 Michael Weber
2016-12-20  9:08 Agostino Sarubbo
2016-11-20 16:21 Mike Gilbert
2016-10-06  7:00 Mike Gilbert
2016-09-20 16:01 William Hubbs
2016-09-12 15:33 Mike Gilbert
2016-09-12  0:51 Mike Gilbert
2016-07-13 17:42 William Hubbs
2016-07-05 14:42 William Hubbs
2016-07-05  0:21 Mike Gilbert
2016-05-12 14:32 Mike Gilbert
2016-05-12 14:32 Mike Gilbert
2016-04-07 18:29 Mike Gilbert
2016-04-07 17:57 Matt Thode
2016-04-07 17:54 Matt Thode
2015-12-11 17:21 William Hubbs
2015-12-11  2:49 Mike Gilbert
2015-12-10 23:26 William Hubbs
2015-12-10 23:26 William Hubbs
2015-12-10 23:10 William Hubbs
2015-11-02 17:24 William Hubbs
2015-11-02 17:00 Mike Gilbert
2015-10-05 13:52 Julian Ospald
2015-10-01 20:40 Markus Meier
2015-09-23 12:52 Agostino Sarubbo
2015-09-19 19:09 Agostino Sarubbo
2015-09-02 14:43 Mike Gilbert
2015-08-27 21:08 Mike Gilbert

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