File: Distribution_universal.xml.in

package info (click to toggle)
opensc 0.26.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,420 kB
  • sloc: ansic: 178,823; xml: 6,327; sh: 2,115; makefile: 1,023; cpp: 304; lex: 92
file content (45 lines) | stat: -rw-r--r-- 2,057 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/DistributionDefinitionRef/
https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/InstallerJavaScriptRef/
-->
<installer-gui-script minSpecVersion="2">
    <allowed-os-versions>
      <os-version min="10.10"/>
    </allowed-os-versions>
    <background file="background.jpg" mime-type="image/jpeg" scaling="tofit"/>
    <welcome file="Welcome.html" mime-type="text/html"/>
    <title>@PACKAGE_STRING@</title>
    <options customize="allow" hostArchitectures="arm64,x86_64" require-scripts="false" rootVolumeOnly="true"/>
    <script>
      <![CDATA[
    function osx_before_catalina() {
      return system.compareVersions(system.version.ProductVersion, '10.15') < 0;
    }
    function osx_after_catalina() {
      return system.compareVersions(system.version.ProductVersion, '10.15') >= 0;
    }
    function osx_after_yosemite() {
      return system.compareVersions(system.version.ProductVersion, '10.12') >= 0;
    }
      ]]>
    </script>
    <choices-outline>
        <line choice="default" />
        <line choice="startup" />
        <line choice="tokend" />
        <line choice="token" />
    </choices-outline>
    <choice id="default" title="PKCS#11 module and smart card tools" enabled="false">
        <pkg-ref id="org.opensc-project.mac">OpenSC.pkg</pkg-ref>
    </choice>
    <choice id="tokend" title="TokenD-based smart card driver" start_selected="osx_before_catalina()">
        <pkg-ref id="org.opensc-project.tokend">OpenSC-tokend.pkg</pkg-ref>
    </choice>
    <choice id="token" title="CryptoTokenKit-based smart card driver" visible="osx_after_yosemite()" start_selected="osx_after_catalina()">
        <pkg-ref id="org.opensc-project.mac.opensctoken">OpenSCToken.pkg</pkg-ref>
    </choice>
    <choice id="startup" title="Automatic startup items">
        <pkg-ref id="org.opensc-project.startup">OpenSC-startup.pkg</pkg-ref>
    </choice>
</installer-gui-script>