summaryrefslogtreecommitdiffstats
path: root/debian/getapi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:37:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 18:37:15 +0000
commit55ad72d44a94298a96b8f05488ca5ed97ef04736 (patch)
tree8aaa712c1d8b8d191b77a7eef4dc42c770e3b3d0 /debian/getapi
parentAdding upstream version 1:9.11.5.P4+dfsg. (diff)
downloadbind9-debian.tar.xz
bind9-debian.zip
Adding debian version 1:9.11.5.P4+dfsg-5.1+deb10u7.debian/1%9.11.5.P4+dfsg-5.1+deb10u7debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/getapi')
-rwxr-xr-xdebian/getapi8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/getapi b/debian/getapi
new file mode 100755
index 0000000..3c1456a
--- /dev/null
+++ b/debian/getapi
@@ -0,0 +1,8 @@
+#!/bin/sh
+CURRENT=$(sed -ne "s/^LIBINTERFACE = //p" lib/$1/api)
+REVISION=$(sed -ne "s/^LIBREVISION = //p" lib/$1/api)
+AGE=$(sed -ne "s/^LIBAGE = //p" lib/$1/api)
+
+echo $((${CURRENT}-${AGE}))
+
+exit 0