summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-29 11:58:10 +0100
committerSam James <sam@gentoo.org>2023-06-29 11:58:10 +0100
commit09c97e4e902abe3b3094134d5f267e363ef4138a (patch)
treefe77c1efbe3c3a9d5d38ebdddf5ce70be42a4f09 /net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild
parentprofiles/base: mask net-libs/gnutls[sslv2,sslv3], dev-libs/openssl[sslv2,sslv3] (diff)
downloadgentoo-09c97e4e902abe3b3094134d5f267e363ef4138a.tar.gz
gentoo-09c97e4e902abe3b3094134d5f267e363ef4138a.tar.bz2
gentoo-09c97e4e902abe3b3094134d5f267e363ef4138a.zip
net-vpn/networkmanager-openvpn: backpot openvpn-2.6 fix
Closes: https://bugs.gentoo.org/909361 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild')
-rw-r--r--net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild
new file mode 100644
index 000000000000..d1c4cbfc07ea
--- /dev/null
+++ b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.10.2-r1.ebuild
@@ -0,0 +1,58 @@
+# 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 OpenVPN plugin"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/NetworkManager-openvpn"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-libs/glib-2.34:2
+ >=net-misc/networkmanager-1.7.0
+ >=net-vpn/openvpn-2.1
+ gtk? (
+ >=app-crypt/libsecret-0.18
+
+ >=net-libs/libnma-1.8.0
+ >=x11-libs/gtk+-3.4:3
+
+ >=gui-libs/gtk-4.0:4
+ >=net-libs/libnma-1.8.36
+ )
+"
+
+RDEPEND="
+ ${DEPEND}
+ acct-group/nm-openvpn
+ acct-user/nm-openvpn
+"
+
+BDEPEND="
+ >=sys-devel/gettext-0.19
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-openvpn-2.6-compat.patch
+)
+
+src_configure() {
+ # --localstatedir=/var needed per bug #536248
+ gnome2_src_configure \
+ --localstatedir=/var \
+ --disable-more-warnings \
+ --disable-static \
+ --with-dist-version=Gentoo \
+ $(use_with gtk gnome) \
+ $(use_with gtk gtk4)
+}