Overview
Comment: | Add support for more native platforms. Add support for the 'msil' meta-platform. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5f7af1c898fcca8275c0f8ff42198ccf |
User & Date: | mistachkin on 2017-07-01 03:46:29 |
Other Links: | manifest | tags |
Context
2017-07-01
| ||
20:25 | First pass at auto-detection support for the ability to run CLR-based packages using the .NET Framework or Mono. check-in: 51260e7f88 user: mistachkin tags: trunk | |
03:46 | Add support for more native platforms. Add support for the 'msil' meta-platform. check-in: 5f7af1c898 user: mistachkin tags: trunk | |
2017-06-29
| ||
21:38 | Make downloading the Package Signing Keys more robust by adding support for mirror URIs. check-in: 4736fe9200 user: mistachkin tags: trunk | |
Changes
Modified client/1.0/neutral/pkgd.eagle from [770ff42b10] to [b29a9ebd4f].
︙ | ︙ | |||
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 | set platform $tcl_platform(platform) if {[info exists tcl_platform(machine)]} then { set machine $tcl_platform(machine) } else { set machine "" } switch -exact -- $platform { windows { switch -exact -- $machine { intel - ia32_on_win64 { return win32-x86 } arm { | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | < < < > | | 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 | set platform $tcl_platform(platform) if {[info exists tcl_platform(machine)]} then { set machine $tcl_platform(machine) } else { set machine "" } if {[info exists tcl_platform(os)]} then { set os $tcl_platform(os) } else { set os "" } switch -exact -- $platform { unix { switch -exact -- $os { Darwin { switch -exact -- $machine { "Power Macintosh" { return macosx-power } x86_64 { return macosx-x64 } } } Linux { switch -exact -- $machine { i386 { return linux-x86 } x86_64 { return linux-x64 } alpha - armv4l - armv6l - armv7l - ia64 - ppc { return [appendArgs linux- $machine] } } } } } windows { switch -exact -- $machine { intel - ia32_on_win64 { return win32-x86 } arm { return [appendArgs win32- $machine] } amd64 { return win64-x64 } ia64 - arm64 { return [appendArgs win64- $machine] } } } } } return "" |
︙ | ︙ | |||
862 863 864 865 866 867 868 | error "version Id must be hexadecimal" } } # # NOTE: This procedure verifies the platform specified by the caller. The # platform argument must be an empty string -OR- one of the literal | | | | | | | | | 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 | error "version Id must be hexadecimal" } } # # NOTE: This procedure verifies the platform specified by the caller. The # platform argument must be an empty string -OR- one of the literal # strings "msil" or "neutral", or one of the values returned by the # [getPlatform] procedure. An empty string means that the associated # entity does not require a specific platform. The varName argument # is the name of a variable in the context of the immediate caller # that will receive a modified platform name, if applicable. Upon # failure, a script error will be raised. The return value is # undefined. # proc verifyPlatform { platform varName } { # # NOTE: The platform name must be matched exactly and case-sensitively. # switch -exact -- $platform { "" { |
︙ | ︙ | |||
935 936 937 938 939 940 941 | } # # NOTE: Check the current platform and the neutral platform, in that # order, to see if that platform is supported by the package # being saught. If so, return that platform. # | | > | 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 | } # # NOTE: Check the current platform and the neutral platform, in that # order, to see if that platform is supported by the package # being saught. If so, return that platform. # foreach thisPlatform [list [getPlatform] msil neutral] { if {[lsearch -exact $platforms $thisPlatform] != -1} then { set newPlatform $thisPlatform return } } # # NOTE: If this point is reached, there are no supported platforms # that are compatible with the current one for the specified # package. # error "could not automatically detect platform" } msil - neutral - win32-arm - win32-x86 - win64-arm64 - win64-ia64 - win64-x64 { # |
︙ | ︙ | |||
1165 1166 1167 1168 1169 1170 1171 | # # NOTE: This procedure checks if there is a higher version available of the # specified package on the package file server. The language argument # must be one of the literal strings "eagle", "tcl", or "client". The # version argument must be one of the literal strings "8.4", "8.5", or # "8.6" when the language is "tcl" -OR- the literal string "1.0" when # the language is either "eagle" or "client". The platform argument | | | | | | | 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 | # # NOTE: This procedure checks if there is a higher version available of the # specified package on the package file server. The language argument # must be one of the literal strings "eagle", "tcl", or "client". The # version argument must be one of the literal strings "8.4", "8.5", or # "8.6" when the language is "tcl" -OR- the literal string "1.0" when # the language is either "eagle" or "client". The platform argument # must be an empty string -OR- one of the literal strings "msil" or # "neutral", or one of the values returned by the [getPlatform] # procedure. An empty string means that the associated package does # not require a specific platform. The packageName argument is a # directory name relative to the language and version-specific # directory on the package file server and may be an empty string. # The usePgp argument should be non-zero when an OpenPGP signature # file needs to be downloaded and verified for the downloaded file. # # <public> proc checkForHigherVersion { language version platform packageName usePgp } { variable clientDirectory |
︙ | ︙ | |||
1389 1390 1391 1392 1393 1394 1395 | # downloaded, this procedure assumes the corresponding data file was # already downloaded (i.e. since OpenPGP needs both to perform the # signature checks). The language argument must be one of the # literal strings "eagle", "tcl", or "client". The version argument # must be one of the literal strings "8.4", "8.5", or "8.6" when the # language is "tcl" -OR- the literal string "1.0" when the language # is either "eagle" or "client". The platform argument must be an | | | | 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 | # downloaded, this procedure assumes the corresponding data file was # already downloaded (i.e. since OpenPGP needs both to perform the # signature checks). The language argument must be one of the # literal strings "eagle", "tcl", or "client". The version argument # must be one of the literal strings "8.4", "8.5", or "8.6" when the # language is "tcl" -OR- the literal string "1.0" when the language # is either "eagle" or "client". The platform argument must be an # empty string -OR- one of the literal strings "msil" or "neutral", or # one of the values returned by the [getPlatform] procedure. An empty # string means that the associated package does not require a specific # platform. The fileName argument is a file name relative to the # language and version-specific directory on the package file server. # The localFileName argument is the file name where the downloaded # file should be written. The usePgp argument should be non-zero when # the OpenPGP signature file needs to be verified for the downloaded # file. |
︙ | ︙ | |||
1428 1429 1430 1431 1432 1433 1434 | # NOTE: This procedure attempts to download a list of files, optionally # persistening them for subsequent uses by the target language. # The language argument must be one of the literal strings "eagle", # "tcl", or "client". The version argument must be one of the # literal strings "8.4", "8.5", or "8.6" when the language is "tcl" # -OR- the literal string "1.0" when the language is either "eagle" # or "client". The platform argument must be an empty string -OR- | | | | 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 | # NOTE: This procedure attempts to download a list of files, optionally # persistening them for subsequent uses by the target language. # The language argument must be one of the literal strings "eagle", # "tcl", or "client". The version argument must be one of the # literal strings "8.4", "8.5", or "8.6" when the language is "tcl" # -OR- the literal string "1.0" when the language is either "eagle" # or "client". The platform argument must be an empty string -OR- # one of the literal strings "msil" or "neutral", or one of the values # returned by the [getPlatform] procedure.. An empty string means # that the associated package does not require a specific platform. # The fileNames argument must be a well-formed list of file names to # download, each one relative to the language and version-specific # directory on the package file server. The options argument must # be a dictionary of name/value pairs. The -persistent option should # be non-zero if the downloaded files should be saved to permanent # storage for subsequent use. The -usePgp option should be non-zero |
︙ | ︙ |
Modified client/1.0/neutral/pkgd.eagle.asc from [bd1ce2cd80] to [53daed0b60].
1 2 3 4 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository | | | | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository iQIcBAABCAAGBQJZVxrbAAoJEFAslq9JXcLZCP4QAJjq7pRySCfj2EWX/QY2yuyV SVaHH4gN8V0BijiMTQGABqqkH3wRe/xu1jwmrf5oneo6foFKbUcG4rvL03UYXt4k So7uvsz7uHgTfJYRzoRogudxCxf0W0uKUJiBRWH0qoK9IRsqPJDrKS64l6uBS9NV LUyXuUhFJ9bUAFfB7vdwGYxfsI4GEqCp39tngR9Ld6I9pQvxBQzxNS5uXp7texGs Tj57bvTw0ln29NKmO9Ind0/5++PK3zbDtMY1QfGCUx0LDwXSq/9GfIjk/kRtgyTx iePynnjAE22hhm9n6pzBsF93RyB/2Kq3361PIltaiKykjLz6JsH7riIIZQc1Bjx3 1DUkg3Wvi+3y3KVa0Dy/GVHetYAEQgnqFY5lEDYMcnNhRII6fVPtTdBX6DPuYSZY 7NujpRYQWlRWXpneN1t/misDA4TT6Gz7QnpSxBx9/gexKNq/GnV3mog2PH0EEvXU Nl8iJgTIN/uPorF3NOJwcy6eTgqA1AuZoidGLdGq26AmLP+9NUsnsMxu+ztcgHzd ESsrspMxHcTEdIKAtYffJU0tDZ4r8D1g18QSDAiWh1X/Y8REB5FQT4ANQqfOHY7+ kbiltBbbuljQk30nuwnfKRoimt19fusUs/yDKu6lXAWaVxg03KrmG0iuuFqGj1oO dcPxc8BGH6EYfRxry3GT =EWC/ -----END PGP SIGNATURE----- |
Modified client/1.0/neutral/pkgd.eagle.harpy from [c2bee909b3] to [37450dd0a8].
︙ | ︙ | |||
17 18 19 20 21 22 23 | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> <Id>bbe901ce-bae8-4b6e-b6c3-5b302bf7960a</Id> <HashAlgorithm>SHA512</HashAlgorithm> <EntityType>Script</EntityType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FDuDFL0U+2N6qgV6C7R7O/6b/qfZotDidUyPoflHfFjOyTuv74WEs4DXgVfO9 0ARG4avOfaS7Ld9B86KoN2dUtLL9G+43R+5vbYgCTMd6DuYSCZgJ4dh+aYomVu2SMdieOWVjk9oA +XmQKFoiP4Au1TaiPQxAHriUIm+bdogVJqx9WQoPw/sgvZkXtwkyCCHs3f15waBq24fOC0KewD4d oyQTa8o7JORFhvvet5p4cV0cablF1s7JzZCkB/crwHLJxoALBCNZDLF8gmFidk5MIMjDyx2Ny+5H a1WZ80kmaed7eW8tICgNwFvpqE23oXCVGVzx7MuLotovqRl78z0tA6S2rdpTxkKv8Psu1aP9RPpg K6MMKEL2W6WpCMGkrFCK11VJPNZMcH6P7jGdhZjw6fOo36gvOXS36J3geIDymlON3wkCDYz4RiH/ n3KFcg3ReyIGf3EmpXhN8sRvgN3SiWwvQRTzsQO6XPlIGJS/5vtEwbsbYUWCXoqCC6piaiziMiQc 9e2zhTW+RCuv0SX3MDC5ZxEGAo4GDyQs2NrIjQyT9/Rhmr+O/rCjXk+MzG3J963xrDsLCY2WOT35 oCcBhtB5TrJ/Uk0595ouLwKW0UPAdtb971VLSGVw8wyAbBqyWeq9hL5eKUF6zCAPq/LnlE4= </Signature> </Certificate> |
Modified client/1.0/neutral/pkgd.eagle.harpy.asc from [e154f8169f] to [b85c14a06f].
1 2 3 4 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository | | | | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Eagle Package Repository iQIcBAABCAAGBQJZVxreAAoJEFAslq9JXcLZgmsP/jCdQ3/yzbpSuU4pKdf4SgT5 iAuRb5hWGkdw/pZfjmY54pXqGSwYBCpobTqBa4m6F4CPpKBCzVakramF/4FAFNc7 iEM8odXntWuH7kDjR1T4DoYSOHiDa420/Xhnm0XglxyBBINlrLJlw4ZBPcm74VQm Uq+YOh8zLG1JzM8m86eBCyTeWV+5ofnrkclmqrJQArOAJhn4OMtIxPVHJuBB9x5a YzD9kYBW/+qsZAkBWZxEX7ezB5F8krk0P1O4MVEr0UxPD5DD0RJDRUhR9HdLMaHw Z5zqOIjAo89hm0zKc1Q7rigdMODl/H0NoZnhU0rn1PfZ2WqRwhq/M9uf96CSxFE1 j1EiLHM597Y5yG34mzshx5J2pg+83INMlRZQe9CCTsO9nWZd5sMO46in6hRB95Tz KLp1tJQ8d4Zn1rglmQMdDjLfnQbUhEEYSx0NKLu2JqH01mGrGmiyG60pQa/UQhKZ mqrEBEqMB301/lvvF7u75I255M/kQiiDLCiHZIqwFguF8rPVfI+ePELBSJnkGOev fC0vfHdMAkTxArlGc347x8aE5VO8cBmmseyadKhNK3yNWCme29TrWXJC1y7z0EXA WprzAa8M54LbquVneUDbI9mOEDzYqAh86r6e+EApROw37xEN0+HWN7lOvwOcg5MN QCiuSgwzvpk4lKtkzaDl =ZMhV -----END PGP SIGNATURE----- |