Blame SPECS/pcre2.spec

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