mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Merge pull request #844 from c-po/T6674-tacacs
T6674: add package build instructions for TACACS client libraries
This commit is contained in:
commit
50f8304f92
@ -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:
|
||||
@ -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
|
||||
|
||||
7
scripts/package-build/pam_tacplus/.gitignore
vendored
7
scripts/package-build/pam_tacplus/.gitignore
vendored
@ -1,7 +0,0 @@
|
||||
pam_tacplus/
|
||||
pam_tacplus-debian/
|
||||
*.buildinfo
|
||||
*.build
|
||||
*.changes
|
||||
*.deb
|
||||
*.dsc
|
||||
@ -1,19 +0,0 @@
|
||||
[[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
|
||||
"""
|
||||
8
scripts/package-build/tacacs/.gitignore
vendored
Normal file
8
scripts/package-build/tacacs/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
libnss-tacplus/
|
||||
libpam-tacplus/
|
||||
libtacplus-map/
|
||||
*.buildinfo
|
||||
*.build
|
||||
*.changes
|
||||
*.deb
|
||||
*.dsc
|
||||
24
scripts/package-build/tacacs/package.toml
Normal file
24
scripts/package-build/tacacs/package.toml
Normal file
@ -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"
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user