[HEADSUP] Default Perl changed to 5.24.

Matthew Seaman matthew at FreeBSD.org
Mon Nov 7 08:10:18 UTC 2016


On 07/11/2016 06:47, Mark Millard wrote:
> Here is what I found looking back in 5.22 after switching to 5.24:
> 
>> > # find /usr/local/lib/perl5/site_perl/mach/5.22/ -print | grep packlist | more
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/File/Listing/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/Net/HTTP/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/URI/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/Mozilla/CA/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/LWP/MediaTypes/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/LWP/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/Digest/HMAC/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/Socket/IP/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/Socket/SSL/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/IO/HTML/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/Encode/Locale/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Negotiate/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Message/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Cookies/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/HTTP/Daemon/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/WWW/RobotRules/.packlist
>> > /usr/local/lib/perl5/site_perl/mach/5.22/auto/Authen/NTLM/.packlist
> None of this had 5.24 equivalents present.
> 

.packlist files are autogenerated by perl during the installation of a
module into staging.  They contain a manifest of the module as installed
on your system.  This makes them redundant considering that a pkg file
already contains this, and more, information.

I believe the current consensus is that .packlist files should not be
copied out of the staging area when creating a pkg of a perl module, and
should not be considered part of a pkg.  Although it seems that
consensus is not followed by all perl module packages.

Unfortunately, there is nothing to clean up any pre-existing .packlist
files already installed in you $PERL5LIB and it's only at the relatively
rare occasions like this when the perl module library switches to a new
directory that their presence becomes obvious.

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161107/e1607426/attachment.sig>


More information about the freebsd-ports mailing list