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-04-09 13:12:11 +0000
commitfb7f0146facb18cd7444c609fcdbd8f5bc988ff3 (patch)
tree2f49ff9bfb2257fbe7b5915ebb2b2da4f29c5477
parentUpdating source format. (diff)
downloadwhois-fb7f0146facb18cd7444c609fcdbd8f5bc988ff3.tar.xz
whois-fb7f0146facb18cd7444c609fcdbd8f5bc988ff3.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