1 |
commit: 56eca9dad97c248d645bbea5b8180624898d266c |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 06:00:54 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 06:00:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56eca9da |
7 |
|
8 |
net-vpn/openconnect: drop 8.09-r1 |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
net-vpn/openconnect/openconnect-8.09-r1.ebuild | 150 ------------------------- |
13 |
1 file changed, 150 deletions(-) |
14 |
|
15 |
diff --git a/net-vpn/openconnect/openconnect-8.09-r1.ebuild b/net-vpn/openconnect/openconnect-8.09-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index fee3227f1fb..00000000000 |
18 |
--- a/net-vpn/openconnect/openconnect-8.09-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,150 +0,0 @@ |
21 |
-# Copyright 2011-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
27 |
-PYTHON_REQ_USE="xml" |
28 |
- |
29 |
-inherit linux-info python-any-r1 |
30 |
- |
31 |
-if [[ ${PV} == 9999 ]]; then |
32 |
- EGIT_REPO_URI="https://gitlab.com/openconnect/openconnect.git" |
33 |
- inherit git-r3 autotools |
34 |
-else |
35 |
- ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz" |
36 |
- KEYWORDS="amd64 arm arm64 ppc64 x86" |
37 |
-fi |
38 |
-VPNC_VER=20200226 |
39 |
-SRC_URI="${ARCHIVE_URI} |
40 |
- ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz" |
41 |
- |
42 |
-DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" |
43 |
-HOMEPAGE="http://www.infradead.org/openconnect.html" |
44 |
- |
45 |
-LICENSE="LGPL-2.1 GPL-2" |
46 |
-SLOT="0/5" |
47 |
-IUSE="doc +gnutls gssapi libproxy lz4 nls smartcard static-libs stoken test" |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-DEPEND=" |
51 |
- dev-libs/libxml2 |
52 |
- sys-libs/zlib |
53 |
- !gnutls? ( |
54 |
- >=dev-libs/openssl-1.0.1h:0=[static-libs?] |
55 |
- ) |
56 |
- gnutls? ( |
57 |
- app-crypt/trousers |
58 |
- app-misc/ca-certificates |
59 |
- dev-libs/nettle |
60 |
- >=net-libs/gnutls-3.6.13:0=[static-libs?] |
61 |
- ) |
62 |
- gssapi? ( virtual/krb5 ) |
63 |
- libproxy? ( net-libs/libproxy ) |
64 |
- lz4? ( app-arch/lz4:= ) |
65 |
- nls? ( virtual/libintl ) |
66 |
- smartcard? ( sys-apps/pcsc-lite:0= ) |
67 |
- stoken? ( app-crypt/stoken ) |
68 |
-" |
69 |
-RDEPEND="${DEPEND} |
70 |
- sys-apps/iproute2 |
71 |
-" |
72 |
-BDEPEND=" |
73 |
- virtual/pkgconfig |
74 |
- doc? ( ${PYTHON_DEPS} sys-apps/groff ) |
75 |
- nls? ( sys-devel/gettext ) |
76 |
- test? ( |
77 |
- net-libs/socket_wrapper |
78 |
- net-vpn/ocserv |
79 |
- sys-libs/uid_wrapper |
80 |
- ) |
81 |
-" |
82 |
- |
83 |
-CONFIG_CHECK="~TUN" |
84 |
- |
85 |
-pkg_pretend() { |
86 |
- check_extra_config |
87 |
-} |
88 |
- |
89 |
-pkg_setup() { |
90 |
- : |
91 |
-} |
92 |
- |
93 |
-src_unpack() { |
94 |
- if [[ ${PV} == 9999 ]]; then |
95 |
- git-r3_src_unpack |
96 |
- fi |
97 |
- default |
98 |
-} |
99 |
- |
100 |
-src_prepare() { |
101 |
- local PATCHES=( |
102 |
- "${FILESDIR}"/8.09-gnutls-buffer-overflow.patch |
103 |
- ) |
104 |
- default |
105 |
- if [[ ${PV} == 9999 ]]; then |
106 |
- eautoreconf |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
-src_configure() { |
111 |
- if use doc; then |
112 |
- python_setup |
113 |
- else |
114 |
- export ac_cv_path_PYTHON= |
115 |
- fi |
116 |
- |
117 |
- # Used by tests if userpriv is disabled |
118 |
- addwrite /run/netns |
119 |
- |
120 |
- local myconf=( |
121 |
- --disable-dsa-tests |
122 |
- $(use_enable nls) |
123 |
- $(use_enable static-libs static) |
124 |
- $(use_with !gnutls openssl) |
125 |
- $(use_with gnutls) |
126 |
- $(use_with libproxy) |
127 |
- $(use_with lz4) |
128 |
- $(use_with gssapi) |
129 |
- $(use_with smartcard libpcsclite) |
130 |
- $(use_with stoken) |
131 |
- --with-vpnc-script="${EPREFIX}/etc/openconnect/openconnect.sh" |
132 |
- --without-java |
133 |
- ) |
134 |
- |
135 |
- econf "${myconf[@]}" |
136 |
-} |
137 |
- |
138 |
-src_test() { |
139 |
- local charset |
140 |
- for charset in UTF-8 ISO8859-2; do |
141 |
- if [[ $(LC_ALL=cs_CZ.${charset} locale charmap 2>/dev/null) != ${charset} ]]; then |
142 |
- # If we don't have valid cs_CZ locale data, auth-nonascii will fail. |
143 |
- # Force a test skip by exiting with status 77. |
144 |
- sed -i -e '2i exit 77' tests/auth-nonascii || die |
145 |
- break |
146 |
- fi |
147 |
- done |
148 |
- default |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- default |
153 |
- |
154 |
- find "${ED}" -name '*.la' -delete || die |
155 |
- |
156 |
- dodoc "${FILESDIR}"/README.OpenRC.txt |
157 |
- |
158 |
- newinitd "${FILESDIR}"/openconnect.init.in-r4 openconnect |
159 |
- insinto /etc/openconnect |
160 |
- |
161 |
- newconfd "${FILESDIR}"/openconnect.conf.in openconnect |
162 |
- |
163 |
- exeinto /etc/openconnect |
164 |
- newexe "${WORKDIR}"/vpnc-scripts-${VPNC_VER}/vpnc-script openconnect.sh |
165 |
- |
166 |
- insinto /etc/logrotate.d |
167 |
- newins "${FILESDIR}"/openconnect.logrotate openconnect |
168 |
- |
169 |
- keepdir /var/log/openconnect |
170 |
-} |