Instead of just whining on a bug tracker I thought I'd take a look at source (trunk). Keep in mind, I don't develop linux software, don't have a linux build environment or version control setup, don't know how to package it, and don't know GTK so with all that in mind:
/src/nm-openvpn-service.c
Add in a new valid property in valid_properties[]
{ NM_OPENVPN_CONTYPE_OVPN_FILE, G_TYPE_STRING, 0, 0, FALSE }
/src/nm-openvpn-service.c under validate_connection_type function
Support NM_OPENVPN_CONTYPE_OVPN_FILE
/src/nm-openvpn-service.c under nm_openvpn_start_openvpn_binary function
Exclude tun default being added to openvpn arguments when specifying OVPN file.
Exclude reneg seconds default being added to openvpn arguments when specifying OVPN file.
Under connection type configuration, check for NM_OPENVPN_CONTYPE_OVPN_FILE and if used, verify specified OVPN file exists and add in the respective OpenVPN argument "--config myovpnfilepath.ovpn" else set error.
According to OpenVPN man page, --config can be mixed with other arguments so I'm guessing it'll still work with management socket, scripts, script security etc?
Instead of just whining on a bug tracker I thought I'd take a look at source (trunk). Keep in mind, I don't develop linux software, don't have a linux build environment or version control setup, don't know how to package it, and don't know GTK so with all that in mind:
/src/nm- openvpn- service- defines. h CONTYPE_ OVPN_FILE "ovpn-file"
#define NM_OPENVPN_
/src/nm- openvpn- service. c CONTYPE_ OVPN_FILE, G_TYPE_STRING, 0, 0, FALSE }
Add in a new valid property in valid_properties[]
{ NM_OPENVPN_
/src/nm- openvpn- service. c under validate_ connection_ type function CONTYPE_ OVPN_FILE
Support NM_OPENVPN_
/src/nm- openvpn- service. c under nm_openvpn_ start_openvpn_ binary function CONTYPE_ OVPN_FILE and if used, verify specified OVPN file exists and add in the respective OpenVPN argument "--config myovpnfilepath. ovpn" else set error.
Exclude tun default being added to openvpn arguments when specifying OVPN file.
Exclude reneg seconds default being added to openvpn arguments when specifying OVPN file.
Under connection type configuration, check for NM_OPENVPN_
According to OpenVPN man page, --config can be mixed with other arguments so I'm guessing it'll still work with management socket, scripts, script security etc?
None of this touches on the UI/GTK stuff though.