summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-05-03 12:31:48 -0500
committerAustin English <wizardedit@gentoo.org>2016-05-03 12:31:48 -0500
commit9a60b59469901135e14790035cd9e55241ecf0b4 (patch)
tree8def600da23972ea88b679e84cc364784b2a345d /net-wireless
parentnet-voip/openmcu: remove old version (diff)
downloadgentoo-9a60b59469901135e14790035cd9e55241ecf0b4.tar.gz
gentoo-9a60b59469901135e14790035cd9e55241ecf0b4.tar.bz2
gentoo-9a60b59469901135e14790035cd9e55241ecf0b4.zip
net-wireless/chillispot: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/chillispot/chillispot-1.1.0-r1.ebuild34
-rw-r--r--net-wireless/chillispot/files/chillispot4
2 files changed, 36 insertions, 2 deletions
diff --git a/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild b/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..f877ba952a73
--- /dev/null
+++ b/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="open source captive portal or wireless LAN access point controller"
+HOMEPAGE="http://www.chillispot.info/"
+SRC_URI="http://www.chillispot.info/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc s390 sh ~sparc x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=""
+
+src_prepare() {
+ chmod 644 doc/*.conf
+ find . -exec chmod go-w '{}' \;
+
+ eapply "${FILESDIR}"/${P}-gcc44.patch
+
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" STRIPPROG=true install
+ cd doc && dodoc chilli.conf freeradius.users hotspotlogin.cgi firewall.iptables
+
+ # init script provided by Michele Beltrame bug #124698
+ doinitd "${FILESDIR}"/${PN}
+}
diff --git a/net-wireless/chillispot/files/chillispot b/net-wireless/chillispot/files/chillispot
index 9c6b6cb7663e..dd2d8c4cc4ea 100644
--- a/net-wireless/chillispot/files/chillispot
+++ b/net-wireless/chillispot/files/chillispot
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$