Blame SPECS/pcre2.spec

f41506
# Add readline edditing in pcre2test tool
f41506
%bcond_without pcre2_enables_readline
f41506
f41506
# Disable SELinux-frindly JIT allocator because it seems not to be fork-safe,
f41506
# https://bugs.exim.org/show_bug.cgi?id=1749#c45
f41506
%bcond_with pcre2_enables_sealloc
f41506
f41506
# This is stable release:
f41506
#%%global rcversion RC1
f41506
Name:       pcre2
f41506
Version:    10.32
84fc4f
Release:    %{?rcversion:0.}2%{?rcversion:.%rcversion}%{?dist}
f41506
%global     myversion %{version}%{?rcversion:-%rcversion}
f41506
Summary:    Perl-compatible regular expression library
f41506
# the library:                          BSD with exceptions
f41506
# pcre2test (linked to GNU readline):   BSD (linked to GPLv3+)
f41506
# COPYING:                              see LICENCE file
f41506
# LICENSE:                              BSD text with exceptions and
f41506
#                                       Public Domain declaration
f41506
#                                       for testdata
f41506
#Bundled
f41506
# src/sljit:                            BSD
f41506
#Not distributed in any binary package
f41506
# aclocal.m4:                           FSFULLR and GPLv2+ with exception
f41506
# ar-lib:                               GPLv2+ with exception
f41506
# cmake/COPYING-CMAKE-SCRIPTS:          BSD
f41506
# compile:                              GPLv2+ with exception
f41506
# config.guess:                         GPLv3+ with exception
f41506
# config.sub:                           GPLv3+ with exception
f41506
# configure:                            FSFUL and GPLv2+ with exception
f41506
# depcomp:                              GPLv2+ with exception
f41506
# INSTALL:                              FSFAP
f41506
# install-sh:                           MIT
f41506
# ltmain.sh:                            GPLv2+ with exception and (MIT or GPLv3+)
f41506
# m4/ax_pthread.m4:                     GPLv3+ with exception
f41506
# m4/libtool.m4:                        FSFUL and FSFULLR and
f41506
#                                       GPLv2+ with exception
f41506
# m4/ltoptions.m4:                      FSFULLR
f41506
# m4/ltsugar.m4:                        FSFULLR
f41506
# m4/ltversion.m4:                      FSFULLR
f41506
# m4/lt~obsolete.m4:                    FSFULLR
f41506
# m4/pcre2_visibility.m4:               FSFULLR
f41506
# Makefile.in:                          FSFULLR
f41506
# missing:                              GPLv2+ with exception
f41506
# test-driver:                          GPLv2+ with exception
f41506
# testdata:                             Public Domain
f41506
License:    BSD
f41506
URL:        http://www.pcre.org/
f41506
Source:     ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{?rcversion:Testing/}%{name}-%{myversion}.tar.bz2
f41506
# Do no set RPATH if libdir is not /usr/lib
f41506
Patch0:     pcre2-10.10-Fix-multilib.patch
f41506
# Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has
f41506
# a greater than 1 fixed quantifier, upstream bug #2320, bug#1628200,
f41506
# in upstream after 10.32
f41506
Patch1:     pcre2-10.32-Fix-subject-buffer-overread-in-JIT.-Found-by-Yunho-K.patch
f41506
# Fix caseless matching an extended class in JIT mode, upstream bug #2321,
f41506
# bug #1617960, in upstream after 10.32
f41506
Patch2:     pcre2-10.32-Fix-an-xclass-matching-issue-in-JIT.patch
f41506
# Fix matching a zero-repeated subroutine call at a start of a pattern,
f41506
# upstream bug #2332, bug: #1628200, in upstream after 10.32
f41506
Patch3:     pcre2-10.32-Fix-zero-repeated-subroutine-call-at-start-of-patter.patch
f41506
# Fix heap limit checking overflow in pcre2_dfa_match(), upstream bug #2334,
f41506
# bug#1628200, in upstream after 10.32
f41506
Patch4:     pcre2-10.32-Fix-heap-limit-checking-overflow-bug-in-pcre2_dfa_ma.patch
84fc4f
# 1/2 Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT),
84fc4f
# upstream bug #2399, bug #1734468, in upstream after 10.33
84fc4f
Patch5:     pcre2-10.32-Fix-crash-when-X-is-used-without-UTF-in-JIT.patch
84fc4f
# 2/2 Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT),
84fc4f
# upstream bug #2399, bug #1734468, in upstream after 10.33
84fc4f
Patch6:     pcre2-10.32-Forgot-this-file-in-previous-commit.-Fixes-JIT-non-U.patch
f41506
BuildRequires:  autoconf
f41506
BuildRequires:  automake
f41506
BuildRequires:  coreutils
f41506
BuildRequires:  gcc
f41506
BuildRequires:  libtool
f41506
BuildRequires:  make
f41506
%if %{with pcre2_enables_readline}
f41506
BuildRequires:  readline-devel
f41506
%endif
f41506
Provides:       bundled(sljit)
f41506
f41506
%description
f41506
PCRE2 is a re-working of the original PCRE (Perl-compatible regular
f41506
expression) library to provide an entirely new API.
f41506
f41506
PCRE2 is written in C, and it has its own API. There are three sets of
f41506
functions, one for the 8-bit library, which processes strings of bytes, one
f41506
for the 16-bit library, which processes strings of 16-bit values, and one for
f41506
the 32-bit library, which processes strings of 32-bit values. There are no C++
f41506
wrappers. This package provides support for strings in 8-bit and UTF-8
f41506
encodings. Install %{name}-utf16 or %{name}-utf32 packages for the other ones.
f41506
f41506
The distribution does contain a set of C wrapper functions for the 8-bit
f41506
library that are based on the POSIX regular expression API (see the pcre2posix
f41506
man page). These can be found in a library called libpcre2posix. Note that
f41506
this just provides a POSIX calling interface to PCRE2; the regular expressions
f41506
themselves still follow Perl syntax and semantics. The POSIX API is
f41506
restricted, and does not give full access to all of PCRE2's facilities.
f41506
f41506
%package utf16
f41506
Summary:    UTF-16 variant of PCRE2
f41506
Provides:   bundled(sljit)
f41506
Conflicts:  %{name}%{?_isa} < 10.21-4
f41506
f41506
%description utf16
f41506
This is PCRE2 library working on UTF-16 strings.
f41506
f41506
%package utf32
f41506
Summary:    UTF-32 variant of PCRE2
f41506
Provides:   bundled(sljit)
f41506
Conflicts:  %{name}%{?_isa} < 10.21-4
f41506
f41506
%description utf32
f41506
This is PCRE2 library working on UTF-32 strings.
f41506
f41506
%package devel
f41506
Summary:    Development files for %{name}
f41506
Requires:   %{name}%{?_isa} = %{version}-%{release}
f41506
Requires:   %{name}-utf16%{?_isa} = %{version}-%{release}
f41506
Requires:   %{name}-utf32%{?_isa} = %{version}-%{release}
f41506
f41506
%description devel
f41506
Development files (headers, libraries for dynamic linking, documentation)
f41506
for %{name}.  The header file for the POSIX-style functions is called
f41506
pcre2posix.h.
f41506
f41506
%package static
f41506
Summary:    Static library for %{name}
f41506
Requires:   %{name}-devel%{_isa} = %{version}-%{release}
f41506
Provides:   bundled(sljit)
f41506
f41506
%description static
f41506
Library for static linking for %{name}.
f41506
f41506
%package tools
f41506
Summary:    Auxiliary utilities for %{name}
f41506
# pcre2test (linked to GNU readline):   BSD (linked to GPLv3+)
f41506
License:    BSD and GPLv3+
f41506
Requires:   %{name}%{_isa} = %{version}-%{release}
f41506
f41506
%description tools
f41506
Utilities demonstrating PCRE2 capabilities like pcre2grep or pcre2test.
f41506
f41506
%prep
f41506
%setup -q -n %{name}-%{myversion}
f41506
%patch0 -p1
f41506
%patch1 -p1
f41506
%patch2 -p1
f41506
%patch3 -p1
f41506
%patch4 -p1
84fc4f
%patch5 -p1
84fc4f
%patch6 -p1
f41506
# Because of multilib patch
f41506
libtoolize --copy --force
f41506
autoreconf -vif
f41506
f41506
%build
f41506
# There is a strict-aliasing problem on PPC64, bug #881232
f41506
%ifarch ppc64
f41506
%global optflags %{optflags} -fno-strict-aliasing
f41506
%endif
f41506
%configure \
f41506
%ifarch s390 s390x sparc64 sparcv9 riscv64
f41506
    --disable-jit \
f41506
    --disable-pcre2grep-jit \
f41506
%else
f41506
    --enable-jit \
f41506
    --enable-pcre2grep-jit \
f41506
%endif
f41506
    --disable-bsr-anycrlf \
f41506
    --disable-coverage \
f41506
    --disable-ebcdic \
f41506
    --disable-fuzz-support \
f41506
%if %{with pcre2_enables_sealloc}
f41506
    --enable-jit-sealloc \
f41506
%else
f41506
    --disable-jit-sealloc \
f41506
%endif
f41506
    --disable-never-backslash-C \
f41506
    --enable-newline-is-lf \
f41506
    --enable-pcre2-8 \
f41506
    --enable-pcre2-16 \
f41506
    --enable-pcre2-32 \
f41506
    --enable-pcre2grep-callout \
f41506
    --disable-pcre2grep-libbz2 \
f41506
    --disable-pcre2grep-libz \
f41506
    --disable-pcre2test-libedit \
f41506
%if %{with pcre2_enables_readline}
f41506
    --enable-pcre2test-libreadline \
f41506
%else
f41506
    --disable-pcre2test-libreadline \
f41506
%endif
f41506
    --disable-rebuild-chartables \
f41506
    --enable-shared \
f41506
    --disable-silent-rules \
f41506
    --enable-static \
