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

Bug#710500: marked as done (Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core))



Your message dated Wed, 20 Feb 2019 21:54:48 +0100
with message-id <666725d9-08a8-02ce-2d60-6b8be98abd65@debian.org>
and subject line Re: Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core)
has caused the Debian Bug report #710500,
regarding Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
710500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710500
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release-notes
Tags: patch

Hi Michael

For reference, this is from http://bugs.debian.org/594273#54

On Wed, May 29, 2013 at 03:11:06PM +0400, Michael Tokarev wrote:
> I'm not sure it is the right place - the RM bugreport -
> to add this information to.
> 
> The thing is: finally, wheezy is out without this module.
> And it turns out that many 3rd-party code still uses the
> old name, despite the new name being in core perl for
> quite a while.
> 
> In particular, when upgrading postgresql.org to wheezy,
> this change (removal of Digest::SHA1) was one of the main
> issues, significantly bigger than all other together.
> There were about 40 modules/programs which used the old
> name, which all, at the same time, stopped working, and
> it tool quite some efforts to figure it all out and to
> make it all work again.
> 
> This pain could be reduced significantly by one of at least
> two ways:
> 
> 1.  By documenting the fact that this module is no longer
>  available, somewhere in release notes or something like
>  that.  One of the issues faced was complete lack of any
>  information about this, and even searching does not reveal
>  anything useful easily (google finds oldstable package but
>  not this removal request).

This sounds like a good plan as libdigest-sha1-perl was nevertheless
still widely used. Attached is the patch proposed to apply to the
release-notes.

> 2. By providing a compatibility layer, a tiny wrapper that
>  just maps one namespace into another.  I don't remember how
>  this works in perl, but I guess it should be more or less
>  trivial to do - so that old Digest::SHA1 name still works
>  (maybe printing some deprecation warning or something).
> 
>  Either as an additional package (maybe using the same old
>  name - libdigest-sha1-perl), or within core perl itself.

IMO not the right approach as the aim was really to drop the use of
the obsoleted Digest::SHA1. But adding a release-notes entry is surely
more than worth.

Regards,
Salvatore
Index: release-notes/en/upgrading.dbk
===================================================================
--- release-notes/en/upgrading.dbk	(revision 10171)
+++ release-notes/en/upgrading.dbk	(working copy)
@@ -2002,6 +2002,19 @@
 	  url="&url-wiki;Drupal/Upgrade/From6To7">the Debian Wiki</ulink>.
       </para>
     </listitem>
+    <listitem>
+      <para>
+	The <systemitem role="package">libdigest-sha1-perl</systemitem>
+	package is no longer available. Most of the functionality is
+	provided by <literal>Digest::SHA</literal> in Perl core in the package
+	<systemitem role="package">perl</systemitem>). See bugreports 
+	<ulink url="http://bugs.debian.org/594273";>#594273</ulink> and
+	<ulink url="http://bugs.debian.org/591091";>#591091</ulink>. For third-party
+	applications not provided in Debian it is usually enough to substitute
+	the use of <literal>Digest::SHA1</literal> with <literal>Digest::SHA</literal>
+	in the corresponding source code.
+      </para>
+    </listitem>
   </itemizedlist>
 </para>
 

--- End Message ---
--- Begin Message ---
On Fri, 31 May 2013 14:37:31 +0200 Salvatore Bonaccorso
<carnil@debian.org> wrote:
> This sounds like a good plan as libdigest-sha1-perl was nevertheless
> still widely used. Attached is the patch proposed to apply to the
> release-notes.

It's a shame this never made it into the wheezy release-notes. I am
closing this bug as wheezy is now too long ago.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: