summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2008-06-12 10:40:16 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2008-06-12 10:40:16 +0000
commitc1183d3c20566a0d1931992ad748b7328263ec99 (patch)
treedb8480bf3426b1794f055c17a50475d1a7a1691f /www-servers/cherokee
parentia64/sparc stable wrt #209877 (diff)
downloadhistorical-c1183d3c20566a0d1931992ad748b7328263ec99.tar.gz
historical-c1183d3c20566a0d1931992ad748b7328263ec99.tar.bz2
historical-c1183d3c20566a0d1931992ad748b7328263ec99.zip
Bump Version
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-servers/cherokee')
-rw-r--r--www-servers/cherokee/ChangeLog8
-rw-r--r--www-servers/cherokee/Manifest4
-rw-r--r--www-servers/cherokee/cherokee-0.7.2.ebuild114
3 files changed, 124 insertions, 2 deletions
diff --git a/www-servers/cherokee/ChangeLog b/www-servers/cherokee/ChangeLog
index d1e0759a02d9..f48b6c7eff10 100644
--- a/www-servers/cherokee/ChangeLog
+++ b/www-servers/cherokee/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-servers/cherokee
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.39 2008/06/03 09:08:44 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.40 2008/06/12 10:40:16 bass Exp $
+
+*cherokee-0.7.2 (12 Jun 2008)
+
+ 12 Jun 2008; J. Alberto Suárez López <bass@gentoo.org>
+ +cherokee-0.7.2.ebuild:
+ Version bump
*cherokee-0.7.0 (03 Jun 2008)
diff --git a/www-servers/cherokee/Manifest b/www-servers/cherokee/Manifest
index 6805512553cd..bd0131d9a61e 100644
--- a/www-servers/cherokee/Manifest
+++ b/www-servers/cherokee/Manifest
@@ -8,9 +8,11 @@ DIST cherokee-0.5.6.tar.gz 1392282 RMD160 fd5661449bd845e3be1911490f02144a805f5c
DIST cherokee-0.6.0.tar.gz 2494621 RMD160 82def24f5ec981b86cb45f235ed3c829dc3a7d22 SHA1 8e9d0ea41e3c9f8e5895e2550c674988b2df078e SHA256 58c13ffc71f2c3ed03cd258fba8d4b916310559aae2bdc89f57f4e609cf9e42c
DIST cherokee-0.6.1.tar.gz 2496364 RMD160 9672aa1336419d8f0808ee20f9f27074913a25f3 SHA1 947fd3e19203b334301515a91b5d895ac01239c8 SHA256 44f5ba40435b1dc8855d6c7ae4d52927eefd6f0ce4c2afb598aecba5e9ba576a
DIST cherokee-0.7.0.tar.gz 2590422 RMD160 991a4f08dd5ade1b250f98d9234a65d8a6fc4487 SHA1 33d3668b641b7f4b7d361169f0c389d97d4720b5 SHA256 559ef38b2ab4b8fc04986cc58a2fdef12b04f55795dcf7133d80426c692a2910
+DIST cherokee-0.7.2.tar.gz 2593067 RMD160 40daf7aab840d8c7cbdaada52a4af3d1e75e2270 SHA1 cb5ec6752737afae3505d1387b52a4230ec21f42 SHA256 55178338db38effa01ca3e02091c59696549e60c229a7b2a6b07028d38f79e7d
EBUILD cherokee-0.5.6.ebuild 2673 RMD160 a9083e76122aef92f7cdaf74d1e1764dbdebe4ca SHA1 4018a37716e445136e38250e22906db30de07b9a SHA256 25225e0b44aacb9e9eaf5de68f5e544023153b6ac40e8fd8581392a6b3cb2f4f
EBUILD cherokee-0.6.0.ebuild 2935 RMD160 8c9466dc2b9781542fc73a2819d17455bc2d0fae SHA1 1037760ebbed189e8efa1f0016d00bcf0c22b37f SHA256 de4c43d5b718be5baf0225403d0484134d50a7699f4fe0fe8449e3e6f0cd8bd2
EBUILD cherokee-0.6.1.ebuild 2930 RMD160 169ffece4800f7b71dfb148f6c7b511a23927b8b SHA1 34d1b996f8bbd03251e88d520ab9baad13283b4d SHA256 45a617be66c11eda3bfb9360587e07af8439c7c7647d7018d04409becb55ee24
EBUILD cherokee-0.7.0.ebuild 2935 RMD160 7a61a44224241d78a927d7c60d2d0b2e6af866fd SHA1 ed3401bdf0720cb09f3a2fbc229a0d89fd055418 SHA256 5121a635f69fb2fae23c756dc4010314843d891a7a282cf143d4f92faea55152
-MISC ChangeLog 12457 RMD160 9e658b77b9d864e2b2115fb51fbd1ed83c9bdd63 SHA1 b6a5e61fb8131806c6addf4147277d0151f10c8d SHA256 17f6aab7161d9ebe744b1565682fb3784fc2466f5911f2bacb1ab10002ab633b
+EBUILD cherokee-0.7.2.ebuild 2979 RMD160 06feaf4ecc99fe0b134c79eaeeeb1c5c3cede856 SHA1 5eb09bd7391c7bb92309ba6e05adabe320433a47 SHA256 4fcab11d7028db72810ffeb1c457cc99568d71d6b9ef3b055a0e65d964d7a058
+MISC ChangeLog 12589 RMD160 74b5e94c8e356ce5667afc5f94755a0041feb003 SHA1 44b9d6c24f30c4b95c95be0b2cc597cb9e3d94fd SHA256 5af10ea0111b5b743498173f95401b4a48841e4eff1d223202cf8f0e3e43aa17
MISC metadata.xml 278 RMD160 289661471d4556515a01a6ddffe61500fbddfadc SHA1 0b1c28d6446aba4197173c104b24151fa362dbd6 SHA256 db15e152ee6f7005958cf6e736c0c2527d872993f571df5603a3fe8009a77653
diff --git a/www-servers/cherokee/cherokee-0.7.2.ebuild b/www-servers/cherokee/cherokee-0.7.2.ebuild
new file mode 100644
index 000000000000..72ac9926758d
--- /dev/null
+++ b/www-servers/cherokee/cherokee-0.7.2.ebuild
@@ -0,0 +1,114 @@
+# 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.7.2.ebuild,v 1.1 2008/06/12 10:40:16 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 gnutls static pam coverpage threads kernel_linux admin"
+
+RDEPEND=">=sys-libs/zlib-1.1.4-r1
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( dev-libs/openssl )
+ )
+ pam? ( virtual/pam )
+ admin? ( dev-lang/python )"
+DEPEND="${RDEPEND}"
+
+#S="${WORKDIR}/${P}b1240"
+
+src_compile() {
+ local myconf
+
+ if use ssl && use gnutls ; then
+ myconf="${myconf} --enable-tls=gnutls"
+ elif use ssl && ! use gnutls ; 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.6" ${PN} || die "newinitd failed"
+
+ dodir /usr/share/doc/${PF}/contrib
+ insinto /usr/share/${PF}/contrib
+ doins contrib/05to06.py
+ doins contrib/06to07.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
+
+ echo ""
+ elog "Cherokee conf is quite different in 0.6.x and 0.7.x series. You must use"
+ elog " cherokee-admin to create a new config or use /usr/share/doc/${PF}/contrib/05to06.py"
+ elog " or 06to07.py to export your old config (not ever works)."
+ echo ""
+}