From: rihad on
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(a)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(a)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
#
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Tom Hukins on
On Fri, Jan 22, 2010 at 11:54:08AM +0000, Tom Hukins wrote:
> On Thu, Jan 21, 2010 at 05:29:17PM +0000, Matthew Seaman wrote:
> > 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
>
> It looks like VuXML might have got that wrong. The referenced CVE
> describes Perl 5.8.4 as fixing this bug:
> http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0448

It looks like I didn't read carefully enough: the vulnerability in
rmtree() also exists in 5.8.8:
http://www.vuxml.org/freebsd/13b0c8c8-bee0-11dd-a708-001fc66e7203.html

Apologies,
Tom
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Matthew Seaman on
rihad wrote:

> # portdowngrade -s:pserver:anoncvs(a)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
> #

Hmmm --- try it like this. I've no idea why trying to downgrade the port
using the name lang/perl5.8 or even lang/perl5 doesn't work. Seems fine
if you say lang/perl though.

# portdowngrade -s anoncvs(a)anoncvs1.FreeBSD.org:/home/ncvs lang/perl

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/perl ...

Found several matches:
1: lang/perl5.10
2: lang/perl5.8

Please choose one: 2

Downgrading port: lang/perl5.8

Step 1: Checking out port from CVS repository
CVS root directory: anoncvs(a)anoncvs1.FreeBSD.org:/home/ncvs
The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't be established.
DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of known hosts.

Step 2: Reading the port history from the CVS repository

Step 3: Analyzing the port history from the CVS repository

Step 4: Load port version numbers and present results
Keys: <space> : next page d : details
p : previous page
<enter> : leave presentation and downdgrade if wanted
===============================================================================
number date portversion comment
1 2009/11/05 18:50:45 ${PERL_VERSION}_3 Fix script "use.perl": correctly
2 2009/11/02 16:50:41 ${PERL_VERSION}_3 - Fix behaviour of USE_PERL opti
3 2009/08/07 11:03:10 ${PERL_VERSION}_3 - Really is MAKE_JOBS_UNSAFE
4 2009/06/08 14:35:28 ${PERL_VERSION}_3 - Add more essential bugfixes
cvs [checkout aborted]: received interrupt signal

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW

From: Doug Barton on
On 1/22/2010 7:07 AM, rihad wrote:
> 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,

Portmaster only works with what's in your ports tree, it does not have
any built-in capability to go back in time. If you wanted to use
portmaster to do this you could adjust the port to the version you
wanted and then invoke the command you posted.


hth,

Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: rihad on
Matthew Seaman wrote:
> rihad wrote:
>
>> # portdowngrade -s:pserver:anoncvs(a)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
>> #
>
> Hmmm --- try it like this. I've no idea why trying to downgrade the port
> using the name lang/perl5.8 or even lang/perl5 doesn't work. Seems fine
> if you say lang/perl though.
>
> # portdowngrade -s anoncvs(a)anoncvs1.FreeBSD.org:/home/ncvs lang/perl
>
Thanks a lot, not only this, but the :pserver: part was also redundant
in this case, despite being suggested by the portdowngrade man page.

Let's see how the install goes.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"