From 933bbaf3ed7bd659a5c044745aea763815928598 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 11:44:08 +0200 Subject: Adding debian version 4.94.2-7+deb11u2. Signed-off-by: Daniel Baumann --- debian/exim4-localscan-plugin-config | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 debian/exim4-localscan-plugin-config (limited to 'debian/exim4-localscan-plugin-config') diff --git a/debian/exim4-localscan-plugin-config b/debian/exim4-localscan-plugin-config new file mode 100755 index 0000000..08fd2cc --- /dev/null +++ b/debian/exim4-localscan-plugin-config @@ -0,0 +1,12 @@ +#!/bin/sh + +case "$1" in + --localscan-apiversion) + sed -rn 's/#define LOCAL_SCAN_ABI_VERSION_(MAJOR|MINOR) *([0-9]+).*/\2/p' \ + /usr/include/exim4/local_scan.h \ + | (read MAJOR; read MINOR; echo ${MAJOR}.${MINOR}) + ;; + *) + echo Usage: $0 --localscan-apiversion + ;; +esac -- cgit v1.2.3