[lintian] 02/02: Add "repack" (along with "dfsg" etc.) to identify a repacked upstream tarball. (Closes: #871957)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 6094948b0e09b997df75dbc748cef25d4ada44c0
Author: Chris Lamb <lamby@debian.org>
Date: Sun Aug 13 11:34:48 2017 -0700
Add "repack" (along with "dfsg" etc.) to identify a repacked upstream tarball. (Closes: #871957)
---
checks/changes-file.pm | 2 +-
checks/watch-file.pm | 2 +-
debian/changelog | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/checks/changes-file.pm b/checks/changes-file.pm
index d1579aa..d8254a9 100644
--- a/checks/changes-file.pm
+++ b/checks/changes-file.pm
@@ -199,7 +199,7 @@ sub run {
if ( $has_signing_key
&& $file =~ m/\.orig(-[A-Za-z\d-]+)?\.tar\./
&& $file !~ m/\.asc$/
- && $info->field('version') !~ m/(?:dfsg|debian|ds)/) {
+ && $info->field('version') !~ m/(?:dfsg|debian|ds|repack)/) {
next if exists $files->{"$file.asc"};
tag 'orig-tarball-missing-upstream-signature', $file;
}
diff --git a/checks/watch-file.pm b/checks/watch-file.pm
index 8e865f0..629cad7 100644
--- a/checks/watch-file.pm
+++ b/checks/watch-file.pm
@@ -49,7 +49,7 @@ sub run {
# source package sign, for fine grained version mangling check
# If the version field is missing, we assume a neutral non-native one.
my $version = $info->field('version', '0-1');
- if ($version =~ /(dfsg|debian|ds)/) {
+ if ($version =~ /(dfsg|debian|ds|repack)/) {
$repack = $1;
}
if ($version =~ /(alpha|beta|rc)/i) {
diff --git a/debian/changelog b/debian/changelog
index d034779..6a96ea9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -209,6 +209,8 @@ lintian (2.5.52) unstable; urgency=medium
* checks/watch-file.pm:
+ [CL] Factor out hard-coded list of possible upstream key locations
to the "common/signing-key-filenames" Lintian::Data resource.
+ + [CL] Add "repack" (along with "dfsg" etc.) to identify a repacked
+ upstream tarball. (Closes: #871957)
* collection/scripts:
+ [CL] Check that non-ELF maintainer scripts start with #!.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: