Bug#862778: Port from libnm-glib to libnm (or GNetworkMonitor)

2018-04-13 Thread Michael Biebl
Control: severity -1 serious

Hi,

I intend to upload a new version of network-manager soonish which will
drop libnm-glib/libnm-util. I'm thus bumping this issue to RC in
preparation for that.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#862778: Port from libnm-glib to libnm (or GNetworkMonitor)

2017-12-20 Thread Lubomir Rintel
Hi,

I would suggest just dropping the dependency. The fallback that's in
place is okay and a newer upstream version of ypbind-mt just drops the
use of NetworkManager altogether.

Lubo



Bug#862778: Port from libnm-glib to libnm (or GNetworkMonitor)

2017-05-16 Thread Michael Biebl
Source: nis
Version: 3.17.1-1
Severity: normal
User: pkg-utopia-maintain...@lists.alioth.debian.org
Usertags: libnm

Hi,

the libnm-glib/libnm-util libraries have been deprecated upstream in
favour of libnm.

Your package declares a Build-Depends on network-manager-dev.
It seems, nis uses NetworkManager for checking the connectivity status.
It uses the D-Bus API for that.

ypbind-mt-1.38/configure.ac checks for NetworkManager/NetworkManager.h
and NetworkManager/NetworkManagerVPN.h, but it has fallback code in
ypbind-mt-1.38/src/ypbind_dbus_nm.c in case those headers are not
available.

Please consider switching to libnm, which provides a similar API as
libnm-glib/libnm-util [1] and update the configure check and header
includes accordingly.

Alternatively, and maybe an even better approach would be, to use
GNetworkMonitor instead, which was introduced in glib 2.32 [2] and is
available since wheezy.

Regards,
Michael

[1] https://developer.gnome.org/libnm/stable/
[2] https://developer.gnome.org/gio/stable/GNetworkMonitor.html


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)