summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-01-18 11:54:46 -0500
committerMike Gilbert <floppym@gentoo.org>2019-01-18 12:11:06 -0500
commit3b5beea6e4f4f524da0dfd6af9599761c3c501c8 (patch)
tree1439decde96c90bf245f7ee8baed2f8b935660f0 /net-vpn/openconnect/openconnect-9999.ebuild
parentnet-libs/nghttp2: Removed old. (diff)
downloadgentoo-3b5beea6e4f4f524da0dfd6af9599761c3c501c8.tar.gz
gentoo-3b5beea6e4f4f524da0dfd6af9599761c3c501c8.tar.bz2
gentoo-3b5beea6e4f4f524da0dfd6af9599761c3c501c8.zip
net-vpn/openconnect: bump to 8.02
Drop java support due to lagging eclasses. Package-Manager: Portage-2.3.56_p3, Repoman-2.3.12_p50 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-vpn/openconnect/openconnect-9999.ebuild')
-rw-r--r--net-vpn/openconnect/openconnect-9999.ebuild26
1 files changed, 10 insertions, 16 deletions
diff --git a/net-vpn/openconnect/openconnect-9999.ebuild b/net-vpn/openconnect/openconnect-9999.ebuild
index e5bb8a5a9d59..5cd531dc8178 100644
--- a/net-vpn/openconnect/openconnect-9999.ebuild
+++ b/net-vpn/openconnect/openconnect-9999.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="xml"
-inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo-r1
+inherit linux-info python-any-r1 readme.gentoo-r1
if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git"
+ 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=20180227
+VPNC_VER=20190117
SRC_URI="${ARCHIVE_URI}
ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz"
@@ -24,7 +24,7 @@ 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"
+IUSE="doc +gnutls gssapi libproxy libressl lz4 nls smartcard static-libs stoken"
DEPEND="
dev-libs/libxml2
@@ -47,10 +47,9 @@ DEPEND="
RDEPEND="${DEPEND}
sys-apps/iproute2
!<sys-apps/openrc-0.13"
-DEPEND="${DEPEND}
+BDEPEND="
virtual/pkgconfig
doc? ( ${PYTHON_DEPS} sys-apps/groff )
- java? ( >=virtual/jdk-1.6 )
nls? ( sys-devel/gettext )"
CONFIG_CHECK="~TUN"
@@ -60,7 +59,7 @@ pkg_pretend() {
}
pkg_setup() {
- java-pkg-opt-2_pkg_setup
+ :
}
src_unpack() {
@@ -78,11 +77,6 @@ src_prepare() {
}
src_configure() {
- if [[ ${LINGUAS+set} == set ]]; then
- strip-linguas -u po
- echo "${LINGUAS}" > po/LINGUAS || die
- fi
-
if use doc; then
python_setup
else
@@ -101,7 +95,7 @@ src_configure() {
$(use_with gssapi)
$(use_with smartcard libpcsclite)
$(use_with stoken)
- $(use_with java)
+ --without-java
)
econf "${myconf[@]}"
@@ -147,7 +141,7 @@ src_install() {
newins "${FILESDIR}"/openconnect.logrotate openconnect
keepdir /var/log/openconnect
- prune_libtool_files
+ find "${ED}" -name '*.la' -delete || die
readme.gentoo_create_doc
}