[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#637231: Moving Digest::SHA to perl-base



Niko Tyni, le Wed 10 Aug 2011 09:39:44 +0300, a écrit :
> As discussed in the policy (section 3.8, "Essential packages"), adding
> functionality to the Essential set is not something to do lightly.

Sure.

> > We are preparing to upload from debian-ports to Debian main a simple 
> > Hurd translator, random-egd, to provide /dev/{,u}random devices. This 
> > translator interfaces to a small init.d service written in Perl, a 
> > slightly modified version of EGD (egd.pl). egd.pl uses sha1() from 
> > Digest::SHA1 (which we changed to Digest::SHA, as Digest::SHA1 is 
> > deprecated).
> > The problem is that we need random-egd as dependency of the "hurd" 
> > package (essential on hurd), so it must be essential too; although, 
> > currently it cannot because Digest::SHA is in "perl", which is not an 
> > essential package. Our proposal is whether you could move Digest::SHA 
> > from "perl" to "perl-base".
> 
> Not all dependencies of essential packages need to be essential.
> The requirement for staying usable even when unconfigured only applies
> to the "core functionality" of the essential packages. I suppose
> /dev/{,u}random needs to be regarded part of that?

Mmm. Up to now we have mostly missed the random entries for the ssh
server, which is obviously not core functionality. At the moment,
bootstrapping a Debian system works with random entries.

That said, it's not only about being essential, but also package
priority, perl is not required.

> I see /usr/bin/sha1sum is already in the Essential set. Would it
> be viable to fork that and compute the SHA checksums through a pipe?
> I expect performance is not a real issue here, given the choice of Perl
> for such a low level daemon in the first place.

Right, we'll try that.

Samuel


Reply to: