From fb7f0146facb18cd7444c609fcdbd8f5bc988ff3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:12:11 +0200 Subject: Updating version regexp for Progress Linux. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-version-regexp.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0001-version-regexp.patch create mode 100644 debian/patches/series diff --git a/debian/patches/progress-linux/0001-version-regexp.patch b/debian/patches/progress-linux/0001-version-regexp.patch new file mode 100644 index 0000000..261ac2a --- /dev/null +++ b/debian/patches/progress-linux/0001-version-regexp.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Updating version regexp for Progress Linux. + +diff -Naurp whois.orig/make_version_h.pl whois/make_version_h.pl +--- whois.orig/make_version_h.pl ++++ whois/make_version_h.pl +@@ -13,7 +13,7 @@ close($fh); + my ($ver) = $line =~ /^whois \s+ \( ( [^\)]+ ) \) \s+ \S+/x; + die "Version number not found in $changelog!\n" if not $ver; + +-$ver =~ s/ ( ~bpo\d+\+\d+ | \+b\d+ | ~deb\d+.* | ubuntu\d+ | build\d+ | \+dyson\d+ ) $//x; ++$ver =~ s/ ( ~bpo\d+\+\d+ | \+b\d+ | ~deb\d+.* | ubuntu\d+ | build\d+ | \+dyson\d+ | -\d+.\d+.*progress\d+.* ) $//x; + + # The version number must not deviate from this format or the -V option + # to RIPE-like servers will break. If needed, update the previous regexp. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..1640fbe --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +progress-linux/0001-version-regexp.patch -- cgit v1.2.3