Making an svn binary for openwrt

Johan Meiring jmeiring at amobia.com
Mon Mar 16 07:04:56 UTC 2009


Hi all,

Following are instructions for making an svn binary for openwrt.

I am sure this is not the most efficient way to build it, but it worked
for me.

1) Get yourself a copy of coova-chilli svn
svn checkout http://dev.coova.org/svn/coova-chilli/

2) Build configure
cd coova-chilli
sh bootstrap

3) Rename folder and make a tar.gz file of it
cd ..
mv coova-chilli coova-chilli-1.0.13-svn
tar -zcvf coova-chilli-1.0.13-svn.tar.gz coova-chilli-1.0.13-svn

4) Get the md5sum of the tar file
md5sum coova-chilli-1.0.13-svn.tar.gz

5) Upload the file to a web server, anywhere.
I simply use the apache server on my local machine

6) Download the kamikaze build environment
svn checkout https://svn.openwrt.org/openwrt/tags/8.09

7) Download the coova-chilli "package headers"
cd 8.09/package
svn co http://dev.coova.org/svn/coova-ap/packages/kamikaze/coova-chilli

8) Modify Makefile
cd coova-chilli
vi Makefile (change the following lines)
PKG_VERSION:=1.0.13-svn
PKG_SOURCE_URL:=http://localhost/
PKG_MD5SUM:=1605d4af9cb9d544e44d520de6016951

9) Make sure the package is set to modular.
cd ../..
make menuconfig
Under Network/Captive portals set coova to modular
(Set Target System/Profile on main menu as well)

10) Make Openwrt
make

11) You will find your coova ipk file under bin/packages/"architecture"



These instructions were written from memory and might need to be
modified slightly, but gives a good indication of what needs to be done.


wlanmac,

Could you maybe upload this to the wiki ???



-- 


Johan Meiring
Amobia Communications
Tel: (0861) AMOBIA / (0861) 266242
Fax: (0861) AMOFAX / (0861) 266329




More information about the Chilli mailing list