summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0001-version-regexp.patch15
1 files changed, 15 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.