mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
packaging: Use PCRE2 for .deb/.rpm builds
We have the support of PCRE2 since 061f5d1cb4
.
Also we already do this for containers (docker images).
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
1df6c57e69
commit
56ae4112cc
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -68,6 +68,7 @@ override_dh_auto_configure:
|
||||||
--enable-ospfapi \
|
--enable-ospfapi \
|
||||||
--enable-bgp-vnc \
|
--enable-bgp-vnc \
|
||||||
--enable-multipath=256 \
|
--enable-multipath=256 \
|
||||||
|
--enable-pcre2posix \
|
||||||
\
|
\
|
||||||
--enable-user=frr \
|
--enable-user=frr \
|
||||||
--enable-group=frr \
|
--enable-group=frr \
|
||||||
|
|
|
@ -189,6 +189,7 @@ BuildRequires: ncurses-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
BuildRequires: libyang-devel >= 2.1.128
|
BuildRequires: libyang-devel >= 2.1.128
|
||||||
|
BuildRequires: pcre2-devel
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||||
#python27-devel is available from ius community repo for RedHat/CentOS 6
|
#python27-devel is available from ius community repo for RedHat/CentOS 6
|
||||||
BuildRequires: python27-devel
|
BuildRequires: python27-devel
|
||||||
|
@ -448,7 +449,8 @@ Adds GRPC support to the individual FRR daemons.
|
||||||
%else
|
%else
|
||||||
--disable-grpc \
|
--disable-grpc \
|
||||||
%endif
|
%endif
|
||||||
--enable-snmp
|
--enable-snmp \
|
||||||
|
--enable-pcre2posix \
|
||||||
# end
|
# end
|
||||||
|
|
||||||
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
|
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
|
||||||
|
|
Loading…
Reference in a new issue