-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at a modern cryptography patch.
- Loading branch information
1 parent
b547d1d
commit faaa040
Showing
6 changed files
with
53 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package: | ||
name: cryptography | ||
version: 3.4.8 | ||
version: 41.0.4 | ||
|
||
build: | ||
script_env: | ||
- CRYPTOGRAPHY_DONT_BUILD_RUST=1 | ||
- OPENSSL_STATIC=1 | ||
- OPENSSL_DIR={platlib}/opt | ||
|
||
requirements: | ||
build: | ||
- cffi 1.15.1 | ||
- setuptools-rust 0.11.6 | ||
# "setuptools_rust @ git+https://github.com/freakboy3742/setuptools_rust@iOS-support", | ||
- setuptools_rust @ git+https://github.com/freakboy3742/setuptools-rust@iOS-support | ||
host: | ||
- openssl 1.1.1v | ||
# - openssl 3.1.2 | ||
- openssl 3.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff -ru cryptography-41.0.4-orig/src/rust/cryptography-cffi/build.rs cryptography-41.0.4/src/rust/cryptography-cffi/build.rs | ||
--- cryptography-41.0.4-orig/src/rust/cryptography-cffi/build.rs 2023-09-20 00:20:46 | ||
+++ cryptography-41.0.4/src/rust/cryptography-cffi/build.rs 2023-09-29 13:05:45 | ||
@@ -11,7 +11,7 @@ | ||
let openssl_static = env::var("OPENSSL_STATIC") | ||
.map(|x| x == "1") | ||
.unwrap_or(false); | ||
- if target.contains("apple") && openssl_static { | ||
+ if target.contains("apple-darwin") && openssl_static { | ||
// On (older) OSX we need to link against the clang runtime, | ||
// which is hidden in some non-default path. | ||
// |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters