Differences between revisions 16 and 146 (spanning 130 versions)
Revision 16 as of 2011-04-24 19:42:18
Size: 3646
Editor: ?SalvatoreBonaccorso
Comment:
Revision 146 as of 2012-06-23 23:43:13
Size: 7148
Editor: ?GregorHerrmann
Comment: mark a bug as closed
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{#!wiki caution
Status: Draft
}}}
<<TableOfContents>>
Line 8: Line 6:
 * [[http://bugs.debian.org/594273|#594273]]  * [[DebianBug:594273]]
Line 21: Line 19:
 1. After patches for the Perl modules are sent upstream announce [[http://bugs.debian.org/594273|#594273]] on debian-devel for possible MBF and help out where possible to fix the packages (severity wishlist or normal).
 1. Add lintian check for obsolete libdigest-sha1-perl dependency?
 1. File bugs on non-Debian Perl Group packages too.
 1. Add lintian check for obsolete libdigest-sha1-perl dependency? [[DebianBug:635441]]
 1. increasing severity and help out where possible to fix the packages.
Line 24: Line 23:
=== Contacting Upstream for Perl modules ===
You can use something like the following to contact upstream (in this case with patch added):
{{{
Hi
                                                                   
Attached patch changes the module to use Digest::SHA instead of
Digest::SHA1. Digest::SHA is part of the standard perl distribution
since perl v5.9.3 so this reduces the number of external
dependencies by one.
         
Please consider applying it for the next release.
                                                                             
Regards,
}}}

=== Submitting to Debian BTS ===
Line 26: Line 41:
Usertag: digest-sha-perl-transition Usertags: digest-sha-perl-transition
Line 36: Line 51:
|| {i} || Forwarded upstream (Bugreport, patch, ...) || || {i} || Reported (bugreport, patch, forwarded...) ||
|| (!) || Pending ||
|| {*} || Not needed (e.g. upstream has fallback to Digest::SHA1) ||
Line 39: Line 56:
|| apt-cacher || {X} || {X} ||
|| barnowl || {X} || {X} ||
|| gnupod-tools || {X} || {X} ||
|| ikiwiki-hosting-web || {i} || {i} [[http://bugs.debian.org/623957|#623957]] ||
|| interchange || {X} || {X} ||
|| kgb-client || {i} || {X} ||
|| libapache-htpasswd-perl || {X} || {X} ||
|| libauthen-passphrase-perl || {i} [[https://rt.cpan.org/Public/Bug/Display.html?id=59917|RT#59917]] || {X} ||
|| libbloom-filter-perl || {i} [[https://rt.cpan.org/Public/Bug/Display.html?id=67716|RT#67716]] || {X} ||
|| libcache-cache-perl || {i} [[https://rt.cpan.org/Public/Bug/Display.html?id=67717|RT#67717]] || {X} ||
|| libcache-perl || {X} || {X} ||
|| libcgi-application-plugin-authentication-perl || {X} || {X} ||
|| libcrypt-hcesha-perl || {X} || {X} ||
|| libcrypt-mysql-perl || {X} || {X} ||
|| libcrypt-openssl-dsa-perl || {X} || {X} ||
|| libdata-serializer-perl || {X} || {X} ||
|| libdbix-class-cursor-cached-perl || {X} || {X} ||
|| libdigest-hmac-perl || {X} || {X} ||
|| libimdb-film-perl || {X} || {X} ||
|| libmoosex-storage-perl || {X} || {X} ||
|| libnet-dns-sec-perl || {X} || {X} ||
|| libnet-epp-perl || {X} || {X} ||
|| libnet-oauth-perl || {X} || {X} ||
|| libnet-openid-consumer-perl || {X} || {X} ||
|| libnet-openid-server-perl || {X} || {X} ||
|| libnet-snmp-perl || {X} || {X} ||
|| libnet-xmpp-perl || {X} || {X} ||
|| libpar-perl || {X} || {X} ||
|| libperl5i-perl || {X} || {X} ||
|| libpoe-component-jabber-perl || {X} || {X} ||
|| librdf-query-perl || {X} || {X} ||
|| librdf-trine-perl || {X} || {X} ||
|| libsql-translator-perl || {X} || {X} ||
|| libuuid-tiny-perl || {X} || {X} ||
|| libxml-atom-perl || {X} || {X} ||
|| mimedefang || {X} || {X} ||
|| postgrey || {i} || {X} ||
|| razor || {X} || {X} ||
|| smbldap-tools || {X} || {X} ||
|| spamassassin || {X} || {X} ||
|| sqlfairy || {X} || {X} ||
|| syslinux-common || {X} || {X} ||
|| vclt-tools || {X} || {X} ||
|| apt-cacher || (./) || (./) [[DebianBug:624568]] ||
|| barnowl || {X} || (./) [[DebianBug:625903]] ||
|| gnupod-tools || {X} || (./) [[DebianBug:625875]] ||
|| ikiwiki-hosting-web || (./) || (./) [[DebianBug:623957]] ||
|| interchange || {X} || (./) [[DebianBug:625904]] ||
|| kgb-client || (./) || (./) (1.08-1) ||
|| libapache-htpasswd-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=60267|RT#60267]] || (./) [[DebianBug:636853]] ||
|| libatompub-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=68183|RT#68183]] || (./) ||
|| libauthen-passphrase-perl || (!) [[http://rt.cpan.org/Public/Bug/Display.html?id=59917|RT#59917]] || (./) (0.007-2) ||
|| libbloom-filter-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=67716|RT#67716]] || (./) ||
|| libcache-cache-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=67717|RT#67717]] || (./) (1.06-2) ||
|| libcache-perl || {X} || (./) [[DebianBug:636648]] ||
|| libcgi-application-extra-plugin-bundle-perl || {*} (native) || (./) (0.4) ||
|| libcgi-application-plugin-authentication-perl || (./) [[ http://rt.cpan.org/Ticket/Display.html?id=67840|RT#67840]] || (./) ||
|| libcrypt-dsa-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=71342|RT#71342]] || (./) ||
|| libcrypt-hcesha-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=67841|RT#67841]] || (./) [[DebianBug:635178]] ||
|| libcrypt-mysql-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=59918|RT#59918]] || (./) (0.04-4) ||
|| libcrypt-openssl-dsa-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=60271|RT#60271]] || (./) (0.13-5) ||
|| libdata-serializer-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=70091|RT#70091]] || (./) (0.59-1) ||
|| libdbix-class-cursor-cached-perl || (./) [[https://rt.cpan.org/Ticket/Display.html?id=70092|RT#70092]] || (./) (1.001002-1) ||
|| libdigest-hmac-perl || (./) [[http://rt.cpan.org/Public/Bug/Display.html?id=69776|RT#69776]] || (./) ||
|| libgit-pure-perl || (./) [[http://rt.cpan.org/Ticket/Display.html?id=69470|RT#69470]] || (./) [[DebianBug:633861]] ||
|| libimdb-film-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=70531|RT#70531]] || (./) [[DebianBug:636642]] ||
|| libmoosex-storage-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=69811|RT#69811]] || (./) (0.30-1) ||
|| libnet-dns-sec-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=60269|RT#60269]] || (./) [[DebianBug:636852]] ||
|| libnet-epp-perl || {i} || (./) ||
|| libnet-oauth-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=69810|RT#69810]] || (./) (0.27-2) ||
|| libnet-openid-consumer-perl || (./) [[http://rt.cpan.org/Public/Bug/Display.html?id=44766|RT#44766]] || (./) [[DebianBug:636856]] ||
|| libnet-openid-server-perl || (!) || (./) [[DebianBug:630601]] ||
|| libnet-snmp-perl || {i} [[http://rt.cpan.org/Public/Bug/Display.html?id=68182|RT#68182]] || (./) [[DebianBug:636857]] ||
|| libnet-xmpp-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=68181|RT#68181]] || (./) (1.02-2) ||
|| libpar-perl || (./) || (./) [[http://svn.debian.org/viewsvn/pkg-perl?view=rev&revision=73482|r73482]] ||
|| libperl5i-perl || {i} [[http://github.com/schwern/perl5i/issues/196|#196]] || (./) (2.6.1-2) ||
|| libpoe-component-jabber-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=68010|RT#68010]] || (./) (3.00-2) ||
|| librdf-query-perl || (./) [[http://rt.cpan.org/Public/Bug/Display.html?id=68007|RT#68007]] || (./) [[DebianBug:625989]] ||
|| librdf-trine-perl || (./) || (./) [[DebianBug:625978]] ||
|| libsql-translator-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=67989|RT#67989]] || (./) [[http://svn.debian.org/viewsvn/pkg-perl?view=rev&revision=75974|r75974]] ||
|| libuuid-tiny-perl || {*} || (./) [[http://svn.debian.org/viewsvn/pkg-perl?view=rev&revision=74094|r74094]] ||
|| libxml-atom-perl || {i} [[http://rt.cpan.org/Ticket/Display.html?id=60263|RT#60263]] || (./) ||
|| mimedefang || {X} || (./) [[DebianBug:625870]] ||
|| postgrey || (./) [[http://postgrey.schweikert.ch/pub/Changes|Changes]] || (./) [[DebianBug:625697]] ||
|| razor || {X} || (./) [[DebianBug:624579]] ||
|| rkhunter || {X} || {*} Suggests libdigest-sha1-perl ||
|| smbldap-tools || {X} || (./) [[DebianBug:624065]] ||
|| spamassassin || {i} [[https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6200|Bug#6200]] (Razor depends on Digest::SHA1) || (./) [[DebianBug: 629612]] ||
|| sqlfairy || {i} [[http://rt.cpan.org/Ticket/Display.html?id=67989|RT#67989]] || (./) [[http://svn.debian.org/viewsvn/pkg-perl?view=rev&revision=75974|r75974]] ||
|| syslinux-common || {X} || (./) [[DebianBug:625812]] ||
|| vclt-tools || (./) || (./) [[DebianBug:624685]] ||

Replacing Digest::SHA1 with Digest::SHA and removal of libdigest-sha1-perl package

Why

Most of the functionality (except sha1_transform) of Digest::SHA1 is also provided by Digest::SHA. Switching from Digest::SHA1 to Digest::SHA should be in principle as easy as substituting the use of Digest::SHA1 with Digest::SHA.

Digest::SHA is in Perl core since version 5.9.3 and thus is in Debian's perl since Lenny.

Changing use of Digest::SHA1 to Digest::SHA would thus reduce external dependencies by one.

Packages using Digest::SHA instead of Digest::SHA1 can then drop the (Build-)Depends(-Indep) on libdigest-sha1-perl.

How

  1. Investigate the Debian Perl Group packages, and forward patches to upstream authors.
  2. File bugs on non-Debian Perl Group packages too.
  3. Add lintian check for obsolete libdigest-sha1-perl dependency? 635441

  4. increasing severity and help out where possible to fix the packages.

Contacting Upstream for Perl modules

You can use something like the following to contact upstream (in this case with patch added):

Hi                                                
                                                                   
Attached patch changes the module to use Digest::SHA instead of
Digest::SHA1. Digest::SHA is part of the standard perl distribution
since perl v5.9.3 so this reduces the number of external
dependencies by one.
         
Please consider applying it for the next release.
                                                                             
Regards,                         

Submitting to Debian BTS

When submitting bugs to the Debian Bugtracker the following user and usertag may be used:

User: debian-perl@lists.debian.org
Usertags: digest-sha-perl-transition 

Status: http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@lists.debian.org;tag=digest-sha-perl-transition

Status

Legend

(./)

Transitioned/OK

<!>

Has issues

{X}

Unfixed / Needs upload

{i}

Reported (bugreport, patch, forwarded...)

(!)

Pending

{*}

Not needed (e.g. upstream has fallback to Digest::SHA1)

Package

State Upstream

State Debian

apt-cacher

(./)

(./) 624568

barnowl

{X}

(./) 625903

gnupod-tools

{X}

(./) 625875

ikiwiki-hosting-web

(./)

(./) 623957

interchange

{X}

(./) 625904

kgb-client

(./)

(./) (1.08-1)

libapache-htpasswd-perl

{i} RT#60267

(./) 636853

libatompub-perl

{i} RT#68183

(./)

libauthen-passphrase-perl

(!) RT#59917

(./) (0.007-2)

libbloom-filter-perl

{i} RT#67716

(./)

libcache-cache-perl

{i} RT#67717

(./) (1.06-2)

libcache-perl

{X}

(./) 636648

libcgi-application-extra-plugin-bundle-perl

{*} (native)

(./) (0.4)

libcgi-application-plugin-authentication-perl

(./) RT#67840

(./)

libcrypt-dsa-perl

{i} RT#71342

(./)

libcrypt-hcesha-perl

{i} RT#67841

(./) 635178

libcrypt-mysql-perl

{i} RT#59918

(./) (0.04-4)

libcrypt-openssl-dsa-perl

{i} RT#60271

(./) (0.13-5)

libdata-serializer-perl

{i} RT#70091

(./) (0.59-1)

libdbix-class-cursor-cached-perl

(./) RT#70092

(./) (1.001002-1)

libdigest-hmac-perl

(./) RT#69776

(./)

libgit-pure-perl

(./) RT#69470

(./) 633861

libimdb-film-perl

{i} RT#70531

(./) 636642

libmoosex-storage-perl

{i} RT#69811

(./) (0.30-1)

libnet-dns-sec-perl

{i} RT#60269

(./) 636852

libnet-epp-perl

{i}

(./)

libnet-oauth-perl

{i} RT#69810

(./) (0.27-2)

libnet-openid-consumer-perl

(./) RT#44766

(./) 636856

libnet-openid-server-perl

(!)

(./) 630601

libnet-snmp-perl

{i} RT#68182

(./) 636857

libnet-xmpp-perl

{i} RT#68181

(./) (1.02-2)

libpar-perl

(./)

(./) r73482

libperl5i-perl

{i} #196

(./) (2.6.1-2)

libpoe-component-jabber-perl

{i} RT#68010

(./) (3.00-2)

librdf-query-perl

(./) RT#68007

(./) 625989

librdf-trine-perl

(./)

(./) 625978

libsql-translator-perl

{i} RT#67989

(./) r75974

libuuid-tiny-perl

{*}

(./) r74094

libxml-atom-perl

{i} RT#60263

(./)

mimedefang

{X}

(./) 625870

postgrey

(./) Changes

(./) 625697

razor

{X}

(./) 624579

rkhunter

{X}

{*} Suggests libdigest-sha1-perl

smbldap-tools

{X}

(./) 624065

spamassassin

{i} Bug#6200 (Razor depends on Digest::SHA1)

(./) 629612

sqlfairy

{i} RT#67989

(./) r75974

syslinux-common

{X}

(./) 625812

vclt-tools

(./)

(./) 624685