summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-04-16 18:44:05 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-04-16 18:44:05 -0700
commit7ba5cb43ec56eeff37204a88944866279180e3f7 (patch)
treeefb8db77c7fe1b4df91fac6525bc22f60f720456 /net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild
parentdev-tex/xmltex: Unpack with /bin/gzip explicitly (diff)
downloadgentoo-7ba5cb43ec56eeff37204a88944866279180e3f7.tar.gz
gentoo-7ba5cb43ec56eeff37204a88944866279180e3f7.tar.bz2
gentoo-7ba5cb43ec56eeff37204a88944866279180e3f7.zip
net-vpn/mullvad-netns-0.2: Version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild')
-rw-r--r--net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild b/net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild
new file mode 100644
index 000000000000..cefae0c6bc6e
--- /dev/null
+++ b/net-vpn/mullvad-netns/mullvad-netns-0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020 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
+"