diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2008-12-26 09:04:43 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2008-12-26 09:04:43 +0000 |
commit | 22085857b62842b05b3dd54798db5887d0548e5a (patch) | |
tree | c206f2661debeaf8223eed06de4dfef0ae5c8e68 /www-servers | |
parent | Fix building on 64bit systems due to implicit string prototypes. (diff) | |
download | historical-22085857b62842b05b3dd54798db5887d0548e5a.tar.gz historical-22085857b62842b05b3dd54798db5887d0548e5a.tar.bz2 historical-22085857b62842b05b3dd54798db5887d0548e5a.zip |
version bump
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/cherokee/Manifest | 3 | ||||
-rw-r--r-- | www-servers/cherokee/cherokee-0.11.6.ebuild | 104 | ||||
-rw-r--r-- | www-servers/cherokee/files/cherokee-initd-0.11 | 34 |
3 files changed, 141 insertions, 0 deletions
diff --git a/www-servers/cherokee/Manifest b/www-servers/cherokee/Manifest index b320af90d710..eac76896fceb 100644 --- a/www-servers/cherokee/Manifest +++ b/www-servers/cherokee/Manifest @@ -3,10 +3,13 @@ AUX cherokee-0.5.6-gnutls-pkgconfig.patch 553 RMD160 209761a11fb856b9465fbfd03c9 AUX cherokee-0.5.6-replace-with-sed.patch 805 RMD160 b8398d4bcf86ef6480333382ee70fac21c39a355 SHA1 7ef02e1cf7ae62b87a448802fb03eb0f9a7ccdb0 SHA256 abcee67605d09ebf1c9ab397a8cb1e5c7a4ea1b50cada4b89a46a1bbf94223df AUX cherokee-0.5.6-sendfile-crosscompile.patch 615 RMD160 13359b59d8bd4a0971fc5fefbb1c3be6396f829e SHA1 a8b61dd4679dc6614c9351e36d3e73e44c595fcb SHA256 a6cb6bb6f70a62e241eaed9aa1900aa375ab287c1d5acabac6a58cdbe8ba4465 AUX cherokee-0.7.2-signed_unsigned_char.patch 489 RMD160 0f48eb630ddac51fbb6d27c20305a619af7f1e73 SHA1 6277713dcfaaaa8a63d9cec664534f59c56d7f92 SHA256 720e6db3a41db6c998e9885fa2ecd246807e5eb86d553216507ff450fd49febb +AUX cherokee-initd-0.11 755 RMD160 834db29ec8492ea78d7f2698a8aaf327ec343d32 SHA1 82c1bc518f3439bf05daf0665caaafcd2ececac6 SHA256 9a666b509d62c27c46db88cec772a8758d54c18db2d02a8e2d3de6c712fdf2f9 AUX cherokee-initd-0.5.6 587 RMD160 50ab8f40e9258c96685373ad38f9440ca8b496b5 SHA1 b716cac0116c8177e8d0c8064b8500ed90619154 SHA256 09985375cc821db0c12fed621d505bad134acfb578432b1a940216f5e83a5551 AUX cherokee-initd-0.6 604 RMD160 6058ef7451ef99b5eb12525982be5b925da7cf64 SHA1 2dbf63f2496d82c0cebd3d3f06a6778ba771341b SHA256 d2bbc03010e9a2493fab60873ecbaeaa43263e0f476b2f28145f8c65151e1997 +DIST cherokee-0.11.6.tar.gz 2857892 RMD160 a069e4ed440fcc104fe0ee8ca87c9f82298c75d6 SHA1 8ea85f6ed5bdfe2cfaa5045e5af6f61f40284b52 SHA256 c3409be1e15807fc17470952e14fd70166cb35fec52b910e1d54f60ff7fb99bb DIST cherokee-0.8.1.tar.gz 3052809 RMD160 5a085701f272fcb29775bce4983c8f379e925213 SHA1 4715771aa304a2207766fe4390672b4a2050c6aa SHA256 d159eae221221492bfc4d6139926480d713d84c50a00807e0725f7af2e1d6c9f DIST cherokee-0.9.0.tar.gz 3024326 RMD160 7f29e9c9e0b4e67830466d463e90da6ca254de9e SHA1 ff05c660f460d04677924391031d133460f83de0 SHA256 d266e2adf77d9b9e0d72f63695da1d03dfd86f38830bbb8d4a8482df2f89ef41 +EBUILD cherokee-0.11.6.ebuild 2624 RMD160 c621f65d320d85948e226a0a7ee3612f1b2b1e8a SHA1 b2dd97ae846bfee416694a66a903a1811d54c7b2 SHA256 c5da8d2d8bf19c76eae8375332e2811c9166b2389b4cba542521f057b8ab3380 EBUILD cherokee-0.8.1.ebuild 2692 RMD160 53f4e5e0167e2a2ccbc3ecc7741bc4b21d91d044 SHA1 df5df4235b7862ccc5aa99df8bf2976601c1c732 SHA256 e8bd56d511ec9874e63cf0840312b2e30381c1f30b571e93c43c616111617275 EBUILD cherokee-0.9.0.ebuild 2692 RMD160 bd16838bc62021424868fa8d3532821bbdbe2eed SHA1 38c280f9ffe1e0f6e0ba48ff0c3ca60fc8dd4cad SHA256 4f2a91aab836d5e4ec006457f9c0b1b6c2aef7cd701286a246614f18ca016947 MISC ChangeLog 13337 RMD160 0254e06726154bdbd57bac43095dc7dae7c303f9 SHA1 e3580d7584cae9b0da35eb110a63b41929bdfccb SHA256 0d2270b5cc6f1c04dfda3b59d17f9802459b241b140036489fb202b917a9f937 diff --git a/www-servers/cherokee/cherokee-0.11.6.ebuild b/www-servers/cherokee/cherokee-0.11.6.ebuild new file mode 100644 index 000000000000..1cebe2ef9846 --- /dev/null +++ b/www-servers/cherokee/cherokee-0.11.6.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.11.6.ebuild,v 1.1 2008/12/26 09:04:43 bass Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils pam versionator libtool autotools + +DESCRIPTION="An extremely fast and tiny web server." +SRC_URI="http://www.cherokee-project.com/download/$(get_version_component_range 1-2)/${PV}/${P}.tar.gz" +HOMEPAGE="http://www.cherokee-project.com/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="ipv6 ssl static pam coverpage threads kernel_linux admin" + +RDEPEND=">=sys-libs/zlib-1.1.4-r1 + ssl? ( dev-libs/openssl ) + pam? ( virtual/pam ) + admin? ( dev-lang/python )" +DEPEND="${RDEPEND}" + +src_compile() { + local myconf + + if use ssl ; then + myconf="${myconf} --enable-tls=openssl" + else + myconf="${myconf} --disable-tls" + fi + + if use static ; then + myconf="${myconf} --enable-static --enable-static-module=all" + else + myconf="${myconf} --disable-static" + fi + + local os="Unknown" + case "${CHOST}" in + *-freebsd*) + os="FreeBSD" ;; + *-netbsd*) + os="NetBSD" ;; + *-openbsd*) + os="OpenBSD" ;; + *) + os="Linux" ;; + esac + + econf \ + ${myconf} \ + $(use_enable pam) \ + $(use_enable ipv6) \ + $(use_enable threads pthread) \ + $(use_enable kernel_linux epoll) \ + --disable-dependency-tracking \ + --enable-os-string="Gentoo ${os}" \ + --with-wwwroot=/var/www/localhost/htdocs \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + || die "configure failed" + + emake || die "emake failed" +} + +src_install () { + emake -j1 DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install || die "make install failed" + dodoc AUTHORS ChangeLog TODO + + newpamd pam.d_cherokee ${PN} || die "newpamd failed" + newinitd "${FILESDIR}/${PN}-initd-0.11" ${PN} || die "newinitd failed" + + dodir /usr/share/doc/${PF}/contrib + insinto /usr/share/${PF}/contrib + doins contrib/05to06.py + doins contrib/06to07.py + doins contrib/07to08.py + doins contrib/08to09.py + doins contrib/09to10.py + + keepdir /etc/cherokee/mods-enabled /etc/cherokee/sites-enabled /var/www/localhost/htdocs + + use coverpage || rm -rf "${D}"/var/www/localhost/htdocs/{index.html,images} + use admin || rm -rf "${D}"/usr/sbin/admin "${D}"/usr/share/cherokee/admin + +} + +pkg_postinst() { + enewgroup cherokee + enewuser cherokee -1 -1 /var/www/localhost cherokee + + if use admin ; then + echo "" + elog "Just run 'cherokee-admin' and go to: http://localhost:9090" + echo "" + else + echo "" + elog "Try USE=admin if you want a easy way to configure cherokee." + echo "" + fi +} diff --git a/www-servers/cherokee/files/cherokee-initd-0.11 b/www-servers/cherokee/files/cherokee-initd-0.11 new file mode 100644 index 000000000000..b49f347bb399 --- /dev/null +++ b/www-servers/cherokee/files/cherokee-initd-0.11 @@ -0,0 +1,34 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-initd-0.11,v 1.1 2008/12/26 09:04:43 bass Exp $ + +PIDFILE=/var/run/cherokee.pid + +opt="reload" + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + start-stop-daemon --start -b --pidfile ${PIDFILE} \ + --exec /usr/sbin/cherokee + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + start-stop-daemon --stop --pidfile ${PIDFILE} \ + --exec /usr/sbin/cherokee + eend $? +} + +reload() { + ebegin "Restarting Cherokee Web Server and closing all open connections" + start-stop-daemon --stop --pidfile ${PIDFILE} \ + --signal USR1 + eend $? +} + |