# 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.56 2005/11/05 16:20:30 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.57 2005/11/10 21:35:34 voxus Exp $
+
+*nginx-0.3.9 (11 Nov 2005)
+
+ 11 Nov 2005; Konstantin Arkhipov <voxus@gentoo.org> +nginx-0.3.9.ebuild:
+ Version bump.
05 Oct 2005; Konstantin Arkhipov <voxus@gentoo.org> nginx-0.3.7.ebuild:
Stable on x86 and amd64.
-MD5 15e25e5b4d73b5e6feb5c27dfbe6c0e7 ChangeLog 9707
+MD5 6e0fa23988ab11739cad426f70c634cb ChangeLog 9827
MD5 e8474104898712edc8575c940152bbd3 files/digest-nginx-0.1.45 64
MD5 86fb37c347608004443f47aabae2fec7 files/digest-nginx-0.2.6 63
MD5 1dc6c0c614d9bb36a95367fdc9cc25c3 files/digest-nginx-0.3.7 63
+MD5 d97eb612489cf6605cfdaffaaeae6e98 files/digest-nginx-0.3.9 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 6460bce607f17843cd0c22395e6122e0 nginx-0.2.6.ebuild 1934
MD5 cde8245130ff3daccbad17d3d8ce7bcc nginx-0.3.7.ebuild 1934
+MD5 ed031974cbccd54f4997a49d2d904198 nginx-0.3.9.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.3.9.ebuild,v 1.1 2005/11/10 21:35:34 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
+}