summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-03-05 11:42:38 +0000
committerNed Ludd <solar@gentoo.org>2006-03-05 11:42:38 +0000
commit32ba8b9f80aca3b5ccfd1da4affcbe86428be5bf (patch)
tree2bbb1dbbce9e045f510fb760de1343865145de04 /net-wireless/chillispot
parentimported ebuild from gentoo.de (diff)
downloadgentoo-2-32ba8b9f80aca3b5ccfd1da4affcbe86428be5bf.tar.gz
gentoo-2-32ba8b9f80aca3b5ccfd1da4affcbe86428be5bf.tar.bz2
gentoo-2-32ba8b9f80aca3b5ccfd1da4affcbe86428be5bf.zip
- init script provided by Michele Beltrame bug #124698
(Portage version: 2811-svn)
Diffstat (limited to 'net-wireless/chillispot')
-rw-r--r--net-wireless/chillispot/ChangeLog5
-rw-r--r--net-wireless/chillispot/Manifest27
-rw-r--r--net-wireless/chillispot/chillispot-0.99.ebuild4
-rw-r--r--net-wireless/chillispot/chillispot-1.0.ebuild7
-rw-r--r--net-wireless/chillispot/files/chillispot33
-rw-r--r--net-wireless/chillispot/files/digest-chillispot-1.02
6 files changed, 62 insertions, 16 deletions
diff --git a/net-wireless/chillispot/ChangeLog b/net-wireless/chillispot/ChangeLog
index dec88f7de180..f5610e5a1917 100644
--- a/net-wireless/chillispot/ChangeLog
+++ b/net-wireless/chillispot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-wireless/chillispot
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/ChangeLog,v 1.9 2006/03/02 20:35:14 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/ChangeLog,v 1.10 2006/03/05 11:42:38 solar Exp $
+
+ 05 Mar 2006; <solar@gentoo.org> +files/chillispot, chillispot-1.0.ebuild:
+ - init script provided by Michele Beltrame bug #124698
02 Mar 2006; <solar@gentoo.org> chillispot-1.0.ebuild:
- marked 1.0 stable on x86
diff --git a/net-wireless/chillispot/Manifest b/net-wireless/chillispot/Manifest
index ad146b8c9173..bf62ea237b13 100644
--- a/net-wireless/chillispot/Manifest
+++ b/net-wireless/chillispot/Manifest
@@ -1,21 +1,24 @@
-MD5 ca429c3444c8dd205028a4620d54d0a3 ChangeLog 1619
-RMD160 47a9f2bf78e8b6c1e4699c0673b9b17207159664 ChangeLog 1619
-SHA256 841b973c41eb379ed31b3cce129b3b69394941c201de3fa6e8894f6fda2efbfa ChangeLog 1619
-MD5 8e63b1444ee79673e7cf5990519f89ae chillispot-0.99.ebuild 957
-RMD160 138bcb54f4b86eb683daaf81d68b29882cfb180d chillispot-0.99.ebuild 957
-SHA256 980995dea5536538269e009cf3776e75020fa83329ff06f7a2aff0a4d003639a chillispot-0.99.ebuild 957
-MD5 7c157ab923061f4bc4f0c835f876756f chillispot-1.0.ebuild 955
-RMD160 740c5b300af1846bc89b078e361336438eca7745 chillispot-1.0.ebuild 955
-SHA256 61899cc29db1868f5db07482f1234fd32cd9881bed506c92da33123e01ad4d00 chillispot-1.0.ebuild 955
+MD5 d7072fd7f47e3346c69775dbecad4918 ChangeLog 1753
+RMD160 1888f205c9666dce135b217df7a914fc00513000 ChangeLog 1753
+SHA256 7d6b1b473ff00f6cdfd5a8f40e206db7130a2bce3e529c2c88391cc48d25ae9a ChangeLog 1753
+MD5 43185b145d861ac735a7988574e2059f chillispot-0.99.ebuild 957
+RMD160 fe581d4c65671622a421d79d441ad4f93f3f9eb9 chillispot-0.99.ebuild 957
+SHA256 4400e56219d8d373502484ad372cb49de399b951f5693500f078701fae5d1152 chillispot-0.99.ebuild 957
+MD5 35558512661da0124aba92d2c18ec7c6 chillispot-1.0.ebuild 1086
+RMD160 f0520a4c35c3bddc86371ae08e3c2dec27491e93 chillispot-1.0.ebuild 1086
+SHA256 fd0fc15153f250d425a45cd30cd645f05c67e09d7781a7293598819d198fcb9a chillispot-1.0.ebuild 1086
+MD5 f76158c7f6359d7a4cbd4ce833ce4734 files/chillispot 720
+RMD160 9a846dcdee3372a8bdfc1efaa64a4e1990402d74 files/chillispot 720
+SHA256 3be8aedecf32f594eb27b21fb568880aa9b10996684a56e71ff63d7ea369ec24 files/chillispot 720
MD5 26d2ac4fac2590c68ffd003625f7994a files/chillispot-0.94-src.patch 2196
RMD160 d62289f73f95605c902778283a1b3bcdda84b50d files/chillispot-0.94-src.patch 2196
SHA256 259af928283ea87ec76f8f0edb89e284c9ba302f9ec42a52cde8991c542b5318 files/chillispot-0.94-src.patch 2196
MD5 5718ef8b1369dc44135cbf9765c605b6 files/digest-chillispot-0.99 67
RMD160 5f646dc2391cea4a3ce541ed7fe47c33ac3525f3 files/digest-chillispot-0.99 67
SHA256 b2c5fffbacf352917a6fe1136661be79a7485898567ec322496e427c42df0cf3 files/digest-chillispot-0.99 67
-MD5 0a1b32650276317e2343038430a81639 files/digest-chillispot-1.0 66
-RMD160 288971f1606464f62169ef515aa4a152af8f1f33 files/digest-chillispot-1.0 66
-SHA256 f82c83e42e61b19e52060d36b2c80f03b51bb4092903d87648b88bb5a4bd9d4c files/digest-chillispot-1.0 66
+MD5 aaccf6391e152850e62cdf6824c7345d files/digest-chillispot-1.0 244
+RMD160 d1a27b0e8218f70366f09ca90af039dcf9a4df9e files/digest-chillispot-1.0 244
+SHA256 4346f4f9c86380d268f561d037bb64269c5f9dfb118edd2af4bba5067cdc4b46 files/digest-chillispot-1.0 244
MD5 86dbc1c8f833da6ec3297a3ab4667c30 metadata.xml 651
RMD160 a7c43df50fc2fed539f290e65db02d9385daba29 metadata.xml 651
SHA256 2da1fedef83847fb3c7680e12df467e61ba350dd5897855d82ac75db16195595 metadata.xml 651
diff --git a/net-wireless/chillispot/chillispot-0.99.ebuild b/net-wireless/chillispot/chillispot-0.99.ebuild
index ef8374f4765c..cadb92b4fa4d 100644
--- a/net-wireless/chillispot/chillispot-0.99.ebuild
+++ b/net-wireless/chillispot/chillispot-0.99.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/chillispot-0.99.ebuild,v 1.3 2005/08/02 02:56:09 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/chillispot-0.99.ebuild,v 1.4 2006/03/05 11:42:38 solar Exp $
inherit eutils flag-o-matic gnuconfig
diff --git a/net-wireless/chillispot/chillispot-1.0.ebuild b/net-wireless/chillispot/chillispot-1.0.ebuild
index 3d7ba0ebbad6..7a4f66402d23 100644
--- a/net-wireless/chillispot/chillispot-1.0.ebuild
+++ b/net-wireless/chillispot/chillispot-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/chillispot-1.0.ebuild,v 1.2 2006/03/02 20:35:14 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/chillispot-1.0.ebuild,v 1.3 2006/03/05 11:42:38 solar Exp $
inherit eutils flag-o-matic gnuconfig
@@ -32,4 +32,9 @@ src_compile() {
src_install() {
einstall || die "einstall failed"
cd doc && dodoc chilli.conf freeradius.users hotspotlogin.cgi firewall.iptables
+
+ # init script provided by Michele Beltrame bug #124698
+ dodir /etc/init.d
+ exeinto /etc/init.d
+ newexe "${FILESDIR}"/${PN} ${PN}
}
diff --git a/net-wireless/chillispot/files/chillispot b/net-wireless/chillispot/files/chillispot
new file mode 100644
index 000000000000..6ff716a265de
--- /dev/null
+++ b/net-wireless/chillispot/files/chillispot
@@ -0,0 +1,33 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/chillispot/files/chillispot,v 1.1 2006/03/05 11:42:38 solar Exp $
+
+depend() {
+ use net logger
+}
+
+
+checkconfig() {
+ if [ -f /etc/chilli.conf ]; then
+ return 0;
+ else
+ eerror "Error starting chillispot. Please create /etc/chilli.conf before."
+ return 1;
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting Chillispot"
+
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/chilli
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Chillispot"
+ start-stop-daemon --stop --pidfile /var/run/chilli.pid --quiet
+ eend $?
+}
diff --git a/net-wireless/chillispot/files/digest-chillispot-1.0 b/net-wireless/chillispot/files/digest-chillispot-1.0
index 9a6acedb49eb..13e55a87593e 100644
--- a/net-wireless/chillispot/files/digest-chillispot-1.0
+++ b/net-wireless/chillispot/files/digest-chillispot-1.0
@@ -1 +1,3 @@
MD5 997827a9302a85920cfbc1334092ac0c chillispot-1.0.tar.gz 440103
+RMD160 752ab3adc4313059c2752b11ec5ba2eee9cebc2a chillispot-1.0.tar.gz 440103
+SHA256 ea00bf63d420f515b9ec034eff6ca04c517459232899b7582f8435b7c097eebf chillispot-1.0.tar.gz 440103