summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-12-24 12:49:46 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-12-24 12:49:46 +0000
commitdbf7e0c96c2df9edce0db9bc169cb16a87d443fc (patch)
tree34c4f76326652dd3ad5163cd5a601d0228273c7a /dev-php/PEAR-HTTP
parentVersion bump #195239. (diff)
downloadhistorical-dbf7e0c96c2df9edce0db9bc169cb16a87d443fc.tar.gz
historical-dbf7e0c96c2df9edce0db9bc169cb16a87d443fc.tar.bz2
historical-dbf7e0c96c2df9edce0db9bc169cb16a87d443fc.zip
Version bump from the php-overlay
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-php/PEAR-HTTP')
-rw-r--r--dev-php/PEAR-HTTP/ChangeLog15
-rw-r--r--dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild23
-rw-r--r--dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch12
-rw-r--r--dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r13
4 files changed, 52 insertions, 1 deletions
diff --git a/dev-php/PEAR-HTTP/ChangeLog b/dev-php/PEAR-HTTP/ChangeLog
index 445d965d5a11..9f6b6c1eee03 100644
--- a/dev-php/PEAR-HTTP/ChangeLog
+++ b/dev-php/PEAR-HTTP/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for dev-php/PEAR-HTTP
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP/ChangeLog,v 1.27 2007/12/06 00:19:50 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP/ChangeLog,v 1.28 2007/12/24 12:38:32 armin76 Exp $
+
+*PEAR-HTTP-1.4.0-r1 (24 Dec 2007)
+
+ 24 Dec 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch,
+ +PEAR-HTTP-1.4.0-r1.ebuild:
+ Version bump from the php-overlay
+
+ 22 Dec 2007; Jakub Moc <jakub@gentoo.org>
+ +files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch,
+ +PEAR-HTTP-1.4.0-r1.ebuild:
+ Add a patch for PECL Bug #12672 (PHP_SELF ending on / causes incorrect
+ redirects) and fix nasty DOS linebreaks
06 Dec 2007; Markus Ullmann <jokey@gentoo.org> PEAR-HTTP-1.4.0.ebuild:
LICENSE fix from project overlay
diff --git a/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild b/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild
new file mode 100644
index 000000000000..b31f5cf417e5
--- /dev/null
+++ b/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.0-r1.ebuild,v 1.1 2007/12/24 12:38:33 armin76 Exp $
+
+inherit php-pear-r1 depend.php eutils
+
+DESCRIPTION="Miscellaneous HTTP utilities."
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+pkg_setup() {
+ require_php_with_use pcre
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # fix nasty DOS linebreaks and http://pear.php.net/bugs/bug.php?id=12672
+ edos2unix HTTP.php
+ epatch "${FILESDIR}"/${P}-trailingslash-redirect-bug12672.patch
+}
diff --git a/dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch b/dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch
new file mode 100644
index 000000000000..fc986be13d89
--- /dev/null
+++ b/dev-php/PEAR-HTTP/files/PEAR-HTTP-1.4.0-trailingslash-redirect-bug12672.patch
@@ -0,0 +1,12 @@
+diff -Nau HTTP.php.orig HTTP.php
+--- HTTP.php.orig 23 Apr 2006 14:20:52 -0000
++++ HTTP.php 12 Dec 2007 14:16:25 -0000
+@@ -332,6 +332,8 @@
+ if (isset($_SERVER['PATH_INFO']) && strlen($_SERVER['PATH_INFO']) &&
+ $_SERVER['PHP_SELF'] != $_SERVER['PATH_INFO']) {
+ $path = dirname(substr($_SERVER['PHP_SELF'], 0, -strlen($_SERVER['PATH_INFO'])));
++ } else if (substr($_SERVER['PHP_SELF'], -1) == "/") {
++ $path = $_SERVER['PHP_SELF'];
+ } else {
+ $path = dirname($_SERVER['PHP_SELF']);
+ }
diff --git a/dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1 b/dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1
new file mode 100644
index 000000000000..01033253a6d4
--- /dev/null
+++ b/dev-php/PEAR-HTTP/files/digest-PEAR-HTTP-1.4.0-r1
@@ -0,0 +1,3 @@
+MD5 62f3ef8c163e2ac11b8ea0163f2a5d3e HTTP-1.4.0.tgz 4593
+RMD160 172b08b653d6a5e878c872fc74872daa335742b3 HTTP-1.4.0.tgz 4593
+SHA256 c5b005fc460e56ae2e0f6f27fe7fa6d2bdb8a332284f221605bf8406e79d3a3b HTTP-1.4.0.tgz 4593