summaryrefslogtreecommitdiff
path: root/scripts/package-build/frr/package.toml
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-08-26 15:21:14 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-08-29 09:30:52 +0000
commitcc7d0993b420c3245e628a818f887411d72530ff (patch)
tree53fd8ab2b5dea74c1f7969b8ff853179d81f8fec /scripts/package-build/frr/package.toml
parent70bb3c5baacb6e0c72b9532f6dda417d395a6bc0 (diff)
downloadvyos-build-cc7d0993b420c3245e628a818f887411d72530ff.tar.gz
vyos-build-cc7d0993b420c3245e628a818f887411d72530ff.zip
T6674: Add build-scrips for packages without Jenkins
Add build scripts for .deb packages without Jenkins. To exclude Jenkins we need some place where we can put new builds-scripts to run in parallel (old/new) during meantime We will deprecate old Jenkins package builds in the future.
Diffstat (limited to 'scripts/package-build/frr/package.toml')
-rw-r--r--scripts/package-build/frr/package.toml36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/package-build/frr/package.toml b/scripts/package-build/frr/package.toml
new file mode 100644
index 00000000..48d51ae6
--- /dev/null
+++ b/scripts/package-build/frr/package.toml
@@ -0,0 +1,36 @@
+[[packages]]
+name = "libyang"
+commit_id = "v2.1.148"
+scm_url = "https://github.com/CESNET/libyang.git"
+build_cmd = "pipx run apkg build -i && find pkg/pkgs -type f -name *.deb -exec mv -t .. {} +"
+
+[[packages]]
+name = "rtrlib"
+commit_id = "v0.8.0"
+scm_url = "https://github.com/rtrlib/rtrlib.git"
+build_cmd = "sudo mk-build-deps --install --tool 'apt-get --yes --no-install-recommends'; dpkg-buildpackage -uc -us -tc -b"
+
+[[packages]]
+name = "frr"
+commit_id = "stable/9.1"
+scm_url = "https://github.com/FRRouting/frr.git"
+build_cmd = "sudo dpkg -i ../*.deb; sudo dpkg-buildpackage -us -uc -tc -b -Ppkg.frr.rtrlib,pkg.frr.lua"
+
+[packages.dependencies]
+packages = [
+ "chrpath",
+ "gawk",
+ "install-info",
+ "libcap-dev",
+ "libjson-c-dev",
+ "librtr-dev",
+ "libpam-dev",
+ "libprotobuf-c-dev",
+ "libpython3-dev:native",
+ "python3-sphinx:native",
+ "libsnmp-dev",
+ "protobuf-c-compiler",
+ "python3-dev:native",
+ "texinfo",
+ "lua5.3"
+]