summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-version-regexp.patch
blob: 261ac2a15f1adec0896589a1e3e967f003a2876a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.