[MacPorts] #32384: watch @3.2.8_1 fails to perform a livecheck

MacPorts noreply at macports.org
Sat Dec 3 07:30:54 PST 2011


#32384: watch @3.2.8_1 fails to perform a livecheck
--------------------------------------+-------------------------------------
 Reporter:  nonstop.server@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.3                                
 Keywords:                            |        Port:  watch                                
--------------------------------------+-------------------------------------
 Port watch fails to perform a livecheck.
 {{{
 % port -v livecheck watch
 Error: cannot check if watch was updated (The requested URL returned
 error: 406)
 }}}
 Setting variables livecheck.regex, livecheck.type, and livecheck.url seems
 to do the trick.
 {{{
 % port -d livecheck watch \
 > livecheck.regex='procps-(\[0-9.\]*)\.tar\.gz' \
 > livecheck.type=regex \
 > livecheck.url=http://procps.sourceforge.net/
 <snip output for brevity>
 DEBUG: livecheck phase started at Sat Dec  3 16:27:55 CET 2011
 DEBUG: Executing org.macports.livecheck (watch)
 DEBUG: Portfile modification date is Wed Sep 22 07:30:46 CEST 2010
 DEBUG: Port (livecheck) version is 3.2.8
 DEBUG: Fetching http://procps.sourceforge.net/
 DEBUG: The regex is "procps-([0-9.]*).tar.gz"
 DEBUG: The regex matched "procps-3.2.8.tar.gz", extracted "3.2.8"
 watch seems to be up to date
 }}}

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


More information about the macports-tickets mailing list