summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2005-09-02 07:29:10 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2005-09-02 07:29:10 +0000
commitd12dd08c92078bf1bf7ada9be16bcef9348fcdf0 (patch)
treefcaeb75a4a2d34470f958ab73df52787c6578ca1 /www-servers
parentStable on alpha due to security bug #104010 (diff)
downloadgentoo-2-d12dd08c92078bf1bf7ada9be16bcef9348fcdf0.tar.gz
gentoo-2-d12dd08c92078bf1bf7ada9be16bcef9348fcdf0.tar.bz2
gentoo-2-d12dd08c92078bf1bf7ada9be16bcef9348fcdf0.zip
* -pcre build issue fixed
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/nginx/ChangeLog8
-rw-r--r--www-servers/nginx/Manifest2
-rw-r--r--www-servers/nginx/files/digest-nginx-0.1.43-r11
-rw-r--r--www-servers/nginx/nginx-0.1.43-r1.ebuild70
4 files changed, 80 insertions, 1 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index 3ba9dc2f0899..0a86fb62cfff 100644
--- a/www-servers/nginx/ChangeLog
+++ b/www-servers/nginx/ChangeLog
@@ -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)
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
index 53b312db4cb3..a621e6f634bf 100644
--- a/www-servers/nginx/Manifest
+++ b/www-servers/nginx/Manifest
@@ -1,4 +1,5 @@
MD5 70d837c86a6a0761d65ea79d31f45b79 nginx-0.1.42.ebuild 1900
+MD5 571972673dba18cc3bf69c5e968fd425 nginx-0.1.43-r1.ebuild 1937
MD5 da8089ca918d40c0a8cdab5e39858a12 nginx-0.1.41.ebuild 1898
MD5 fa9cb09353fee978ccea541d60005756 nginx-0.1.43.ebuild 1900
MD5 d761034c1296678a741f3ac8b01b620d ChangeLog 6885
@@ -7,4 +8,5 @@ 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
index 000000000000..75f19195cd52
--- /dev/null
+++ b/www-servers/nginx/files/digest-nginx-0.1.43-r1
@@ -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
index 000000000000..36c84664ec75
--- /dev/null
+++ b/www-servers/nginx/nginx-0.1.43-r1.ebuild
@@ -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
+}