diff options
-rw-r--r-- | net-wireless/chillispot/chillispot-1.1.0-r1.ebuild | 34 | ||||
-rw-r--r-- | net-wireless/chillispot/files/chillispot | 4 |
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$ |