Bug#1040007: libwww-mechanize-perl: migrate to libhttp-cookiejar-perl?

Steve Langasek steve.langasek at canonical.com
Thu Jul 20 21:47:26 BST 2023


Package: libwww-perl
Followup-For: Bug #1040007
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu mantic ubuntu-patch
Control: title -1 spurious runtime dependency on libhttp-cookiejar-perl
Control: tags -1 patch

After closer examination here, I've determined that:

 - libwww-perl has gained a dependency on libhttp-cookiejar-perl, but the
   code does not use it at runtime
 - it does use libhttp-cookies-perl out of the box, with which
   libhttp-cookiejar-perl is redundant
 - libhttp-cookiejar-perl does not provide the same full set of interfaces as
   libhttp-cookies-perl and is not a drop-in replacement
 - libhttp-cookiejar-perl claims to be a "safer" cookie jar, but this is
   conditional on installing Mozilla::PublicSuffix which is not packaged in
   Debian.

So I am recommending that this new dependency be dropped, instead.

It is reasonable to keep it as a build-dependency.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru libwww-perl-6.71/debian/control libwww-perl-6.71/debian/control
--- libwww-perl-6.71/debian/control	2023-07-08 06:34:13.000000000 -0700
+++ libwww-perl-6.71/debian/control	2023-07-20 12:47:43.000000000 -0700
@@ -45,7 +45,6 @@
          libhtml-tagset-perl,
          libhtml-tree-perl,
          libhttp-cookies-perl,
-         libhttp-cookiejar-perl,
          libhttp-date-perl,
          libhttp-message-perl,
          libhttp-negotiate-perl,


More information about the pkg-perl-maintainers mailing list