problem with livecheck

Bradley Giesbrecht brad at pixilla.com
Sat Nov 13 08:06:35 PST 2010


On Nov 13, 2010, at 3:23 AM, Marko Käning wrote:

> Hi,
>
> I am experiencing a problem with port aqbanking5's livecheck if I  
> call "port -d livecheck aqbanking5":
> ---
> DEBUG: livecheck phase started at Sat Nov 13 12:19:04 CET 2010
> DEBUG: Executing org.macports.livecheck (aqbanking5)
> DEBUG: Portfile modification date is Fri Nov 12 00:30:52 CET 2010
> DEBUG: Port (livecheck) version is 5.0.1
> DEBUG: Loading the defaults from '/opt/macports-test/var/macports/ 
> sources/rsync.macports.org/release/ports/_resources/port1.0/ 
> livecheck/fallback.tcl'
> DEBUG: Fetching http://freshmeat.net/projects/aqbanking5/releases.atom
This            |_________________________________________________|

> Error: cannot check if aqbanking5 was updated (The requested URL  
> returned error: 406)
> ---
>
> aqbanking5's port file works fine if I use "port -d livecheck"  
> locally:
> ---
> DEBUG: livecheck phase started at Sat Nov 13 12:20:58 CET 2010
> DEBUG: Executing org.macports.livecheck (aqbanking5)
> DEBUG: Portfile modification date is Sat Nov 13 12:20:50 CET 2010
> DEBUG: Port (livecheck) version is 5.0.1
> DEBUG: Fetching http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1
!=                | 
________________________________________________________________________ 
|

> DEBUG: The regex is "aqbanking-([0-9.]*)\.tar"
> DEBUG: The regex matched "aqbanking-5.0.1.tar", extracted "5.0.1"
> DEBUG: The regex matched "aqbanking-5.0.0.tar", extracted "5.0.0"
> DEBUG: The regex matched "aqbanking-4.2.4.tar", extracted "4.2.4"
> DEBUG: The regex matched "aqbanking-4.2.3.tar", extracted "4.2.3"
> aqbanking5 seems to be up to date
> ---
>
> Here is the Portfile's livecheck section:
> ---
> livecheck.type    regex
> livecheck.url     http://www2.aquamaniac.de/sites/download/packages.php?package=03&showall=1

The Portfiles have to be different here.

> livecheck.regex   aqbanking-(\[0-9.\]*)\\.tar
> ---
>
> I am flabberghasted, since I can understand why it locally works,  
> but wouldn't if you use the version committed to MacPorts.
> (Yes, I did selfupdate too.)
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list