ymmtmdk / puredarwin

Automatically exported from code.google.com/p/puredarwin
Other
0 stars 0 forks source link

Provide a SystemVersion.plist with future versions #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Future distributions of PureDarwin should provide a SystemVersion.plist in 
/System/Library/CoreServices including information about build versions (in 
major-letter-minor 
eg. 9G55 format). This info is used by eg. launchctl and mDNSResponder (via the 
_CFCopySystemVersionDictionary() call). This file can also be used to set 
copyright info for the 
system, and to identify it as a PureDarwin install.

Original issue reported on code.google.com by stu...@echus.demon.co.uk on 13 Mar 2009 at 10:42

GoogleCodeExporter commented 9 years ago
Right.
SystemVersion.plist for PureDarwin workstation/client.
ServerVersion.plist for PureDarwin server.

A typical SystemVersion.plist found in Leopard:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ProductBuildVersion</key>
    <string>9G55</string>
    <key>ProductCopyright</key>
    <string>1983-2008 Apple Inc.</string>
    <key>ProductName</key>
    <string>Mac OS X</string>
    <key>ProductUserVisibleVersion</key>
    <string>10.5.6</string>
    <key>ProductVersion</key>
    <string>10.5.6</string>
</dict>
</plist>

Original comment by Aladin.Q...@gmail.com on 15 Mar 2009 at 4:09

GoogleCodeExporter commented 9 years ago
Consequently, what should be the
 * ProductBuildVersion (9G55pdx???)
 * ProductCopyright (2007-2009 The PureDarwin Project.? should we also append Apple copyright?)
 * ProductName (PureDarwin)
 * ProductUserVisibleVersion (???)
 * ProductVersion (???)

Original comment by Aladin.Q...@gmail.com on 19 Mar 2009 at 11:19

GoogleCodeExporter commented 9 years ago
Some code relies on the "9G55" style ProductBuildVersion, so maybe we shouldn't 
alter that, but otherwise this 
should be fine. Maybe make the ProductVersion the Darwin (not OS X) version 
number.

Original comment by stu...@echus.demon.co.uk on 19 Mar 2009 at 11:35

GoogleCodeExporter commented 9 years ago
Fixed in r79.

Original comment by Aladin.Q...@gmail.com on 21 Mar 2009 at 10:37