[MacPorts] #32474: sshguard-ipfw @1.4_0 livecheck fails to extract latest version

MacPorts noreply at macports.org
Fri Dec 9 05:28:43 PST 2011


#32474: sshguard-ipfw @1.4_0 livecheck fails to extract latest version
--------------------------------------+-------------------------------------
 Reporter:  nonstop.server@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.3                                
 Keywords:  haspatch                  |        Port:  sshguard-ipfw                        
--------------------------------------+-------------------------------------
 The livecheck for this port fails to extract the latest available version.
 {{{
 port -d livecheck sshguard-ipfw
 <snip output for brevity>
 DEBUG: livecheck phase started at Fri Dec  9 09:58:03 CET 2011
 DEBUG: Executing org.macports.livecheck (sshguard-ipfw)
 DEBUG: Portfile modification date is Thu Mar 04 22:00:41 CET 2010
 DEBUG: Port (livecheck) version is 1.4
 DEBUG: Loading the defaults from
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/livecheck/sourceforge.tcl'
 DEBUG: Fetching http://sourceforge.net/api/file/index/project-
 name/sshguard/rss
 DEBUG: The regex is "/sshguard/([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/"
 DEBUG: The regex matched "/sshguard/1.1rc1/", extracted "1.1rc1"
 DEBUG: The regex matched "/sshguard/1.1rc1/", extracted "1.1rc1"
 DEBUG: The regex matched "/sshguard/1.1rc1/", extracted "1.1rc1"
 DEBUG: The regex matched "/sshguard/1.1rc1/", extracted "1.1rc1"
 sshguard-ipfw seems to have been updated (port version: 1.4, new version:
 1.1rc1)
 }}}
 Setting variables livecheck.regex, livecheck.type, and livecheck.url seems
 to do the trick.
 {{{
 % port -d livecheck sshguard-ipfw \
 > livecheck.regex='sshguard-(\[0-9\.\]*)\.tar\.bz2' \
 > livecheck.type=regex \
 > livecheck.url=http://sourceforge.net/projects/sshguard/
 <snip output for brevity>
 DEBUG: livecheck phase started at Thu Dec  8 22:19:33 CET 2011
 DEBUG: Executing org.macports.livecheck (sshguard-ipfw)
 DEBUG: Portfile modification date is Thu Mar 04 22:00:41 CET 2010
 DEBUG: Port (livecheck) version is 1.4
 DEBUG: Fetching http://sourceforge.net/projects/sshguard/
 DEBUG: The regex is "sshguard-([0-9.]*).tar.bz2"
 DEBUG: The regex matched "sshguard-1.5.tar.bz2", extracted "1.5"
 DEBUG: The regex matched "sshguard-1.5.tar.bz2", extracted "1.5"
 sshguard-ipfw seems to have been updated (port version: 1.4, new version:
 1.5)
 }}}
 A difference report of the Portfile is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/32474>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list