diff options
-rw-r--r-- | metadata/md5-cache/net-libs/libnm-glib-1.18.10 | 16 | ||||
-rw-r--r-- | metadata/md5-cache/net-libs/libnm-glib-1.18.8-r1 | 15 | ||||
-rw-r--r-- | metadata/pkg_desc_index | 2 | ||||
-rw-r--r-- | net-libs/libnm-glib/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnm-glib/files/1.18.4-iwd1-compat.patch | 81 | ||||
-rw-r--r-- | net-libs/libnm-glib/files/libnm-glib-data-fix-the-ID_NET_DRIVER-udev-rule.patch | 33 | ||||
-rw-r--r-- | net-libs/libnm-glib/libnm-glib-1.18.10.ebuild | 111 | ||||
-rw-r--r-- | net-libs/libnm-glib/libnm-glib-1.18.8-r1.ebuild | 225 |
8 files changed, 129 insertions, 356 deletions
diff --git a/metadata/md5-cache/net-libs/libnm-glib-1.18.10 b/metadata/md5-cache/net-libs/libnm-glib-1.18.10 new file mode 100644 index 00000000..4af564d6 --- /dev/null +++ b/metadata/md5-cache/net-libs/libnm-glib-1.18.10 @@ -0,0 +1,16 @@ +BDEPEND=>=dev-util/intltool-0.40 virtual/pkgconfig app-arch/xz-utils >=dev-util/meson-0.56.0 >=dev-util/ninja-1.8.2 dev-util/meson-format-array +DEFINED_PHASES=compile configure install test +DEPEND=>=sys-apps/dbus-1.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/dbus-glib-0.100[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/glib-2.40:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] net-libs/libndp[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=virtual/libudev-175:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] nss? ( >=dev-libs/nss-3.11:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !nss? ( gnutls? ( dev-libs/libgcrypt:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=net-libs/gnutls-2.12:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) +DESCRIPTION=Legacy NetworkManager glib and util libraries +EAPI=7 +HOMEPAGE=https://wiki.gnome.org/Projects/NetworkManager +IUSE=gnutls +nss abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64 +KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 +LICENSE=GPL-2+ +RDEPEND=>=sys-apps/dbus-1.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/dbus-glib-0.100[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/glib-2.40:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] net-libs/libndp[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=virtual/libudev-175:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] nss? ( >=dev-libs/nss-3.11:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !nss? ( gnutls? ( dev-libs/libgcrypt:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=net-libs/gnutls-2.12:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) !<net-misc/networkmanager-1.19 +REQUIRED_USE=|| ( nss gnutls ) +RESTRICT=test +SLOT=0 +SRC_URI=mirror://gnome/sources/NetworkManager/1.18/NetworkManager-1.18.10.tar.xz +_eclasses_=eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 gnome.org b5c48cddff1da36a205d924d722b28c9 meson 5bc3f1b890f90cc00cf1d1dddc10233e multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 97566c1a256d07b00848aa767e38a352 multilib-build effd4508d5e8209273d82d8f67ee93a0 multilib-minimal 7187f259f207bf5b69e4ff01498a7269 multiprocessing 61c959fc55c15c00bbb1079d6a71370b ninja-utils a4dab848a4490e8e48cf0baab3e61bc2 python-utils-r1 08d890890f70fe0096093016e55438d5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa +_md5_=89d83e580a25c2650b678e563ee25820 diff --git a/metadata/md5-cache/net-libs/libnm-glib-1.18.8-r1 b/metadata/md5-cache/net-libs/libnm-glib-1.18.8-r1 deleted file mode 100644 index 62a58749..00000000 --- a/metadata/md5-cache/net-libs/libnm-glib-1.18.8-r1 +++ /dev/null @@ -1,15 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test -DEPEND=>=sys-apps/dbus-1.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/dbus-glib-0.100[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/glib-2.40:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] net-libs/libndp[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=virtual/libudev-175:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] elogind? ( >=sys-auth/elogind-219 ) introspection? ( >=dev-libs/gobject-introspection-0.10.3:= ) nss? ( >=dev-libs/nss-3.11:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !nss? ( gnutls? ( dev-libs/libgcrypt:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=net-libs/gnutls-2.12:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) systemd? ( >=sys-apps/systemd-209:0= ) >=dev-util/intltool-0.40 virtual/pkgconfig introspection? ( || ( ( dev-lang/python:3.10 dev-python/pygobject:3[python_targets_python3_10(-)] ) ( dev-lang/python:3.9 dev-python/pygobject:3[python_targets_python3_9(-)] ) ( dev-lang/python:3.8 dev-python/pygobject:3[python_targets_python3_8(-)] ) ) dev-lang/perl dev-libs/libxslt ) vala? ( || ( dev-lang/vala:0.52[vapigen(+)] dev-lang/vala:0.50[vapigen(+)] dev-lang/vala:0.48[vapigen(+)] dev-lang/vala:0.46[vapigen(+)] dev-lang/vala:0.44[vapigen(+)] ) ) >=app-portage/elt-patches-20170815 app-arch/xz-utils dev-util/desktop-file-utils x11-misc/shared-mime-info >=dev-util/meson-0.56.0 >=dev-util/ninja-1.8.2 dev-util/meson-format-array virtual/pkgconfig -DESCRIPTION=NetworkManager client library (legacy) -EAPI=6 -HOMEPAGE=https://wiki.gnome.org/Projects/NetworkManager -IUSE=elogind gnutls +introspection +minimal +nss systemd vala abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64 -KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 -LICENSE=GPL-2+ -RDEPEND=>=sys-apps/dbus-1.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/dbus-glib-0.100[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/glib-2.40:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] net-libs/libndp[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-apps/util-linux[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=virtual/libudev-175:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] elogind? ( >=sys-auth/elogind-219 ) introspection? ( >=dev-libs/gobject-introspection-0.10.3:= ) nss? ( >=dev-libs/nss-3.11:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !nss? ( gnutls? ( dev-libs/libgcrypt:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=net-libs/gnutls-2.12:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) systemd? ( >=sys-apps/systemd-209:0= ) !<=net-misc/networkmanager-1.18.6 -REQUIRED_USE=vala? ( introspection ) || ( nss gnutls ) ?? ( systemd elogind ) minimal? ( !vala ) -RESTRICT=test -SLOT=0 -SRC_URI=mirror://gnome/sources/NetworkManager/1.18/NetworkManager-1.18.8.tar.xz -_eclasses_=desktop c0d27bf73aa08ca05b663dbd31fbef28 eapi7-ver 1a0a60ad07c8b32d2faba2d085dc0f24 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 edos2unix 33e347e171066657f91f8b0c72ec8773 epatch 9f813bb3c47cf2e60619a663b87c5f4e estack 055c42df72f76a4f45ec92b35e83cd56 eutils dab5d8ec471d025b79c9e6906bcf3bff gnome.org b5c48cddff1da36a205d924d722b28c9 gnome2 c156bb2ac81c822dd861424ce19bc168 gnome2-utils c8e3fff820d850c0e003e22208d2eea3 libtool 241a8f577b9781a42a7421e53448a44e ltprune 4f3f2db5ce3ccbeeacdf3f94954043aa meson 5bc3f1b890f90cc00cf1d1dddc10233e multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 97566c1a256d07b00848aa767e38a352 multilib-build effd4508d5e8209273d82d8f67ee93a0 multilib-minimal 7187f259f207bf5b69e4ff01498a7269 multiprocessing 61c959fc55c15c00bbb1079d6a71370b ninja-utils a4dab848a4490e8e48cf0baab3e61bc2 preserve-libs dbc9f8d2d49c66467bc327fddd8317bd python-any-r1 901d9e22c7a848a1196502edf060f330 python-utils-r1 08d890890f70fe0096093016e55438d5 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa udev 0a92682c0f65a60d01453db598fc6490 vala 5ef05fa2f1612e51f4aea8c92b09e08d vcs-clean b690a7e9b6c497cf59326a7545df4283 versionator d3fb3ba33acc3bbbdc4d7970227c100d wrapper 4251d4c84c25f59094fd557e0063a974 xdg e73b9df80596ab8f9c542c01196dec23 xdg-utils 27f9a2f19502b925ac117bd657aa2979 -_md5_=d9ce05cf64f01116874f3c6001c63203 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 312e6de5..6145c94e 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -33,7 +33,7 @@ media-video/nvidia_video_sdk 6.0.1-r10: NVIDIA Video Codec SDK net-fs/samba 4.14.4-r10: Samba Suite Version 4 net-fs/sambacfg 1337-r1: Redcore Linux Samba configuration files net-im/discord 0.0.13: All-in-one voice and text chat for gamers -net-libs/libnm-glib 1.18.8-r1: NetworkManager client library (legacy) +net-libs/libnm-glib 1.18.10: Legacy NetworkManager glib and util libraries net-libs/webkit-gtk 2.30.3-r100: Open source web browser engine net-print/cnijfilter 4.10-r2: Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series) net-wireless/broadcom-sta 6.30.223.271-r2: Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver diff --git a/net-libs/libnm-glib/Manifest b/net-libs/libnm-glib/Manifest index 1e342708..e9c2ad9c 100644 --- a/net-libs/libnm-glib/Manifest +++ b/net-libs/libnm-glib/Manifest @@ -1 +1 @@ -DIST NetworkManager-1.18.8.tar.xz 4887300 BLAKE2B 50c9b334ca44be7271a9d1d77e88c0be4a3073bc498d5b106c9be7e886172e2e8ff03acce5fcbc0656a5e73ced186ae0726622ab65b25539a6dff05260d675da SHA512 dcf4766cbc8a07b5c9fb358bc46dd5194e9d1ea97737fe3214bd9161c441ade0eca4bb7cbd61037611a475579b24c243c206a94b21b37a5afc18136968bc5e21 +DIST NetworkManager-1.18.10.tar.xz 4888372 BLAKE2B f2f5655de1add7d374341d0a47145f57dcf4f3fcfc0ff1d16d23edcfc8ed4b9e697fb5bb1556cd8949230ed6f39b43cb9e191bbd558c9d7a3f5a997e586cc50a SHA512 00f28f3a783b0ce957869302eb0574a35f149bab2176849b154eec30ccc35e93f905d00b1e8f33ce34d7cfccd97ef72ac77c374c10e9ce7ea5acf295a53461c5 diff --git a/net-libs/libnm-glib/files/1.18.4-iwd1-compat.patch b/net-libs/libnm-glib/files/1.18.4-iwd1-compat.patch deleted file mode 100644 index 12c8b873..00000000 --- a/net-libs/libnm-glib/files/1.18.4-iwd1-compat.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 59923ad85d1a1cf2216a4f14649702d24d3f2360 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel <lkundrak@v3.sk> -Date: Sat, 2 Nov 2019 06:55:54 +0100 -Subject: [PATCH 1/2] iwd: add some missing error handling - -g_dbus_object_manager_get_interface() can happily return NULL and we -need to check for that. ---- - src/devices/wifi/nm-iwd-manager.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/src/devices/wifi/nm-iwd-manager.c b/src/devices/wifi/nm-iwd-manager.c -index dd1cad480..e83f8063c 100644 ---- a/src/devices/wifi/nm-iwd-manager.c -+++ b/src/devices/wifi/nm-iwd-manager.c -@@ -136,6 +136,11 @@ agent_dbus_method_cb (GDBusConnection *connection, - network = g_dbus_object_manager_get_interface (priv->object_manager, - network_path, - NM_IWD_NETWORK_INTERFACE); -+ if (!network) { -+ _LOGE ("unable to find the network object"); -+ return; -+ } -+ - - device_path = get_property_string_or_null (G_DBUS_PROXY (network), "Device"); - if (!device_path) { -@@ -260,6 +265,11 @@ register_agent (NMIwdManager *self) - "/", - NM_IWD_AGENT_MANAGER_INTERFACE); - -+ if (!agent_manager) { -+ _LOGE ("unable to register the IWD Agent: PSK/8021x Wi-Fi networks may not work"); -+ return; -+ } -+ - /* Register our agent */ - g_dbus_proxy_call (G_DBUS_PROXY (agent_manager), - "RegisterAgent", --- -2.20.1 - - -From 186d22a9634e2bf94658ed6f1cf2b332ecb3a32c Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel <lkundrak@v3.sk> -Date: Sat, 2 Nov 2019 07:01:28 +0100 -Subject: [PATCH 2/2] iwd: unbreak iwd-1.0 - -The upstream apparently thought it's a great idea to change the agent -manager path. This fixes things for those unfortunate enough to run -IWD. ---- - src/devices/wifi/nm-iwd-manager.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/src/devices/wifi/nm-iwd-manager.c b/src/devices/wifi/nm-iwd-manager.c -index e83f8063c..470cb1c90 100644 ---- a/src/devices/wifi/nm-iwd-manager.c -+++ b/src/devices/wifi/nm-iwd-manager.c -@@ -262,9 +262,17 @@ register_agent (NMIwdManager *self) - GDBusInterface *agent_manager; - - agent_manager = g_dbus_object_manager_get_interface (priv->object_manager, -- "/", -+ "/net/connman/iwd", - NM_IWD_AGENT_MANAGER_INTERFACE); - -+ if (!agent_manager) { -+ /* IWD prior to 1.0 dated 30 October, 2019 has the agent manager on a -+ * different path. */ -+ agent_manager = g_dbus_object_manager_get_interface (priv->object_manager, -+ "/", -+ NM_IWD_AGENT_MANAGER_INTERFACE); -+ } -+ - if (!agent_manager) { - _LOGE ("unable to register the IWD Agent: PSK/8021x Wi-Fi networks may not work"); - return; --- -2.20.1 - diff --git a/net-libs/libnm-glib/files/libnm-glib-data-fix-the-ID_NET_DRIVER-udev-rule.patch b/net-libs/libnm-glib/files/libnm-glib-data-fix-the-ID_NET_DRIVER-udev-rule.patch deleted file mode 100644 index 1b94ab47..00000000 --- a/net-libs/libnm-glib/files/libnm-glib-data-fix-the-ID_NET_DRIVER-udev-rule.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 27d380b70ea839c7badab420361e4e65e023e8e9 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel <lkundrak@v3.sk> -Date: Fri, 16 Aug 2019 13:22:09 +0200 -Subject: [PATCH] data: fix the ID_NET_DRIVER udev rule - -Systemd v243 is complaining about the wrong substitution there. That is -sort of harmless, because systemd-udevd in that version doesn't need the -rule anyway. But still fix it, to avoid a warning. - -Also, newer udevd's $PATH doesn't include sbin. That is also okay, -because we don't need the rule to actually work there. But fix it -anyway. - -https://bugzilla.redhat.com/show_bug.cgi?id=1740655 ---- - data/84-nm-drivers.rules | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/data/84-nm-drivers.rules b/data/84-nm-drivers.rules -index d246ef6ce..e398cb9f2 100644 ---- a/data/84-nm-drivers.rules -+++ b/data/84-nm-drivers.rules -@@ -7,6 +7,6 @@ ACTION!="add|change", GOTO="nm_drivers_end" - # Determine ID_NET_DRIVER if there's no ID_NET_DRIVER or DRIVERS (old udev?) - ENV{ID_NET_DRIVER}=="?*", GOTO="nm_drivers_end" - DRIVERS=="?*", GOTO="nm_drivers_end" --PROGRAM="/bin/sh -c 'ethtool -i $1 | sed -n s/^driver:\ //p' -- $env{INTERFACE}", RESULT=="?*", ENV{ID_NET_DRIVER}="%c" -+PROGRAM="/bin/sh -c '/usr/sbin/ethtool -i $$1 |/usr/bin/sed -n s/^driver:\ //p' -- $env{INTERFACE}", ENV{ID_NET_DRIVER}="%c" - - LABEL="nm_drivers_end" --- -2.21.0 - diff --git a/net-libs/libnm-glib/libnm-glib-1.18.10.ebuild b/net-libs/libnm-glib/libnm-glib-1.18.10.ebuild new file mode 100644 index 00000000..bd7a7ad3 --- /dev/null +++ b/net-libs/libnm-glib/libnm-glib-1.18.10.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GNOME_ORG_MODULE="NetworkManager" + +inherit gnome.org meson multilib-minimal + +DESCRIPTION="Legacy NetworkManager glib and util libraries" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gnutls +nss" +REQUIRED_USE="|| ( nss gnutls )" +RESTRICT="test" + +DEPEND=" + >=sys-apps/dbus-1.2[${MULTILIB_USEDEP}] + >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] + net-libs/libndp[${MULTILIB_USEDEP}] + sys-apps/util-linux[${MULTILIB_USEDEP}] + >=virtual/libudev-175:=[${MULTILIB_USEDEP}] + nss? ( >=dev-libs/nss-3.11:=[${MULTILIB_USEDEP}] ) + !nss? ( gnutls? ( + dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] + >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) ) +" + +RDEPEND=" + ${DEPEND} + !<net-misc/networkmanager-1.19 +" + +BDEPEND=" + >=dev-util/intltool-0.40 + virtual/pkgconfig +" + +multilib_src_configure() { + local emesonargs=( + -Dsystemdsystemunitdir=no + -Dudev_dir=no + -Ddbus_conf_dir="/etc/dbus-1/system.d" + + -Dsession_tracking_consolekit=false + -Dsession_tracking=no + -Dsuspend_resume=upower + -Dpolkit=false + -Dpolkit_agent=false + -Dselinux=false + -Dsystemd_journal=false + -Dlibaudit=no + + -Dwext=false + -Dwifi=false + -Diwd=false + -Dppp=false + -Dmodem_manager=false + -Dofono=false + -Dconcheck=false + -Dteamdctl=false + -Dovs=false + -Dlibnm_glib=true + -Dnmcli=false + -Dnmtui=false + -Dbluez5_dun=false + -Debpf=true + + -Dresolvconf=no + -Dnetconfig=no + + -Ddhclient=no + -Ddhcpcanon=no + -Ddhcpcd=no + + -Dintrospection=false + -Dvapi=false + -Dtests=no + -Dmore_asserts=no + -Dmore_logging=false + -Dvalgrind=no + -Dlibpsl=false + -Djson_validation=false + -Dcrypto=$(usex nss nss gnutls) + -Dqt=false + ) + + meson_src_configure +} + +multilib_src_compile() { + local targets=( + libnm-util/libnm-util.so.2.7.0 + libnm-glib/libnm-glib.so.4.9.0 + libnm-glib/libnm-glib-vpn.so.1.2.0 + ) + + meson_src_compile "${targets[@]}" +} + +multilib_src_install() { + dolib.so libnm-{glib,util}/libnm-*.so*[0-9] +} + +multilib_src_install_all() { + : +} diff --git a/net-libs/libnm-glib/libnm-glib-1.18.8-r1.ebuild b/net-libs/libnm-glib/libnm-glib-1.18.8-r1.ebuild deleted file mode 100644 index 35611e91..00000000 --- a/net-libs/libnm-glib/libnm-glib-1.18.8-r1.ebuild +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GNOME_ORG_MODULE="NetworkManager" -GNOME2_LA_PUNT="yes" -VALA_USE_DEPEND="vapigen" -PYTHON_COMPAT=( python{3_8,3_9,3_10} ) - -inherit gnome2 meson multilib python-any-r1 vala udev multilib-minimal - -DESCRIPTION="NetworkManager client library (legacy)" -HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" - -LICENSE="GPL-2+" -SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version - -IUSE="elogind gnutls +introspection +minimal +nss systemd vala" -RESTRICT="test" - -REQUIRED_USE=" - vala? ( introspection ) - || ( nss gnutls ) - ?? ( systemd elogind ) - minimal? ( !vala ) -" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" - -# gobject-introspection-0.10.3 is needed due to gnome bug 642300 -# wpa_supplicant-0.7.3-r3 is needed due to bug 359271 -COMMON_DEPEND=" - >=sys-apps/dbus-1.2[${MULTILIB_USEDEP}] - >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}] - >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] - net-libs/libndp[${MULTILIB_USEDEP}] - sys-apps/util-linux[${MULTILIB_USEDEP}] - >=virtual/libudev-175:=[${MULTILIB_USEDEP}] - elogind? ( >=sys-auth/elogind-219 ) - introspection? ( >=dev-libs/gobject-introspection-0.10.3:= ) - nss? ( >=dev-libs/nss-3.11:=[${MULTILIB_USEDEP}] ) - !nss? ( gnutls? ( - dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] - >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) ) - systemd? ( >=sys-apps/systemd-209:0= ) -" - -RDEPEND="${COMMON_DEPEND} - !<=net-misc/networkmanager-1.18.6 -" - -DEPEND="${COMMON_DEPEND} - >=dev-util/intltool-0.40 - virtual/pkgconfig - introspection? ( - $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') - dev-lang/perl - dev-libs/libxslt - ) - vala? ( $(vala_depend) ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-data-fix-the-ID_NET_DRIVER-udev-rule.patch - "${FILESDIR}"/1.18.4-iwd1-compat.patch # included in 1.21.3+ -) - -python_check_deps() { - if use introspection; then - has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return - fi -} - -pkg_setup() { - if use introspection; then - python-any-r1_pkg_setup - fi -} - -src_prepare() { - use vala && vala_src_prepare - gnome2_src_prepare -} - -multilib_src_configure() { - local emesonargs=( - -Dmore_asserts="no" - -Dmore_logging=false - -Dqt=false - -Dnetconfig="no" - -Ddbus_conf_dir="/etc/dbus-1/system.d" - # We need --with-libnm-glib (and dbus-glib dep) as reverse deps are - # still not ready for removing that lib, bug #665338 - -Dlibnm_glib=true - -Dnmcli=false - -Dudev_dir="$(get_udevdir)" - -Dconfig_plugins_default="keyfile" - -Diptables="/sbin/iptables" - -Debpf="true" - -Dconcheck=false - -Dcrypto="$(usex nss nss gnutls)" - -Dsession_tracking_consolekit=false - -Dsession_tracking="$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind no))" - # There is no off switch, use elogind be default. - -Dsuspend_resume="$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind consolekit))" - -Dlibaudit="no" - -Dbluez5_dun=false - -Ddhclient="no" - -Ddhcpcd="no" - -Dintrospection=$(multilib_native_usex introspection true false) - -Djson_validation=false - -Dppp=false - -Dlibpsl=false - -Dmodem_manager=false - -Dnmtui=false - -Dofono=false - -Dovs=false - -Dpolkit=false - -Dpolkit_agent=false - -Dresolveconf="no" - -Dselinux=false - -Dsystemd_journal=false - -Dteamdctl=false - -Dtests="no" - -Dvapi="$(multilib_native_usex vala true false)" - -Dvalgrind="no" - -Diwd=false - -Dwext=false - -Dwifi=false - ) - - if use systemd; then - emesonargs+=( -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" ) - else - emesonargs+=( -Dsystemdsystemunitdir="no" ) - fi - - if multilib_is_native_abi; then - # work-around man out-of-source brokenness, must be done before configure - ln -s "${S}/docs" docs || die - ln -s "${S}/man" man || die - fi - - meson_src_configure -} - -multilib_src_compile() { - # Main library targets - local targets=( - libnm-util/libnm-util.so.2.7.0 - libnm-glib/libnm-glib.so.4.9.0 - libnm-glib/libnm-glib-vpn.so.1.2.0 - ) - - # Extra bits - if ! use minimal; then - if multilib_is_native_abi; then - targets+=( - libnm-util/NetworkManager-1.0.gir - libnm-util/NetworkManager-1.0.typelib - libnm-glib/NMClient-1.0.gir - libnm-glib/NMClient-1.0.typelib - ) - - if use vala; then - targets+=( - vapi/libnm-glib.vapi - vapi/libnm-util.vapi - ) - fi - fi - fi - - meson_src_compile "${targets[@]}" -} - -# Since meson_src_install will try to compile everything -# lets just manually install the files. -multilib_src_install() { - # Install extra bits. - if ! use minimal; then - if multilib_is_native_abi; then - dodir "/usr/$(get_libdir)/girepository-1.0" - insinto "/usr/$(get_libdir)/girepository-1.0" - doins libnm-util/NetworkManager-*.typelib - doins libnm-glib/NMClient-*.typelib - - dodir "/usr/share/gir-1.0" - insinto "/usr/share/gir-1.0" - doins libnm-util/NetworkManager-*.gir - doins libnm-glib/NMClient-*.gir - - if use vala; then - dodir "/usr/share/vala/vapi" - insinto "/usr/share/vala/vapi" - doins vapi/libnm-* - fi - fi - - # Install headers - dodir "/usr/include/libnm-glib" - insinto "/usr/include/libnm-glib" - doins libnm-glib/nm-glib-enum-types.h - doins "${S}"/libnm-glib/*.h - - dodir "/usr/include/NetworkManager" - insinto "/usr/include/NetworkManager" - doins libnm-util/nm-utils-enum-types.h - doins "${S}"/libnm-util/*.h - - # Install pkgconfig files - dodir "/usr/$(get_libdir)/pkgconfig" - insinto "/usr/$(get_libdir)/pkgconfig" - doins meson-private/NetworkManager*.pc - doins meson-private/libnm-*.pc - fi - - # Remove this, or dolib won't be happy. - rm -rf libnm-glib/libnm-*.p - rm -rf libnm-util/libnm-*.p - - # Install libraries - dolib libnm-glib/libnm-*.so* - dolib libnm-util/libnm-*.so* -} |