summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/mullvad-netns/Manifest1
-rw-r--r--net-vpn/mullvad-netns/mullvad-netns-0.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/net-vpn/mullvad-netns/Manifest b/net-vpn/mullvad-netns/Manifest
index 16498a9f93bc..9264f5aec42f 100644
--- a/net-vpn/mullvad-netns/Manifest
+++ b/net-vpn/mullvad-netns/Manifest
@@ -1 +1,2 @@
DIST mullvad-netns-0.2.tar.gz 12087 BLAKE2B 43f578a8a2d7f0317de9c2c0bc19f49a37ad7754dfcb50a5d698313fe6470ec6f2580d2e7629ac95dbeeddd6c1ac6d660b142c5c801830624c14e6c0e781dc6e SHA512 6f0942841fce19b35adb38b73ae7d692f22e551cf6bccd9c67acf6d248fe7d2684a6a20b9b6459429caf333e68c4d6e460632068b5eebd6a29654a46fb2ab64e
+DIST mullvad-netns-0.3.tar.gz 12164 BLAKE2B e980e28c4dd734e5dc429354a2ab0fe9b653679af1d75122bd83f807d67fe289bc77471b6d5decc068f540bb321de0882f0daa7cf500d4e7ef85547da0e1b547 SHA512 fedc7e7a0c6aeb10ed00a82652d08b31e80f6c4077a6dc50c18410a20bb7bee4f8c9d74f54add711cff1c037722546c24db697fdecaaeeae91125f57c30ad138
diff --git a/net-vpn/mullvad-netns/mullvad-netns-0.3.ebuild b/net-vpn/mullvad-netns/mullvad-netns-0.3.ebuild
new file mode 100644
index 000000000000..854abf1cf3ec
--- /dev/null
+++ b/net-vpn/mullvad-netns/mullvad-netns-0.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} =~ [9]{4,} ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/chutz/mullvad-netns.git"
+else
+ SRC_URI="https://github.com/chutz/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Script to run a command within a Mullvad network namespace"
+HOMEPAGE="https://github.com/chutz/mullvad-netns"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+RDEPEND="
+ app-misc/jq
+ app-shells/bash
+ net-misc/curl[ipv6,ssl]
+ net-vpn/wireguard-tools
+ sys-apps/baselayout
+ sys-apps/coreutils
+ sys-apps/grep
+ sys-apps/iproute2[ipv6]
+ sys-apps/util-linux
+"
+BDEPEND="
+ sys-apps/coreutils
+ sys-devel/make
+"