Ticket #24542: port_sourceforge_mirror_subdir.patch
File port_sourceforge_mirror_subdir.patch, 1.2 KB (added by hashar@…, 15 years ago) |
---|
-
port1.0/portlivecheck.tcl
old new 65 65 global livecheck.url livecheck.type livecheck.md5 livecheck.regex livecheck.name livecheck.distname livecheck.version 66 66 global fetch.user fetch.password fetch.use_epsv fetch.ignore_sslcert 67 67 global homepage portpath workpath 68 global master_sites name distfiles68 global master_sites master_sites.mirror_subdir name distfiles 69 69 70 70 set updated 0 71 71 set updated_version "unknown" 72 72 set has_master_sites [info exists master_sites] 73 set has_master_sites_subdir [info exists master_sites.mirror_subdir] 73 74 set has_homepage [info exists homepage] 74 75 75 76 set tempfile [mktemp "/tmp/mports.livecheck.XXXXXXXX"] … … 129 130 } 130 131 } 131 132 } 133 if {$has_master_sites_subdir} { 134 set livecheck.name ${master_sites.mirror_subdir} 135 } 132 136 if {[lsearch -exact [split $available_types "|"] ${livecheck.type}] != -1} { 133 137 # Load the defaults from _resources/port1.0/livecheck/${livecheck.type}.tcl. 134 138 set defaults_file "$types_dir/${livecheck.type}.tcl"