OpenWrt Forum Archive

Topic: How to update VPNC Package in 12.09?

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hey,

to connect an OpenWRT device via VPN with a Fritz!Box from AVM, I have to use a newer version of the vpnc. Attitude Adjustment has the version 0.5.3. integrated as a package.
Now I want to update this package at first on my local PC to the latest Revision (527) of the trunk branch for self compiling.

How can I integrate this VPNC trun in the Buildroot of Attitude Adjustment as easy as possible?

Regards
ariehl

(Last edited by ariehl on 5 Aug 2013, 15:17)

You could create your own package or modify the one from OpenWrt in your Buildroot.

modify the Makefile ( https://dev.openwrt.org/browser/branche … c/Makefile )
see http://wiki.openwrt.org/doc/devel/packages

You can have different package sources - browse other packages for examples
normally its tar.gz file download but git/svn is possible too
PKG_SOURCE_PROTO:=git or PKG_SOURCE_PROTO:=svn


I suppose you can try to build a vanilla package = without patches or see what the patches are doing to vpnc.
After editing Makefile you try to build / fix build errors (make a single package)
see http://wiki.openwrt.org/doc/howtobuild/single.package

The discussion might have continued from here.