Skip to content

Commit

Permalink
Merge pull request #844 from c-po/T6674-tacacs
Browse files Browse the repository at this point in the history
T6674: add package build instructions for TACACS client libraries
  • Loading branch information
sever-sever authored Nov 22, 2024
2 parents 1ba46ed + ef9e1f8 commit 50f8304
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/trigger_rebuild_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
- 'scripts/package-build/radvd/**'
strongswan:
- 'scripts/package-build/strongswan/**'
tacacs:
- 'scripts/package-build/tacacs/**'
telegraf:
- 'scripts/package-build/telegraf/**'
waagent:
Expand Down Expand Up @@ -211,6 +213,10 @@ jobs:
trigger_build "strongswan"
fi
if [ "${{ steps.changes.outputs.tacacs }}" == "true" ]; then
trigger_build "tacacs"
fi
if [ "${{ steps.changes.outputs.telegraf }}" == "true" ]; then
trigger_build "telegraf"
fi
Expand Down
7 changes: 0 additions & 7 deletions scripts/package-build/pam_tacplus/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions scripts/package-build/pam_tacplus/package.toml

This file was deleted.

8 changes: 8 additions & 0 deletions scripts/package-build/tacacs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
libnss-tacplus/
libpam-tacplus/
libtacplus-map/
*.buildinfo
*.build
*.changes
*.deb
*.dsc
File renamed without changes.
24 changes: 24 additions & 0 deletions scripts/package-build/tacacs/package.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[[packages]]
name = "libtacplus-map"
commit_id = "master"
scm_url = "https://github.com/vyos/libtacplus-map.git"
build_cmd = "dpkg-buildpackage -us -uc -tc -b"

[[packages]]
name = "libpam-tacplus"
commit_id = "master"
scm_url = "https://github.com/vyos/libpam-tacplus.git"
build_cmd = "sudo dpkg -i ../libtacplus-map*.deb; dpkg-buildpackage -us -uc -tc -b"

[[packages]]
name = "libnss-tacplus"
commit_id = "master"
scm_url = "https://github.com/vyos/libnss-tacplus.git"
build_cmd = "sudo dpkg -i ../libtac*.deb ../libpam-tacplus*.deb; dpkg-buildpackage -us -uc -tc -b"

[packages.dependencies]
packages = [
"libpam-dev",
"autoconf-archive",
"libaudit-dev"
]

0 comments on commit 50f8304

Please sign in to comment.