From owner-freebsd-ports@FreeBSD.ORG Fri Jan 22 15:07:28 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCBA5106566B for ; Fri, 22 Jan 2010 15:07:28 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx33.mail.ru (mx33.mail.ru [94.100.176.47]) by mx1.freebsd.org (Postfix) with ESMTP id 882B58FC16 for ; Fri, 22 Jan 2010 15:07:28 +0000 (UTC) Received: from [217.25.27.27] (port=39785 helo=[217.25.27.27]) by mx33.mail.ru with asmtp id 1NYL6Z-0008pt-00; Fri, 22 Jan 2010 18:07:23 +0300 Message-ID: <4B59BF28.2010801@mail.ru> Date: Fri, 22 Jan 2010 19:07:20 +0400 From: rihad User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: jhell References: <4B587EBE.8040403@mail.ru> <4B588EED.6080602@infracaninophile.co.uk> <4B5896CA.2030104@mail.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-ports@freebsd.org Subject: Re: Using Perl 5.8.8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 15:07:28 -0000 jhell wrote: > > On Thu, 21 Jan 2010 13:02, rihad@ wrote: >> Matthew Seaman wrote: >>> rihad wrote: >>>> Hi, one of the programs I'm using (freeradius' rlm_perl) segfaults >>>> with both Perl 5.8.9 and 5.10, only working with 5.8.8. How can I >>>> cleanly install Perl 5.8.8 on a fresh system, without mangling the >>>> port Makefile? I've tried putting both USE_PERL=5.8.8 and >>>> PERL_VERSION=5.8.8 in /etc/make.conf, but "make fetch" still tries >>>> to fetch version 5.8.9. >>> >>> portdowngrade is what you'ld have to use. However, perl-5.8.8 has known >>> security vulnerabilities: >>> >>> >>> http://www.vuxml.org/freebsd/4a99d61c-f23a-11dd-9f55-0030843d3802.html >>> >>> Would definitely be better to get your program to work with a current >>> version of perl. >>> >> Thanks for pointing this out. However, portdowngrade doesn't help me >> much: >> >> # portdowngrade -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs >> lang/perl5.8 >> >> portdowngrade 0.6 by Heiner Eichmann >> Please note, that nothing is changed in the ports tree >> unless it is explicitly permitted in step 6! >> >> Seeking port lang/perl5.8 ... not found >> # >> > > This will work out for you. > > PERL_PORT=perl5.10 > Nope, it doesn't. I now have this in /etc/make.conf: USE_PERL=5.8.8 PERL_VERSION=5.8.8 PERL_PORT=perl5.8 Nevertheless portmaster -v lang/perl5.8 still tries to fetch perl 5.8.9, not 5.8.8. portdowngrade doesn't work at all either: # portdowngrade -s:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs lang/perl5.8 portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! Seeking port lang/perl5.8 ... not found #