aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/chillispot
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-12-20 20:41:17 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-12-20 20:41:17 +0000
commit46265967d0604ef0b642cb249653cd510fea4541 (patch)
tree5e3b8c427d9f15f053b9876b2dede831ab29bea8 /net-mgmt/chillispot
parentc648285d4dd29619cda37ff13fa2bbfbcfd430b2 (diff)
downloadports-46265967d0604ef0b642cb249653cd510fea4541.tar.gz
ports-46265967d0604ef0b642cb249653cd510fea4541.zip
New port: net-mgmt/chillispot
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. PR: ports/90397 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=151672
Diffstat (limited to 'net-mgmt/chillispot')
-rw-r--r--net-mgmt/chillispot/Makefile58
-rw-r--r--net-mgmt/chillispot/distinfo2
-rw-r--r--net-mgmt/chillispot/pkg-descr5
-rw-r--r--net-mgmt/chillispot/pkg-message5
-rw-r--r--net-mgmt/chillispot/pkg-plist6
5 files changed, 76 insertions, 0 deletions
diff --git a/net-mgmt/chillispot/Makefile b/net-mgmt/chillispot/Makefile
new file mode 100644
index 000000000000..5812122933c3
--- /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 000000000000..377d1ce19ea6
--- /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 000000000000..1dcbbe72796d
--- /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 000000000000..b427e44bf791
--- /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 000000000000..30558537e1bc
--- /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%%