summaryrefslogtreecommitdiff
path: root/packages/hostap
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-15 17:45:13 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-15 17:45:13 +0200
commit8443b98f54c9c8e2a936301b9dbcdcd96c4d543e (patch)
tree1cfd1e95bed8fea48372286b58b41bc14cbec604 /packages/hostap
parent22ffa0c6cba381055bb79a4456af56ed8060cfeb (diff)
downloadvyos-build-8443b98f54c9c8e2a936301b9dbcdcd96c4d543e.tar.gz
vyos-build-8443b98f54c9c8e2a936301b9dbcdcd96c4d543e.zip
hostap: T4584: add git version to Debian package
Diffstat (limited to 'packages/hostap')
-rwxr-xr-xpackages/hostap/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/hostap/build.sh b/packages/hostap/build.sh
index 62c11a7c..865571c4 100755
--- a/packages/hostap/build.sh
+++ b/packages/hostap/build.sh
@@ -20,5 +20,9 @@ rm -rf ${SRC}/debian/patches
# Build Debian package
cd ${SRC}
+echo "I: Create new Debian Package version"
+version="$(git describe --tags | tr _ .)"
+dch -v ${version:7} "New version to support AES-GCM-256 for MACsec" -b
+
echo "I: Build Debian hostap Package"
dpkg-buildpackage -us -uc -tc -b -Ppkg.wpa.nogui