symbian4/os/security/package_definition.xml
branchHighFidelityModel
changeset 246 f99f9ea9b39f
parent 217 fcee787f22fe
child 391 1cd75ad5b512
--- a/symbian4/os/security/package_definition.xml	Wed May 26 17:18:20 2010 +0100
+++ b/symbian4/os/security/package_definition.xml	Wed May 26 17:30:43 2010 +0100
@@ -1,167 +1,89 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SystemDefinition [
-<!ELEMENT SystemDefinition ( systemModel )>
-<!ATTLIST SystemDefinition
-  name CDATA #REQUIRED
-  schema CDATA #REQUIRED
->
-<!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
-
-<!-- System Model Section of DTD -->
-<!ELEMENT systemModel (layer+)>
-
-<!ELEMENT layer (block* | collection*)*>
-<!-- Kernel Services, Base Services, OS Services, Etc -->
-<!ATTLIST layer
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
->
-
-<!ELEMENT block (subblock* | collection*)*>
- <!-- Generic OS services, Comms Services, etc -->
-<!ATTLIST block
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT subblock (collection)*>
-<!-- Cellular Baseband Services, Networking Services, etc -->
-<!ATTLIST subblock
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
->
-
-<!ELEMENT collection (component)*>
-<!-- Screen Driver, Content Handling, etc -->
-<!ATTLIST collection
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
->
-
-<!ELEMENT component (unit)*>
-<!-- contains units or is a  package or prebuilt -->
-<!ATTLIST component
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  deprecated CDATA #IMPLIED
-  introduced CDATA #IMPLIED
-  contract CDATA #IMPLIED
-  plugin (Y|N) "N"
-  filter CDATA #IMPLIED
-  class NMTOKENS #IMPLIED
-  supports CDATA #IMPLIED
-  purpose ( optional | mandatory | development ) "optional"
->
-
-<!ELEMENT unit EMPTY >
-<!-- must be buildable (bld.inf) -->
-<!-- bldFile  may someday be removed in favour of mrp -->
-<!ATTLIST unit
-  mrp CDATA #IMPLIED
-  filter CDATA #IMPLIED
-  bldFile CDATA #IMPLIED
-  root CDATA #IMPLIED
-  version NMTOKEN #IMPLIED
-  prebuilt NMTOKEN #IMPLIED
-  late (Y|N) #IMPLIED
-  priority CDATA #IMPLIED
->
-]>
-<SystemDefinition name="Symbian^4" schema="2.0.1">
-  <systemModel>
-    <layer name="os" long-name="OS" levels="hw services">
-      <block name="security" level="services" long-name="OS Security" levels="physical-abstraction plugins libraries management services utilities">
-        <collection name="authenticationservices" long-name="Authentication Services" level="utilities">
-          <component name="authenticationserver" long-name="Authentication Server" introduced="^4" purpose="optional">
-            <unit bldFile="/sf/os/security/authenticationservices/authenticationserver/group" mrp="/sf/os/security/authenticationservices/authenticationserver/group/security_authserver.mrp"/>
-          </component>
-        </collection>
-        <collection name="authorisation" long-name="Authorisation" level="utilities">
-          <component name="userpromptservice" long-name="User Prompt Service" introduced="^3" purpose="mandatory">
-            <unit bldFile="/sf/os/security/authorisation/userpromptservice/group" mrp="/sf/os/security/authorisation/userpromptservice/group/security_ups.mrp"/>
-          </component>
-          <component name="userpromptutils" long-name="User Prompt Utils" introduced="^3" purpose="optional">
-            <unit bldFile="/sf/os/security/authorisation/userpromptutils/group" mrp="/sf/os/security/authorisation/userpromptutils/group/security_ups_utils.mrp"/>
-          </component>
-        </collection>
-        <collection name="contentmgmt" long-name="Content Management" level="utilities">
-          <component name="contentaccessfwfordrm" long-name="Content Access Framework for DRM" introduced="9.1" purpose="mandatory">
-            <unit bldFile="/sf/os/security/contentmgmt/contentaccessfwfordrm/group" mrp="/sf/os/security/contentmgmt/contentaccessfwfordrm/group/security_caf2.mrp"/>
-          </component>
-          <component name="cafrecogniserconfig" long-name="CAF Recogniser Config" introduced="9.1" purpose="mandatory">
-            <unit bldFile="/sf/os/security/contentmgmt/cafrecogniserconfig" mrp="/sf/os/security/contentmgmt/cafrecogniserconfig/security_reccafconfig.mrp"/>
-          </component>
-          <component name="referencedrmagent" long-name="Reference DRM Agent" introduced="8.0" purpose="development">
-            <unit bldFile="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group" mrp="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group/security_rta.mrp"/>
-          </component>
-          <component name="cafstreamingsupport" long-name="CAF Streaming Support" introduced="^3" purpose="optional">
-            <unit bldFile="/sf/os/security/contentmgmt/cafstreamingsupport/group" mrp="/sf/os/security/contentmgmt/cafstreamingsupport/group/security_streamingcaf.mrp"/>
-          </component>
-        </collection>
-        <collection name="crypto" long-name="Crypto Libraries" level="libraries">
-          <component name="weakcryptospi" long-name="Weak Crypto SPI" filter="gt" introduced="^3" purpose="optional">
-            <unit bldFile="/sf/os/security/crypto/weakcryptospi/group" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_weak.mrp"/>
-          </component>
-          <component name="strongcryptospi" long-name="Strong Crypto SPI" filter="gt" introduced="^3" purpose="optional">
-            <unit bldFile="/sf/os/security/crypto/weakcryptospi/strong" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_strong.mrp"/>
-          </component>
-        </collection>
-        <collection name="cryptomgmtlibs" long-name="Crypto Management Libraries" level="management">
-          <component name="securityutils" long-name="Security Utils" introduced="8.0" purpose="optional">
-            <unit bldFile="/sf/os/security/cryptomgmtlibs/securityutils/group" mrp="/sf/os/security/cryptomgmtlibs/securityutils/group/security_common.mrp"/>
-          </component>
-          <component name="securitytestfw" long-name="Security Test Framework" deprecated="^3" introduced="7.0" purpose="development" filter="test">
-            <unit mrp="/sf/os/security/cryptomgmtlibs/securitytestfw/group/security_testframework.mrp" bldFile="/sf/os/security/cryptomgmtlibs/securitytestfw/group"/>
-          </component>
-          <component name="securitydocs" long-name="Security Documentation" purpose="development" class="doc">
-            <unit mrp="/sf/os/security/cryptomgmtlibs/securitydocs/security_documentation.mrp"/>
-          </component>
-          <component name="cryptotokenfw" long-name="Crypto Token Framework" introduced="7.0" purpose="optional">
-            <unit bldFile="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group" mrp="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group/security_cryptotokens.mrp"/>
-          </component>
-          <component name="securitycommonutils" long-name="Security Common Utils" introduced="8.0" purpose="mandatory">
-            <unit bldFile="/sf/os/security/cryptomgmtlibs/securitycommonutils/group" mrp="/sf/os/security/cryptomgmtlibs/securitycommonutils/group/security_commonutils.mrp"/>
-          </component>
-        </collection>
-        <collection name="securityanddataprivacytools" long-name="Security and Data Privacy Tools" level="services">
-          <component name="securityconfig" long-name="Security Config" introduced="9.1" purpose="optional">
-            <unit bldFile="/sf/os/security/securityanddataprivacytools/securityconfig/group" mrp="/sf/os/security/securityanddataprivacytools/securityconfig/group/security_config.mrp"/>
-          </component>
-          <component name="securitytools" long-name="Security Tools" introduced="^3" purpose="optional" class="PC">
-            <unit bldFile="/sf/os/security/securityanddataprivacytools/securitytools/group" mrp="/sf/os/security/securityanddataprivacytools/securitytools/group/security_tools.mrp"/>
-          </component>
-        </collection>
-        <collection name="cryptoplugins" long-name="Crypto Plugins" level="plugins">
-          <component name="cryptospiplugins" long-name="Crypto SPI Plugins" filter="gt" introduced="^3" purpose="optional" plugin="Y">
-            <unit bldFile="/sf/os/security/cryptoplugins/cryptospiplugins/group" mrp="/sf/os/security/cryptoplugins/cryptospiplugins/group/security_cryptospi_plugins.mrp"/>
-          </component>
-        </collection>
-        <collection name="cryptoservices" long-name="Crypto Services" level="plugins">
-          <component name="certificateandkeymgmt" long-name="Certificate and Key Management" introduced="6.0" purpose="optional">
-            <unit bldFile="/sf/os/security/cryptoservices/certificateandkeymgmt/group" mrp="/sf/os/security/cryptoservices/certificateandkeymgmt/group/security_certman.mrp"/>
-          </component>
-          <component name="filebasedcertificateandkeystores" long-name="File-based Certificate and Key Stores" introduced="8.0" purpose="optional">
-            <unit bldFile="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group" mrp="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group/security_filetokens.mrp"/>
-          </component>
-          <component name="browserrootcertificates" long-name="Browser Root Certificates" introduced="^2" purpose="optional" filter="sf_build">
-            <unit mrp="/sf/os/security/cryptoservices/browserrootcertificates/browserrootcerts.mrp"/>
-          </component>
-          <component name="asnpkcs" long-name="ASN PKCS" introduced="8.0" purpose="optional">
-            <unit bldFile="/sf/os/security/cryptoservices/asnpkcs/group" mrp="/sf/os/security/cryptoservices/asnpkcs/group/security_asnpkcs.mrp"/>
-          </component>
-        </collection>
-        <collection name="security_info" long-name="OS Security Info" level="utilities">
-          <component name="security_metadata" long-name="OS Security Metadata" introduced="^2" purpose="development" class="config PC">
-            <unit mrp="/sf/os/security/security_info/security_metadata/security_metadata.mrp"/>
-          </component>
-        </collection>
-      </block>
-    </layer>
-  </systemModel>
+<SystemDefinition schema="3.0.0">
+  <package id="security" name="OS Security" levels="physical-abstraction plugins libraries management services utilities">
+	<collection id="authenticationservices" name="Authentication Services" level="utilities">
+      <component id="authenticationserver" name="Authentication Server" introduced="^4" purpose="optional">
+        <unit bldFile="authenticationservices/authenticationserver/group" mrp="authenticationservices/authenticationserver/group/security_authserver.mrp"/>
+      </component>
+    </collection>
+    <collection id="authorisation" name="Authorisation" level="utilities">
+      <component id="userpromptservice" name="User Prompt Service" introduced="^3" purpose="mandatory">
+        <unit bldFile="authorisation/userpromptservice/group" mrp="authorisation/userpromptservice/group/security_ups.mrp"/>
+      </component>
+      <component id="userpromptutils" name="User Prompt Utils" introduced="^3" purpose="optional">
+        <unit bldFile="authorisation/userpromptutils/group" mrp="authorisation/userpromptutils/group/security_ups_utils.mrp"/>
+      </component>
+    </collection>
+    <collection id="contentmgmt" name="Content Management" level="utilities">
+      <component id="contentaccessfwfordrm" name="Content Access Framework for DRM" introduced="9.1" purpose="mandatory">
+        <unit bldFile="contentmgmt/contentaccessfwfordrm/group" mrp="contentmgmt/contentaccessfwfordrm/group/security_caf2.mrp"/>
+      </component>
+      <component id="cafrecogniserconfig" name="CAF Recogniser Config" introduced="9.1" purpose="mandatory">
+        <unit bldFile="contentmgmt/cafrecogniserconfig" mrp="contentmgmt/cafrecogniserconfig/security_reccafconfig.mrp"/>
+      </component>
+      <component id="referencedrmagent" name="Reference DRM Agent" introduced="8.0" purpose="development">      
+        <unit bldFile="contentmgmt/referencedrmagent/RefTestAgent/group" mrp="contentmgmt/referencedrmagent/RefTestAgent/group/security_rta.mrp"/>
+      </component>
+      <component id="cafstreamingsupport" name="CAF Streaming Support" introduced="^3" purpose="optional">
+        <unit bldFile="contentmgmt/cafstreamingsupport/group" mrp="contentmgmt/cafstreamingsupport/group/security_streamingcaf.mrp"/>
+      </component>      
+    </collection>
+    <collection id="crypto" name="Crypto Libraries" level="libraries">
+      <component id="weakcryptospi" name="Weak Crypto SPI" filter="gt" introduced="^3" purpose="optional">
+        <unit bldFile="crypto/weakcryptospi/group" mrp="crypto/weakcryptospi/group/security_cryptospi_weak.mrp"/>
+      </component>
+      <component id="strongcryptospi" name="Strong Crypto SPI" filter="gt" introduced="^3" purpose="optional">
+        <unit bldFile="crypto/weakcryptospi/strong" mrp="crypto/weakcryptospi/group/security_cryptospi_strong.mrp"/>
+      </component>
+    </collection>
+    <collection id="cryptomgmtlibs" name="Crypto Management Libraries" level="management">
+      <component id="securityutils" name="Security Utils" introduced="8.0" purpose="optional">
+        <unit bldFile="cryptomgmtlibs/securityutils/group" mrp="cryptomgmtlibs/securityutils/group/security_common.mrp"/>
+      </component>
+      <component id="securitytestfw" name="Security Test Framework" deprecated="^3" introduced="7.0" purpose="development" filter="test">
+        <unit mrp="cryptomgmtlibs/securitytestfw/group/security_testframework.mrp" bldFile="cryptomgmtlibs/securitytestfw/group"/>
+      </component>
+      <component id="securitydocs" name="Security Documentation" purpose="development" class="doc">
+        <unit mrp="cryptomgmtlibs/securitydocs/security_documentation.mrp"/>
+      </component>
+      <component id="cryptotokenfw" name="Crypto Token Framework" introduced="7.0" purpose="optional">
+        <unit bldFile="cryptomgmtlibs/cryptotokenfw/group" mrp="cryptomgmtlibs/cryptotokenfw/group/security_cryptotokens.mrp"/>
+      </component>
+      <component id="securitycommonutils" name="Security Common Utils" introduced="8.0" purpose="mandatory">
+        <unit bldFile="cryptomgmtlibs/securitycommonutils/group" mrp="cryptomgmtlibs/securitycommonutils/group/security_commonutils.mrp"/>
+      </component>
+    </collection>
+    <collection id="securityanddataprivacytools" name="Security and Data Privacy Tools" level="services">
+      <component id="securityconfig" name="Security Config" introduced="9.1" purpose="optional">
+        <unit bldFile="securityanddataprivacytools/securityconfig/group" mrp="securityanddataprivacytools/securityconfig/group/security_config.mrp"/>
+      </component>
+      <component id="securitytools" name="Security Tools" introduced="^3" purpose="optional" target="desktop">
+        <unit bldFile="securityanddataprivacytools/securitytools/group" mrp="securityanddataprivacytools/securitytools/group/security_tools.mrp"/>
+      </component>
+    </collection>
+    <collection id="cryptoplugins" name="Crypto Plugins" level="plugins">
+      <component id="cryptospiplugins" name="Crypto SPI Plugins" filter="gt" introduced="^3" purpose="optional" class="plugin">
+        <unit bldFile="cryptoplugins/cryptospiplugins/group" mrp="cryptoplugins/cryptospiplugins/group/security_cryptospi_plugins.mrp"/>
+      </component>
+    </collection>
+    <collection id="cryptoservices" name="Crypto Services" level="plugins">
+      <component id="certificateandkeymgmt" name="Certificate and Key Management" introduced="6.0" purpose="optional">
+        <unit bldFile="cryptoservices/certificateandkeymgmt/group" mrp="cryptoservices/certificateandkeymgmt/group/security_certman.mrp"/>
+      </component>
+      <component id="filebasedcertificateandkeystores" name="File-based Certificate and Key Stores" introduced="8.0" purpose="optional">
+        <unit bldFile="cryptoservices/filebasedcertificateandkeystores/group" mrp="cryptoservices/filebasedcertificateandkeystores/group/security_filetokens.mrp"/>
+      </component>
+      <component id="browserrootcertificates" name="Browser Root Certificates" introduced="^2" purpose="optional" filter="sf_build">
+        <unit mrp="cryptoservices/browserrootcertificates/browserrootcerts.mrp"/>
+      </component>
+      <component id="asnpkcs" name="ASN PKCS" introduced="8.0" purpose="optional">
+        <unit bldFile="cryptoservices/asnpkcs/group" mrp="cryptoservices/asnpkcs/group/security_asnpkcs.mrp"/>
+      </component>
+    </collection>
+    <collection id="security_info" name="OS Security Info" level="utilities">
+      <component id="security_metadata" name="OS Security Metadata" class="config" introduced="^2" purpose="development" target="desktop">
+        <unit mrp="security_info/security_metadata/security_metadata.mrp"/>
+      </component>
+    </collection>
+  </package>
 </SystemDefinition>