diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2011-02-22 21:43:58 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2011-02-22 21:43:58 +0000 |
commit | e4520a3491a5f536b430d1337149fea972e60f2d (patch) | |
tree | 040144244090e60f27b12d805acbf42746a7c743 | |
parent | Drop back down to EAPI=2 to ease upgrades #356089 by ChĂ-Thanh Christopher N... (diff) | |
download | historical-e4520a3491a5f536b430d1337149fea972e60f2d.tar.gz historical-e4520a3491a5f536b430d1337149fea972e60f2d.tar.bz2 historical-e4520a3491a5f536b430d1337149fea972e60f2d.zip |
new init script. thx #333925
Package-Manager: portage-2.1.9.25/cvs/Linux i686
-rw-r--r-- | www-servers/cherokee/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/cherokee/Manifest | 5 | ||||
-rw-r--r-- | www-servers/cherokee/cherokee-1.2.0.ebuild | 4 | ||||
-rw-r--r-- | www-servers/cherokee/files/cherokee-initd-1.2.0 | 39 |
4 files changed, 50 insertions, 6 deletions
diff --git a/www-servers/cherokee/ChangeLog b/www-servers/cherokee/ChangeLog index 11d7e569bcbb..447de7ee333a 100644 --- a/www-servers/cherokee/ChangeLog +++ b/www-servers/cherokee/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-servers/cherokee -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.80 2011/02/22 21:25:44 bass Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.81 2011/02/22 21:43:58 bass Exp $ + + 22 Feb 2011; <bass@gentoo.org> +files/cherokee-initd-1.2.0, + cherokee-1.2.0.ebuild: + New init script. thx #333925 *cherokee-1.2.0 (22 Feb 2011) diff --git a/www-servers/cherokee/Manifest b/www-servers/cherokee/Manifest index 0e3d420f01a8..b95d70fac968 100644 --- a/www-servers/cherokee/Manifest +++ b/www-servers/cherokee/Manifest @@ -1,7 +1,8 @@ AUX cherokee-initd-0.99.23 542 RMD160 e0ee20b7bb781797c3a53d0e2804e8b0fe985beb SHA1 4a8b43509aa4b9bf1079e0e74ca9d61428672522 SHA256 9e58ed7b3050a17fed08cc682e30dfa14e09eb804084b6cc9b213ccd0843300f +AUX cherokee-initd-1.2.0 719 RMD160 5864fde0b186a143e1c13b386bbf1c3beb316d42 SHA1 d12f27657a0e118a4bcad7dd6b94f6d846f30a89 SHA256 c0f631566b7c0e8dc3b3f31f44258ce4410248f08b728d5e2578837d783e98b6 DIST cherokee-1.0.12.tar.gz 5710898 RMD160 21022ac54c32324d3d738e7afb104aa76c96374f SHA1 6a514ea6816252400c777cca4d91658575f49091 SHA256 37fbece8df5af26773710100f85008a9d65e3f363885ce7228f32e882b21fc75 DIST cherokee-1.2.0.tar.gz 5898536 RMD160 e0b9f7af51cf21c94130b3ad3b106821cd35c3b9 SHA1 af8e4ee0e3dce59db86855a59aa0724ca0cfb331 SHA256 835df63bc97324d9a27d9bf3980de25cddae3edc55a2c72b01dc721ac604076a EBUILD cherokee-1.0.12.ebuild 4156 RMD160 475282d32ea58f162b0f1be3a3f2d2fbc0095e9e SHA1 3fc8153a4bae50ededd663efe2c4f83b7e992bdb SHA256 c339938504c78a2ef35abc4eca5045a69f9ef9ab989ada8b5fb3e0c2896f26e3 -EBUILD cherokee-1.2.0.ebuild 4175 RMD160 a6c6f5f3c41516de8430c1544fee0b9d8e58054f SHA1 39aa6f7679f74de3328c53456be89483158cfdd4 SHA256 2f73cf67b8e6237a0479f79bd7ca31fe8588297b0272b2ef75dff5bc86f4ef70 -MISC ChangeLog 19137 RMD160 871be549bf7bbc7aa1294de112e603a473772227 SHA1 4e971eb50fe4249e7077f538ceb793a055532c9e SHA256 7f8c0481e36fc79d402326f969d092e6475feb2c9cb9f19aae7fc7f51daf38fc +EBUILD cherokee-1.2.0.ebuild 4173 RMD160 919ea4b9c7afd3631a23b327facc1053c8b49758 SHA1 223caedc867b59bfe10bb2aeaf5ec1b132f9c4a2 SHA256 2eb701739465bebc900aae4b4b181fb37f05088ce921c61bd49fa88b13bf9461 +MISC ChangeLog 19256 RMD160 c321fd074f571ff91520980065c0b94e48689230 SHA1 467659f584fdf0a5be6976187176433b07d2004e SHA256 f636aa2a4611192592776a6f5ec284bf905afd3c2825c060a24209e0e4bf8c4f MISC metadata.xml 488 RMD160 6689708f9508ed17b4f67284e8fef3512161b432 SHA1 c7a8168a8e6b119bee60b536552f378cf670130b SHA256 4ee7f5937c157209c4d78429188bcfc36b9c063252760215ce2e70da1ff95496 diff --git a/www-servers/cherokee/cherokee-1.2.0.ebuild b/www-servers/cherokee/cherokee-1.2.0.ebuild index 9b9d248feedf..39425ebed77b 100644 --- a/www-servers/cherokee/cherokee-1.2.0.ebuild +++ b/www-servers/cherokee/cherokee-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-1.2.0.ebuild,v 1.1 2011/02/22 21:25:44 bass Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-1.2.0.ebuild,v 1.2 2011/02/22 21:43:58 bass Exp $ EAPI=2 PYTHON_DEPEND="admin? 2" @@ -91,7 +91,7 @@ src_install () { dodoc AUTHORS ChangeLog use pam && pamd_mimic system-auth cherokee auth account session - newinitd "${FILESDIR}/${PN}-initd-0.99.23" ${PN} || die "newinitd failed" + newinitd "${FILESDIR}/${PN}-initd-1.2.0" ${PN} || die "newinitd failed" dodir /usr/share/doc/${PF}/contrib insinto /usr/share/${PF}/contrib diff --git a/www-servers/cherokee/files/cherokee-initd-1.2.0 b/www-servers/cherokee/files/cherokee-initd-1.2.0 new file mode 100644 index 000000000000..e99d0c1ee169 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-initd-1.2.0 @@ -0,0 +1,39 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +opts="gracefull reload" + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + start-stop-daemon --start -b \ + --exec /usr/sbin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + start-stop-daemon --stop \ + --exec /usr/sbin/cherokee + eend $? +} + +gracefull() { + ebegin "Gracefully restarting Cherokee Web Server" + start-stop-daemon \ + --exec /usr/sbin/cherokee \ + --signal HUP + eend $? +} + +reload() { + ebegin "Restarting Cherokee Web Server and closing all open connections" + start-stop-daemon \ + --exec /usr/sbin/cherokee \ + --signal USR1 + eend $? +} |