summaryrefslogtreecommitdiff
path: root/scripts/package-build/frr/patches
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-11-06 16:09:18 +0000
committerDaniil Baturin <daniil@baturin.org>2024-11-06 16:09:18 +0000
commit59228da66a2c509c527cd276f899942049643898 (patch)
treebe21da5bbad501357fab8ee662b36970ed72695a /scripts/package-build/frr/patches
parent5674398d59f76bfcd3b594bfef4e5afb4eb043ca (diff)
downloadvyos-build-59228da66a2c509c527cd276f899942049643898.tar.gz
vyos-build-59228da66a2c509c527cd276f899942049643898.zip
frr: T6854: build FRR with PCRE2 support for better performance
Diffstat (limited to 'scripts/package-build/frr/patches')
-rw-r--r--scripts/package-build/frr/patches/0001-Enable-PCRE2-in-Debian-package-builds.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/package-build/frr/patches/0001-Enable-PCRE2-in-Debian-package-builds.patch b/scripts/package-build/frr/patches/0001-Enable-PCRE2-in-Debian-package-builds.patch
new file mode 100644
index 00000000..c31c4a85
--- /dev/null
+++ b/scripts/package-build/frr/patches/0001-Enable-PCRE2-in-Debian-package-builds.patch
@@ -0,0 +1,24 @@
+From 21800432167ac022c01772df993efca8d4969b38 Mon Sep 17 00:00:00 2001
+From: Daniil Baturin <daniil@baturin.org>
+Date: Wed, 6 Nov 2024 15:58:10 +0000
+Subject: [PATCH] Enable PCRE2 in Debian package builds
+
+---
+ debian/rules | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/debian/rules b/debian/rules
+index 43e5d7e61..1f971ab22 100755
+--- a/debian/rules
++++ b/debian/rules
+@@ -69,6 +69,7 @@ override_dh_auto_configure:
+ --enable-vty-group=frrvty \
+ --enable-configfile-mask=0640 \
+ --enable-logfile-mask=0640 \
++ --enable-pcre2posix \
+ # end
+
+ override_dh_auto_install:
+--
+2.47.0
+