# ChangeLog for www-servers/nginx
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.45 2005/09/30 17:11:12 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.46 2005/10/03 17:41:48 voxus Exp $
+
+*nginx-0.2.4 (03 Oct 2005)
+
+ 03 Oct 2005; Konstantin Arkhipov <voxus@gentoo.org> +nginx-0.2.4.ebuild:
+ Version bump.
*nginx-0.2.3 (30 Sep 2005)
-MD5 3c18bb527b67288a5978c43962bfd4bc nginx-0.2.1.ebuild 1936
-MD5 fd0d6de710bf6e4fdd466df7f498e814 ChangeLog 8090
-MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
-MD5 62f46895e63da25c83512f589b9e61cb nginx-0.1.45.ebuild 1935
-MD5 60ddd97ebfc099421ce6cd3bef5020dd nginx-0.2.3.ebuild 1936
+MD5 2b36dfd87ca1a5591acab014b2da7e78 ChangeLog 8210
MD5 e8474104898712edc8575c940152bbd3 files/digest-nginx-0.1.45 64
-MD5 d8f7e621e098b58848a6b5fb045c49c3 files/nginx 994
MD5 ed882ba7b3d8655035ab7b1df383cb1e files/digest-nginx-0.2.1 63
MD5 5a800d15945631995ab77315c11b7e46 files/digest-nginx-0.2.3 63
+MD5 ef1dbbfda1d3c319e8a22c89f8618241 files/digest-nginx-0.2.4 63
+MD5 d8f7e621e098b58848a6b5fb045c49c3 files/nginx 994
MD5 fecedd05099122b1f8169152e5bc9462 files/nginx.conf 1400
+MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
+MD5 62f46895e63da25c83512f589b9e61cb nginx-0.1.45.ebuild 1935
+MD5 3c18bb527b67288a5978c43962bfd4bc nginx-0.2.1.ebuild 1936
+MD5 60ddd97ebfc099421ce6cd3bef5020dd nginx-0.2.3.ebuild 1936
+MD5 723f51ae02e02bb74b68a7d189f1b43f nginx-0.2.4.ebuild 1936
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.2.4.ebuild,v 1.1 2005/10/03 17:41:48 voxus Exp $
+
+inherit eutils
+
+DESCRIPTION="Robust, small and high performance http and reverse proxy server"
+
+HOMEPAGE="http://sysoev.ru/nginx/"
+SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug fastcgi imap pcre threads ssl zlib"
+
+DEPEND="dev-lang/perl
+ pcre? ( >=dev-libs/libpcre-4.2 )
+ ssl? ( dev-libs/openssl )
+ zlib? ( sys-libs/zlib )"
+
+src_compile() {
+ local myconf
+
+ if use threads; then
+ einfo
+ ewarn "threads support is experimental at the moment"
+ ewarn "do not use it on production systems - you've been warned"
+ einfo
+ myconf="${myconf} --with-threads"
+ fi
+
+ use fastcgi || myconf="${myconf} --without-http_fastcgi_module"
+ use zlib || myconf="${myconf} --without-http_gzip_module"
+ use pcre || {
+ myconf="${myconf} --without-pcre --without-http_rewrite_module"
+ }
+ use debug && myconf="${myconf} --with-debug"
+ use ssl && myconf="${myconf} --with-http_ssl_module"
+ use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support
+
+ ./configure \
+ --prefix=/usr \
+ --conf-path=/etc/${PN}/${PN}.conf \
+ --http-log-path=/var/log/${PN}/access_log \
+ --error-log-path=/var/log/${PN}/error_log \
+ --pid-path=/var/run/${PN}.pid \
+ --http-client-body-temp-path=/var/tmp/${PN}/client \
+ --http-proxy-temp-path=/var/tmp/${PN}/proxy \
+ --http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \
+ --with-md5-asm \
+ ${myconf} || die "configure failed"
+
+ emake || die "failed to compile"
+}
+
+src_install() {
+ keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
+
+ dodir /etc/${PN}
+
+ dosbin objs/nginx
+ doinitd ${FILESDIR}/nginx
+
+ insinto /etc/${PN}
+ rm conf/nginx.conf
+ doins -r conf/*
+ doins ${FILESDIR}/nginx.conf
+
+ dodoc CHANGES{,.ru} LICENSE README
+}