diff options
Diffstat (limited to 'net-vpn/networkmanager-pptp')
-rw-r--r-- | net-vpn/networkmanager-pptp/Manifest | 2 | ||||
-rw-r--r-- | net-vpn/networkmanager-pptp/networkmanager-pptp-1.2.12.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-pptp/Manifest b/net-vpn/networkmanager-pptp/Manifest index 3a14683d55df..59093eb1633b 100644 --- a/net-vpn/networkmanager-pptp/Manifest +++ b/net-vpn/networkmanager-pptp/Manifest @@ -1,3 +1,5 @@ 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 EBUILD networkmanager-pptp-1.2.10.ebuild 1330 BLAKE2B f38770f7a40310fb4531e8d2d0b0782ad68454c6a96eb4202c2569af5ab9bc919437a87f4c40b0fd2e3bc5e3ef1064fd28610787e6b34b05e7103f4d928240d1 SHA512 5ae4c1f22a2a9340751dfafc32249ced96b6c3f305fe59e8a2ff534348c27bb13f465f9bb296d684f865f47b96c9f9a7219057bcb7eda33fe409f562bf23f54d +EBUILD networkmanager-pptp-1.2.12.ebuild 1248 BLAKE2B 6b5452a55600a659e1aa9f5d724f476e2a1d8739611473d9d8a5a7b3585091fb6a15233d1811b326e879ab764be57bca2514ef2e97eb233066951b85ead0acc1 SHA512 d58e3d96bb7c91cf0dbeb5553379974b1a16653fe2da7b148a68bdec5eaa6a27484177e3c2bb7f613fe80a18054e4ce6892a9eabfc10bd32aecbf726298622c9 MISC metadata.xml 360 BLAKE2B 3903a7b5c9b8ee7ab04bebf86f713d729169a82d0712f5abf556470cce718df9df7a282902660bce68582321b4c2eb215d4028d88c3625ae014e16a9d4e73363 SHA512 493ecbe619912440f551f3d3835727721157a371cb246fa5bf4a770950425cc86568addf6603aa6aed9e0ac899507834d2452b2edd4ae81b16d00deaedc125ec 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} +} |