* -pcre build issue fixed
authorKonstantin V. Arkhipov <voxus@gentoo.org>
Fri, 2 Sep 2005 07:29:10 +0000 (07:29 +0000)
committerKonstantin V. Arkhipov <voxus@gentoo.org>
Fri, 2 Sep 2005 07:29:10 +0000 (07:29 +0000)
Package-Manager: portage-2.0.51.22-r2

www-servers/nginx/ChangeLog
www-servers/nginx/Manifest
www-servers/nginx/files/digest-nginx-0.1.43-r1 [new file with mode: 0644]
www-servers/nginx/nginx-0.1.43-r1.ebuild [new file with mode: 0644]

index 3ba9dc2f08999e85ce356dc9dc847e380b3f1985..0a86fb62cfffb8bba3eb65fced8d11d4402249f9 100644 (file)
@@ -1,6 +1,12 @@
 # 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.39 2005/08/30 13:27:38 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.40 2005/09/02 07:29:10 voxus Exp $
+
+*nginx-0.1.43-r1 (02 Sep 2005)
+
+  02 Sep 2005; Konstantin Arkhipov <voxus@gentoo.org> +nginx-0.1.43-r1.ebuild:
+  Now disables build of rewrite module when pcre use flag is turned off.
+  Problem reported by Alexey Mahotkin <squadette@gmail.com>.
 
 *nginx-0.1.43 (30 Aug 2005)
 
index 53b312db4cb3f2beda125fe26c71fe833fed936f..3bb7d5449d12b4753c3a45428976b3ecbd9ed917 100644 (file)
@@ -1,10 +1,12 @@
 MD5 70d837c86a6a0761d65ea79d31f45b79 nginx-0.1.42.ebuild 1900
+MD5 d9ee9da4e6237f6bf7a78093cc1a7efb nginx-0.1.43-r1.ebuild 1940
 MD5 da8089ca918d40c0a8cdab5e39858a12 nginx-0.1.41.ebuild 1898
 MD5 fa9cb09353fee978ccea541d60005756 nginx-0.1.43.ebuild 1900
-MD5 d761034c1296678a741f3ac8b01b620d ChangeLog 6885
+MD5 d81f6f04b0c43348e808137797596595 ChangeLog 7131
 MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
 MD5 d726deb4444f111650634a938adba396 files/digest-nginx-0.1.41 64
 MD5 0a5b3a3e823ccc6d86118bef0ad1e9e7 files/digest-nginx-0.1.42 64
 MD5 4d5dd35352705e8211bf5b959600acd4 files/digest-nginx-0.1.43 64
 MD5 d8f7e621e098b58848a6b5fb045c49c3 files/nginx 994
+MD5 4d5dd35352705e8211bf5b959600acd4 files/digest-nginx-0.1.43-r1 64
 MD5 fecedd05099122b1f8169152e5bc9462 files/nginx.conf 1400
diff --git a/www-servers/nginx/files/digest-nginx-0.1.43-r1 b/www-servers/nginx/files/digest-nginx-0.1.43-r1
new file mode 100644 (file)
index 0000000..75f1919
--- /dev/null
@@ -0,0 +1 @@
+MD5 12ca29e01cb08a7126994b984af15cc6 nginx-0.1.43.tar.gz 317701
diff --git a/www-servers/nginx/nginx-0.1.43-r1.ebuild b/www-servers/nginx/nginx-0.1.43-r1.ebuild
new file mode 100644 (file)
index 0000000..36c8466
--- /dev/null
@@ -0,0 +1,70 @@
+# 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.1.43-r1.ebuild,v 1.1 2005/09/02 07:29:10 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
+}