Bugzilla – Bug 158691
NetworkManager-gnome required by vpn providing packages
Last modified: 2006-10-16 08:43:18 UTC
NetworkManager-gnome is required for the following packages: NetworkManager-novellvpn NetworkManager-openvpn NetworkManager-vpnc NetworkManager-kde uses its nm-vpn-properties, but this is only needed if one of the mentioned packages is installed.
Well, it links to gnome-keyring and the like, so the package division is appropriate. Timo, do you have any proposal for handling this?
The missing bit is a "Requires: NetworkManager-gnome" for the NM-VPN packages. The configuration dialog for all of the three packages (nm-vpn-properties) comes with NetworkManager-gnome.
This will pull a lot of gnome deps for kde desktops though.
One solution is for NetworkManager-kde to provide its own nm-vpn-properties and to require that file in each vpn subpackage. But then NetworkManager-gnome and NetworkManager-kde cannot both be installed, so that is a nonstarter. Another idea is to make a new NetworkManager-vpn-properties package that provides just nm-vpn-properties, but that will pull in nearly as many dependencies and require a new package late in Code10 -- not to mention a new package for a single file. I don't think there is an easy solution. But I also don't grok exactly what the original bug reporter is saying is the bug.
Hm, actually I don't think it is very problematic. NetworkManager-kde does _not_ depend on anything but NetworkManager. Hence, installing NetworkManager-kde does not pull GNOME. Now if one wants to use NM+VPN he'll install some NM-VPN package. Fine. If he's using the GNOME desktop everything is set, as NM-GNOME is already installed, nm-vpn-properties is available. If he's on KDE, nm-vpn-properties will not be available as the NM-VPN packages don't have "Requires: NetworkManager-gnome". And in this case, yes, GNOME will be pulled. That's fine, as I am using the GNOME NM VPN infrastructure (g-k-d and VPN the configuration dialog) for KNetworkManager at the moment. Not a long term solution, but as KNM can not guess the VPN properties of a unknown VPN plugin the only solution for now.
So ... are you saying, leave everything as-is, or should I add "Requires: NetworkManager-gnome" to the three VPN subpackages?
Adding requires would be the fix in my opinion.
As you wish, so it shall be.
Thank you!
Added "Requires: NetworkManager-gnome" to NetworkManager-{vpnc,openvpn,novellvpn}. Closing.
*** Bug 212499 has been marked as a duplicate of this bug. ***