public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/networkmanager-openvpn/
Date: Sun, 19 Apr 2020 19:55:07 +0000 (UTC)	[thread overview]
Message-ID: <1587325969.8ed469a3fefb9d2e64a5cd81104d1ae0e614fa6d.leio@gentoo> (raw)

commit:     8ed469a3fefb9d2e64a5cd81104d1ae0e614fa6d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 19:52:39 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 19:52:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed469a3

net-vpn/networkmanager-openvpn: disable legacy libnm-glib compat

Disable libnm-glib, libnm-glib-vpn and libnm-util usage, as they are
all gone with newer NetworkManager.
This also disables libnm-gtk usage, which requires libnm-glib in turn
as well, and is also gone with newer nm-applet.
Depend on new libnma package instead of nm-applet, as this is what
is needed here.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 .../networkmanager-openvpn-1.8.10-r2.ebuild        | 58 ++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.10-r2.ebuild b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.10-r2.ebuild
new file mode 100644
index 00000000000..513bba285b9
--- /dev/null
+++ b/net-vpn/networkmanager-openvpn/networkmanager-openvpn-1.8.10-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+inherit gnome2 user
+
+DESCRIPTION="NetworkManager OpenVPN plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-libs/glib-2.32:2
+	>=net-misc/networkmanager-1.7.0:=
+	>=net-vpn/openvpn-2.1
+	gtk? (
+		>=app-crypt/libsecret-0.18
+		>=net-libs/libnma-1.7.0
+		>=x11-libs/gtk+-3.4:3
+	)
+"
+DEPEND="${RDEPEND}
+	dev-libs/libxml2:2
+	sys-devel/gettext
+	>=dev-util/intltool-0.35
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	enewgroup nm-openvpn
+	enewuser nm-openvpn -1 -1 -1 nm-openvpn
+}
+
+src_prepare() {
+	# Test will fail if the machine doesn't have a particular locale installed
+	# FAIL: (tls-import-data) unexpected 'ca' secret value, upstream bug #742708
+	sed '/test_non_utf8_import (plugin, test_dir)/ d' \
+		-i properties/tests/test-import-export.c || die "sed failed"
+
+	gnome2_src_prepare
+}
+
+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) \
+		--without-libnm-glib
+}


             reply	other threads:[~2020-04-19 19:55 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 19:55 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-08 20:33 [gentoo-commits] repo/gentoo:master commit in: net-vpn/networkmanager-openvpn/ Sam James
2025-07-08 20:28 Sam James
2024-09-23  8:18 Arthur Zamarin
2024-09-23  6:02 Arthur Zamarin
2024-07-17  8:56 Pacho Ramos
2023-08-16 22:32 Matt Turner
2023-06-29 18:22 Jakov Smolić
2023-06-29 18:22 Jakov Smolić
2023-01-03 14:08 Matt Turner
2022-12-16 20:37 Arthur Zamarin
2022-12-04  2:41 Matt Turner
2022-11-23 17:52 Jakov Smolić
2022-11-16 16:56 Matt Turner
2022-11-07  7:26 Sam James
2022-09-01  1:20 Matt Turner
2022-05-31 18:24 Matt Turner
2022-05-28  1:27 Sam James
2022-05-28  1:20 Sam James
2022-04-08 21:21 Matt Turner
2022-03-18 19:24 Matt Turner
2022-01-24  3:39 Sam James
2022-01-20 10:02 Jakov Smolić
2021-11-11 13:52 Pacho Ramos
2021-11-06  4:09 Sam James
2021-10-04  1:25 Sam James
2021-08-05 19:47 Matt Turner
2021-07-20 20:22 Conrad Kostecki
2021-07-20 20:22 Conrad Kostecki
2020-07-04 15:07 Mart Raudsepp
2020-06-29 15:42 Mikle Kolyada
2020-06-28 14:19 Thomas Deutschmann
2020-06-07 20:28 Mart Raudsepp
2020-04-26 14:57 Mart Raudsepp
2020-04-26 14:16 Agostino Sarubbo
2020-04-22 14:16 Mikle Kolyada
2020-04-19 19:55 Mart Raudsepp
2020-03-13  8:40 Joonas Niilola
2019-07-28 17:41 Mart Raudsepp
2019-04-24 21:33 Thomas Deutschmann
2019-04-23 19:23 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587325969.8ed469a3fefb9d2e64a5cd81104d1ae0e614fa6d.leio@gentoo \
    --to=leio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox