Overview
Comment: | Updated to change the "platform" symlink to point to noarch-noarch if it is the only platform offered |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
749ff2a6ed8907088a4bf8944565b36b |
User & Date: | rkeene on 2014-11-18 04:28:55 |
Other Links: | manifest | tags |
Context
2014-11-18
| ||
15:09 | Added documentation on index format check-in: 5ec33cd653 user: rkeene tags: trunk | |
04:28 | Updated to change the "platform" symlink to point to noarch-noarch if it is the only platform offered check-in: 749ff2a6ed user: rkeene tags: trunk | |
03:21 | Updated to include build script in the AppFS appfs package check-in: 5e29d51203 user: rkeene tags: trunk | |
Changes
Modified appfsd.tcl from [ef3b70a74a] to [eb68884ad6].
︙ | |||
43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + | } namespace eval ::appfs { variable cachedir "/tmp/appfs-cache" variable ttl 3600 variable nttl 60 variable trusted_cas [list] variable platform [::platform::generic] proc _hash_sep {hash {seps 4}} { for {set idx 0} {$idx < $seps} {incr idx} { append retval "[string range $hash [expr {$idx * 2}] [expr {($idx * 2) + 1}]]/" } append retval "[string range $hash [expr {$idx * 2}] end]" |
︙ | |||
139 140 141 142 143 144 145 | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | - + + + + + - + + + + + | if {![::pki::x509::verify_cert $certificate $::appfs::trusted_cas]} { return false } return true } |
︙ | |||
524 525 526 527 528 529 530 | 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 | - - + + | set retval(_children) os-cpu set retval(_type) packages if {$pathlen > 2} { set os_cpu [lindex $path 2] set os_cpu [split $os_cpu "-"] |
︙ | |||
670 671 672 673 674 675 676 677 | 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 | + + + + + + - + + + + | if {$check == "1"} { set retval(type) directory set retval(childcount) [llength [getchildren $path]] } } "os-cpu" { if {$pathinfo(os) == "platform" && $pathinfo(cpu) == ""} { set check [::appfs::db eval { SELECT DISTINCT os, cpuArch FROM packages WHERE hostname = $pathinfo(hostname) AND package = $pathinfo(package); }] set retval(type) symlink if {$check == [list "noarch" "noarch"]} { |
︙ |