Skip to content

Commit d5a33a6

Browse files
committed
Binary project specifications for Carthage
Host the specs so that Carthage projects can depend on this library. Note that we still have to respect Carthage versioning policy.
1 parent 641757d commit d5a33a6

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

carthage/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Carthage binary frameworks
2+
==========================
3+
4+
Here you can find JSON files with [binary project specifications][1] for Carthage.
5+
Update these files with new versions when doing the release.
6+
7+
[1]: https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#binary-project-specification
8+
9+
Note that Carthage **requires** semver-compatible versions.
10+
That is, the version must have three components.
11+
OpenSSL uses a peculiar versioning scheme which has four components
12+
where patch version is indicated by a letter.
13+
OpenSSL versions are translated to Carthage versions by renumbering like this:
14+
15+
| OpenSSL version | Carthage version |
16+
| --------------- | ---------------- |
17+
| 1.0.2 | 1.0.200 |
18+
| 1.0.2a | 1.0.201 |
19+
| 1.0.2u | 1.0.221 |
20+
| 1.1.1 | 1.1.100 |
21+
| 1.1.1a | 1.1.101 |
22+
| 1.1.1g | 1.1.107 |

carthage/openssl-iOS.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"1.0.221": "https://github.com/cossacklabs/openssl-apple/releases/download/v1.0.2u/openssl-iOS.zip"
3+
}

carthage/openssl-macOS.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"1.0.221": "https://github.com/cossacklabs/openssl-apple/releases/download/v1.0.2u/openssl-macOS.zip"
3+
}

0 commit comments

Comments
 (0)