[SCM] Debian package checker branch, master, updated. 2.5.11-15-gcf53f43
The following commit has been merged in the master branch:
commit cf53f431d08571963191994b2f12311248bfe4de
Author: Niels Thykier <niels@thykier.net>
Date: Sun Dec 23 12:58:16 2012 +0100
L::C::Binary: Re-instate the TEXTREL marker
Fix a regression where Lintian did not properly detect shared
libraries that were compiled without "pic".
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index e07581f..714b99d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,10 @@ lintian (2.5.12) UNRELEASED; urgency=low
* lib/Lintian/Collect.pm:
+ [NT] Add "is_non_free" method to easily check of a given
package appears to be non-free.
+ * lib/Lintian/Collect/Binary.pm:
+ + [NT] Re-instate the "TEXTREL" marker. This fixes a regression
+ where shared-libs compiled without pic was not reported.
+ Thanks to Dmitry Shachnev for the assistance in debugging this.
* reporting/harness:
+ [NT] Add --to-stdout option to emit log information to
diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index e89d11b..efc2272 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -340,6 +340,7 @@ sub objdump_info {
'NEEDED' => [],
'RPATH' => {},
'SONAME' => [],
+ 'TEXTREL' => 0,
);
$info{'ERRORS'} = lc ($pg->{'broken'}//'no') eq 'yes' ? 1 : 0;
$info{'UPX'} = lc ($pg->{'upx'}//'no') eq 'yes' ? 1 : 0;
@@ -378,6 +379,8 @@ sub objdump_info {
$info{$header}->{$val} = 1;
} elsif ($header eq 'NEEDED' or $header eq 'SONAME') {
push @{ $info{$header} }, $val;
+ } elsif ($header eq 'TEXTREL') {
+ $info{$header} = 1;
}
}
--
Debian package checker
Reply to: