diff options
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/chillispot/Makefile | 58 | ||||
-rw-r--r-- | net-mgmt/chillispot/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/chillispot/pkg-descr | 5 | ||||
-rw-r--r-- | net-mgmt/chillispot/pkg-message | 5 | ||||
-rw-r--r-- | net-mgmt/chillispot/pkg-plist | 6 |
6 files changed, 77 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 2380fc9..69a2a86 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -32,6 +32,7 @@ SUBDIR += cfgstoragemk SUBDIR += cflowd SUBDIR += check_snmp_pkgvuln + SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr SUBDIR += cisco_conf diff --git a/net-mgmt/chillispot/Makefile b/net-mgmt/chillispot/Makefile new file mode 100644 index 0000000..5812122 --- /dev/null +++ b/net-mgmt/chillispot/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: Chillispot +# Date created: 19 October 2005 +# Whom: Sevan Janiyan <venture37@geeklan.co.uk> +# +# $FreeBSD$ +# + +PORTNAME= chillispot +PORTVERSION= 1.0 +CATEGORIES= net-mgmt +MASTER_SITES= http://www.chillispot.org/download/ \ + http://www.geeklan.co.uk/files/ \ + http://www.venture37.com/files/ + +MAINTAINER= venture37@geeklan.co.uk +COMMENT= Wireless LAN Access Point Controller + +GNU_CONFIGURE= yes +CONFIGURE_TARGET=-build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS=-sysconfdir=${PREFIX}/etc +MAN8= chilli.8 + +OPTIONS= RAW "Latest Release Of Apache & mySQL" Off \ + MATURE "Stable Releases of Apache & mySQL" Off \ + FREE "freeRADIUS" Off \ + OPENR "openradius" Off + +.include <bsd.port.pre.mk> + +.if defined(WITH_RAW) +RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2 \ + ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql50-server +.endif + +.if defined(WITH_MATURE) +RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache \ + ${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql41-server +.endif + +.if defined(WITH_FREE) +RUN_DEPENDS+= radiusd:${PORTSDIR}/net/freeradius +.endif + +.if defined(WITH_OPENR) +RUN_DEPENDS+= radiusd:${PORTSDIR}/net/openradius +.endif + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/doc/chilli.conf ${DATADIR}/chilli.sample + ${INSTALL_MAN} ${WRKSRC}/doc/dictionary.chillispot ${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/doc/freeradius.users ${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/doc/hotspotlogin.cgi ${DATADIR} +.endif + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/net-mgmt/chillispot/distinfo b/net-mgmt/chillispot/distinfo new file mode 100644 index 0000000..377d1ce --- /dev/null +++ b/net-mgmt/chillispot/distinfo @@ -0,0 +1,2 @@ +MD5 (chillispot-1.0.tar.gz) = 997827a9302a85920cfbc1334092ac0c +SIZE (chillispot-1.0.tar.gz) = 440103 diff --git a/net-mgmt/chillispot/pkg-descr b/net-mgmt/chillispot/pkg-descr new file mode 100644 index 0000000..1dcbbe7 --- /dev/null +++ b/net-mgmt/chillispot/pkg-descr @@ -0,0 +1,5 @@ +Chillispot is used for authenticating users of a wireless LAN. It support WPA +(Wireless Protected Access) encryption. Authentication, authorization and +accounting (AAA) is handled by your favorite radius server. + +WWW: http://www.chillispot.org diff --git a/net-mgmt/chillispot/pkg-message b/net-mgmt/chillispot/pkg-message new file mode 100644 index 0000000..b427e44 --- /dev/null +++ b/net-mgmt/chillispot/pkg-message @@ -0,0 +1,5 @@ +A bit of post install work needs to be done to get everything rolling +rename & copy chillspot.sample from ${PREFIX}/share/chillispot/ to ${PREFIX}/etc/chillispot.conf +& hotspotlogin.cgi from ${PREFIX}/share/chillispot/ to your apache cgi-bin directory + +For further config info/help check out the chillispot forum & mailing list diff --git a/net-mgmt/chillispot/pkg-plist b/net-mgmt/chillispot/pkg-plist new file mode 100644 index 0000000..3055853 --- /dev/null +++ b/net-mgmt/chillispot/pkg-plist @@ -0,0 +1,6 @@ +sbin/chilli +%%DATADIR%%/chilli.sample +%%DATADIR%%/dictionary.chillispot +%%DATADIR%%/freeradius.users +%%DATADIR%%/hotspotlogin.cgi +@dirrm %%DATADIR%% |