diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-12 12:57:52 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-03-12 12:57:52 +0100 |
commit | 0136332374d515f9e06bb16d37dfb912cec196b2 (patch) | |
tree | 89cb8a23c4208e3759f684afad45ddf4f9fab0b9 /net-vpn | |
parent | games-action/minecraft-launcher: version bump (diff) | |
download | guru-0136332374d515f9e06bb16d37dfb912cec196b2.tar.gz guru-0136332374d515f9e06bb16d37dfb912cec196b2.tar.bz2 guru-0136332374d515f9e06bb16d37dfb912cec196b2.zip |
net-vpn/riseup-vpn: add version 0.21.2
No keywords because of https://0xacab.org/leap/bitmask-vpn/-/issues/468
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/riseup-vpn/Manifest | 4 | ||||
-rw-r--r-- | net-vpn/riseup-vpn/riseup-vpn-0.21.2.ebuild | 144 |
2 files changed, 148 insertions, 0 deletions
diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest index 831b89c64..92b5679d0 100644 --- a/net-vpn/riseup-vpn/Manifest +++ b/net-vpn/riseup-vpn/Manifest @@ -89,6 +89,8 @@ DIST github.com%2Foxtoacart%2Fbpool%2F@v%2Fv0.0.0-20190530202638-03653db5a59c.mo DIST github.com%2Foxtoacart%2Fbpool%2F@v%2Fv0.0.0-20190530202638-03653db5a59c.zip 12961 BLAKE2B 5f1a08fc05ac92ad80ae8dab8669de8543dff5735a73a6839abae926ea28af0740e52091edbc6f4e4ff06759cfcb278de370d9372d5afc46b5bb76e6b67e0dc3 SHA512 f8392817d639effabad7f7b085066c1309b79e549c2a08c4d4e2c9dd29e9e5c42030983d7a1cf338a1e5aa2738c65a2e830933df48f584ea15c9c8ea071b7ac6 DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902 DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2 +DIST github.com%2Frakyll%2Fstatik%2F@v%2Fv0.1.7.mod 41 BLAKE2B b8168afe16d638d362a5f5792c851874a8c6bf55d9dd62680b84cc0efcd2272c8831d0a8ab407f3c8a60b6daef38417d381b0205a76f218082561cc800690942 SHA512 2b8d8c859733b4440c64c391fcaef7e7cd30d2cf911e48c09b435a509880aabd9cebabea55c2ed891b762ee49c0ffa2a52c3db5d7f57ccc66cd0db3907e10db0 +DIST github.com%2Frakyll%2Fstatik%2F@v%2Fv0.1.7.zip 180844 BLAKE2B a793c9a5752af756fcf5bb2ee2a6b0ec2a6a1ed79b8ff8c6b43278e9d3a2e14d45ba84e42a25e3b28d840a88b92aaa10209bf60f6ad65cbb77864d98ca78a8c8 SHA512 40f59864fe85cb7548d751f6bd3b7cb6053325476476fc76b206cd1d7324c5260eddf19a2a72d14223a063bfa04eab7ec041e287d3974bd32d8067eddf4be002 DIST github.com%2Fsevlyar%2Fgo-daemon%2F@v%2Fv0.1.5.mod 36 BLAKE2B bf24b6a9ff886b4536e7df9b8667f3663f74d2591eb4c716846224f52dcba57d54380d02b283a5e2c1fa8a3f5ad5bd09b7ee29180efae41a8db7d6eadfbdf1b1 SHA512 eeec8b9435f18e3329fe3373307bd8b6330f22747bd9349147d31b704435b0f5e5f62bf4cceedeefa598fa9cd16041d5d2b9bb0ada2e312db21b89e3264d173f DIST github.com%2Fsevlyar%2Fgo-daemon%2F@v%2Fv0.1.5.zip 71423 BLAKE2B f0f4a9ecb3c7702e5714fc412ab275fcf506124868b98e7cba5b993d3f2fafc0d2496397079030568e6377bdf3bbd5d7fc75d5cc0ab1a03a7eeed50815e2a928 SHA512 e331647c37bedf2d95cbd550f6b13669a677f30ec82872eca3d66f13a671ad25db3f7bd778ebdf76a0639a13aa400219479c116528027c5df8a3d30871e11050 DIST github.com%2Fskelterjohn%2Fgo.wde%2F@v%2Fv0.0.0-20180104102407-a0324cbf3ffe.mod 37 BLAKE2B 564d86a096d4950182fa057f29aa032a1d7c0855bb6513f99dc77c083718133ef018da16e0a6c15e336e6902fcd923d90ffcca771da2e654d3ebf421e6613f8e SHA512 010e2e683871d522b2022d6efdc2587bf61f5945046d232c5f7ad151ab4c7d298943c9592151e3bc2658ef4c4e50a0b2b172b25facdad87912f32d628c64b657 @@ -102,6 +104,7 @@ DIST github.com%2Fsqweek%2Fdialog%2F@v%2Fv0.0.0-20190728103509-6254ed5b0d3c.zip DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5 DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.2.0.mod 137 BLAKE2B 47195334e42f0997d96b50b8364764426301d31cc7fbc289b89b173b877d54cc67133b07d4a21e6ecdfa2e4404a9cff32f06b53cfa9493e075ee2ff2cc46e605 SHA512 02d0b2b1df84750ad3d15f4b86b3f7989a22007e27b28e7b3a4d34b26ec7ccbaa5d48ac0032ad692bf7db150e101cabdc050b0aa1697cfb20f922c88b9f086b8 DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.mod 154 BLAKE2B 60cd7801e7cd33746305cd636b048b25a86270ec3b29a21c3c078c7e95b769bce7e80c2c7c5474113786bd788c7f88f3719e34f02141038e0d161b36e32f39b9 SHA512 bb808fad059f5abd0171e4bdc724411eff2c7e8d303a4ffb3608a00e21bb3cfafe9e83b4b4e9bccd42c9a4331f67ddc6043e3dd5eaa9a122c86626eed43a8383 +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.zip 83537 BLAKE2B 6d6de57cc5e393aaef1cdc7e2140143eb7fa324bb2ea3b9f63bfe1e8652c02d24eb441fc3b435c6b287f165c5540a008a7c21ab4070d8bc77c77e6fb608f7e46 SHA512 c5cd06f825bbfdcf2ae58ea21edbeea03c110de3fc20fcf69db07aae26c9ae67a8ac57a9ffedec9b3b4f1f3b016089935049d75d92a9a03e45ce6345b4c9c611 DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.4.0.mod 179 BLAKE2B 3bb7cee3118f0d335ade107dfefc3a594dc3883564fe4c9e96d615e179d394a49a3d6cd6584ba9c684772bc3dc6479af6a168dd3841c03957252667384f6ba11 SHA512 243bf1f69c146252164ad72f853773dcc77f15d7c9e9b731bee26a95e7c8f4ce9ed9738db601b01edb82f4b3808873e1f153a6d4a0c97be0babbe65abc0f8d52 DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.4.0.zip 90474 BLAKE2B 2f79f0cac2c15acaeae764aeb640534f58ec2ae86fe88a82533498e718cf37d67c563606090ad39b38e22ffca1e63a25cd881d6a472b862ddaf150c7d329b16a SHA512 a047ba8d5f529d459fb6ae8dd39367e6f6cd2e785e90f54a5f8759ff76e4cfff990f1b8c1e0cf49c67b97ca8de36ecf8fdeb3b8f16e579aeae2d563d38da69db DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.1.27.mod 41 BLAKE2B 44917ea3a6fc533933ccd76d1594e19246c682d96311e030eeeeaeac3c126f6cd2c2de67ca410c89738918c5ab0594f1e9b2c2202c48f462c368ad31fb5feff6 SHA512 b7d81f5cbf1b55ebebcbb86ae89899ffec6fcd730144f1719947a76080f587d298d0e37a073a8768d7768ef64fc47b1673104335203a32a557f31e42a4e5a950 @@ -158,3 +161,4 @@ DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.mod 95 BLAKE2B adb3684980f1d8e6c23444e9102 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.zip 78275 BLAKE2B 139c8eb7c405dddbb67321eacd25c0af1e5b3f031831266abf6a8e5a5ed12f6381778868383c03433f8ef760d6b42ffbff40150f2fee91dedd0b312f9fe81c7f SHA512 3214b38f348921f6a6d9ef93d4337bb90abd0d101d69d16ad8e38415c22d3b9a85bda873df2eb7a271f9b973ef38b74731405e522e1bb8083c78932762cb5535 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.5.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 DIST riseup-vpn-0.20.4.tar.gz 5484968 BLAKE2B 7ebbd7c79ff2c0f58df3555056fe2b5c90bae08842c0340692704be1e535e72eea917dfa536709af052997c960a071442cf3cd792134441cfa54914d87156fb8 SHA512 846bb4ce7858abb02dd8cdfb2d2d2ab789d9a90bc8467f0c8ff2815929f9f40a24469bdd2f450aa2c76d78b96ccc3371f7bc2e9c49078e79e6493c8ceeca718e +DIST riseup-vpn-0.21.2.tar.gz 3706727 BLAKE2B df2847fa340ba6e00a77f780968cda7c62a7702df1bcbe7de448a69fabcad180d2804ac83075b1f0b5631522097d11b36a93b9255fbba07882b21a1f69a36806 SHA512 942f1fdadf5c6c863f3c489491d616d55967bda8f92d124ee6b86814c4a015b94d0bc5b1930d1ec1e8beb7aff43ed51077b9e8f5f41ce209c6b0122838636742 diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.21.2.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.21.2.ebuild new file mode 100644 index 000000000..39a538c8c --- /dev/null +++ b/net-vpn/riseup-vpn/riseup-vpn-0.21.2.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOCS_BUILDER="sphinx" +DOCS_DIR="docs" +DOCS_AUTODOC=0 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit desktop python-r1 docs go-module l10n xdg + +EGO_SUM=( + "0xacab.org/leap/shapeshifter v0.0.0-20191029173606-85d3e8ac43e2" + "0xacab.org/leap/shapeshifter v0.0.0-20191029173606-85d3e8ac43e2/go.mod" + "github.com/OperatorFoundation/obfs4 v0.0.0-20161108041644-17f2cb99c264" + "github.com/OperatorFoundation/obfs4 v0.0.0-20161108041644-17f2cb99c264/go.mod" + "github.com/OperatorFoundation/shapeshifter-ipc v0.0.0-20170814234159-11746ba927e0" + "github.com/OperatorFoundation/shapeshifter-ipc v0.0.0-20170814234159-11746ba927e0/go.mod" + "github.com/OperatorFoundation/shapeshifter-transports v0.0.0-20191101030951-7a751b0500f4" + "github.com/OperatorFoundation/shapeshifter-transports v0.0.0-20191101030951-7a751b0500f4/go.mod" + "github.com/ProtonMail/go-autostart v0.0.0-20181114175602-c5272053443a" + "github.com/ProtonMail/go-autostart v0.0.0-20181114175602-c5272053443a/go.mod" + "github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412" + "github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod" + "github.com/apparentlymart/go-openvpn-mgmt v0.0.0-20161009010951-9a305aecd7f2" + "github.com/apparentlymart/go-openvpn-mgmt v0.0.0-20161009010951-9a305aecd7f2/go.mod" + "github.com/davecgh/go-spew v1.1.0" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/dchest/siphash v1.2.1" + "github.com/dchest/siphash v1.2.1/go.mod" + "github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0" + "github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod" + "github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19" + "github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/rakyll/statik v0.1.7" + "github.com/rakyll/statik v0.1.7/go.mod" + "github.com/sevlyar/go-daemon v0.1.5" + "github.com/sevlyar/go-daemon v0.1.5/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/testify v1.3.0" + "github.com/stretchr/testify v1.3.0/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20191105034135-c7e5f84aec59" + "golang.org/x/crypto v0.0.0-20191105034135-c7e5f84aec59/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20200226121028-0de0cce0169b" + "golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4" + "golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod" + "golang.org/x/text v0.3.0" + "golang.org/x/text v0.3.0/go.mod" + ) +go-module_set_globals + +DESCRIPTION="Anonymous encrypted VPN client powered by Bitmask" +HOMEPAGE="https://bitmask.net https://0xacab.org/leap/bitmask-vpn https://riseup.net/en/vpn" +SRC_URI="https://0xacab.org/leap/bitmask-vpn/-/archive/${PV}/bitmask-vpn-${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +# Save a lot of Error 404's since this is not mirrored +# Tests require internet access to connect to Riseup Networks +IUSE="test" +RESTRICT="mirror test" + +# Generated with dev-go/golicense +LICENSE="GPL-3 BSD-2 CC0-1.0 MIT BSD" +KEYWORDS="" +SLOT="0" + +PLOCALES="ar bn br ca de el en-GB en-US en es-ES es eu fa-IR fr he hu it lt nl pl pt-BR pt-PT ro ru sk sv tr ug zh-TW zh" + +QA_PRESTRIPPED=" + /usr/bin/bitmask-vpn + /usr/bin/bitmask-helper + /usr/bin/bitmask-connect +" + +DEPEND=" + dev-go/go-text + dev-libs/libappindicator:3 + dev-util/debhelper + sys-apps/fakeroot + x11-libs/gtk+:3 + dev-qt/qtdeclarative[widgets] + dev-qt/qtquickcontrols2[widgets] + doc? ( $(python_gen_any_dep 'dev-python/alabaster[${PYTHON_USEDEP}]') ) +" + +BDEPEND=" + virtual/pkgconfig + test? ( dev-qt/qttest ) +" + +RDEPEND="${DEPEND} + net-vpn/openvpn + sys-auth/polkit +" + +# ip command is in bin instead of sbin on Gentoo +PATCHES=( "${FILESDIR}/${PN}-ip-location.patch" ) + +# Need gotext in path +PATH="/usr/lib/go/bin:${PATH}" + +S="${WORKDIR}/bitmask-vpn-${PV}" + +src_compile() { + emake build + docs_compile +} + +src_install() { + einstalldocs + + dobin "build/bin/linux/bitmask-connect" + dobin "build/bin/linux/bitmask-helper" + dobin "build/bin/linux/bitmask-vpn" + dosym "bitmask-vpn" "/usr/bin/riseup-vpn" + + python_scriptinto /usr/sbin + python_foreach_impl python_doscript "helpers/bitmask-root" + + insinto /usr/share/polkit-1/actions + doins "helpers/se.leap.bitmask.policy" + + newicon -s scalable "branding/assets/riseup/icon.svg" riseup.svg + make_desktop_entry "${PN}" RiseupVPN riseup Network +} + +src_test() { + emake test + emake test_ui +} + +pkg_postinst() { + xdg_pkg_postinst + go-module_pkg_postinst +} |