summaryrefslogtreecommitdiff
path: root/scripts/package-build/pam_tacplus
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/pam_tacplus
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/pam_tacplus')
-rw-r--r--scripts/package-build/pam_tacplus/.gitignore7
l---------scripts/package-build/pam_tacplus/build.py1
-rw-r--r--scripts/package-build/pam_tacplus/package.toml19
3 files changed, 27 insertions, 0 deletions
diff --git a/scripts/package-build/pam_tacplus/.gitignore b/scripts/package-build/pam_tacplus/.gitignore
new file mode 100644
index 00000000..04e8d4e9
--- /dev/null
+++ b/scripts/package-build/pam_tacplus/.gitignore
@@ -0,0 +1,7 @@
+pam_tacplus/
+pam_tacplus-debian/
+*.buildinfo
+*.build
+*.changes
+*.deb
+*.dsc
diff --git a/scripts/package-build/pam_tacplus/build.py b/scripts/package-build/pam_tacplus/build.py
new file mode 120000
index 00000000..3c76af73
--- /dev/null
+++ b/scripts/package-build/pam_tacplus/build.py
@@ -0,0 +1 @@
+../build.py \ No newline at end of file
diff --git a/scripts/package-build/pam_tacplus/package.toml b/scripts/package-build/pam_tacplus/package.toml
new file mode 100644
index 00000000..79b28544
--- /dev/null
+++ b/scripts/package-build/pam_tacplus/package.toml
@@ -0,0 +1,19 @@
+[[packages]]
+name = "pam_tacplus-debian"
+commit_id = "50c6fd7"
+scm_url = "https://github.com/kravietz/pam_tacplus-debian"
+build_cmd = "/bin/true"
+
+[[packages]]
+name = "pam_tacplus"
+#commit_id = "4f91b0d" # This commit cannot build the package
+commit_id = "b839c44"
+scm_url = "https://github.com/kravietz/pam_tacplus"
+
+#build_cmd = "sudo mk-build-deps --install --tool 'apt-get --yes --no-install-recommends'; cd ..; ./build.sh"
+build_cmd = """
+cp -a ../pam_tacplus-debian debian
+rm -f debian/compat
+sudo mk-build-deps --install --tool 'apt-get --yes --no-install-recommends'
+dpkg-buildpackage -uc -us -tc -b -d
+"""