summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2005-05-15 15:24:13 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2005-05-15 15:24:13 +0000
commit2d1078b3e544d80ed8e006cbf8c214e76576dda4 (patch)
tree66e2ec30ec4de85e4841de551ee4fb6d4b068117 /www-servers
parentadded ~hppa (diff)
downloadgentoo-2-2d1078b3e544d80ed8e006cbf8c214e76576dda4.tar.gz
gentoo-2-2d1078b3e544d80ed8e006cbf8c214e76576dda4.tar.bz2
gentoo-2-2d1078b3e544d80ed8e006cbf8c214e76576dda4.zip
+ slashless path patch
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/nginx/ChangeLog8
-rw-r--r--www-servers/nginx/Manifest5
-rw-r--r--www-servers/nginx/files/digest-nginx-0.1.30-r1 (renamed from www-servers/nginx/files/digest-nginx-0.1.30)0
-rw-r--r--www-servers/nginx/files/nginx-0.1.30-slashless_path.patch11
-rw-r--r--www-servers/nginx/nginx-0.1.30-r1.ebuild (renamed from www-servers/nginx/nginx-0.1.30.ebuild)7
5 files changed, 27 insertions, 4 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index 88c9d94fdd66..3ae2adc570a3 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.20 2005/05/15 12:54:00 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.21 2005/05/15 15:24:13 voxus Exp $
+
+*nginx-0.1.30-r1 (15 May 2005)
+
+ 15 May 2005; Konstantin Arkhipov <voxus@gentoo.org> -nginx-0.1.30.ebuild,
+ +files/nginx-0.1.30-slashless_path.patch, +nginx-0.1.30-r1.ebuild:
+ Added slashless path patch from author.
*nginx-0.1.30 (15 May 2005)
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
index 444cf28d389a..9e478aa07e98 100644
--- a/www-servers/nginx/Manifest
+++ b/www-servers/nginx/Manifest
@@ -1,12 +1,13 @@
+MD5 0e6392063fe634f077ffc444495c986b nginx-0.1.30-r1.ebuild 2080
MD5 65987f13c01c296f08dd2b66d91f7d1f nginx-0.1.29-r2.ebuild 2061
-MD5 bb9aa1b4fa55fe29675f09c521dc5658 nginx-0.1.30.ebuild 1989
MD5 0b612ee125685634d4e80df6e302d442 nginx-0.1.28-r2.ebuild 2082
MD5 f71211ed8b0a386978891b0fd8945562 ChangeLog 3608
MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
-MD5 3fdafbf9506225d30813bc86bfdfaca2 files/digest-nginx-0.1.30 64
+MD5 1128351ac7fd6ef7b14f169b1e327518 files/nginx-0.1.30-slashless_path.patch 412
MD5 8c7b8c93f0c4048d83df9cdc31d86e1b files/nginx 922
MD5 964b96268e483e663e4ea13d03320185 files/digest-nginx-0.1.28-r2 64
MD5 4e72c813c956580f61dea414fe1af8b3 files/digest-nginx-0.1.29-r2 64
+MD5 3fdafbf9506225d30813bc86bfdfaca2 files/digest-nginx-0.1.30-r1 64
MD5 a7b2073cd531459fc68972b181018465 files/nginx-0.1.29-500_bytes_long.patch 402
MD5 148b61099c94cfc02add671522699a48 files/nginx-0.1.28-bad_backend_header.patch 656
MD5 b3342c18a1880b574cbe4458560019c6 files/nginx.conf 1445
diff --git a/www-servers/nginx/files/digest-nginx-0.1.30 b/www-servers/nginx/files/digest-nginx-0.1.30-r1
index dde9228492cc..dde9228492cc 100644
--- a/www-servers/nginx/files/digest-nginx-0.1.30
+++ b/www-servers/nginx/files/digest-nginx-0.1.30-r1
diff --git a/www-servers/nginx/files/nginx-0.1.30-slashless_path.patch b/www-servers/nginx/files/nginx-0.1.30-slashless_path.patch
new file mode 100644
index 000000000000..5c482a110b4d
--- /dev/null
+++ b/www-servers/nginx/files/nginx-0.1.30-slashless_path.patch
@@ -0,0 +1,11 @@
+--- src/http/ngx_http_special_response.c Fri May 13 12:59:23 2005
++++ src/http/ngx_http_special_response.c Sun May 15 19:06:15 2005
+@@ -300,7 +300,7 @@
+
+ } else if (error < NGX_HTTP_BAD_REQUEST) {
+ /* 3XX */
+- err = error - NGX_HTTP_MOVED_PERMANENTLY;
++ err = error - NGX_HTTP_MOVED_PERMANENTLY + NGX_HTTP_LEVEL_200;;
+
+ } else if (error < NGX_HTTP_NGX_CODES) {
+ /* 4XX */
diff --git a/www-servers/nginx/nginx-0.1.30.ebuild b/www-servers/nginx/nginx-0.1.30-r1.ebuild
index 5d288f56665d..66e52eec5a16 100644
--- a/www-servers/nginx/nginx-0.1.30.ebuild
+++ b/www-servers/nginx/nginx-0.1.30-r1.ebuild
@@ -1,6 +1,6 @@
# 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.30.ebuild,v 1.1 2005/05/15 12:54:00 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.30-r1.ebuild,v 1.1 2005/05/15 15:24:13 voxus Exp $
inherit eutils
@@ -17,6 +17,11 @@ DEPEND="dev-lang/perl
ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )"
+src_unpack() {
+ unpack ${A}
+ cd ${S} && epatch ${FILESDIR}/${P}-slashless_path.patch
+}
+
src_compile() {
local myconf