Opened 13 years ago

Closed 12 years ago

#33026 closed update (fixed)

Update request for p5-xml-twig

Reported by: someuser12 Owned by: frank.mcpherson@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-xml-twig

Description

MacPorts' version of XML::Twig, 3.32, dates back to 2007 and uses deprecated features of Perl (see below). Here is a patch to the portfile.

Warning messages during initialization of XML::Twig 3.32 under Perl 5.12.3:

UNIVERSAL->import is deprecated and will be removed in a future perl at /opt/local/lib/perl5/vendor_perl/5.12.3/XML/Twig.pm line 16
UNIVERSAL->import is deprecated and will be removed in a future perl at /opt/local/lib/perl5/vendor_perl/5.12.3/XML/Twig.pm line 33
UNIVERSAL->import is deprecated and will be removed in a future perl at /opt/local/lib/perl5/vendor_perl/5.12.3/XML/Twig.pm line 4033
UNIVERSAL->import is deprecated and will be removed in a future perl at /opt/local/lib/perl5/vendor_perl/5.12.3/XML/Twig.pm line 4124
UNIVERSAL->import is deprecated and will be removed in a future perl at /opt/local/lib/perl5/vendor_perl/5.12.3/XML/Twig.pm line 4203

Attachments (1)

p5-xml-twig.diff (871 bytes) - added by someuser12 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to frank.mcpherson@…
Version: 2.0.3

In the future, please Cc the maintainer(s).

This patch needs to be revised:

  1. The revision needs to be removed
  2. The checksums should be changed to be rmd160 and sha256 not md5 and sha1.

Changed 13 years ago by someuser12

Attachment: p5-xml-twig.diff added

comment:2 Changed 13 years ago by someuser12

Thank you. Here is a revised version of the patch.

Could it be that port itself suggests the new checksum lines with rmd160 and sha256, or reminds about the move to rmd160 and sha256, instead of merely correcting the checksum values with the former algorithms? (Maybe this feature request has been formulated elsewhere, I didn't look for it.)

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.