summaryrefslogtreecommitdiff
path: root/packages/pam_tacplus/build.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-23 19:29:57 +0100
committerChristian Poessinger <christian@poessinger.com>2022-11-23 19:29:57 +0100
commitcaf2f556f63c0a0f4ac8a88a2162ef54f023e144 (patch)
tree9c592aad8cae18756350b13b03b73a45d427e2ea /packages/pam_tacplus/build.sh
parent901f771c2ffa537f7a3bdb2eb7cc6e0067135824 (diff)
downloadvyos-build-caf2f556f63c0a0f4ac8a88a2162ef54f023e144.tar.gz
vyos-build-caf2f556f63c0a0f4ac8a88a2162ef54f023e144.zip
tacacs: T141: add individual package build
Diffstat (limited to 'packages/pam_tacplus/build.sh')
-rwxr-xr-xpackages/pam_tacplus/build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/pam_tacplus/build.sh b/packages/pam_tacplus/build.sh
new file mode 100755
index 00000000..fe4b06c8
--- /dev/null
+++ b/packages/pam_tacplus/build.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+CWD=$(pwd)
+set -e
+
+SRC=pam_tacplus
+if [ ! -d ${SRC} ]; then
+ echo "Source directory does not exists, please 'git clone'"
+ exit 1
+fi
+
+cd ${SRC}
+cp -a ../pam_tacplus-debian debian
+rm -f debian/compat
+
+dpkg-buildpackage -uc -us -tc -b -d