- update to 6.7
- fix #217303, enable-unicode-properties - sane stack limit
This commit is contained in:
parent
900923f6de
commit
dd269d826c
@ -2,3 +2,4 @@ pcre-4.5.tar.bz2
|
|||||||
pcre-5.0.tar.bz2
|
pcre-5.0.tar.bz2
|
||||||
pcre-6.3.tar.bz2
|
pcre-6.3.tar.bz2
|
||||||
pcre-6.6.tar.bz2
|
pcre-6.6.tar.bz2
|
||||||
|
pcre-6.7.tar.bz2
|
||||||
|
20
pcre-6.6-stack.patch
Normal file
20
pcre-6.6-stack.patch
Normal 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 */
|
13
pcre.spec
13
pcre.spec
@ -1,10 +1,11 @@
|
|||||||
Name: pcre
|
Name: pcre
|
||||||
Version: 6.6
|
Version: 6.7
|
||||||
Release: 1.1
|
Release: 1
|
||||||
Summary: Perl-compatible regular expression library
|
Summary: Perl-compatible regular expression library
|
||||||
URL: http://www.pcre.org/
|
URL: http://www.pcre.org/
|
||||||
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
||||||
Patch1: pcre-6.6-multilib.patch
|
Patch1: pcre-6.6-multilib.patch
|
||||||
|
Patch2: pcre-6.6-stack.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
@ -31,9 +32,10 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .multilib
|
%patch1 -p1 -b .multilib
|
||||||
|
%patch2 -p1 -b .stack
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-utf8
|
%configure --enable-utf8 --enable-unicode-properties
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -80,6 +82,11 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/pcre-config
|
%{_bindir}/pcre-config
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.6-1.1
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user