Bug#801398: [Patch] Replace Dpkg::IPC::spawn with IPC::Run::run

Osamu Aoki osamu at debian.org
Sat Oct 10 13:38:16 UTC 2015


Hi

On Sat, Oct 10, 2015 at 01:52:12PM +0200, Jakub Wilk wrote:
> * Osamu Aoki <osamu at debian.org>, 2015-10-10, 17:16:
> >>>Some time back licensecheck grew a dependency on Dpkg::IPC [1], which
> >>>on Fedora causes the "devscripts-minimal" package (which includes
> >>>licensecheck) to pull in dpkg. I'd like to propose the patch below to
> >>>reduce the dependency load:
> 

[...]

> All these programs work work with Debian packages, so they are not very
[...]
> I think it would in spirit of SC§2 to avoid adding runtime dependencies that
> are unlikely to be satisfied on non-Debian systems to scripts that are
> generally useful on such systems.

Agreed.
 
> >If the wishlist bug comes with patch which enables either Dpkg::IPC or
> >IPC::Run after checking their availability, that may be implemented if
> >security concerns are not there.
> 
> This would be my preferred option, too.
> 
> I might write a patch implementing it later, but feel free to beat me to it.
> :)

Well, my understanding of perl is weak.  Please check the validity of 
attached patch or propose alternatives.

Osamu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: licensecheck.pl.patch
Type: text/x-diff
Size: 1339 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20151010/99897845/attachment.patch>


More information about the devscripts-devel mailing list