Re: vpnc plugin parameter

I'm trying backport this patch to nm version 0.8.1-10.git20100831.fc14 and NetworkManager-vpnc version 0.8.1-1.fc14.
 I added line
#define NM_LOCAL_PORT "500"
to file nm-vpnc-service.h, repack source tarball and then start command
rpmbuild -ba NetworkManager-vpnc.spec
During compilation I get an error:

m-vpnc.c: In function 'vpnc_plugin_ui_interface_init':
nm-vpnc.c:1444:13: error: 'NMVpnPluginUiInterface' has no member named 'import' nm-vpnc.c:1445:13: error: 'NMVpnPluginUiInterface' has no member named 'export'
make[3]: *** [libnm_vpnc_properties_la-nm-vpnc.lo] Error 1
make[3]: Leaving directory `/root/rpmbuild/BUILD/NetworkManager-vpnc-0.8.1/properties'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/NetworkManager-vpnc-0.8.1/properties'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/NetworkManager-vpnc-0.8.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.kC10CJ (%build)

I think this is due the different versions of NetworkManager and vpnc plugin.
Is there any other solution than downgrade NetworkManager package?


On 02/10/2011 02:00 PM, Jirka Klimes wrote:
On Thursday 10 of February 2011 13:26:22 Jan Malanik wrote:
it's possible to start vpnc plugin from network manager with parameter
--local-port 0?

thank you Jan Malanik
network-manager-vpnc now uses 'Local Port 0' parameter by  default.


Jan Malaník
Kernel QE, intern program

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]