- update to 6.7

- fix #217303, enable-unicode-properties
- sane stack limit
This commit is contained in:
Than Ngo 2006-11-27 19:43:55 +00:00
parent 900923f6de
commit dd269d826c
4 changed files with 32 additions and 4 deletions

View File

@ -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

20
pcre-6.6-stack.patch Normal file
View File

@ -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 */

View File

@ -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 <than@redhat.com> - 6.7-1
- update to 6.7
- fix #217303, enable-unicode-properties
- sane stack limit
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.6-1.1
- rebuild

View File

@ -1 +1 @@
61067f730c46cf6bdd0f8efe3f4f51b6 pcre-6.6.tar.bz2
dbbec9d178ce199e67e98c9a4f994f90 pcre-6.7.tar.bz2