From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/openconnect/
Date: Thu, 2 Apr 2020 22:33:40 +0000 (UTC) [thread overview]
Message-ID: <1585866401.f461a95e66706ab1560ce27dba4d25c95e798a51.floppym@gentoo> (raw)
commit: f461a95e66706ab1560ce27dba4d25c95e798a51
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 2 22:26:32 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Apr 2 22:26:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f461a95e
net-vpn/openconnect: bump to 8.06
Package-Manager: Portage-2.3.96_p4, Repoman-2.3.22_p1
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
net-vpn/openconnect/Manifest | 1 +
net-vpn/openconnect/openconnect-8.06.ebuild | 159 ++++++++++++++++++++++++++++
2 files changed, 160 insertions(+)
diff --git a/net-vpn/openconnect/Manifest b/net-vpn/openconnect/Manifest
index 3eedcfb145b..c3eae30416f 100644
--- a/net-vpn/openconnect/Manifest
+++ b/net-vpn/openconnect/Manifest
@@ -1,3 +1,4 @@
DIST openconnect-8.05.tar.gz 1922100 BLAKE2B e12a5eccb471dc61c6f3af7492cb753fedcc52bfdb4155c934ca9c0c95da5e8037c0ede4f89345134fee8a09102f797690e101b8f4edba612ac265779feab19a SHA512 3ac9f1fa5a87b06d45c316897c69470264f2fde7525b5b3ef1352041dd0c8ae5eaf5dd325de1bdcf1e5b82e688fec9c36d531da1b75ac3f49896d4186d83aa15
+DIST openconnect-8.06.tar.gz 2030905 BLAKE2B d9659e4f027e11a0348c1c4358831e5f470f0305e04c22716010c68810ae300a7062ab8f57e3fc80b7d90caf855ce2f1c0af1b04eb7032b70486eee2eacc47e5 SHA512 6319aa6b20bf16994b376c2cc2a7cbf2b26a36f35e9607c1886e8fa7a2e1fe111bfb37f9349693ef52a3d2ce718c37e15fe263664e6c0bcbd33ced5ddb9e31b2
DIST vpnc-scripts-20190611.tar.gz 21439 BLAKE2B 8388cc3f4b795588bed146cf5e6be33f20de010e39ddbc2bebea3680df9f304bc64db9d14c42cb0b0cb3c053376929476f4b52bf3c8da3fb4153d058eb6bab2b SHA512 91f84cf1881916160e26ec48195583ab79e084cc7b7918721581f25dfb5b1504e8073b0eed50c1a15800824d5a4454e9b99cb4fdffe2539e5968909fafdda87a
DIST vpnc-scripts-20200226.tar.gz 21460 BLAKE2B 8f00ce3dc49725758abce27f3688946df1bbd4e92769ef02aa9ee66db8b9f41bef3442eaa5405ab1467476899c6d364dfea898ed924ca83497823a85515d48e5 SHA512 3a1eac4ccfaefb0f837189c8cef696b33ab8b8a68cb50a3ad29206b708d0aa479e8eed0c09bef6f60d056cd98d63cc898a1609d734030a63df3be2cfa6c00f9a
diff --git a/net-vpn/openconnect/openconnect-8.06.ebuild b/net-vpn/openconnect/openconnect-8.06.ebuild
new file mode 100644
index 00000000000..95d40ab7dce
--- /dev/null
+++ b/net-vpn/openconnect/openconnect-8.06.ebuild
@@ -0,0 +1,159 @@
+# Copyright 2011-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_REQ_USE="xml"
+
+inherit eutils linux-info python-any-r1 readme.gentoo-r1
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://gitlab.com/openconnect/openconnect.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=20200226
+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 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-crypt/trousers
+ 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"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( ${PYTHON_DEPS} sys-apps/groff )
+ nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~TUN"
+
+pkg_pretend() {
+ check_extra_config
+}
+
+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 use doc; then
+ python_setup
+ else
+ export ac_cv_path_PYTHON=
+ fi
+
+ # Used by tests if userpriv is disabled
+ addwrite /run/netns
+
+ local myconf=(
+ --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 lz4)
+ $(use_with gssapi)
+ $(use_with smartcard libpcsclite)
+ $(use_with stoken)
+ --without-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
+
+ find "${ED}" -name '*.la' -delete || die
+
+ 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" virtual/resolvconf
+ fi
+}
next reply other threads:[~2020-04-02 22:33 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 22:33 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-27 16:13 [gentoo-commits] repo/gentoo:master commit in: net-vpn/openconnect/ Mike Gilbert
2024-04-13 15:47 Mike Gilbert
2024-04-13 15:31 Mike Gilbert
2023-06-06 0:26 Mike Gilbert
2023-06-02 5:34 Sam James
2023-06-02 2:39 Sam James
2023-06-02 2:39 Sam James
2023-06-02 2:39 Sam James
2023-06-02 2:39 Sam James
2023-05-21 20:47 Mike Gilbert
2023-05-17 18:29 Mike Gilbert
2023-05-05 14:42 Mike Gilbert
2023-05-01 15:15 Sam James
2023-04-18 6:06 Sam James
2022-11-24 12:00 WANG Xuerui
2022-09-07 7:52 Michał Górny
2022-08-30 8:37 Jakov Smolić
2022-08-23 18:10 Arthur Zamarin
2022-08-20 7:03 Arthur Zamarin
2022-08-20 3:47 Sam James
2022-08-20 0:22 Yixun Lan
2022-08-19 19:12 Mike Gilbert
2022-07-31 11:10 Agostino Sarubbo
2022-07-31 11:08 Agostino Sarubbo
2022-07-31 11:06 Agostino Sarubbo
2022-07-31 8:27 Sam James
2022-07-31 8:27 Sam James
2022-07-30 21:54 Mike Gilbert
2022-07-30 21:54 Mike Gilbert
2022-07-30 21:54 Mike Gilbert
2022-05-19 7:49 Agostino Sarubbo
2022-05-15 9:05 Jakov Smolić
2022-05-13 21:06 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-05-13 20:09 Jakov Smolić
2022-05-05 15:10 Mike Gilbert
2022-04-23 23:31 Mike Gilbert
2022-04-23 21:34 Sam James
2022-04-11 12:31 Mike Gilbert
2022-04-11 1:08 Mike Gilbert
2022-04-11 0:46 Mike Gilbert
2022-04-11 0:46 Mike Gilbert
2022-04-09 22:05 Jason Zaman
2021-10-20 17:47 Mike Gilbert
2021-10-16 22:05 Sam James
2021-10-14 18:32 Sam James
2021-10-14 16:38 Sam James
2021-10-14 5:57 Agostino Sarubbo
2021-10-13 20:33 Sam James
2021-10-10 19:08 Mike Gilbert
2021-10-02 6:02 Mike Gilbert
2021-10-02 6:01 Mike Gilbert
2021-10-02 6:01 Mike Gilbert
2021-07-24 23:02 Marek Szuba
2021-03-27 18:25 Agostino Sarubbo
2020-11-12 15:30 Sam James
2020-11-12 15:09 Sam James
2020-11-11 16:44 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-11-11 16:33 Mike Gilbert
2020-09-02 16:33 Mike Gilbert
2020-06-10 23:32 Mike Gilbert
2020-06-08 6:41 Michał Górny
2020-05-14 21:29 Thomas Deutschmann
2020-05-13 17:14 Agostino Sarubbo
2020-05-09 8:47 Mart Raudsepp
2020-05-07 16:35 Mikle Kolyada
2020-05-07 15:58 Agostino Sarubbo
2020-05-06 1:01 Thomas Deutschmann
2020-05-06 1:00 Mike Gilbert
2020-05-02 13:30 Mart Raudsepp
2020-05-01 9:11 Georgy Yakovlev
2020-05-01 4:27 Mike Gilbert
2020-04-22 18:03 Mike Gilbert
2020-04-22 17:05 Agostino Sarubbo
2020-04-22 17:04 Agostino Sarubbo
2020-04-22 17:02 Agostino Sarubbo
2020-04-22 17:01 Agostino Sarubbo
2020-04-22 16:41 Mart Raudsepp
2020-04-21 19:58 Mike Gilbert
2020-04-21 19:27 Mike Gilbert
2020-04-03 14:26 Mike Gilbert
2020-04-03 4:14 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-04-02 22:33 Mike Gilbert
2020-02-16 20:24 David Seifert
2019-12-09 19:54 Mike Gilbert
2019-11-01 10:45 Mikle Kolyada
2019-10-06 20:56 Aaron Bauman
2019-10-03 8:14 Agostino Sarubbo
2019-10-03 7:59 Agostino Sarubbo
2019-10-03 7:57 Agostino Sarubbo
2019-09-24 19:27 Mike Gilbert
2019-06-23 1:33 Mike Gilbert
2019-06-23 1:33 Mike Gilbert
2019-06-23 1:33 Mike Gilbert
2019-05-24 20:48 Aaron Bauman
2019-01-19 3:41 Mike Gilbert
2019-01-18 17:21 Mike Gilbert
2019-01-18 17:11 Mike Gilbert
2018-10-22 0:37 Mike Gilbert
2018-10-22 0:37 Mike Gilbert
2018-03-28 17:08 Mike Gilbert
2018-01-05 22:02 Ulrich Müller
2017-08-28 4:42 Markus Meier
2017-05-10 15:44 Agostino Sarubbo
2017-05-10 9:32 Agostino Sarubbo
2017-05-07 19:16 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585866401.f461a95e66706ab1560ce27dba4d25c95e798a51.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox