aboutsummaryrefslogtreecommitdiffstats
path: root/testing/coova-chilli
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-15 09:19:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-15 09:19:05 +0000
commitecb9d44c688c0892b0fcc2ccebbacf2981362748 (patch)
tree6e2e0cab32b1cf6fe67cebdefd130e08b013c565 /testing/coova-chilli
parentf08fb9525885b169f03b0cd2684db1c3cc37fcd3 (diff)
downloadaports-ecb9d44c688c0892b0fcc2ccebbacf2981362748.tar.bz2
aports-ecb9d44c688c0892b0fcc2ccebbacf2981362748.tar.xz
testing/coova-chilli: new aport
CoovaChilli is an open source access controller for wireless LAN http://www.coova.org/
Diffstat (limited to 'testing/coova-chilli')
-rw-r--r--testing/coova-chilli/APKBUILD38
-rw-r--r--testing/coova-chilli/coova-chilli-ssl.patch17
2 files changed, 55 insertions, 0 deletions
diff --git a/testing/coova-chilli/APKBUILD b/testing/coova-chilli/APKBUILD
new file mode 100644
index 0000000000..256475ba6b
--- /dev/null
+++ b/testing/coova-chilli/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: grharry
+# Maintainer:
+
+# TODO: fix init.d script
+
+pkgname=coova-chilli
+pkgver=1.0.14
+pkgrel=0
+pkgdesc="CoovaChilli is an open source access controller for wireless LAN"
+url="http://www.coova.org/"
+license="GPL"
+depends=
+makedepends="perl openssl-dev autoconf automake libtool"
+install= #"coova-chilli.install"
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://ap.coova.org/chilli/coova-chilli-$pkgver.tar.gz
+ coova-chilli-ssl.patch
+ "
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i ../coova-chilli-ssl.patch || return 1
+ aclocal && autoconf && automake && libtoolize || return 1
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var/run \
+ --libdir=/usr/lib \
+ --sysconfdir=/etc \
+ --with-openssl
+ make -j1 || return 1
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="88774ec55f9943d174ea7dd26e85fd8a coova-chilli-1.0.14.tar.gz
+e4e94b06540c10caa750a590f3ec9ec6 coova-chilli-ssl.patch"
diff --git a/testing/coova-chilli/coova-chilli-ssl.patch b/testing/coova-chilli/coova-chilli-ssl.patch
new file mode 100644
index 0000000000..618b90a60a
--- /dev/null
+++ b/testing/coova-chilli/coova-chilli-ssl.patch
@@ -0,0 +1,17 @@
+diff -ru a/src/Makefile.am b/src/Makefile.am
+--- a/src/Makefile.am 2009-10-15 09:15:00.000000000 +0000
++++ b/src/Makefile.am 2009-10-15 09:17:20.000000000 +0000
+@@ -20,6 +20,7 @@
+ chilli.h options.h util.c garden.c garden.h \
+ dns.c dns.h session.c session.h limits.h pkt.h pkt.c \
+ chksum.c net.h net.c ms_chap.c options.c
++libchilli_la_LIBADD = $(LIBOPENSSL)
+
+ # AM_LDFLAGS = -lchilli
+
+@@ -32,4 +33,4 @@
+ chilli_dog_SOURCES = main-dog.c
+ #test_radius_SOURCES = test-radius.c
+
+-LDADD = libchilli.la $(top_builddir)/bstring/libbstring.la
++LDADD = libchilli.la $(top_builddir)/bstring/libbstring.la $(LIBOPENSSL)