1 |
commit: 0d8fe1f4a83838c5f6dfacc3657618b49df6d51a |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 3 12:33:04 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 3 12:33:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8fe1f4 |
7 |
|
8 |
net-vpn/riseup-vpn: drop version 0.21.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
net-vpn/riseup-vpn/Manifest | 1 - |
14 |
.../riseup-vpn/files/riseup-vpn-ip-location.patch | 13 -- |
15 |
.../files/riseup-vpn-parallel-make.patch | 54 -------- |
16 |
.../riseup-vpn/files/riseup-vpn-respect-AR.patch | 38 ------ |
17 |
net-vpn/riseup-vpn/riseup-vpn-0.21.6-r1.ebuild | 142 --------------------- |
18 |
5 files changed, 248 deletions(-) |
19 |
|
20 |
diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest |
21 |
index 0c790cf213c1..fc1f230cdf2b 100644 |
22 |
--- a/net-vpn/riseup-vpn/Manifest |
23 |
+++ b/net-vpn/riseup-vpn/Manifest |
24 |
@@ -558,7 +558,6 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190102054323-c2f93a96b099.mod 26 BLA |
25 |
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190523083050-ea95bdfd59fc.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce |
26 |
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2019.2.3.mod 300 BLAKE2B 3e3f5a2be0918cbaacd5e43e59fcc6c7c6999645f0c9214cd5a522c31d34b6d3dad61e3ddae8ccdb2f3f0d90b406c047802ee3d9d54dc40fe6eff9cd35620792 SHA512 0c8aa788d0c03d6d049f0dd7468d0f81ce2131ccedd5a5a3a18362b7d30eef7ef325277844eefe4b707b1ad71c6f83a44e110b7af7b98e05406d347237a7bafb |
27 |
DIST riseup-vpn-0.21.11.tar.gz 7595837 BLAKE2B a1cd09741f044d03577128ab88ba6e6d9961a1a39c0e6488d79e73ec9c94b7a0fa44463a07d2e2130fe4adf986d86a693cb3114bae99e4a4bb55d23b90f2c871 SHA512 b4fa6f57f97bfba364c7aa9b2a4fc08561c7753d5471424534884a3279e5ff2bd102cc254c4e15a99f6fa47ef16abf1c691d3d174eda27bbfdac61d192f6fbb1 |
28 |
-DIST riseup-vpn-0.21.6.tar.gz 5404265 BLAKE2B 2dcae7aaa3659fe9e8b9910a6c085ec49389551a6d2e404fb5520622e22adff98277fe3962f1dfd3b44d23b8c687855105196e74b89d4bb9890202e97033c5d9 SHA512 074dadcd24c1ecaa21504a26406c5f8f3cdbbe8dffc3679e1c1b62d1978b51b20154edd54d8887868c7458e4c184b8f16aa6ff21e71890fe6b84c0eb2e008deb |
29 |
DIST rsc.io%2Fpdf%2F@v%2Fv0.1.1.mod 18 BLAKE2B 02f32b5a77e5009f179cf1fdc9acbb977fe219698f19ef41acee8129e0de7ad93b0b39ce82ac1538c82a7cdd33776e270f0acec114716c791727b021a4d3e147 SHA512 f911a889614d9177295952c82f8b4a0942fcbb7b4fca7378c0b98a63ed0e37e1319d51905f906ad08144eb0f3f829a2ccc2af04c2147e60cc2ac1ea8d7dab16f |
30 |
DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.1.0.mod 24 BLAKE2B d33080dbc62b185d029eb43f75d66328dbfa7c463a3117b3efd5419ab8e1e52cc6f5d5a288d553421025c785ec6948b3aa68588cae19bd325f6acc0d043bb5fb SHA512 78f6402daccb04510f4ef35ee457ee13e4f447fba8e6aa33b4d32aa666e925861bf3b3f22c5ba9573871ec7e830f99e4caae0969724a54eadf40e6a7ed7931a0 |
31 |
DIST sourcegraph.com%2Fsourcegraph%2Fappdash%2F@v%2Fv0.0.0-20190731080439-ebfcffb1b5c0.mod 43 BLAKE2B 44d562f1cdabdb24ca05eb508183dc158939129a4cf6ec0c58815076367b2902b660ee0ef526aa01e920846fb633d001c499bf63a3cea16494213eec41587408 SHA512 7d863e4af4e480a247bc767d1de96ff8050b12a13a182a9a8fa68c983c2f0b1a16b509d40de3cca552082535f876458034e1510f0f0feef383f16e1f84f81282 |
32 |
|
33 |
diff --git a/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch b/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch |
34 |
deleted file mode 100644 |
35 |
index 99c7d5255962..000000000000 |
36 |
--- a/net-vpn/riseup-vpn/files/riseup-vpn-ip-location.patch |
37 |
+++ /dev/null |
38 |
@@ -1,13 +0,0 @@ |
39 |
-diff --git a/helpers/bitmask-root b/helpers/bitmask-root |
40 |
-index 13ba407..7c08b21 100644 |
41 |
---- a/helpers/bitmask-root |
42 |
-+++ b/helpers/bitmask-root |
43 |
-@@ -106,7 +106,7 @@ def swhich(binary): |
44 |
- |
45 |
- :rtype: str |
46 |
- """ |
47 |
-- for folder in ["/sbin", "/usr/sbin", "/usr/local/sbin"]: |
48 |
-+ for folder in ["/bin", "/sbin", "/usr/sbin", "/usr/local/sbin"]: |
49 |
- path = os.path.join(folder, binary) |
50 |
- if os.path.isfile(path): |
51 |
- return path |
52 |
|
53 |
diff --git a/net-vpn/riseup-vpn/files/riseup-vpn-parallel-make.patch b/net-vpn/riseup-vpn/files/riseup-vpn-parallel-make.patch |
54 |
deleted file mode 100644 |
55 |
index 2b0f188e4a57..000000000000 |
56 |
--- a/net-vpn/riseup-vpn/files/riseup-vpn-parallel-make.patch |
57 |
+++ /dev/null |
58 |
@@ -1,54 +0,0 @@ |
59 |
-diff --git a/Makefile b/Makefile |
60 |
-index b9ddda5..500adb7 100644 |
61 |
---- a/Makefile |
62 |
-+++ b/Makefile |
63 |
-@@ -108,7 +108,7 @@ PKGFILES = $(shell find pkg -type f -name '*.go') |
64 |
- endif |
65 |
- |
66 |
- lib/%.a: $(PKGFILES) |
67 |
-- @XBUILD=no ./gui/build.sh --just-golib |
68 |
-+ @XBUILD=no MAKE=${MAKE} ./gui/build.sh --just-golib |
69 |
- |
70 |
- relink_vendor: |
71 |
- @echo "============RELINK VENDOR=============" |
72 |
-@@ -136,14 +136,14 @@ endif |
73 |
- |
74 |
- build_golib: lib/libgoshim.a |
75 |
- |
76 |
--build_gui: relink_vendor |
77 |
-+build_gui: build_golib relink_vendor |
78 |
- @echo "==============BUILD GUI===============" |
79 |
- @echo "TARGET: ${TARGET}" |
80 |
- @echo "VENDOR_PATH: ${VENDOR_PATH}" |
81 |
-- @XBUILD=no QMAKE=${QMAKE} LRELEASE=${LRELEASE} TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} gui/build.sh --skip-golib |
82 |
-+ @XBUILD=no MAKE=${MAKE} QMAKE=${QMAKE} LRELEASE=${LRELEASE} TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} gui/build.sh --skip-golib |
83 |
- @echo "============BUILD GUI=================" |
84 |
- |
85 |
--build: build_golib build_helper build_gui |
86 |
-+build: build_helper build_gui |
87 |
- |
88 |
- build_helper: |
89 |
- ifeq ($(PLATFORM), linux) |
90 |
-diff --git a/gui/build.sh b/gui/build.sh |
91 |
-index 9e519a6..8aa0356 100755 |
92 |
---- a/gui/build.sh |
93 |
-+++ b/gui/build.sh |
94 |
-@@ -17,6 +17,7 @@ PROJECT=bitmask.pro |
95 |
- TARGET_GOLIB=lib/libgoshim.a |
96 |
- SOURCE_GOLIB=gui/backend.go |
97 |
- |
98 |
-+MAKE=${MAKE:=make} |
99 |
- QTBUILD=build/qt |
100 |
- RELEASE=$QTBUILD/release |
101 |
- DEBUGP=$QTBUILD/debug |
102 |
-@@ -114,8 +115,8 @@ function buildDefault { |
103 |
- fi |
104 |
- buildQmake |
105 |
- |
106 |
-- make -C $QTBUILD clean |
107 |
-- make -C $QTBUILD $MAKEFLAGS all |
108 |
-+ $MAKE -C $QTBUILD clean |
109 |
-+ $MAKE -C $QTBUILD $MAKEFLAGS all |
110 |
- |
111 |
- renameOutput |
112 |
- echo "[+] Done." |
113 |
|
114 |
diff --git a/net-vpn/riseup-vpn/files/riseup-vpn-respect-AR.patch b/net-vpn/riseup-vpn/files/riseup-vpn-respect-AR.patch |
115 |
deleted file mode 100644 |
116 |
index 431ab1376c65..000000000000 |
117 |
--- a/net-vpn/riseup-vpn/files/riseup-vpn-respect-AR.patch |
118 |
+++ /dev/null |
119 |
@@ -1,38 +0,0 @@ |
120 |
-diff --git a/gui/build.sh b/gui/build.sh |
121 |
-index 56e3d66..9e519a6 100755 |
122 |
---- a/gui/build.sh |
123 |
-+++ b/gui/build.sh |
124 |
-@@ -63,13 +63,13 @@ function buildGoLib { |
125 |
- if [ "$XBUILD" == "no" ] |
126 |
- then |
127 |
- echo "[+] Building Go library with standard Go compiler" |
128 |
-- CGO_ENABLED=1 GOOS=$GOOS CC=$CC CGO_CFLAGS=$CGO_CFLAGS CGO_LDFLAGS=$CGO_LDFLAGS go build -buildmode=c-archive -o $TARGET_GOLIB $SOURCE_GOLIB |
129 |
-+ CGO_ENABLED=1 GOOS=$GOOS CC=$CC CGO_CFLAGS=$CGO_CFLAGS CGO_LDFLAGS=$CGO_LDFLAGS go build -buildmode=c-archive -ldflags="-extar=$AR -extld=$LD -extldflags=$LDFLAGS" -o $TARGET_GOLIB $SOURCE_GOLIB |
130 |
- fi |
131 |
- if [ "$XBUILD" == "$WIN64" ] |
132 |
- then |
133 |
- echo "[+] Building Go library with mxe" |
134 |
- echo "[+] Using cc:" $CC |
135 |
-- CC=$CC CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -buildmode=c-archive -o $TARGET_GOLIB $SOURCE_GOLIB |
136 |
-+ CC=$CC CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -buildmode=c-archive -ldflags="-extar=$AR -extld=$LD -extldflags=$LDFLAGS" -o $TARGET_GOLIB $SOURCE_GOLIB |
137 |
- fi |
138 |
- } |
139 |
- |
140 |
-@@ -77,7 +77,7 @@ function buildQmake { |
141 |
- echo "[+] Now building Qml app with Qt qmake" |
142 |
- echo "[+] Using qmake in:" $QMAKE |
143 |
- mkdir -p $QTBUILD |
144 |
-- $QMAKE -o "$QTBUILD/Makefile" CONFIG+=release VENDOR_PATH=${VENDOR_PATH} $PROJECT |
145 |
-+ $QMAKE -early QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX -o "$QTBUILD/Makefile" CONFIG+=release VENDOR_PATH=${VENDOR_PATH} $PROJECT |
146 |
- #CONFIG=+force_debug_info CONFIG+=debug CONFIG+=debug_and_release |
147 |
- } |
148 |
- |
149 |
-@@ -115,7 +115,7 @@ function buildDefault { |
150 |
- buildQmake |
151 |
- |
152 |
- make -C $QTBUILD clean |
153 |
-- make -C $QTBUILD -j4 all |
154 |
-+ make -C $QTBUILD $MAKEFLAGS all |
155 |
- |
156 |
- renameOutput |
157 |
- echo "[+] Done." |
158 |
|
159 |
diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.21.6-r1.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.21.6-r1.ebuild |
160 |
deleted file mode 100644 |
161 |
index 1f5d98d6c03e..000000000000 |
162 |
--- a/net-vpn/riseup-vpn/riseup-vpn-0.21.6-r1.ebuild |
163 |
+++ /dev/null |
164 |
@@ -1,142 +0,0 @@ |
165 |
-# Copyright 1999-2021 Gentoo Authors |
166 |
-# Distributed under the terms of the GNU General Public License v2 |
167 |
- |
168 |
-EAPI=8 |
169 |
- |
170 |
-DOCS_BUILDER="sphinx" |
171 |
-DOCS_DIR="docs" |
172 |
-DOCS_DEPEND="dev-python/alabaster" |
173 |
- |
174 |
-PYTHON_COMPAT=( python3_{8..10} ) |
175 |
- |
176 |
-inherit desktop python-single-r1 docs go-module virtualx toolchain-funcs xdg |
177 |
- |
178 |
-EGO_SUM=( |
179 |
- "0xacab.org/leap/shapeshifter v0.0.0-20191029173606-85d3e8ac43e2" |
180 |
- "0xacab.org/leap/shapeshifter v0.0.0-20191029173606-85d3e8ac43e2/go.mod" |
181 |
- "github.com/OperatorFoundation/obfs4 v0.0.0-20161108041644-17f2cb99c264" |
182 |
- "github.com/OperatorFoundation/obfs4 v0.0.0-20161108041644-17f2cb99c264/go.mod" |
183 |
- "github.com/OperatorFoundation/shapeshifter-ipc v0.0.0-20170814234159-11746ba927e0" |
184 |
- "github.com/OperatorFoundation/shapeshifter-ipc v0.0.0-20170814234159-11746ba927e0/go.mod" |
185 |
- "github.com/OperatorFoundation/shapeshifter-transports v0.0.0-20191101030951-7a751b0500f4" |
186 |
- "github.com/OperatorFoundation/shapeshifter-transports v0.0.0-20191101030951-7a751b0500f4/go.mod" |
187 |
- "github.com/ProtonMail/go-autostart v0.0.0-20181114175602-c5272053443a" |
188 |
- "github.com/ProtonMail/go-autostart v0.0.0-20181114175602-c5272053443a/go.mod" |
189 |
- "github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412" |
190 |
- "github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod" |
191 |
- "github.com/apparentlymart/go-openvpn-mgmt v0.0.0-20161009010951-9a305aecd7f2" |
192 |
- "github.com/apparentlymart/go-openvpn-mgmt v0.0.0-20161009010951-9a305aecd7f2/go.mod" |
193 |
- "github.com/davecgh/go-spew v1.1.0" |
194 |
- "github.com/davecgh/go-spew v1.1.0/go.mod" |
195 |
- "github.com/dchest/siphash v1.2.1" |
196 |
- "github.com/dchest/siphash v1.2.1/go.mod" |
197 |
- "github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0" |
198 |
- "github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod" |
199 |
- "github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19" |
200 |
- "github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19/go.mod" |
201 |
- "github.com/pmezard/go-difflib v1.0.0" |
202 |
- "github.com/pmezard/go-difflib v1.0.0/go.mod" |
203 |
- "github.com/rakyll/statik v0.1.7" |
204 |
- "github.com/rakyll/statik v0.1.7/go.mod" |
205 |
- "github.com/sevlyar/go-daemon v0.1.5" |
206 |
- "github.com/sevlyar/go-daemon v0.1.5/go.mod" |
207 |
- "github.com/stretchr/objx v0.1.0/go.mod" |
208 |
- "github.com/stretchr/testify v1.3.0" |
209 |
- "github.com/stretchr/testify v1.3.0/go.mod" |
210 |
- "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" |
211 |
- "golang.org/x/crypto v0.0.0-20191105034135-c7e5f84aec59" |
212 |
- "golang.org/x/crypto v0.0.0-20191105034135-c7e5f84aec59/go.mod" |
213 |
- "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" |
214 |
- "golang.org/x/net v0.0.0-20200226121028-0de0cce0169b" |
215 |
- "golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod" |
216 |
- "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" |
217 |
- "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" |
218 |
- "golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4" |
219 |
- "golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod" |
220 |
- "golang.org/x/text v0.3.0/go.mod" |
221 |
-) |
222 |
-go-module_set_globals |
223 |
- |
224 |
-DESCRIPTION="Anonymous encrypted VPN client powered by Bitmask" |
225 |
-HOMEPAGE="https://riseup.net/en/vpn https://0xacab.org/leap/bitmask-vpn https://bitmask.net" |
226 |
-SRC_URI="https://0xacab.org/leap/bitmask-vpn/-/archive/${PV}/bitmask-vpn-${PV}.tar.gz -> ${P}.tar.gz |
227 |
- ${EGO_SUM_SRC_URI}" |
228 |
- |
229 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
230 |
-IUSE="test" |
231 |
-PROPERTIES="test_network" |
232 |
-RESTRICT="test" |
233 |
-# The tests require internet access to connect to Riseup Networks |
234 |
- |
235 |
-# Generated with dev-go/golicense |
236 |
-LICENSE="GPL-3 BSD-2 CC0-1.0 MIT BSD" |
237 |
-KEYWORDS="~amd64" |
238 |
-SLOT="0" |
239 |
- |
240 |
-BDEPEND=" |
241 |
- virtual/pkgconfig |
242 |
- dev-qt/linguist-tools |
243 |
- test? ( dev-qt/qttest:5 ) |
244 |
-" |
245 |
- |
246 |
-DEPEND="${PYTHON_DEPS} |
247 |
- dev-qt/qtdeclarative:5[widgets] |
248 |
- dev-qt/qtquickcontrols:5[widgets] |
249 |
- dev-qt/qtquickcontrols2:5[widgets] |
250 |
-" |
251 |
- |
252 |
-RDEPEND="${DEPEND} |
253 |
- net-vpn/openvpn |
254 |
- sys-auth/polkit |
255 |
-" |
256 |
- |
257 |
-# ip command is in bin instead of sbin on Gentoo |
258 |
-PATCHES=( |
259 |
- "${FILESDIR}/${PN}-ip-location.patch" |
260 |
- "${FILESDIR}/${PN}-respect-AR.patch" |
261 |
- "${FILESDIR}/${PN}-parallel-make.patch" |
262 |
-) |
263 |
- |
264 |
-S="${WORKDIR}/bitmask-vpn-${PV}" |
265 |
- |
266 |
-src_prepare() { |
267 |
- default |
268 |
- |
269 |
- # do not pre-strip |
270 |
- sed -i -e '/strip $RELEASE\/$TARGET/d' gui/build.sh || die |
271 |
- |
272 |
- # add autodoc to the extensions because this actually |
273 |
- # does require extra dependencies |
274 |
- sed -i -e "/^extensions = \[/a \ \ \ \ \'sphinx.ext.autodoc\'," docs/conf.py || die |
275 |
-} |
276 |
- |
277 |
-src_compile() { |
278 |
- # does not build with j>1 |
279 |
- tc-export AR LD CC CXX |
280 |
- emake build |
281 |
- docs_compile |
282 |
-} |
283 |
- |
284 |
-src_test() { |
285 |
- emake test |
286 |
- virtx emake test_ui |
287 |
-} |
288 |
- |
289 |
-src_install() { |
290 |
- einstalldocs |
291 |
- |
292 |
- dobin "build/qt/release/riseup-vpn" |
293 |
- |
294 |
- python_scriptinto /usr/sbin |
295 |
- python_doscript "helpers/bitmask-root" |
296 |
- |
297 |
- insinto /usr/share/polkit-1/actions |
298 |
- newins "helpers/se.leap.bitmask.policy" se.leap.bitmask.riseupvpn.policy |
299 |
- |
300 |
- newicon -s scalable "providers/riseup/assets/icon.svg" riseup.svg |
301 |
- make_desktop_entry "${PN}" RiseupVPN riseup Network |
302 |
-} |
303 |
- |
304 |
-pkg_postinst() { |
305 |
- xdg_pkg_postinst |
306 |
-} |