pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-libapreq2 Update p5-libapreq2 to 2.07.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c2ce193e1c2
branches:  trunk
changeset: 508491:8c2ce193e1c2
user:      hiramatsu <hiramatsu%pkgsrc.org@localhost>
date:      Mon Feb 20 11:15:49 2006 +0000

description:
Update p5-libapreq2 to 2.07.

Changes with libapreq2-2.07 (released February 12, 2006)

- C API [joes]
  SECURITY: CVE-2006-0042 (cve.mitre.org)
  Eliminate potential quadratic behavior in apreq_parse_headers() and
  apreq_parse_urlencoded().

- Perl API [Philip M. Gollucci]
  Fix Apache2::Cookie->cookies() to comply with its documentation

- C API [Philip M. Gollucci]
  Use the APREQ_DEFAULT_READ_LIMIT constant for the read_limit

- C API [Ville Skyttd, Dirk Nehring]
  Add explicit cast in apreq_escape()/apreq_util.h to keep
  C++ compilers happy.

- C API [joes]
  Protect against arbitrary recursion depth in apreq_parse_multipart()
  by adding a reasonable compile-time MAX_LEVEL limit.

- C API [joes]
  Clean up end-of-file parsing for apreq_parse_multipart(),
  conforming to rfc-2046 ' 5.1.1.

- Perl API [joes]
  Move APR::Request::Param::Table and APR::Request::Cookie::Table
  packages to APR::Request module.

- Perl XS [Steve Hay]
  Fix compile problems on Win32 without PERL_IMPLICIT_SYS
  related to link being an unresolved symbol.

- Perl API [joes]
  APR::Request::Cookie::thaw() isn't a class method.

- C API [joes]
  Fix off-by-one bug in the continuation-lines portion of the
  header parser.

- Perl API [joes]
  Move APR::Request::upload to APR::Request, where it belongs.

- Perl XS [Nikolay Ananiev]
  Use MP_STATIC declarations to allow Cygwin builds.

- Perl API [joes]
  encode()/decode() were busted with zero-length args.  This caused
  Apache2::Cookie::new() to segfault on cookie value of "".

- C API [joes]
  Add apreq_charset_divine() and eliminate charset offset from return
  value of apreq_decode(v).

- C API [joes]
  Improve the cp1252-charset heuristics for apreq_decode(v).

- C API [Ralph Mattes]
  Add explicit casts for apreq_param_charset_* to keep c++ compilers happy.

diffstat:

 www/p5-libapreq2/Makefile |  13 +++++++------
 www/p5-libapreq2/distinfo |   8 ++++----
 2 files changed, 11 insertions(+), 10 deletions(-)

diffs (45 lines):

diff -r d840dece8928 -r 8c2ce193e1c2 www/p5-libapreq2/Makefile
--- a/www/p5-libapreq2/Makefile Mon Feb 20 09:32:57 2006 +0000
+++ b/www/p5-libapreq2/Makefile Mon Feb 20 11:15:49 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:11:27 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2006/02/20 11:15:49 hiramatsu Exp $
 
-DISTNAME=      libapreq2-2.06-dev
-PKGNAME=       p5-libapreq2-2.06
-PKGREVISION=   3
+DISTNAME=      libapreq2-2.07
+PKGNAME=       p5-libapreq2-2.07
 SVR4_PKGNAME=  p5la2
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_APACHE:=httpd/libapreq/}
@@ -26,12 +25,14 @@
 SUBST_SED.apxs=                -e "s|@APACHE2_APXS@ -i -a -n|@APACHE2_APXS@ -i -n|g"
 SUBST_MESSAGE.apxs=    "Fixing module installation."
 
-MAKE_PARAMS+=  --with-apache2-apxs="${APXS}"
+.include "../../lang/perl5/module.mk"
+
+MAKE_PARAMS:=  ${MAKE_PARAMS:NINSTALLDIRS=vendor}
+MAKE_PARAMS+=  --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
 
 #pre-configure:
 #      cd ${WRKSRC} && ./buildconf
 
-.include "../../lang/perl5/module.mk"
 .include "../../www/ap2-perl/buildlink3.mk"
 .include "../../www/apache2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d840dece8928 -r 8c2ce193e1c2 www/p5-libapreq2/distinfo
--- a/www/p5-libapreq2/distinfo Mon Feb 20 09:32:57 2006 +0000
+++ b/www/p5-libapreq2/distinfo Mon Feb 20 11:15:49 2006 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/08/22 18:28:43 tv Exp $
+$NetBSD: distinfo,v 1.5 2006/02/20 11:15:49 hiramatsu Exp $
 
-SHA1 (libapreq2-2.06-dev.tar.gz) = 3e938e17c8f3aba6e680e3c7287183620aec6809
-RMD160 (libapreq2-2.06-dev.tar.gz) = 6d9d37d1b9440bcee2392c661a7ddef30129ee63
-Size (libapreq2-2.06-dev.tar.gz) = 711422 bytes
+SHA1 (libapreq2-2.07.tar.gz) = 49c0359faae36b1fefbf226ef782d2be11a879a2
+RMD160 (libapreq2-2.07.tar.gz) = 74050bf847ae5b0e199d3b53227897d48afad919
+Size (libapreq2-2.07.tar.gz) = 787249 bytes



Home | Main Index | Thread Index | Old Index