Bug#644036: libcrypt-dsa-perl: unnecessary dependency on Data::Random

Peter Marschall peter at adpm.de
Sun Oct 2 16:32:15 UTC 2011


Hi,

On Sunday, 2. October 2011, gregor herrmann wrote:
> On Sun, 02 Oct 2011 08:30:22 +0200, Peter Marschall wrote:
> > If yes, would it b possible to add the dependency on Data::Random only
> > for these kernels?
> 
> No, the package can't in advance know which kernel a machine runs.

With "kernels" I meant kernel types like Linux, FreeBSD, Hurd, ... (all the 
kernel types Debian runs on; not architectures), not individual kernel 
versions or kernel compiles.

I am pretty sure, Linux always has a /dev/random;
for Hurd Goolge found a patch, but I don't know if it's upstream;
for FreeBSD I do not know.

My idea was then to update the Depends:/Recommends: line with something like
	libdata-random-perl [!linux-any]


> And, BTW, it's not a Depends, but only a Recommends, so you can
> safely remove it.

Oops, Thanks for the hint.
This really voids the biggest reason for the bug report.
(sorry I completely overlooked it and took it for a Dpends:)

> (And I'm open to removing it from Recommends if we are sure enough
> that there are no machines without /dev/random out there ...).

Your decision: close the report or distinguish by kernel type ;-)

Thanks for the ultra-quick reaction & for maintaining Perl packages in Debian
Peter


-- 
Peter Marschall
peter at adpm.de





More information about the pkg-perl-maintainers mailing list