Hi,

The script outdated-perl-ports does not parse the epoch number.
With this fix I get 17 additional outdated perl ports.

ok?

bluhm

Index: infrastructure/bin/outdated-perl-ports
===================================================================
RCS file: 
/data/mirror/openbsd/cvs/ports/infrastructure/bin/outdated-perl-ports,v
retrieving revision 1.1
diff -u -p -r1.1 outdated-perl-ports
--- infrastructure/bin/outdated-perl-ports      27 Nov 2011 13:29:35 -0000      
1.1
+++ infrastructure/bin/outdated-perl-ports      7 Jul 2014 18:16:41 -0000
@@ -54,7 +54,7 @@ my @dir; # pkg subdir
        open (PORTS, "< ${PORTSDIR}/INDEX") || die "can't open 
${PORTSDIR}/INDEX: $!";
        while ($line=<PORTS>) {
                @line= split /\|/, $line;
-               next unless ($line =~ /^(p5\-(.+?)\-([\d\.]+)(?:p\d)?)\|/);
+               next unless ($line =~ /^(p5\-(.+?)\-([\d\.]+)(?:[pv]\d+)*)\|/);
                # $1 has full package name in
                # $2 is the name of the perl module (the stem minus the p5- 
prefix)
                # $3 is the version number

Reply via email to