Ticket #18889: patch-_resources-port1.0-livecheck.diff
File patch-_resources-port1.0-livecheck.diff, 3.4 KB (added by lperry (Perry Lee), 16 years ago) |
---|
-
port1.0/livecheck/freshmeat.tcl
1 # $Id$ 2 # 3 # This file contains the defaults for freshmeat. 4 5 if {!$has_homepage || ${livecheck.url} eq ${homepage}} { 6 set livecheck.url "http://freshmeat.net/projects/${livecheck.name}/releases.atom" 7 } 8 if {${livecheck.regex} eq ""} { 9 set livecheck.regex [list "(?i)<title>${livecheck.name} (.*)</title>"] 10 } 11 set livecheck.check "regex" -
port1.0/livecheck/fallback.tcl
1 link freshmeat.tcl 2 No newline at end of file -
port1.0/livecheck/sourceforge.tcl
Property changes on: port1.0/livecheck/fallback.tcl ___________________________________________________________________ Added: svn:special + *
1 # $Id$ 2 # 3 # This file contains the defaults for sourceforge. 4 5 if {!$has_homepage || ${livecheck.url} eq ${homepage}} { 6 set livecheck.url "http://sourceforge.net/export/rss2_projfiles.php?project=${livecheck.name}" 7 } 8 if {${livecheck.distname} eq "default"} { 9 set livecheck.distname ${livecheck.name} 10 } 11 if {${livecheck.regex} eq ""} { 12 set livecheck.regex [list "(?i)<title>[quotemeta ${livecheck.distname}] (.*) released.*</title>"] 13 } 14 set livecheck.check "regex" -
port1.0/livecheck/googlecode.tcl
1 # $Id$ 2 # 3 # This file contains the defaults for googlecode. 4 5 if {$has_homepage && [regexp {^http://code.google.com/p/([^/]+)} $homepage _ tag] 6 && ${livecheck.name} eq "default"} { 7 set livecheck.name $tag 8 } 9 if {!$has_homepage || ${livecheck.url} eq ${homepage}} { 10 set livecheck.url "http://code.google.com/p/${livecheck.name}/downloads/list" 11 } 12 if {${livecheck.distname} eq "default"} { 13 set livecheck.distname [regsub ***=[quotemeta ${livecheck.version}] [quotemeta [file tail [lindex ${distfiles} 0]]] (.*)] 14 } 15 if {${livecheck.regex} eq ""} { 16 set livecheck.regex [list "<a href=\"http://[quotemeta ${livecheck.name}].googlecode.com/files/${livecheck.distname}\""] 17 } 18 set livecheck.check "regex" -
port1.0/livecheck/gnu.tcl
1 # $Id$ 2 # 3 # This file contains the defaults for gnu. 4 5 if {$has_homepage && [regexp {^http://www.gnu.org/software/([^/]+)} $homepage _ tag] && 6 ${livecheck.name} eq "default"} { 7 set livecheck.name $tag 8 } 9 if {!$has_homepage || ${livecheck.url} eq ${homepage}} { 10 set livecheck.url "http://ftp.gnu.org/gnu/${livecheck.name}/?C=M&O=D" 11 } 12 if {${livecheck.distname} eq "default"} { 13 set livecheck.distname ${livecheck.name} 14 } 15 if {${livecheck.regex} eq ""} { 16 set livecheck.regex [list "[quotemeta ${livecheck.distname}]-(\\d+(?:\\.\\d+)*)"] 17 } 18 set livecheck.check "regex"