Hi Harald

Am 24.04.2018 um 18:29 schrieb Harald Dunkel:
> What is your suggestion to use as a replacement? Upstream (network-manager-
> strongswan) told me that I need to grab the variables plugindir and
> libgnome_serverdir provided by the old NetworkManager.pc from somewhere
> now.
> 
> Are these directories the variables had pointed to obsolete as well?

The successor is libnm and there is a corresponding libnm.pc which
contains the following

# cat /usr/lib/x86_64-linux-gnu/pkgconfig/libnm.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
vpnservicedir=${prefix}/lib/NetworkManager/VPN

Name: libnm
Description: Convenience library for clients of NetworkManager
Version: 1.11.3
Requires: gio-2.0
Cflags: -I${includedir}/libnm
Libs: -L${libdir} -lnm


What's definitely deprecated is the old location /etc/NetworkManager/VPN
The service .name files should be installed in vpnservicedir.

I would best take a look at how existing packages, like
network-manager-openvpn do it.

If you have more specific questions, it's probably best to ask upstream.
They have a mailing list at
https://mail.gnome.org/mailman/listinfo/networkmanager-list or are
reachable on IRC (freenode) at #nm.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to