Accepting request 455671 from home:AndreasStieger:branches:Base:System

pcre 8.40

OBS-URL: https://build.opensuse.org/request/show/455671
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=75
This commit is contained in:
Dirk Mueller 2017-02-13 12:54:23 +00:00 committed by Git OBS Bridge
parent f10244b941
commit 6f650fb306
6 changed files with 50 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b858099f82483031ee02092711689e7245586ada49e534a06e678b8ea9549e8b
size 1560758

Binary file not shown.

3
pcre-8.40.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4
size 1560119

BIN
pcre-8.40.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Thu Feb 9 08:55:30 UTC 2017 - astieger@suse.com
- pcre 8.40:
* Using -o with -M in pcregrep could cause unnecessary repeated
output when the match extended over a line boundary.
* Fix register overwite in JIT when SSE2 acceleration is enabled.
* Ignore "show all captures" (/=) for DFA matching.
* Fix JIT unaligned accesses on x86
* In any wide-character mode (8-bit UTF or any 16-bit or 32-bit
mode), without PCRE_UCP set, a negative character type such as
\D in a positive class should cause all characters greater than
255 to match, whatever else is in the class. There was a bug
that caused this not to happen if a Unicode property item was
added to such a class, for example [\D\P{Nd}] or [\W\pL].
* When pcretest was outputing information from a callout, the
caret indicator for the current position in the subject line
was incorrect if it was after an escape sequence for a
character whose code point was greater than \x{ff}.
* A pattern such as (?<RA>abc)(?(R)xyz) was incorrectly compiled
such that the conditional was interpreted as a reference to
capturing group 1 instead of a test for recursion. Any group
whose name began with R was misinterpreted in this way. (The
reference interpretation should only happen if the group's name
is precisely "R".)
* A number of bugs have been mended relating to match start-up
optimizations when the first thing in a pattern is a positive
lookahead. These all applied only when PCRE_NO_START_OPTIMIZE
was *not* set:
+ A pattern such as (?=.*X)X$ was incorrectly optimized as if
it needed both an initial 'X' and a following 'X'.
+ Some patterns starting with an assertion that started with
.* were incorrectly optimized as having to match at the start
of the subject or after a newline. There are cases where this
is not true, for example, (?=.*[A-Z])(?=.{8,16})(?!.*[\s])
matches after the start in lines that start with spaces.
Starting .* in an assertion is no longer taken as an
indication of matching at the start (or after a newline).
-------------------------------------------------------------------
Tue Feb 7 16:17:44 UTC 2017 - dimstar@opensuse.org

View File

@ -17,7 +17,7 @@
Name: pcre
Version: 8.39
Version: 8.40
Release: 0
Summary: A library for Perl-compatible regular expressions
License: BSD-3-Clause
@ -36,7 +36,7 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,7 +161,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
make %{?_smp_mflags} V=1
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
mkdir -p %{buildroot}/%{_defaultdocdir}
mv %{buildroot}%{_datadir}/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc
#empty dependecy_libs
@ -172,19 +172,12 @@ export LANG=POSIX
make test -j1
%post -n libpcre1 -p /sbin/ldconfig
%postun -n libpcre1 -p /sbin/ldconfig
%post -n libpcre16-0 -p /sbin/ldconfig
%postun -n libpcre16-0 -p /sbin/ldconfig
%post -n libpcrecpp0 -p /sbin/ldconfig
%postun -n libpcrecpp0 -p /sbin/ldconfig
%post -n libpcreposix0 -p /sbin/ldconfig
%postun -n libpcreposix0 -p /sbin/ldconfig
%files -n libpcre1
@ -208,11 +201,12 @@ make test -j1
%defattr(-,root,root)
%{_bindir}/pcregrep
%{_bindir}/pcretest
%{_mandir}/man1/pcregrep.*
%{_mandir}/man1/pcretest.*
%{_mandir}/man1/pcregrep.1%{ext_man}
%{_mandir}/man1/pcretest.1%{ext_man}
%files doc
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENCE NEWS README
%doc doc/html doc/*.txt
%doc %{_defaultdocdir}/pcre-doc
@ -225,8 +219,8 @@ make test -j1
%{_libdir}/pkgconfig/libpcre16.pc
%{_libdir}/pkgconfig/libpcrecpp.pc
%{_libdir}/pkgconfig/libpcreposix.pc
%{_mandir}/man1/pcre-config.*
%{_mandir}/man3/*.gz
%{_mandir}/man1/pcre-config.1%{ext_man}
%{_mandir}/man3/pcre*.3*%{ext_man}
%files devel-static
%defattr(-,root,root)