Lintian::Processable::Patched
access to sources with Debian patches applied
- Provided by: lintian (Version: 2.62.0ubuntu2.5)
- Report a bug
access to sources with Debian patches applied
use Lintian::Processable;
my $processable = Lintian::Processable::Binary->new;
Lintian::Processable::Patched provides an interface to collected data about patched sources.
If you want the index of what is listed in the upstream orig tarballs, then there is "orig_index".
For native packages, the two indices are generally the same as they only have one tarball and their debian packaging is included in that tarball.
IMPLEMENTATION DETAIL/CAVEAT: Lintian currently (2.5.11) generates this by running "find(1)" after unpacking the source package. This has three consequences.
First it means that (original) owner/group data is lost; Lintian inserts "root/root" here. This is usually not a problem as owner/group information for source packages do not really follow any standards.
Secondly, permissions are modified by A) umask and B) laboratory set{g,u}id bits (the laboratory on lintian.d.o has setgid). This is *not* corrected/altered. Note Lintian (usually) breaks if any of the "user" bits are set in the umask, so that part of the permission bit should be reliable.
Again, this shouldn't be a problem as permissions in source packages are usually not important. Though if accuracy is needed here, "orig_index" may used instead (assuming it has the file in question).
Third, hardlinking information is lost and no attempt has been made to restore it.
Needs-Info requirements for using index: unpacked
The array will not contain the entry for the "root" of the package.
The resolution is done using resolve_path.
Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian.