Commit Graph

30 Commits

Author SHA1 Message Date
Evan Hahn
085ce28317 Signal build of OpenSSL 1.1.1s 2022-11-20 08:10:07 -06:00
Marcin Krzyzanowski
e88deedfc3
Update OpenSSL 1.1.1k. Remove arm64e slice (The World is not ready) 2021-03-29 20:51:18 +02:00
Christopher Atlan
59ad69a34a Rename folders to match $(PLATFORM_NAME) #104 2021-01-01 21:16:13 +01:00
Marcin Krzyzanowski
8da5c60a7f
Remove asn1_mac.h 2020-12-12 05:08:37 +01:00
Marcin Krzyzanowski
5fe27f6acc
Build Catalyst framework 2020-12-12 04:54:20 +01:00
Marcin Krzyzanowski
ee331c571f
Enable bitcode (hopefully). Fix configuration header. Build for Catalyst 2020-12-12 02:35:45 +01:00
Marcin Krzyzanowski
7e503b932f
Separate iphoneos and iphonesimulator SUPPORTED_PLATFORMS to please Carthage. Fixes #97 2020-12-01 14:41:56 +01:00
Marcin Krzyzanowski
9ab1dc8f8d
Build 1.1.171 2020-11-26 15:56:29 +01:00
Marcin Krzyzanowski
355cff3822
bump version 1.1.170 2020-11-22 18:48:41 +01:00
Marcin Krzyzanowski
059945d717
Fix RC4_INT redefinition 2020-11-20 04:02:14 +01:00
Marcin Krzyzanowski
8c1679412a
Fix headers 2020-11-20 03:09:20 +01:00
Marcin Krzyzanowski
e4dd96d0a5
Separate iphoneos and iphonesimulator due to arm64 clash 2020-11-20 03:06:32 +01:00
Marcin Krzyzanowski
f295687024
asn1_mac.h is no longer with us 2020-11-11 22:04:06 +01:00
Marcin Krzyzanowski
7a3fed7377
Add module header 2020-10-02 00:38:49 +02:00
Marcin Krzyzanowski
52fb04aa4a
add opensslconf-arm64.h in Headers 2020-10-01 23:44:32 +02:00
Marcin Krzyzanowski
1faf3e6872
1.1.1h 2020-10-01 23:00:16 +02:00
Marcin Krzyzanowski
8621798b68
Update deployments and versioning 2020-07-29 21:48:33 +02:00
Marcin Krzyzanowski
3f6b527ad5
Update frameworks headers 2020-07-29 21:34:12 +02:00
Marcin Krzyzanowski
6c7cf839d9
Merge pull request #86 from equinux/feature/macos-arm64
Support ARM64 macOS builds
2020-07-28 18:32:05 +02:00
makesource
7119c4622f Add bitcode setting in project.pbxproj 2020-07-16 23:07:23 +09:00
Marc Haisenko
2652f3896f Support ARM64 macOS builds 2020-07-10 09:10:33 +02:00
Marcin Krzyzanowski
07763ee0a6
Update to 1.0.2u (1.0.2.20) 2020-05-17 22:43:46 +02:00
Marcin Krzyzanowski
7ca5804216
ENABLE_BITCODE = NO for iOS target 2019-10-14 11:21:02 +02:00
Orfeas Zafeiris
10d4509abe Add support for 32-bit iOS Simulator
This includes original changes authored by Orfeas in the build script to
(re)include i386 support as well as updates in the OpenSSL.xcodeproj.
However, updates in binaries and frameworks have been removed as Marcin
would probably like to perform the update himself. This commit also
includes a minor fix in the Xcode project file that puts the new
"opensslconf-i386.h" header into the 'public headers' section so that
it's actually included into the produced frameworks.

Signed-off-by: Orfeas Zafeiris <orfeaz@gmail.com>
Signed-off-by: Alexei Lozovsky <alexei@cossacklabs.com>
2019-09-23 16:16:45 +03:00
Marcin Krzyzanowski
1c3fec389d
Fix macOS header 2019-06-25 19:10:46 +02:00
Marcin Krzyzanowski
2ad2d5069e
Add opensslconf-* headers 2019-06-25 18:26:16 +02:00
Marcin Krzyzanowski
e6e0cd3135
Add missing opensslconf headers 2019-06-22 21:53:05 +02:00
Marcin Krzyzanowski
583baf5e42
enable shim.h for Xcode project 2019-06-22 18:05:05 +02:00
Marcin Krzyzanowski
dfce7dd11f
Update Xcode project paths 2019-04-14 19:15:27 +02:00
ilammy
c99c8522a4 Xcode project for Carthage support
This adds an Xcode project to build OpenSSL frameworks. Carthage build
system relies exclusively on Xcode projects so adding one adds support
for building with Carthage.

The changes are based off 1.0.2.14 branch and do not use existing
support scripts. Unfortunately, I could not find a way to reuse them
(but that should be the right way). On the flip side, it's now possible
to build framworks using "xcodebuild" from command-line.

The project is configured as follows:

  - Two targets "OpenSSL (iOS)" and "OpenSSL (macOS)" which build
    Cocoa Touch and (desktop) Cocoa frameworks respectively. They
    support iOS 8.0+ and macOS 10.9+.

  - Each target has a corresponding Xcode scheme that builds it.
    The schemes are *shared* which is required for Carthage to work.

  - Both do not compile any new code and only combine prebuilt
    binaries already present in the repository.

Some interesting caveats about configuration:

  - Resulting frameworks are called "openssl.framework" for the sake
    of compatibility with existing header include usage like
    "#include <openssl/evp.h>" with all lowercase. This plays better
    with so-called 'modular includes' that are necessary to use the
    framework from Swift code.

  - Umbrella headers "openssl.h" are compiled manually because
    apparently inclusion order is important for OpenSSL. This is
    important for Swift compiler, but mostly irrelevant to both
    Swift and Objective-C users.

  - In order to preserve the symbols from libssl.a and libcrypto.a
    we use a custom linker flag "-all_load". It keeps the 'unused'
    symbols from being removed by the linker (which is the default
    behavior)

  - Speaking of linker flags, the frameworks are explicitly *not*
    code-signed. This is expected for frameworks which should be
    signed only by the end-users (the application). Xcode does not
    make it easy (even now), but it seems I got it right...

And that's probably it for the project configuration.
2019-03-18 14:09:22 +02:00