commit: 9a60b59469901135e14790035cd9e55241ecf0b4 Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Tue May 3 17:31:48 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Tue May 3 17:31:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a60b594
net-wireless/chillispot: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-wireless/chillispot/chillispot-1.1.0-r1.ebuild | 34 ++++++++++++++++++++++ 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 0000000..f877ba9 --- /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 9c6b6cb..dd2d8c4 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$
