diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-03-11 19:52:31 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-03-11 21:01:03 -0500 |
commit | 81439d551b9d15a3f969f2f84ad0e9a2348029d9 (patch) | |
tree | 382fcdcf016895595e89ce6fb47b9cf228bda33a /net-vpn | |
parent | net-misc/networkmanager: Version bump to 1.42.4 (diff) | |
download | gentoo-81439d551b9d15a3f969f2f84ad0e9a2348029d9.tar.gz gentoo-81439d551b9d15a3f969f2f84ad0e9a2348029d9.tar.bz2 gentoo-81439d551b9d15a3f969f2f84ad0e9a2348029d9.zip |
net-vpn/networkmanager-pptp: Version bump to 1.2.12
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30063
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/networkmanager-pptp/Manifest | 1 | ||||
-rw-r--r-- | net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.12.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-pptp/Manifest b/net-vpn/networkmanager-pptp/Manifest index 063d99d30541..4edb6e05169f 100644 --- a/net-vpn/networkmanager-pptp/Manifest +++ b/net-vpn/networkmanager-pptp/Manifest @@ -1 +1,2 @@ DIST NetworkManager-pptp-1.2.10.tar.xz 400760 BLAKE2B 47fe1da3f173f91a7b4b0993e59feb20db10707c119e4270b51730b9e171431025d428f5dd76db66eee0df76f4509d2cd3b44d69af3c8b89a4d07e02ef028410 SHA512 712f6f79642d82b729eaf6a6d03ea62c0c09e0b151af01f02dfca1dfa142aadefd84ab16bb04424e85698ed69f1674520a50620dbf9e49f52e67822b476db9a3 +DIST NetworkManager-pptp-1.2.12.tar.xz 452116 BLAKE2B b2453c154ab6d9a027e2585b8439d99e12ea1e0066a59cab257e6c771c96448484e1922fafa6d6a5db0833660ee69cea9bfe632c53c59cb63e7b745669e0c79f SHA512 da6619ba637dd38dda6584c2bd0ed03763ceedcc573f5730517a2c1013a2e0a83d743c1ad332cd42fe658b6bcd601bd4c3bed2d54d5a64bebb16528d73a3f00b diff --git a/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.12.ebuild b/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.12.ebuild new file mode 100644 index 000000000000..415ed210e03b --- /dev/null +++ b/net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.12.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit gnome2 + +DESCRIPTION="NetworkManager PPTP VPN plugin" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager/VPN" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="gtk" + +RDEPEND=" + >=net-misc/networkmanager-1.2.0:= + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.34:2 + net-dialup/ppp:= + net-dialup/pptpclient + gtk? ( + >=x11-libs/gtk+-3.4:3 + + >=app-crypt/libsecret-0.18 + + >=gui-libs/gtk-4.0:4 + >=net-libs/libnma-1.8.36 + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/glib + dev-util/gdbus-codegen + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local myconf + # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 + local PPPD_VER=`best_version net-dialup/ppp` + PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision + myconf="${myconf} --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER}" + + gnome2_src_configure \ + --disable-more-warnings \ + --disable-static \ + --with-dist-version=Gentoo \ + $(use_with gtk gnome) \ + $(use_with gtk gtk4) \ + ${myconf} +} |