Skip to content

Commit

Permalink
packaging: Use PCRE2 for .deb/.rpm builds
Browse files Browse the repository at this point in the history
We have the support of PCRE2 since 061f5d1.

Also we already do this for containers (docker images).

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
  • Loading branch information
ton31337 committed Nov 8, 2024
1 parent 1df6c57 commit 56ae411
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ override_dh_auto_configure:
--enable-ospfapi \
--enable-bgp-vnc \
--enable-multipath=256 \
--enable-pcre2posix \
\
--enable-user=frr \
--enable-group=frr \
Expand Down
4 changes: 3 additions & 1 deletion redhat/frr.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: texinfo
BuildRequires: libyang-devel >= 2.1.128
BuildRequires: pcre2-devel
%if 0%{?rhel} && 0%{?rhel} < 7
#python27-devel is available from ius community repo for RedHat/CentOS 6
BuildRequires: python27-devel
Expand Down Expand Up @@ -448,7 +449,8 @@ Adds GRPC support to the individual FRR daemons.
%else
--disable-grpc \
%endif
--enable-snmp
--enable-snmp \
--enable-pcre2posix \
# end

make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
Expand Down

0 comments on commit 56ae411

Please sign in to comment.