summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:12:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 15:47:12 +0000
commitd396349a45906c1cd4b414b4b34081c054109e9a (patch)
treeda1a278401c5c5bf348c8853ae5dfa2f463fa6b0
parentUpdating source format. (diff)
downloadwhois-d396349a45906c1cd4b414b4b34081c054109e9a.tar.xz
whois-d396349a45906c1cd4b414b4b34081c054109e9a.zip
Updating version regexp for Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-version-regexp.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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