summaryrefslogtreecommitdiff
path: root/scripts/package-build/hsflowd
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-09-06 10:45:27 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-09-06 11:34:08 +0000
commitc9a5a93834fce33f1e999dd50381cb7ff9e5fabb (patch)
tree26d03e228ca55acc5fc29d4ad18e8331b79e8605 /scripts/package-build/hsflowd
parent70122746469e930a6775e0c42c4d1fd30bc6d514 (diff)
downloadvyos-build-c9a5a93834fce33f1e999dd50381cb7ff9e5fabb.tar.gz
vyos-build-c9a5a93834fce33f1e999dd50381cb7ff9e5fabb.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/hsflowd')
-rw-r--r--scripts/package-build/hsflowd/.gitignore6
l---------scripts/package-build/hsflowd/build.py1
-rw-r--r--scripts/package-build/hsflowd/package.toml8
3 files changed, 15 insertions, 0 deletions
diff --git a/scripts/package-build/hsflowd/.gitignore b/scripts/package-build/hsflowd/.gitignore
new file mode 100644
index 00000000..d0964b29
--- /dev/null
+++ b/scripts/package-build/hsflowd/.gitignore
@@ -0,0 +1,6 @@
+host-sflow/
+*.buildinfo
+*.build
+*.changes
+*.deb
+*.dsc
diff --git a/scripts/package-build/hsflowd/build.py b/scripts/package-build/hsflowd/build.py
new file mode 120000
index 00000000..3c76af73
--- /dev/null
+++ b/scripts/package-build/hsflowd/build.py
@@ -0,0 +1 @@
+../build.py \ No newline at end of file
diff --git a/scripts/package-build/hsflowd/package.toml b/scripts/package-build/hsflowd/package.toml
new file mode 100644
index 00000000..75d320a7
--- /dev/null
+++ b/scripts/package-build/hsflowd/package.toml
@@ -0,0 +1,8 @@
+[[packages]]
+name = "host-sflow"
+commit_id = "v2.0.55-1"
+scm_url = "https://github.com/sflow/host-sflow.git"
+build_cmd = "make deb FEATURES='PCAP DROPMON DBUS'"
+
+[packages.dependencies]
+packages = ["libpcap0.8-dev"]