summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2013-02-25 13:27:50 +0000
committerAgostino Sarubbo <ago@gentoo.org>2013-02-25 13:27:50 +0000
commit787330b052a54bbd621f4c47e6a92ff6a121fe3f (patch)
tree56a1c26edd009a5b75ceab75ee8d825b1a5c9afb /net-misc/openconnect
parentdev-java/netbeans-nb: added missing patch (diff)
downloadhistorical-787330b052a54bbd621f4c47e6a92ff6a121fe3f.tar.gz
historical-787330b052a54bbd621f4c47e6a92ff6a121fe3f.tar.bz2
historical-787330b052a54bbd621f4c47e6a92ff6a121fe3f.zip
Version bump, wrt to bug #457068
Package-Manager: portage-2.1.11.50/cvs/Linux ppc64 Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'net-misc/openconnect')
-rw-r--r--net-misc/openconnect/ChangeLog7
-rw-r--r--net-misc/openconnect/Manifest24
-rw-r--r--net-misc/openconnect/openconnect-4.99.ebuild144
3 files changed, 173 insertions, 2 deletions
diff --git a/net-misc/openconnect/ChangeLog b/net-misc/openconnect/ChangeLog
index 7477e1c20287..67cf07802383 100644
--- a/net-misc/openconnect/ChangeLog
+++ b/net-misc/openconnect/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/openconnect
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/ChangeLog,v 1.9 2013/01/30 15:29:35 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/ChangeLog,v 1.10 2013/02/25 13:27:48 ago Exp $
+
+*openconnect-4.99 (25 Feb 2013)
+
+ 25 Feb 2013; Agostino Sarubbo <ago@gentoo.org> +openconnect-4.99.ebuild:
+ Version bump, wrt to bug #457068
30 Jan 2013; Agostino Sarubbo <ago@gentoo.org> openconnect-4.07-r3.ebuild:
Stable for x86, wrt bug #453936
diff --git a/net-misc/openconnect/Manifest b/net-misc/openconnect/Manifest
index 2ed56960ed9e..17f0180009e7 100644
--- a/net-misc/openconnect/Manifest
+++ b/net-misc/openconnect/Manifest
@@ -1,12 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
AUX openconnect.conf.in 941 SHA256 d0fbfb0c93591415d93096310caff8550de06faf94c72dd52d9a8654a3c451aa SHA512 a689df7141621c80bca77fdd1e01397b98882c7fd8db79b2fe1495916656522234e3af739538002533c003e4243e9af4bf80cd73bae961e15568997ce89ef6d5 WHIRLPOOL 36caee584cad889a9f746046c9d41de755a27260e46b8886149343224452b07240bad770b0040ad7998043eefed847873cd580645bda83280901d069692384bd
AUX openconnect.init.in 2869 SHA256 a7674216e6140559db9306efe7d9e0cb8fe4f094c04c0c5b33dc50ac4d99ac9a SHA512 233d70713380229483445b91ede0a66ef74bcf1c0177fbb36782aaec2fd3d90029743cee7230b5ec856a42da3d33303a3057578766600fda463d3d0d63f7f370 WHIRLPOOL ede17b6c1caa1c4c2094d8b124066ca6088336ac64fc0b6eeb45da61bd7a5a55bd3eb52b268bb4b285fedda8f759afdfb904ce4a7976c13f2c9d8eed52b27984
AUX openconnect.logrotate 116 SHA256 19cca62003efb050832c05cbca5a5e9057b18cf28d1c3a445c2c6fe1cf7022a2 SHA512 ea1b6caf6278fea515c299072ee799ab3676014784703d7fa8e4f4d7bfc4599650c386d9706a3e6d92c195c9e5e1628fa6efc1124e1ae72875cc9eaab73cb077 WHIRLPOOL 7116069442a23d369913d455d7131b2d1b3884d378da6d6aa1da357bd2fb7057f9d84fd253da608be35252573052fb02c9cddab1a88516611c5e010324194064
DIST openconnect-3.11.tar.gz 354616 SHA256 936b3e4e83cec75e65d2d2a23184b0dba02c1e96c6caea4039a4870bc598275d
DIST openconnect-4.07.tar.gz 1182237 SHA256 14cacb17813714ed16c58dbcb33cd77463c4e3c4e52e955e8b59a43833d3b6f3 SHA512 d30d7d379372811fa654afd3077cb7717037531cffed8c2b48cd422648bc02be706233e1b171ba6ac7cefec1f82c769973186a3bcefebb2eb83a33cc961746e6 WHIRLPOOL bab19c16bde866c0e2588ee2f56ee4208069555983174468169c649bd01353dc22728d9a713b1e0a71541899a87737f52bf53d4fa92feb1eae2c09376b1a910b
+DIST openconnect-4.99.tar.gz 1230301 SHA256 a62d125b00155273bbf5784bc69d594494ab301b5e8398429f9f9742aebaa8e5 SHA512 c53b9aaa0bdaf17a87783a906d76b6e3df89366221fe354d2847cbc07da7f0837ec6db65eb153a07f473200bd91d5ba35b1a6bac3c3a66b2d296b79ca9f15d50 WHIRLPOOL f550c906cb66eed3aa50b3262945e8f4603b3b2a8a9baab941f1ecbf9f5158556c0faf9327e050c773766071dd3359c0fba96d35d77d57e44fca2918d8c1a50e
DIST openconnect-script 18355 SHA256 d8bfd3632a2f5e57388a167fe735eee41c523baadad78b3bc1578def675f4bcd
DIST openconnect-script-20121108205904.tar.gz 6380 SHA256 99fb6c72c13b5724766a952e392b75774771f220f59793e5d2576d7e3412555b SHA512 089650538f035875c205bed0190e44ed8176a138bbe2f635ac5335050c3b831fc85fbd61448ddaf7cb540c0a5d9b32f8f909e1fd5be188bfef07e721d4656545 WHIRLPOOL 3dc2b820afe49cc59c96d514f166d94fdbc3db9f3edbace69e41ae7e604263a834fff0a1fa7be806ff88c328a75de4306ec159e4022d43cd245addf34615efb2
EBUILD openconnect-3.11.ebuild 2096 SHA256 d9aa3e584e653d9ff57b98d67f34de7a7748c575a1f8444342dbe855c75ec58b SHA512 1ef8f7a0d70ce5230b4464c85e1fb6b035439e6bb3044eb9a2a198b558c1da9662deb3b8b7e188e621b2a56df1cc901960827564eed250d4ff72d32dd61a74dd WHIRLPOOL 9e3d5c0280d1945935598c7730978deddea53ceed5e4dafec02d462ff1a1234c972a0f2bdd191e5f2ab5fada8bd27671c5472fc482183c1c319abce38c39ca0d
EBUILD openconnect-4.07-r2.ebuild 4517 SHA256 d93f1c0a923c787534467b962a98bb8e220d6363f697e9fe44056458f0e133ed SHA512 1cd0cbea0f42022c948d87f09a0ee929fc1dd3ca4844c893f781b044b2e62948e9a5ae952e0eeafd91022fe0a9b3ca5eb0f2ac76a61fb9e5a89f8b4446f9b9c8 WHIRLPOOL 7696994f614da5ea9cd7e3c98332eb0e7bd73129d7bc603924539d00d55ed01b5f84fb1e7efa96704ef10b393a39c7034f2bb8912b21b262a16ba65d17c835f0
EBUILD openconnect-4.07-r3.ebuild 4628 SHA256 018c38bf04fc156899f187a9eec29b8c5bf0e06bac921ae3ac3c8557c7402145 SHA512 6864f2ec88a106cad9247828496a1cc3e3448859550be19d45997d4acfada893ef522d50e61000513b92584ccf2ecdef1db6af0e2ef70092731b897bdb54fbf7 WHIRLPOOL 5930430d33b842171f6901aa11436742a838e7e94095ad7f162ef4e6a51541a6f19c6a3c3ba79eb4b53d4c5fce4fb71e17324eeb3966086254ee7f89e04a1cb3
-MISC ChangeLog 1897 SHA256 19d50db1e9585b5bc37a71947a640525951cda8962b46b54dfa127b4ca6f133e SHA512 5db568a1a3551b381b20d95c5e816113d46fee4231dfe350b39f26d7571ae3c8e816f1c69cf0e2cf221e5aa0f3a1e91ab7ee3bd3e179438e7f9dbe4b6e82756d WHIRLPOOL 4979a01f2cb3b6d6e3c3a7a4f5796dc217a561359001acb11d87b6c5892f9e52fa393594ebe8f4a2ce08bba74ef3c112556d0584df58eaf4168e07185883fbe7
+EBUILD openconnect-4.99.ebuild 4627 SHA256 cbb57ce0a224b82cc66eae86fb982f7e363a427031cec1231d856e4953275d36 SHA512 d1f17aaa75c89968826005116714af49d64041757552e3a4dee7421db9f86f920fc745f4463dd349f0b4383b66f1b0fa61caf2bb7dfe8ca1271b03e30e41d98c WHIRLPOOL 9f68fd985ebadd7a7cc0c029a604b15cf23f814e7ee90a2d7b0bbe9b8a95747db325ca1aecc9475566fb2c0af2cf74a01624ba2abef588869ed53ff01967cfc5
+MISC ChangeLog 2042 SHA256 d2c6e65222d3fd638134f24b01b9be0ee7515c36f45e3179d68fffb2571ec652 SHA512 704545cd2342e18767d32f785aa42fc7b9211f8da1c8dbc1826c224d0e6cff90caf3126e18eec1d94a5cbe88655606c744d6619efceabe80a18518c10cbb1a64 WHIRLPOOL 7c13d140dbfe2f5fb427c773dea88029a2ea2b62309c383e78ba935797ce985ac93f8782e35536fe1db8e17f0b1336407b8575ba1d6f5243da59b57ceeed15f4
MISC metadata.xml 357 SHA256 a0c22435f280b39d9c196f0e0d871bef06bcea3d79f502a95670d88b81adc963 SHA512 15d5432486f294c7eda7b425bfac82d04ddb39785022eaed91cf66211fb10a444d6b0f7cbc74a5254bb3846e93486c85922b2018a877f241564a50165a15affe WHIRLPOOL cf9549698a075ea111f31560b9d5e0853790fcc50f4bea1ee5efe4d62eb2ce0a83d4fdd570bd3f3047d0cf1fff2da2a2fdac4414481521592cdbdbb4471b3380
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCgAGBQJRK2ZPAAoJELp701BxlEWftiMP/jVQJzwUUN8SUlpYPj0yUhx1
+VDC2cF4SA+EqqVSzPlwAI6fGRIZTmkZ/axrt6DaGTsx+fgz8420ptsxeXZE4/IH3
+c8Ig699TGj0eq4PerTPy5mVchIqycw+R7JE2ebWwh1hl7952QPdjHy+ffbTxtETR
+EOtEWM/UqAounskoTBDU/gYJr5F8/6j8wWGaO8N5Qt0gynmNQ3A0iDhvcRDeTlvY
+oQf8FfjQu46OdO/35NE0NL2r119qRa0qNJok2l2E+zf4z21ycG/xfT4xWcnqBnND
+loQ3i/k/E0UppHrp9RpS7hM13dWLIHPzP+g9RWJcaFnq4qgzMBmDdGXV9IyBN/PN
+TsV6B/zsxOqIbAKPAE+9j5TaUJld7lDzw4JtCP64dNBBOmC6w9IFAzuesRkiru2d
+q3Yt5d2RWXZEidfvuBVbUpO9XKe2fEjD4KRwcIa6pjlM2BYcS8R3Eh8ChxvYhgI5
+/sXvmYeFwJr+6FdHI8Sy1W1GVdXA6iL1UwT72kRyzfRkZcPq1a3xlO8Bzfq4JKvS
+yKg+qkgGYhcLRa5RsE8hlxVzVusrJWa8Cf1C29hkxGyOtQgExCq2YhkzAsiiVkC2
++OWAGL4cJfryz+Ah/hTnrJ2OTG43sAzfS7BafwKOUuvIABQ13ZaHUZsP6AE9Pk5c
+tu01F7Ju3x4o5sCkjUJA
+=OyOB
+-----END PGP SIGNATURE-----
diff --git a/net-misc/openconnect/openconnect-4.99.ebuild b/net-misc/openconnect/openconnect-4.99.ebuild
new file mode 100644
index 000000000000..939dde400ebb
--- /dev/null
+++ b/net-misc/openconnect/openconnect-4.99.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openconnect/openconnect-4.99.ebuild,v 1.1 2013/02/25 13:27:48 ago Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{6,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
+ http://dev.gentoo.org/~hwoarang/distfiles/openconnect-script-20121108205904.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~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[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/*"
+}