Commit Graph

27 Commits

Author SHA1 Message Date
Thomas A
09d01249fb Fix Building For Security-59754.140.13
* Restore missing darling specific changes from previous release
* Use <CarbonCore/MacErrors.h> instead.
* Fixed building for i386
* Adjusted location of where some files are now stored at.
2023-04-23 12:48:26 -07:00
Thomas A
c7819c1bc8 Add symbol links for header/def files 2023-04-23 12:48:26 -07:00
Thomas A
6beec0389b Restore Darling Specific Changes 2023-04-22 22:21:49 -07:00
Thomas A
9bba1c54a7 Update Source To Security-59754.140.13 2022-12-12 19:51:23 -08:00
Ariel Abreu
01e73738c7
Fix for Clang 13 2021-11-14 20:10:33 -05:00
Ariel Abreu
7b11f335f6
Temporary hack: Disable IOKit usage in IOPowerWatcher
This should actually be handled in our `iokitd`.
2020-11-03 11:54:06 -05:00
Ariel Abreu
ffc4d35c5c
Get more of the updated Security to build
We'll build more stuff later, but for now, the stuff that was currently building is now building again (except `secd`; that one has been tangled up by more "secret" libraries since the update)

To build the rest, we'll need to enable Octagon and TrustedPeers, and I'm not sure what effect that'll have. To be honest, I'm not even sure what they do
2020-08-27 22:08:13 -04:00
Ariel Abreu
bf1385e233
Partial Darling build of Security-59306.61.1
This is only the *build* of the Security framework. It does not link yet, and I also have not tried building the various executables yet.

This one required lots of edits in various places throughout the Darling codebase. It seems Apple has really changed things up from 10.13 to 10.15.

A great example of the huge difference is that libDER is no longer included with Security! I had to import it from the last version it was released and modify it slightly to fit the updated code.
Yet another example of Apple being bipolar towards open-source. I wonder what kind of secrets they could be hiding in a library made for working with an *open standard*, smh.

Also, since 10.15 included the drop of 32-bit support, Apple has now made use of many more "modern" Objective-C runtime features, such as automatic ivar synthesis.
Since we want to keep 32-bit app support in Darling but also support newer 64-bit apps and frameworks, I've put the sources using the new features into x86_64-only object libraries.
That way, we only build them for 64-bit and they're available in the 64-bit part of the final "fat" framework. This is fine because those brand new sources aren't used by any old 32-bit code (and 32-bit code can't be updated to use it, either).

Also, I'd like to point out that Apple's code uses such a mess of includes that it's ridiculous (and this is for all their projects, not just Security). Some sources require more includes than the ones listed in Xcode.
2020-07-15 11:30:18 -04:00
Ariel Abreu
c74333ad6d
Security-59306.61.1 2020-07-06 07:59:58 -04:00
Sergey Bugaev
250e8a5ce4 Disable IOKit notification handling 2019-02-23 14:56:50 +03:00
Sergey Bugaev
c543d9f835 Disable auditing 2019-02-23 14:56:50 +03:00
Andrew Hyatt
c67c1b26db Switch every component over to being a static library 2017-08-07 15:25:37 -07:00
Andrew Hyatt
1c110e1231 Complete building of all components
Now they just need to be linked
2017-07-16 15:02:38 -07:00
Andrew Hyatt
94d69630f5 Security-57740.52.3 2017-06-03 12:31:08 -07:00
Andrew Hyatt
2442ae2016 Get security_utilities to fully build 2017-05-16 21:17:28 -07:00
Andrew Hyatt
6b6eeb1a24 Build some more pieces 2017-05-14 09:10:14 -07:00
Andrew Hyatt
9a6e079f1c Work towards getting sec_item_shim to build
Also remove xcodeproj's
2016-12-17 21:27:07 -08:00
Andrew Hyatt
df7b9e0fe4 Build all 4 components of security_cdsa 2016-12-04 17:18:27 -08:00
Andrew Hyatt
8e7d09b6a0 Merging, I had uncommitted changes by mistake 2016-12-03 08:19:55 -08:00
Andrew Hyatt
deb787fc5d Continue the restructure of build files 2016-12-03 08:06:54 -08:00
Lubos Dolezel
850f1a0054 Build libsecurity_transform 2016-12-03 13:16:46 +01:00
Lubos Dolezel
14976be0a9 Fix i386 build (once again 'unsigned long' vs 'unsigned int') 2016-11-28 14:42:02 +01:00
Lubos Dolezel
a479953317 libsecurity_utilities now partially builds 2016-11-28 14:27:53 +01:00
Lubos Dolezel
4b252e48a8 libsecurity_utilities work in progress 2016-11-26 23:33:42 +01:00
Lubos Dolezel
3c290c5e6f Making security_authorization build (but not work) 2016-11-26 23:28:13 +01:00
Lubos Dolezel
9b7bb1f5f9 Initial work on Darling build 2016-02-24 23:03:47 +01:00
Apple
d21874ad29 Security-57337.20.44 2016-02-23 21:19:11 +01:00