Patch from Jon Nettleton
* properties/nm-openvpn-dialog.glade
properties/nm-openvpn.c
- Move advanced properties into a separate dialog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2476 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
vpnc/:
* properties/Makefile.am: Include new files pcf-file.[ch] in build.
Add NetworkManager to CFLAGS and LDADD.
* properties/pcf-file.c: Implement.
* properties/pcf-file.h: Ditto.
* properties/nm-vpnc.c (import_from_file): Rewrite using new Cisco PCF
file parser instead of using GKeyFile (which has slightly different
semantics).
* src/Makefile.am: Add NetworkManager to CFLAGS and LDADD.
* src/nm-vpnc-service.c: Remove the leading NetworkManager directory
from NM includes since the NM pkg-config file already adds that.
* src/nm-vpnc-service-vpnc-helper.c: Ditto.
openvpn/:
* properties/Makefile.am: Add NetworkManager to CFLAGS and LDADD.
* src/Makefile.am: Ditto.
* properties/nm-openvpn.c: Remove the leading NetworkManager directory
from NM includes since the NM pkg-config file already adds that.
* src/nm-openvpn-service-openvpn-helper.c: Ditto.
* src/nm-openvpn-service.c: Ditto.
pptp/:
* src/nm-pppd-plugin.c: Remove the leading NetworkManager directory
from NM includes since the NM pkg-config file already adds that.
* properties/vpnui_impl.c: Ditto.
* properties/vpnui_impl.h: Ditto.
* src/nm-ppp-starter.c: Ditto.
* src/Makefile.am: Add NetworkManager to CFLAGS and LDADD.
* properties/Makefile.am: Add NetworkManager to CFLAGS and LDADD.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2093 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
libnm-util/Makefile.am, src/Makefile.am,
vpn-daemons/openvpn/auth-dialog/Makefile.am,
vpn-daemons/openvpn/properties/Makefile.am,
vpn-daemons/pptp/auth-dialog/Makefile.am,
vpn-daemons/pptp/properties/Makefile.am,
vpn-daemons/vpnc/auth-dialog/Makefile.am,
vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
user passed for --datadir, if anything, when setting the GNOME locale
directory. It should be a function of the specified datadir and not
the prefix.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch to add OpenVPN TLS and Cipher support, by Groug <groug@free.fr>:
* properties/nm-openvpn-dialog.glade: Add UI checkboxes.
* properties/nm-openvpn.c: New UI.
* src/nm-openvpn-service.c: Support "--tls-auth" and "--cipher"
OpenVPN options.
* src/nm-utils.c: Add nm_find_openvpn(), exported function for finding
the location of the OpenVPN binary.
* src/nm-utils.h: Add prototype.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1730 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/nm-openvpn-dialog.glade: If the dialog won't let the user
type in the file entry GtkEntries, then don't mark them editable.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1692 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/nm-openvpn.c: Report error if writing out of exported
configuration fails. The silent treatment might work for me and my
wife, but not for failed I/O.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1679 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
+ Added support for using TAP device, device is now written to
. config to new field dev, added checkbox to optional info expander
Tim
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* vpn-daemons/openvpn/auth-dialog/main.c: Only request one password,
still use GnomeTwoPasswordDialog, gives all the functionality we need.
This should be unified between VPN implementations. Also I had to add
GConf support to see if a password is really needed for the connection
type. The configuraton line should be written to the auth-dialog by NM
and maybe even an impl_needs_passwd_dialog or similar should be added.
Patch will follow when healthy again.
* vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade: Updated GUI,
contains now everything needed to configure all three connection types
* vpn-daemons/openvpn/properties/nm-openvpn.c: Added handling of all
three connection types.
* vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c: Use
different environment variables which are available for all connection
types, fixed the returned VPN gateway address. This was the remote IP
used in the VPN network, not the remote's real address. This prevented
it from working if VPN gateway was not in the same subnet since routes
were wrong.
* vpn-daemons/openvpn/src/nm-openvpn-service.h
vpn-daemons/openvpn/src/nm-openvpn-service.c: Added support for
password and shared secret connection types. Reformatted to Gnu style.
* vpn-daemons/openvpn/configure.in: Raised version to 0.2.0
* vpn-daemons/openvpn/intltool-extract.in
vpn-daemons/openvpn/intltool-merge.in
vpn-daemons/openvpn/intltool-update.in:
Version from intltool 0.33, 0.34 won't work at the moment.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc