From owner-freebsd-perl@freebsd.org Mon Mar 28 14:33:06 2016 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13D57AE0B2C for ; Mon, 28 Mar 2016 14:33:06 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAD8C1DED for ; Mon, 28 Mar 2016 14:33:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 957A63546 for ; Mon, 28 Mar 2016 14:32:50 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/957A63546; dkim=none; dkim-atps=neutral Subject: Re: FreeBSD port devel/p5-Getopt-Long, unneeded as Getopt::Long is bundled with perl? To: freebsd-perl@freebsd.org References: <20160327215719.GO45285@hades.panopticon> From: Matthew Seaman Message-ID: <56F94088.705@FreeBSD.org> Date: Mon, 28 Mar 2016 15:32:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 14:33:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm Content-Type: multipart/mixed; boundary="OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5" From: Matthew Seaman To: freebsd-perl@freebsd.org Message-ID: <56F94088.705@FreeBSD.org> Subject: Re: FreeBSD port devel/p5-Getopt-Long, unneeded as Getopt::Long is bundled with perl? References: <20160327215719.GO45285@hades.panopticon> In-Reply-To: --OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28/03/2016 14:00, Lars Thegler wrote: > On 27 March 2016 at 23:57, Dmitry Marakasov wrote: >> and the devel/p5-Getopt-Long seems to be unneeded. So, don't we >> need to remove ${PORTSDIR}/devel/p5-Getopt-Long dependency lines >=20 > Just be careful with these dual-life modules. The versions of modules > bundled with the distributions are almost always older than the > versions on CPAN, and thus the versions in ports. So, a bugfix in e.g. > Getopt::Long will only be distributed to FreeBSD users if there is an > explicit dependency listed in the Makefile. Apparently not in this case. The version of Getopt::Long bundled with the oldest version of perl currently in the tree is: % corelist -v 5.18.4 Getopt::Long Getopt::Long 2.39 That with the newest release version of perl in the tree is: % corelist -v 5.22.1 Getopt::Long Getopt::Long 2.45 and it's 2.48 in perl5-devel: https://github.com/Perl/perl5/blob/blead/cpan/Getopt-Long/lib/Getopt/Long= =2Epm#L20 The most recent version of Getopt::Long required by any port where a version is specified is 2.39: % cd /usr/ports && grep -r --exclude './.svn/*' 'p5-Getopt-Long>=3D2' . =2E/devel/p5-Minilla/Makefile:=09 p5-Getopt-Long>=3D2.36:${PORTSDIR}/devel/p5-Getopt-Long \ =2E/devel/p5-App-Cmd/Makefile:BUILD_DEPENDS+=3D p5-Getopt-Long>=3D2.39:${PORTSDIR}/devel/p5-Getopt-Long =2E/devel/p5-App-Cmd/Makefile:RUN_DEPENDS+=3D p5-Getopt-Long>=3D2.39:${PORTSDIR}/devel/p5-Getopt-Long =2E/converters/p5-LaTeXML/Makefile:=09 p5-Getopt-Long>=3D2.37:${PORTSDIR}/devel/p5-Getopt-Long \ Whilst the currently available version of the separate port is: % make -C /usr/ports/devel/p5-Getopt-Long -V PKGNAME p5-Getopt-Long-2.46 So there's no apparent need for any other port to depend on a separate p5-Getopt-Long, but that port is at least slightly ahead of the bundled version with any of the available perl ports, except for perl5-devel. The p5-Getopt-Long port could be upgraded to 2.48 though. Cheers, Matthew --OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5-- --SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJW+UCOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATDfgP/iyOVdwZsWNLXvHZwwPFaofl MEQg1gxCzDYz4sVZz5H+8SN5R7cy+Wnai+k+e+1QfruBZVX/hk7zgBj+Pa827BzM Gt9GBAf78Kf6rk7QgXscddTZaAxaw25OdKIvZ+b4ixSvxXoxjXcsut+AUNqjPF7v nKOls2uF76/3tZ3PZZ8tkvXr35sMThlm5zZt7nHw1k94wjGo0bOMql7p0QPcMDL6 4jijybRZyMLQELOU9vKwR/aHvGo4TiqOdM+lFynw5GTwB53LcxZkahSm5BQTxVlU 2fKZ3OBvUg5gA4xDyMocxNh3GXz16iR7RmmI18pObojD1H2WCX5SAhHrRwnvh5e4 oyXCRwSvyJ1jZoQ30cQwleFD5GXKvhnCVDPEhaw87dYL2TqrZ0dUPlo3uuaC3ctk 9b1lyvmUllpiiU6f5JyftemawUwCOFOkFFFowwxj0lWEFpirCSCpOi8m7FygQKi6 PCSLVHlYNG3m7tUhqxusYxWVEfyHMX5om+C5BN2M7+28BuWliy7Ho3CMJEEcNTHV PxhNrm0gryvLoT2pKwFNtuDYxTljU2ODlkrvs8cCwY5SAnWTUBnY78P+FQcc+Bdw cUGXowXzoUqlhBpxueppFGT7oUEc5DIaLqe80cKfXuGZXKDCm2/QlgxearzJM2UQ 1nDlYeN8PuSe1wE5XfYh =6g0R -----END PGP SIGNATURE----- --SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm--