From 7689f940a0e6b2650fdbb0bb256c5cb6d73767f4 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Sun, 5 Apr 2020 19:44:23 -0700 Subject: net-vpn/mullvad-netns: New package Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Patrick McLean --- net-vpn/mullvad-netns/Manifest | 1 + net-vpn/mullvad-netns/metadata.xml | 8 ++++++ net-vpn/mullvad-netns/mullvad-netns-0.1.ebuild | 34 +++++++++++++++++++++++ net-vpn/mullvad-netns/mullvad-netns-9999.ebuild | 36 +++++++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 net-vpn/mullvad-netns/Manifest create mode 100644 net-vpn/mullvad-netns/metadata.xml create mode 100644 net-vpn/mullvad-netns/mullvad-netns-0.1.ebuild create mode 100644 net-vpn/mullvad-netns/mullvad-netns-9999.ebuild (limited to 'net-vpn/mullvad-netns') diff --git a/net-vpn/mullvad-netns/Manifest b/net-vpn/mullvad-netns/Manifest new file mode 100644 index 000000000000..4d209a650f33 --- /dev/null +++ b/net-vpn/mullvad-netns/Manifest @@ -0,0 +1 @@ +DIST mullvad-netns-0.1.tar.gz 12068 BLAKE2B 658f3e050b66028712bc611f42a6b193d482e5d9a9d398d703dbd2e0cdef6a7f94dd614198cf36548d3b1f4eb0f70bc1c9beb34c96e6b4e2e04520fb5544b618 SHA512 de923d3d97fd5689022fea821aa93ee74e3057e50842804da84c8ab6962722ed0000bac61bdbd3c188c6eeda8960345fa6609da5f55e90ee5a49f50bbc7c4838 diff --git a/net-vpn/mullvad-netns/metadata.xml b/net-vpn/mullvad-netns/metadata.xml new file mode 100644 index 000000000000..126b9ca42a25 --- /dev/null +++ b/net-vpn/mullvad-netns/metadata.xml @@ -0,0 +1,8 @@ + + + + + Patrick McLean + chutzpah@gentoo.org + + diff --git a/net-vpn/mullvad-netns/mullvad-netns-0.1.ebuild b/net-vpn/mullvad-netns/mullvad-netns-0.1.ebuild new file mode 100644 index 000000000000..cefae0c6bc6e --- /dev/null +++ b/net-vpn/mullvad-netns/mullvad-netns-0.1.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 +" diff --git a/net-vpn/mullvad-netns/mullvad-netns-9999.ebuild b/net-vpn/mullvad-netns/mullvad-netns-9999.ebuild new file mode 100644 index 000000000000..caf10671bae6 --- /dev/null +++ b/net-vpn/mullvad-netns/mullvad-netns-9999.ebuild @@ -0,0 +1,36 @@ +# 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="" + die +fi + +DESCRIPTION="Script to run a command within a Mullvad network namespace" +HOMEPAGE="https://github.com/chutz/mullvad-netns" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" +IUSE="" + +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 +" -- cgit v1.2.3-65-gdbad