Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libproxy/, net-libs/libproxy/files/
Date: Mon, 30 Mar 2020 08:02:13
Message-Id: 1585555316.94919576bc66fd8a8de264b075de7aecc7b39ab7.asturm@gentoo
1 commit: 94919576bc66fd8a8de264b075de7aecc7b39ab7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 09:02:01 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 30 08:01:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94919576
7
8 net-libs/libproxy: Drop 0.4.13-r2
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-libs/libproxy/Manifest | 1 -
14 .../files/libproxy-0.4.11-avoid-nm-build-dep.patch | 60 --------------
15 .../libproxy/files/libproxy-0.4.12-mozjs.pc.patch | 23 ------
16 .../libproxy/files/libproxy-0.4.13-cmake-37.patch | 27 -------
17 net-libs/libproxy/libproxy-0.4.13-r2.ebuild | 94 ----------------------
18 5 files changed, 205 deletions(-)
19
20 diff --git a/net-libs/libproxy/Manifest b/net-libs/libproxy/Manifest
21 index 1e6520ca0b2..a35afe3e315 100644
22 --- a/net-libs/libproxy/Manifest
23 +++ b/net-libs/libproxy/Manifest
24 @@ -1,2 +1 @@
25 -DIST libproxy-0.4.13.tar.gz 89296 BLAKE2B 05e1c6a56e562a9fc8c8123bead6f3a264589f97895079f3d90cd0edd03d980c9b2bb0a4a3c2d2c2aa553e0ed0450863bd74236c00d94b9c42930efe9c37bff1 SHA512 babbe5e9326cb2bfdf4504662533b314f72c3475687f8b57c235614698cb18e0ed31752b834cb1d33cc94ecd3af6589684b2846e73830f0be3557c465a1f1c42
26 DIST libproxy-0.4.15.tar.gz 93084 BLAKE2B 9aa86403eaf4e1791958013c2739e251c61f11da40e66b3296b33a7f380828895f621175add5efb3cd17222ff016941801c25c2d70c19ef3a6652510268a0b3d SHA512 8f68bd56e44aeb3f553f4657bef82a5d14302780508dafa32454d6f724b724c884ceed6042f8df53a081d26ea0b05598cf35eab44823257c47c5ef8afb36442b
27
28 diff --git a/net-libs/libproxy/files/libproxy-0.4.11-avoid-nm-build-dep.patch b/net-libs/libproxy/files/libproxy-0.4.11-avoid-nm-build-dep.patch
29 deleted file mode 100644
30 index 59e368b696e..00000000000
31 --- a/net-libs/libproxy/files/libproxy-0.4.11-avoid-nm-build-dep.patch
32 +++ /dev/null
33 @@ -1,60 +0,0 @@
34 -From 518214ee85e10c5bc99d3b115ae7ac9cc3fc14fc Mon Sep 17 00:00:00 2001
35 -From: Alexandre Rostovtsev <tetromino@g.o>
36 -Date: Mon, 29 Apr 2013 23:02:25 -0400
37 -Subject: [PATCH] Avoid build-time dependency on NetworkManager
38 -
39 -Needed to prevent a dependency loop:
40 -nm -> libsoup -> glib-networking -> libproxy -> nm
41 -
42 -https://bugs.gentoo.org/467696
43 ----
44 - libproxy/cmake/modules/network_networkmanager.cmk | 4 ++--
45 - libproxy/modules/network_networkmanager.cpp | 21 ++++++++++++++++++++-
46 - 2 files changed, 22 insertions(+), 3 deletions(-)
47 -
48 -diff --git a/libproxy/cmake/modules/network_networkmanager.cmk b/libproxy/cmake/modules/network_networkmanager.cmk
49 -index d9f9588..2586bbd 100644
50 ---- a/libproxy/cmake/modules/network_networkmanager.cmk
51 -+++ b/libproxy/cmake/modules/network_networkmanager.cmk
52 -@@ -1,3 +1,3 @@
53 - if (NOT WIN32 AND NOT APPLE)
54 -- px_check_modules(NM NetworkManager dbus-1)
55 --endif()
56 -\ No newline at end of file
57 -+ px_check_modules(NM dbus-1)
58 -+endif()
59 -diff --git a/libproxy/modules/network_networkmanager.cpp b/libproxy/modules/network_networkmanager.cpp
60 -index 564c275..a03425b 100644
61 ---- a/libproxy/modules/network_networkmanager.cpp
62 -+++ b/libproxy/modules/network_networkmanager.cpp
63 -@@ -23,7 +23,26 @@
64 - using namespace libproxy;
65 -
66 - #include <dbus/dbus.h>
67 --#include <NetworkManager/NetworkManager.h>
68 -+
69 -+
70 -+/*
71 -+ * copy-pasted from NetworkManager-0.9.6.4's NetworkManager.h to prevent
72 -+ * a circular dependency; https://bugs.gentoo.org/467696
73 -+ */
74 -+#define NM_DBUS_PATH "/org/freedesktop/NetworkManager"
75 -+#define NM_DBUS_INTERFACE "org.freedesktop.NetworkManager"
76 -+typedef enum {
77 -+ NM_STATE_UNKNOWN = 0,
78 -+ NM_STATE_ASLEEP = 10,
79 -+ NM_STATE_DISCONNECTED = 20,
80 -+ NM_STATE_DISCONNECTING = 30,
81 -+ NM_STATE_CONNECTING = 40,
82 -+ NM_STATE_CONNECTED_LOCAL = 50,
83 -+ NM_STATE_CONNECTED_SITE = 60,
84 -+ NM_STATE_CONNECTED_GLOBAL = 70
85 -+} NMState;
86 -+#define NM_STATE_CONNECTED NM_STATE_CONNECTED_GLOBAL
87 -+
88 -
89 - class networkmanager_network_extension : public network_extension {
90 - public:
91 ---
92 -1.8.2.1
93 -
94
95 diff --git a/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch b/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch
96 deleted file mode 100644
97 index bf69fc31d93..00000000000
98 --- a/net-libs/libproxy/files/libproxy-0.4.12-mozjs.pc.patch
99 +++ /dev/null
100 @@ -1,23 +0,0 @@
101 ---- a/libproxy/cmake/modules/pacrunner_mozjs.cmk 2011-06-20 04:31:41.000000000 -0600
102 -+++ b/libproxy/cmake/modules/pacrunner_mozjs.cmk 2013-03-24 19:20:17.910765954 -0600
103 -@@ -9,12 +9,18 @@
104 - elseif(NOT APPLE)
105 - option(WITH_MOZJS "Search for MOZJS package" ON)
106 - if (WITH_MOZJS)
107 -- pkg_search_module(MOZJS mozjs185)
108 -+ pkg_search_module(MOZJS mozjs187)
109 - if(MOZJS_FOUND)
110 - include_directories(${MOZJS_INCLUDE_DIRS})
111 - link_directories(${MOZJS_LIBRARY_DIRS})
112 - else()
113 -- set(MOZJS_FOUND 0)
114 -+ pkg_search_module(MOZJS mozjs185)
115 -+ if(MOZJS_FOUND)
116 -+ include_directories(${MOZJS_INCLUDE_DIRS})
117 -+ link_directories(${MOZJS_LIBRARY_DIRS})
118 -+ else()
119 -+ set(MOZJS_FOUND 0)
120 -+ endif()
121 - endif()
122 - else()
123 - set(MOZJS_FOUND 0)
124
125 diff --git a/net-libs/libproxy/files/libproxy-0.4.13-cmake-37.patch b/net-libs/libproxy/files/libproxy-0.4.13-cmake-37.patch
126 deleted file mode 100644
127 index d96879a7cba..00000000000
128 --- a/net-libs/libproxy/files/libproxy-0.4.13-cmake-37.patch
129 +++ /dev/null
130 @@ -1,27 +0,0 @@
131 -From 72bda7188408bd3c2491ea664da294cc483220bc Mon Sep 17 00:00:00 2001
132 -From: Andrey Rakhmatullin <wrar@××××.name>
133 -Date: Sun, 20 Nov 2016 18:40:49 +0500
134 -Subject: [PATCH] Set CMP0054 CMake policy to NEW.
135 -
136 -CMake 3.7 exports a "t" variable for all projects and because of that
137 -the elseif statement in cmake/CMakeCSharpInformation.cmake:311 works
138 -incorrectly if CMP0054 is not set to NEW (as "t" is expanded to the
139 -variable value).
140 ----
141 - CMakeLists.txt | 3 +++
142 - 1 file changed, 3 insertions(+)
143 -
144 -diff --git a/CMakeLists.txt b/CMakeLists.txt
145 -index 5313787..451e7a6 100644
146 ---- a/CMakeLists.txt
147 -+++ b/CMakeLists.txt
148 -@@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 2.6)
149 - if(POLICY CMP0011)
150 - cmake_policy(SET CMP0011 NEW)
151 - endif(POLICY CMP0011)
152 -+if(POLICY CMP0054)
153 -+ cmake_policy(SET CMP0054 NEW)
154 -+endif(POLICY CMP0054)
155 -
156 - # Make sure we look in our cmake folder for additional definitions
157 - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake )
158
159 diff --git a/net-libs/libproxy/libproxy-0.4.13-r2.ebuild b/net-libs/libproxy/libproxy-0.4.13-r2.ebuild
160 deleted file mode 100644
161 index 6e4fbc6bbb5..00000000000
162 --- a/net-libs/libproxy/libproxy-0.4.13-r2.ebuild
163 +++ /dev/null
164 @@ -1,94 +0,0 @@
165 -# Copyright 1999-2020 Gentoo Authors
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=6
169 -PYTHON_COMPAT=( python2_7 )
170 -
171 -inherit cmake-multilib eutils flag-o-matic mono-env python-r1
172 -
173 -DESCRIPTION="Library for automatic proxy configuration management"
174 -HOMEPAGE="https://github.com/libproxy/libproxy"
175 -SRC_URI="https://github.com/libproxy/libproxy/archive/${PV}.tar.gz -> ${P}.tar.gz"
176 -
177 -LICENSE="LGPL-2.1+"
178 -SLOT="0"
179 -
180 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
181 -
182 -IUSE="gnome kde mono networkmanager perl python spidermonkey test webkit"
183 -RESTRICT="!test? ( test )"
184 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
185 -
186 -# NOTE: mozjs/spidermonkey might still cause problems like #373397 ?
187 -CDEPEND="
188 - gnome? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
189 - mono? ( dev-lang/mono )
190 - networkmanager? ( sys-apps/dbus:0[${MULTILIB_USEDEP}] )
191 - perl? ( dev-lang/perl:= )
192 - python? ( ${PYTHON_DEPS} )
193 - spidermonkey? ( >=dev-lang/spidermonkey-1.8.5:0= )
194 - webkit? ( net-libs/webkit-gtk:4 )
195 -"
196 -DEPEND="${CDEPEND}
197 - virtual/pkgconfig:0[${MULTILIB_USEDEP}]
198 -"
199 -RDEPEND="${CDEPEND}
200 - kde? ( kde-frameworks/kconfig:5 )
201 -"
202 -# avoid dependency loop, bug #467696
203 -PDEPEND="networkmanager? ( net-misc/networkmanager )"
204 -
205 -PATCHES=(
206 - # get-pac-test freezes when run by the ebuild, succeeds when building
207 - # manually; virtualx.eclass doesn't help :(
208 - "${FILESDIR}/${PN}-0.4.10-disable-pac-test.patch"
209 -
210 - # prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696
211 - # https://github.com/libproxy/libproxy/issues/28
212 - "${FILESDIR}/${PN}-0.4.11-avoid-nm-build-dep.patch"
213 -
214 - # Gentoo's spidermonkey doesn't set Version: in mozjs18[57].pc
215 - "${FILESDIR}/${PN}-0.4.12-mozjs.pc.patch"
216 -
217 - # https://github.com/libproxy/libproxy/issues/27
218 - "${FILESDIR}/${PN}-0.4.12-macosx.patch"
219 -
220 - # bug 600254
221 - "${FILESDIR}/${P}-cmake-37.patch"
222 -)
223 -
224 -multilib_src_configure() {
225 - local mycmakeargs=(
226 - "$(multilib_is_native_abi && usex perl -DPERL_VENDORINSTALL=ON)"
227 - # WITH_VALA just copies the .vapi file over and needs no deps,
228 - # hence always enable it unconditionally
229 - '-DWITH_VALA=ON'
230 - "-DCMAKE_C_FLAGS=${CFLAGS}"
231 - "-DCMAKE_CXX_FLAGS=${CXXFLAGS}"
232 - "$(multilib_is_native_abi && usex mono -DGMCS_EXECUTABLE="${EPREFIX}/usr/bin/mcs")"
233 - "-DWITH_GNOME3=$(usex gnome)"
234 - "-DWITH_KDE=$(usex kde)"
235 - "-DWITH_DOTNET=$(multilib_is_native_abi && usex mono || echo 'OFF')"
236 - "-DWITH_NM=$(usex networkmanager)"
237 - "-DWITH_PERL=$(multilib_is_native_abi && usex perl || echo 'OFF')"
238 - "-DWITH_PYTHON=$(multilib_is_native_abi && usex python || echo 'OFF')"
239 - "-DWITH_MOZJS=$(multilib_is_native_abi && usex spidermonkey || echo 'OFF')"
240 - "-DWITH_NATUS=OFF"
241 - "-DWITH_WEBKIT=OFF"
242 - "-DWITH_WEBKIT3=$(multilib_is_native_abi && usex webkit || echo 'OFF')"
243 - "-DBUILD_TESTING=$(usex test)"
244 - )
245 - cmake-utils_src_configure
246 -}
247 -
248 -src_configure() {
249 - [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl
250 -
251 - use python && python_setup
252 - multilib-minimal_src_configure
253 -}
254 -
255 -multilib_src_install_all() {
256 - doman "${FILESDIR}/proxy.1"
257 - use python && python_foreach_impl python_domodule 'bindings/python/libproxy.py'
258 -}