Date: Tue, 4 Jun 2013 13:48:14 +0400 From: Andrej Zverev <az@freebsd.org> To: perl@freebsd.org Subject: announcement of future perl changes. Message-ID: <CAD5bB%2BjZgA9nNDC_cJP3T8VPW4%2BvgN2Y4Boh_5ca==BjyxZWPw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello A big updates to lang/perl5.x are coming. First of all about updates: lang/perl5.12 upgrade from version 5.12.4 to 5.12.5 lang/perl5.14 upgrade from version 5.14.2 to 5.14.4 lang/perl5.16 upgrade from version 5.16.2 to 5.16.3 Second we are trying to modify directory structures where are perl being installed. Current directory structure look in this way: /usr/local/lib/perl5/{PERL_VERSION} /usr/local/lib/perl5/site_perl/{PERL_VERSION} where PERL_VERSION consists of [major].[minor].[patchlevel]. Idea here to remove [patchlevel], since perl API/ABI was stable enough during decades. After modification directory structure will look in such way: /usr/local/lib/perl5/{PERL_VERSION} /usr/local/lib/perl5/site_perl/{PERL_VERSION} where PERL_VERSION consists of [major].[minor]. In short: before: /usr/local/lib/perl5/5.14.2 /usr/local/lib/perl5/site_perl/5.14.2 after: /usr/local/lib/perl5/5.14 /usr/local/lib/perl5/site_perl/5.14 Benefits of such naming schema: 1. Don't need to run perl-after-upgrade (furthermore it can't work with pkgng) port-after-upgrade will be removed. 2. This change will allow us bring perl closer, to be more compatible with pkgng in near future (re-create lang/perl5 as meta-port for future soft updates with pkgng). >From of you, who want to test it now, you can get following patches (depend on perl version you have) and follow instruction: 1. Find patch for your installed perl version here: http://people.freebsd.org/~az/perl/ If your perl older, you can try modify patch by hands. 2. Apply patch via svn patch command or by patch(1). If you will do patch(1) there are conflict in one hunk in files/perl-after-upgrade - it's normal. 3. Those who used patch(1) and have default perl (5.14 for 5.12 or 5.16 put your lang/perl5.x): a) # find /usr/ports/lang/perl5.14 -size 0c -delete -print b) # find /usr/ports/lang/perl5.14 -name "*.orig" -delete -print c) # find /usr/ports/lang/perl5.14 -name "*.rej" -delete -print d) # find /usr/ports/lang/perl5.14 -name "perl-after-upgrade*" -delete -print e) # portmaster -r perl or # portupgrade -rf perl or # pkg install -fR perl There are few ports (mail/cyrus-imapd22 and cyrus-imapd23), which SITE_PERL change will break, but they will soon be corrected. Any feedback welcome!!!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5bB%2BjZgA9nNDC_cJP3T8VPW4%2BvgN2Y4Boh_5ca==BjyxZWPw>