blob: 9d1d37c4d10e615252b6429eeeff981c630dd737 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Sevan Janiyan <venture37@geeklan.co.uk>
# $FreeBSD$
PORTNAME= chillispot
PORTVERSION= 1.0
PORTREVISION= 10
CATEGORIES= net-mgmt
MASTER_SITES= http://www.chillispot.info/download/ \
http://www.geeklan.co.uk/files/ \
http://www.venture37.com/files/
MAINTAINER= venture37@geeklan.co.uk
COMMENT= Wireless LAN Access Point Controller
BROKEN_mips= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
BROKEN_mips64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
BROKEN_powerpc64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
CONFLICTS= coovachilli-[0-9]*
USES= shebangfix
SHEBANG_FILES= doc/hotspotlogin.cgi
GNU_CONFIGURE= yes
CONFIGURE_ARGS=-sysconfdir=${PREFIX}/etc
USE_RC_SUBR= chillispot
SUB_FILES= pkg-message installguide.txt
USE_GCC= any
OPTIONS_DEFINE= APACHE RADIUS
OPTIONS_SINGLE= RADIUS
OPTIONS_SINGLE_RADIUS= FREERADIUS OPENRADIUS
FREERADIUS_DESC=depend on FreeRADIUS
OPENRADIUS_DESC=depend on OpenRADIUS
APACHE_USE= apache_run=22+
FREERADIUS_RUN_DEPENDS= radiusd:net/freeradius
OPENRADIUS_RUN_DEPENDS= radiusd:net/openradius
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/chilli.conf ${STAGEDIR}${DATADIR}/chilli.conf.sample
${INSTALL_DATA} ${WRKSRC}/doc/dictionary.chillispot ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/freeradius.users ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/doc/hotspotlogin.cgi ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/installguide.txt ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${FILESDIR}/pf.conf.sample ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${FILESDIR}/ipfw-config.sample ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|