f41506
    --enable-unicode \
f41506
    --disable-valgrind
f41506
make %{?_smp_mflags}
f41506
f41506
%install
f41506
make install DESTDIR=$RPM_BUILD_ROOT
f41506
# Get rid of unneeded *.la files
f41506
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
f41506
# These are handled by %%doc in %%files
f41506
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre2
f41506
f41506
%check
f41506
make %{?_smp_mflags} check VERBOSE=yes
f41506
f41506
%ldconfig_scriptlets
f41506
%ldconfig_scriptlets utf16
f41506
%ldconfig_scriptlets utf32
f41506
f41506
%files
f41506
%{_libdir}/libpcre2-8.so.*
f41506
%{_libdir}/libpcre2-posix.so.*
f41506
%{!?_licensedir:%global license %%doc}
f41506
%license COPYING LICENCE
f41506
%doc AUTHORS ChangeLog NEWS
f41506
f41506
%files utf16
f41506
%{_libdir}/libpcre2-16.so.*
f41506
%license COPYING LICENCE
f41506
%doc AUTHORS ChangeLog NEWS
f41506
f41506
%files utf32
f41506
%{_libdir}/libpcre2-32.so.*
f41506
%license COPYING LICENCE
f41506
%doc AUTHORS ChangeLog NEWS
f41506
f41506
%files devel
f41506
%{_libdir}/*.so
f41506
%{_libdir}/pkgconfig/*
f41506
%{_includedir}/*.h
f41506
%{_mandir}/man1/pcre2-config.*
f41506
%{_mandir}/man3/*
f41506
%{_bindir}/pcre2-config
f41506
%doc doc/*.txt doc/html
f41506
%doc README HACKING ./src/pcre2demo.c
f41506
f41506
%files static
f41506
%{_libdir}/*.a
f41506
%{!?_licensedir:%global license %%doc}
f41506
%license COPYING LICENCE
f41506
f41506
%files tools
f41506
%{_bindir}/pcre2grep
f41506
%{_bindir}/pcre2test
f41506
%{_mandir}/man1/pcre2grep.*
f41506
%{_mandir}/man1/pcre2test.*
f41506
f41506
%changelog
84fc4f
* Mon May 13 2019 Petr Pisar <ppisar@redhat.com> - 10.32-2
84fc4f
- Fix CVE-2019-20454 (a crash when \X is used without UTF mode in a JIT)
84fc4f
  (bug #1734468)
84fc4f
f41506
* Fri Dec 07 2018 Petr Pisar <ppisar@redhat.com> - 10.32-1
f41506
- 10.32 bump (bug #1628200)
f41506
- Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has
f41506
  a greater than 1 fixed quantifier (bug #1628200)
f41506
- Fix matching a zero-repeated subroutine call at a start of a pattern
f41506
  (bug #1628200)
f41506
- Fix heap limit checking overflow in pcre2_dfa_match() (bug #1628200)
f41506
f41506
* Mon Sep 24 2018 Petr Pisar <ppisar@redhat.com> - 10.31-11
f41506
- Fix caseless matching an extended class in JIT mode (bug #1617960)
f41506
f41506
* Mon Sep 03 2018 Petr Pisar <ppisar@redhat.com> - 10.31-10
f41506
- Fix anchoring in conditionals with only one branch (bug #1617960)
f41506
f41506
* Thu Aug 16 2018 Petr Pisar <ppisar@redhat.com> - 10.31-9
f41506
- Recognize all Unicode space characters with /x option in a pattern
f41506
  (bug #1617960)
f41506
- Fix changing dynamic options (bug #1617960)
f41506
- Fix autopossessifying a repeated negative class with no characters less than
f41506
  256 that is followed by a positive class with only characters less than 255,
f41506
  (bug #1617960)
f41506
- Fix autopossessifying a repeated negative class with no characters less than
f41506
  256 that is followed by a positive class with only characters less than 256,
f41506
  (bug #1617960)
f41506
f41506
* Tue Jul 31 2018 Petr Pisar <ppisar@redhat.com> - 10.31-8
f41506
- Fix backtracking atomic groups when they are not separated by something with
f41506
  a backtracking point
f41506
f41506
* Mon Jul 09 2018 Petr Pisar <ppisar@redhat.com> - 10.31-7
f41506
- Fix checking that a lookbehind assertion has a fixed length if the
f41506
  lookbehind assertion is used inside a lookahead assertion
f41506
- Fix parsing VERSION conditions
f41506
f41506
* Mon Jul 02 2018 Petr Pisar <ppisar@redhat.com> - 10.31-6
f41506
- Fix global search/replace in pcre2test and pcre2_substitute() when the pattern
f41506
  matches an empty string, but never at the starting offset
f41506
f41506
* Mon Jun 25 2018 Petr Pisar <ppisar@redhat.com> - 10.31-5
f41506
- Fix bug when \K is used in a lookbehind in a substitute pattern
f41506
f41506
* Fri Mar 16 2018 Petr Pisar <ppisar@redhat.com> - 10.31-4
f41506
- Fix setting error offset zero for early errors in pcre2_pattern_convert()
f41506
f41506
* Mon Feb 26 2018 Petr Pisar <ppisar@redhat.com> - 10.31-3
f41506
- Add support to pcre2grep for binary zeros in -f files (upstream bug #2222)
f41506
- Fix compiler warnings in pcre2grep
f41506
f41506
* Tue Feb 20 2018 Petr Pisar <ppisar@redhat.com> - 10.31-2
f41506
- Fix returning unset groups in POSIX interface if REG_STARTEND has a non-zero
f41506
  starting offset (upstream bug #2244)
f41506
- Fix pcre2test -C to correctly show what \R matches
f41506
- Fix matching repeated character classes against an 8-bit string containting
f41506
  multi-code-unit characters
f41506
f41506
* Mon Feb 12 2018 Petr Pisar <ppisar@redhat.com> - 10.31-1
f41506
- 10.31 bump
f41506
f41506
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.31-0.3.RC1.2
f41506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f41506
f41506
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.31-0.3.RC1.1
f41506
- Switch to %%ldconfig_scriptlets
f41506
f41506
* Thu Feb 01 2018 Petr Pisar <ppisar@redhat.com> - 10.31-0.3.RC1
f41506
- Fix auto-possessification at the end of a capturing group that is called
f41506
  recursively (upstream bug #2232)
f41506
f41506
* Tue Jan 30 2018 Petr Pisar <ppisar@redhat.com> - 10.31-0.2.RC1
f41506
- Enlarge ovector array match data structure to be large enough in all cases
f41506
  (oss-fuzz #5415)
f41506
f41506
* Mon Jan 15 2018 Petr Pisar <ppisar@redhat.com> - 10.31-0.1.RC1
f41506
- 10.31-RC1 bump
f41506
f41506
* Fri Jan 12 2018 Petr Pisar <ppisar@redhat.com> - 10.30-5
f41506
- Fix handling \K in an assertion in pcre2grep tool and documentation
f41506
  (upstream bug #2211)
f41506
- Fix matching at a first code unit of a new line sequence if PCRE2_FIRSTLINE
f41506
  is enabled
f41506
f41506
* Fri Dec 22 2017 Petr Pisar <ppisar@redhat.com> - 10.30-4
f41506
- Fix pcre2_jit_match() to properly check the pattern was JIT-compiled
f41506
- Allow pcre2grep match counter to handle values larger than 2147483647,
f41506
  (upstream bug #2208)
f41506
- Fix incorrect first matching character when a backreference with zero minimum
f41506
  repeat starts a pattern (upstream bug #2209)
f41506
f41506
* Mon Nov 13 2017 Petr Pisar <ppisar@redhat.com> - 10.30-3
f41506
- Fix multi-line matching in pcre2grep tool (upstream bug #2187)
f41506
f41506
* Thu Nov 02 2017 Petr Pisar <ppisar@redhat.com> - 10.30-2
f41506
- Accept files names longer than 128 bytes in recursive mode of pcre2grep
f41506
  (upstream bug #2177)
f41506
f41506
* Tue Aug 15 2017 Petr Pisar <ppisar@redhat.com> - 10.30-1
f41506
- 10.30 bump
f41506
f41506
* Wed Aug 02 2017 Petr Pisar <ppisar@redhat.com> - 10.30-0.6.RC1
f41506
- Disable SELinux-friendly JIT allocator because it crashes after a fork
f41506
  (upstream bug #1749)
f41506
f41506
* Mon Jul 31 2017 Petr Pisar <ppisar@redhat.com> - 10.30-0.5.RC1
f41506
- Fix handling a hyphen at the end of a character class (upstream bug #2153)
f41506
f41506
* Sat Jul 29 2017 Florian Weimer <fweimer@redhat.com> - 10.30-0.4.RC1
f41506
- Rebuild with binutils fix for ppc64le (#1475636)
f41506
f41506
* Thu Jul 27 2017 Petr Pisar <ppisar@redhat.com> - 10.30-0.3.RC1
f41506
- Fix applying local x modifier while global xx was in effect
f41506
f41506
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.30-0.2.RC1.1
f41506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f41506
f41506
* Mon Jul 24 2017 Petr Pisar <ppisar@redhat.com> - 10.30-0.2.RC1
f41506
- Fix a compiler warning in JIT code for ppc32
f41506
f41506
* Thu Jul 20 2017 Petr Pisar <ppisar@redhat.com> - 10.30-0.1.RC1
f41506
- 10.30-RC1 bump
f41506
- Heap-based matching implementation replaced stack-based one
f41506
- SELinux-friendly JIT enabled
f41506
f41506
* Fri Jun 16 2017 Petr Pisar <ppisar@redhat.com> - 10.23-8
f41506
- Fix DFA matching a lookbehind assertion that has a zero-length branch
f41506
  (PCRE2 oss-fuzz issue 1859)
f41506
- Fix returned offsets from regexec() when REG_STARTEND is used with starting offset
f41506
  greater than zero (upstream bug #2128)
f41506
f41506
* Tue May 09 2017 Petr Pisar <ppisar@redhat.com> - 10.23-7
f41506
- Fix a pcre2test crash on multiple push statements (upstream bug #2109)
f41506
f41506
* Tue Apr 18 2017 Petr Pisar <ppisar@redhat.com> - 10.23-6
f41506
- Fix CVE-2017-7186 in JIT mode (a crash when finding a Unicode property for
f41506
  a character with a code point greater than 0x10ffff in UTF-32 library while
f41506
  UTF mode is disabled) (bug #1434504)
f41506
- Fix an incorrect cast in UTF validation (upstream bug #2090)
f41506
f41506
* Mon Mar 27 2017 Petr Pisar <ppisar@redhat.com> - 10.23-5
f41506
- Fix DFA match for a possessively repeated character class (upstream bug #2086)
f41506
- Use a memory allocator from the pattern if no context is supplied to
f41506
  pcre2_match()
f41506
f41506
* Wed Mar 22 2017 Petr Pisar <ppisar@redhat.com> - 10.23-4
f41506
- Close serialization file in pcre2test after any error (upstream bug #2074)
f41506
- Fix a memory leak in pcre2_serialize_decode() when the input is invalid
f41506
  (upstream bug #2075)
f41506
- Fix a potential NULL dereference in pcre2_callout_enumerate() if called with
f41506
  a NULL pattern pointer when Unicode support is available (upstream bug #2076)
f41506
- Fix CVE-2017-8786 (32-bit error buffer size bug in pcre2test) (bug #1500717)
f41506
f41506
* Mon Mar 20 2017 Petr Pisar <ppisar@redhat.com> - 10.23-3
f41506
- Fix an internal error for a forward reference in a lookbehind with
f41506
  PCRE2_ANCHORED (oss-fuzz bug #865)
f41506
- Fix a pcre2test bug for global match with zero terminated subject
f41506
  (upstream bug #2063)
f41506
f41506
* Mon Feb 27 2017 Petr Pisar <ppisar@redhat.com> - 10.23-2
f41506
- Handle memmory allocation failures in pcre2test tool
f41506
- Fix CVE-2017-7186 (a crash when finding a Unicode property for a character
f41506
  with a code point greater than 0x10ffff in UTF-32 library while UTF mode is
f41506
  disabled) (upstream bug #2052)
f41506
f41506
* Tue Feb 14 2017 Petr Pisar <ppisar@redhat.com> - 10.23-1
f41506
- 10.23 bump
f41506
f41506
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.23-0.1.RC1.1
f41506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f41506
f41506
* Tue Jan 17 2017 Petr Pisar <ppisar@redhat.com> - 10.23-0.1.RC1
f41506
- 10.23-RC1 bump
f41506
f41506
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 10.22-10.1
f41506
- Rebuild for readline 7.x
f41506
f41506
* Thu Jan 12 2017 Petr Pisar <ppisar@redhat.com> - 10.22-10
f41506
- Fix an out-of-bound read in pcre2test tool within POSIX mode
f41506
  (upstream bug #2008)
f41506
f41506
* Tue Jan 03 2017 Petr Pisar <ppisar@redhat.com> - 10.22-9
f41506
- Fix compiling a class with UCP and without UTF
f41506
f41506
* Fri Dec 16 2016 Petr Pisar <ppisar@redhat.com> - 10.22-8
f41506
- Fix a crash when doing an extended substitution for \p, \P, or \X
f41506
  (upstream bug #1977)
f41506
- Fix a crash in substitution if starting offest was specified beyond the
f41506
  subject end (upstream bug #1992)
f41506
f41506
* Fri Dec 09 2016 Petr Pisar <ppisar@redhat.com> - 10.22-7
f41506
- Fix pcre2-config --libs-posix output (upstream bug #1924)
f41506
- Fix a memory leak and a typo in a documentation (upstream bug #1973)
f41506
- Fix a buffer overflow in partial match test for CRLF in an empty buffer
f41506
  (upstream bug #1975)
f41506
- Fix a crash in pcre2test when displaying a wide character with a set locate
f41506
  (upstream bug #1976)
f41506
f41506
* Tue Nov 08 2016 Petr Pisar <ppisar@redhat.com> - 10.22-6
f41506
- Fix faulty auto-anchoring patterns when .* is inside an assertion
f41506
f41506
* Mon Oct 24 2016 Petr Pisar <ppisar@redhat.com> - 10.22-5
f41506
- Document assert capture limitation (upstream bug #1887)
f41506
- Ignore offset modifier in pcre2test in POSIX mode (upstream bug #1898)
f41506
f41506
* Wed Oct 19 2016 Richard W.M. Jones <@redhat.com> - 10.22-4
f41506
- Disable the JIT on riscv64.
f41506
f41506
* Wed Oct 19 2016 Petr Pisar <ppisar@redhat.com> - 10.22-3
f41506
- Fix displaying a callout position in pcretest output with an escape sequence
f41506
  greater than \x{ff}
f41506
- Fix pcrepattern(3) documentation
f41506
- Fix miscopmilation of conditionals when a group name start with "R"
f41506
  (upstream bug #1873)
f41506
- Fix internal option documentation in pcre2pattern(3) (upstream bug #1875)
f41506
- Fix optimization bugs for patterns starting with lookaheads
f41506
  (upstream bug #1882)
f41506
f41506
* Mon Aug 29 2016 Petr Pisar <ppisar@redhat.com> - 10.22-2
f41506
- Fix matching characters above 255 when a negative character type was used
f41506
  without enabled UCP in a positive class (upstream bug #1866)
f41506
f41506
* Fri Jul 29 2016 Petr Pisar <ppisar@redhat.com> - 10.22-1
f41506
- 10.22 bump
f41506
f41506
* Thu Jun 30 2016 Petr Pisar <ppisar@redhat.com> - 10.22-0.1.RC1
f41506
- 10.22-RC1 bump
f41506
- libpcre2-posix library changed ABI
f41506
- Fix register overwite in JIT when SSE2 acceleration is enabled
f41506
- Correct pcre2unicode(3) documentation
f41506
f41506
* Mon Jun 20 2016 Petr Pisar <ppisar@redhat.com> - 10.21-6
f41506
- Fix repeated pcregrep output if -o with -M options were used and the match
f41506
  extended over a line boundary (upstream bug #1848)
f41506
f41506
* Fri Jun 03 2016 Petr Pisar <ppisar@redhat.com> - 10.21-5
f41506
- Fix a race in JIT locking condition
f41506
- Fix an ovector check in JIT test program
f41506
- Enable JIT in the pcre2grep tool
f41506
f41506
* Mon Mar 07 2016 Petr Pisar <ppisar@redhat.com> - 10.21-4
f41506
- Ship README in devel as it covers API and build, not general info
f41506
- Move UTF-16 and UTF-32 libraries into pcre-ut16 and pcre-32 subpackages
f41506
f41506
* Mon Feb 29 2016 Petr Pisar <ppisar@redhat.com> - 10.21-3
f41506
- Fix a typo in pcre2_study()
f41506
f41506
* Thu Feb 11 2016 Petr Pisar <ppisar@redhat.com> - 10.21-2
f41506
- Report unmatched closing parantheses properly
f41506
- Fix pcre2test for expressions with a callout inside a look-behind assertion
f41506
  (upstream bug #1783)
f41506
- Fix CVE-2016-3191 (workspace overflow for (*ACCEPT) with deeply nested
f41506
  parentheses) (upstream bug #1791)
f41506
f41506
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 10.21-1.1
f41506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f41506
f41506
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 10.21-1
f41506
- 10.21 bump
f41506
f41506
* Wed Jan 06 2016 Petr Pisar <ppisar@redhat.com> - 10.21-0.2.RC1
f41506
- Adapt a test to French locale on RHEL
f41506
f41506
* Tue Jan 05 2016 Petr Pisar <ppisar@redhat.com> - 10.21-0.1.RC1
f41506
- 10.21-RC1 bump
f41506
f41506
* Mon Oct 26 2015 Petr Pisar <ppisar@redhat.com> - 10.20-3
f41506
- Fix compiling patterns with PCRE2_NO_AUTO_CAPTURE (upstream bug #1704)
f41506
f41506
* Mon Oct 12 2015 Petr Pisar <ppisar@redhat.com> - 10.20-2
f41506
- Fix compiling classes with a negative escape and a property escape
f41506
  (upstream bug #1697)
f41506
- Fix integer overflow for patterns whose minimum matching length is large
f41506
  (upstream bug #1699)
f41506
f41506
* Fri Jul 03 2015 Petr Pisar <ppisar@redhat.com> - 10.20-1
f41506
- 10.20 bump
f41506
f41506
* Fri Jun 19 2015 Petr Pisar <ppisar@redhat.com> - 10.20-0.1.RC1
f41506
- 10.20-RC1 bump
f41506
- Replace dependency on glibc-headers with gcc (bug #1230479)
f41506
- Preserve soname
f41506
f41506
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.10-3.1
f41506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f41506
f41506
* Fri May 29 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 10.10-3
f41506
- fixed Release field
f41506
f41506
* Fri May 29 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 10.10-2.1
f41506
- Backport fix for AArch64
f41506
f41506
* Tue May 05 2015 Petr Pisar <ppisar@redhat.com> - 10.10-2
f41506
- Package pcre2demo.c as a documentation for pcre2-devel
f41506
f41506
* Fri Mar 13 2015 Petr Pisar <ppisar@redhat.com> - 10.10-1
f41506
- PCRE2 library packaged
f41506