summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-03 23:02:40 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-03 23:02:40 +0200
commitb9c508b9b0d0e93f2026bb7facd04706c0f2231f (patch)
treeaf8a50699a1c8d5c080fedc6a6d65f5f3016f772
parentb528142fcae71e79e4ebc16219e3705e78a45e03 (diff)
downloadvyos-build-b9c508b9b0d0e93f2026bb7facd04706c0f2231f.tar.gz
vyos-build-b9c508b9b0d0e93f2026bb7facd04706c0f2231f.zip
Packages: add keepalived 2.0.10 to build procedure
-rwxr-xr-xscripts/build-packages8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build-packages b/scripts/build-packages
index 90d4e212..c05b8c70 100755
--- a/scripts/build-packages
+++ b/scripts/build-packages
@@ -229,6 +229,14 @@ pkg_special.append( add_package('frr', url='https://github.com/FRRouting/frr.git
#
+# We use keepalived from Debian Buster
+#
+keepalived_build_cmd = "sed -i 's/debhelper (>= 11)/debhelper (>= 9)/' debian/control && " \
+ "echo 9 > debian/compat && " \
+ "dpkg-buildpackage -b -us -uc -tc -j$(getconf _NPROCESSORS_ONLN)"
+pkg_special.append( add_package('keepalived', url='https://salsa.debian.org/ipvs-team/pkg-keepalived.git', branch='master', commit='eae91c81', custombuild_cmd=keepalived_build_cmd) )
+
+#
# Net-SNMP
#
# net-snmp conflicts with already installed libsnmp-dev thus we need to build with -d