1 |
commit: 9a60b59469901135e14790035cd9e55241ecf0b4 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 17:31:48 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 17:31:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a60b594 |
7 |
|
8 |
net-wireless/chillispot: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-wireless/chillispot/chillispot-1.1.0-r1.ebuild | 34 ++++++++++++++++++++++ |
15 |
net-wireless/chillispot/files/chillispot | 4 +-- |
16 |
2 files changed, 36 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild b/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 0000000..f877ba9 |
21 |
--- /dev/null |
22 |
+++ b/net-wireless/chillispot/chillispot-1.1.0-r1.ebuild |
23 |
@@ -0,0 +1,34 @@ |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Id$ |
27 |
+ |
28 |
+EAPI=6 |
29 |
+ |
30 |
+DESCRIPTION="open source captive portal or wireless LAN access point controller" |
31 |
+HOMEPAGE="http://www.chillispot.info/" |
32 |
+SRC_URI="http://www.chillispot.info/download/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-2" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc s390 sh ~sparc x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND=">=sys-apps/sed-4" |
40 |
+RDEPEND="" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ chmod 644 doc/*.conf |
44 |
+ find . -exec chmod go-w '{}' \; |
45 |
+ |
46 |
+ eapply "${FILESDIR}"/${P}-gcc44.patch |
47 |
+ |
48 |
+ default |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ emake DESTDIR="${D}" STRIPPROG=true install |
53 |
+ cd doc && dodoc chilli.conf freeradius.users hotspotlogin.cgi firewall.iptables |
54 |
+ |
55 |
+ # init script provided by Michele Beltrame bug #124698 |
56 |
+ doinitd "${FILESDIR}"/${PN} |
57 |
+} |
58 |
|
59 |
diff --git a/net-wireless/chillispot/files/chillispot b/net-wireless/chillispot/files/chillispot |
60 |
index 9c6b6cb..dd2d8c4 100644 |
61 |
--- a/net-wireless/chillispot/files/chillispot |
62 |
+++ b/net-wireless/chillispot/files/chillispot |
63 |
@@ -1,5 +1,5 @@ |
64 |
-#!/sbin/runscript |
65 |
-# Copyright 1999-2004 Gentoo Foundation |
66 |
+#!/sbin/openrc-run |
67 |
+# Copyright 1999-2016 Gentoo Foundation |
68 |
# Distributed under the terms of the GNU General Public License v2 |
69 |
# $Id$ |