From dd269d826c5c08c143900408bdac0385ab9d028f Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Nov 27 2006 19:43:55 +0000 Subject: - update to 6.7 - fix #217303, enable-unicode-properties - sane stack limit --- diff --git a/.cvsignore b/.cvsignore index 83b46b8..11a860d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,4 @@ pcre-4.5.tar.bz2 pcre-5.0.tar.bz2 pcre-6.3.tar.bz2 pcre-6.6.tar.bz2 +pcre-6.7.tar.bz2 diff --git a/pcre-6.6-stack.patch b/pcre-6.6-stack.patch new file mode 100644 index 0000000..ec4e1d9 --- /dev/null +++ b/pcre-6.6-stack.patch @@ -0,0 +1,20 @@ +--- pcre-6.6/config.h.in.orig 2006-11-27 20:13:06.000000000 +0100 ++++ pcre-6.6/config.h.in 2006-11-27 20:14:31.000000000 +0100 +@@ -108,7 +108,7 @@ + override this default default. */ + + #ifndef MATCH_LIMIT +-#define MATCH_LIMIT 10000000 ++#define MATCH_LIMIT 100000 + #endif + + /* The above limit applies to all calls of match(), whether or not they +@@ -121,7 +121,7 @@ + "configure" can be used to override this default default. */ + + #ifndef MATCH_LIMIT_RECURSION +-#define MATCH_LIMIT_RECURSION MATCH_LIMIT ++#define MATCH_LIMIT_RECURSION 10000 + #endif + + /* End */ diff --git a/pcre.spec b/pcre.spec index 1bbfb73..4c4e27f 100644 --- a/pcre.spec +++ b/pcre.spec @@ -1,10 +1,11 @@ Name: pcre -Version: 6.6 -Release: 1.1 +Version: 6.7 +Release: 1 Summary: Perl-compatible regular expression library URL: http://www.pcre.org/ Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 Patch1: pcre-6.6-multilib.patch +Patch2: pcre-6.6-stack.patch License: BSD Group: System Environment/Libraries Prefix: %{_prefix} @@ -31,9 +32,10 @@ Development files (Headers, libraries for static linking, etc) for %{name}. %prep %setup -q %patch1 -p1 -b .multilib +%patch2 -p1 -b .stack %build -%configure --enable-utf8 +%configure --enable-utf8 --enable-unicode-properties make %{?_smp_mflags} @@ -80,6 +82,11 @@ rm -rf %{buildroot} %{_bindir}/pcre-config %changelog +* Mon Nov 27 2006 Than Ngo - 6.7-1 +- update to 6.7 +- fix #217303, enable-unicode-properties +- sane stack limit + * Wed Jul 12 2006 Jesse Keating - 6.6-1.1 - rebuild diff --git a/sources b/sources index 8e3b288..13fe031 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -61067f730c46cf6bdd0f8efe3f4f51b6 pcre-6.6.tar.bz2 +dbbec9d178ce199e67e98c9a4f994f90 pcre-6.7.tar.bz2