diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2019-09-18 20:15:00 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-09-20 18:35:47 +0300 |
commit | de6194d84611009280dddfff7671107bfcf4859e (patch) | |
tree | 176f853a4beac1ea7fdc6ffd02bead63f3a5c95e /net-vpn | |
parent | net-misc/networkmanager-wireguard: bump 9999 to EAPI=7 (diff) | |
download | gentoo-de6194d84611009280dddfff7671107bfcf4859e.tar.gz gentoo-de6194d84611009280dddfff7671107bfcf4859e.tar.bz2 gentoo-de6194d84611009280dddfff7671107bfcf4859e.zip |
net-misc/networkmanager-wireguard: pkgmove to net-vpn
Closes: https://bugs.gentoo.org/687500
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12767
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-vpn')
4 files changed, 137 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-wireguard/Manifest b/net-vpn/networkmanager-wireguard/Manifest new file mode 100644 index 000000000000..2f57e78aba4c --- /dev/null +++ b/net-vpn/networkmanager-wireguard/Manifest @@ -0,0 +1 @@ +DIST networkmanager-wireguard-0_pre20181128.tar.gz 233338 BLAKE2B 46695c640cb6599efef2e90bacf1ec924303689bdc45cf5cbf5c1bc807ea7ee708015592881b23e38dcf51a5c32b04aefd994aec09010ab9790522b8aee4f371 SHA512 4a2b97c88f20c8eb6bfe495204eb0d751a85120a3043b90f3475913ec1242905c49cba7c179974cf360137ee3828a0d1794b09998fe5e90bdf47b718b059f8d1 diff --git a/net-vpn/networkmanager-wireguard/metadata.xml b/net-vpn/networkmanager-wireguard/metadata.xml new file mode 100644 index 000000000000..b75e9c8ab9fe --- /dev/null +++ b/net-vpn/networkmanager-wireguard/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + This project is a VPN Plugin for NetworkManager that handles client-side WireGuard connections. + It is based on the OpenVPN Plugin and was started as a Bachelor's Thesis at SBA Research. + </longdescription> + <use> + <flag name="glib">Enable libnm-glib compatibility.</flag> + </use> +</pkgmetadata> diff --git a/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20181128.ebuild b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20181128.ebuild new file mode 100644 index 000000000000..0769e9ac9da7 --- /dev/null +++ b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20181128.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +EGIT_COMMIT="61646ade26750c52626a44b025cb1b165681c662" +MY_PN="${PN/network/network-}" + +DESCRIPTION="NetworkManager WireGuard plugin" +HOMEPAGE="https://github.com/max-moser/network-manager-wireguard" +SRC_URI="https://github.com/max-moser/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+glib +gtk +nls" + +RDEPEND=" + net-misc/networkmanager + net-vpn/wireguard + glib? ( dev-libs/glib ) + gtk? ( + app-crypt/libsecret + gnome-extra/nm-applet + x11-libs/gtk+:3 + ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + ) +" + +S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-lto + --disable-more-warnings + --disable-static + $(use_with glib libnm-glib) + $(use_with gtk gnome) + $(use_enable nls) + --with-dist-version="Gentoo" + ) + + econf "${myeconfargs[@]}" +} diff --git a/net-vpn/networkmanager-wireguard/networkmanager-wireguard-9999.ebuild b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-9999.ebuild new file mode 100644 index 000000000000..a89b8e99793a --- /dev/null +++ b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools git-r3 + +DESCRIPTION="NetworkManager WireGuard plugin" +HOMEPAGE="https://github.com/max-moser/network-manager-wireguard" +SRC_URI="" +EGIT_REPO_URI="https://github.com/max-moser/network-manager-wireguard" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+glib +gtk +nls" + +RDEPEND=" + net-misc/networkmanager + net-vpn/wireguard + glib? ( dev-libs/glib ) + gtk? ( + app-crypt/libsecret + gnome-extra/nm-applet + x11-libs/gtk+:3 + ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + ) +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-lto + --disable-more-warnings + --disable-static + $(use_with glib libnm-glib) + $(use_with gtk gnome) + $(use_enable nls) + --with-dist-version="Gentoo" + ) + + econf "${myeconfargs[@]}" +} |