Skip to content
Permalink
Browse files

Livecheck default option for perl5 group.

This option checks against CPAN search page. It considers the latest release
when there is a developer release.

As of now, a simple:
port livecheck categories:perl
reveals that:
- It doesn't work for 11 ports*
- 113 ports are outdated.
- 1 non-perl5 group based port is more current than freshmeat.

The other 193 ports are up-to-date.

* Those are:
- p5-csp
- p5-gnome
- p5-locale-gettext
- p5-mecab
- p5-net-ssleay
- p5-pathtools
- p5-razor-agents
- p5-term-readkey
- subversion-perlbindings
- svk
and
- p5-class-dbi (port version: 3.0.14, new version: v3.0.14)

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@18725 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Jul 25, 2006
1 parent b4ed646 commit 6d1fc1dc2b4a8cdd8bca1b7fc5521337aca4a3fa
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/port1.0/resources/group/perl5-1.0.tcl
@@ -1,7 +1,7 @@
# et:ts=4
# perl5-1.0.tcl
#
# $Id: perl5-1.0.tcl,v 1.11 2005/05/04 08:12:59 olegb Exp $
# $Id: perl5-1.0.tcl,v 1.12 2006/07/25 08:17:50 pguyot Exp $
#
# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>,
# Toby Peterson <toby@opendarwin.org>
@@ -101,6 +101,10 @@ proc perl5.setup {module vers {cpandir ""}} {
reinplace "s|${destroot}||" ${packlist}
}
}

livecheck.check regexm
livecheck.url http://search.cpan.org/dist/${perl5.module}/
livecheck.regex (?:This Release)?<td class=label>(?:This|Latest) Release</td>.*<td class=cell>(?:<\[^<\]+>)?${perl5.module}-(\[^<\]+?)<
}

# Switch from default MakeMaker-style routine to Module::Build-style

0 comments on commit 6d1fc1d

Please sign in to comment.
You can’t perform that action at this time.