I recommend using DarwinBuild[1] to build OS components such as
libsecurity_keychain. There's a small tutorial[2] which you can
follow which uses apache_mod_php as an example. SImply substitute
in libsecurity_keychain instead.
The libsecurity suite of projects is unique in that each of these
projects produce a small framework that isn't normally distributed
on a Mac OS X system (they are in /usr/local). After building
libsecurity_keychain, you will also need to build the Security
framework.
The final result will be in the Roots/Security directory (this will
make more sense after you follow the tutorial), which you can
install on your system. Be sure to make a backup copy of the
existing Security framework though, just in case things do go as
planned.
- Kevin
[1] <http://www.opendarwin.org/projects/darwinbuild/>
[2] <http://www.opendarwin.org/projects/darwinbuild/doc/tools/index.html>
On Jan 18, 2006, at 8:45 AM, Will Hickie wrote:
How would one go about rebuilding LibSecurity_Keychain? What does
it build to, and where does the target go in the OS? (i.e. how do
I install the rebuilt copy of libsecurity_keychain).
I want to slightly modify the code.
I only want to rebuild this one piece.
Thanks,
Will