summaryrefslogtreecommitdiff
path: root/recipes/chillispot/chillispot_0.98.bb
blob: 0b086edda6ed954340d2294051c5af7f2ea6d864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "ChilliSpot is an open source captive portal or wireless LAN access point controller. It is used for authenticating users of a wireless LAN."
HOMEPAGE = "http://www.chillispot.org/"
LICENSE = "GPL"
PR = "r1"

SRC_URI = "http://www.chillispot.org/download/chillispot-${PV}.tar.gz \
	file://no-ansi.patch \
	file://init"
RRECOMMENDS_${PN} = "kernel-module-tun"

inherit autotools

do_install_append() {
	install -d ${D}${sysconfdir} ${D}${sysconfdir}/init.d
	install ${S}/doc/chilli.conf ${D}${sysconfdir}
	install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/chillispot
}

CONFFILES_${PN}_nylon = "${sysconfdir}/chilli.conf"

SRC_URI[md5sum] = "4bcf48ec7a94f28faee8b7dc7a0dd97a"
SRC_URI[sha256sum] = "bace8a6a0b27d09983a2c509d6e6bf8ab786935e269036f14dc158505feba602"