-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 40755: Use openssl-1.0.2 for building libdmg-hfsplus outside cont…
…ainers libdmg-hfsplus fails to build with openssl1.1: planetbeing/libdmg-hfsplus#14
- Loading branch information
Showing
5 changed files
with
40 additions
and
2 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
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,15 @@ | ||
#!/bin/bash | ||
[% c("var/set_default_env") -%] | ||
distdir=/var/tmp/dist/openssl | ||
mkdir -p /var/tmp/build | ||
tar -C /var/tmp/build -xf openssl-[% c('version') %].tar.gz | ||
cd /var/tmp/build/openssl-[% c('version') %] | ||
export SOURCE_DATE_EPOCH='[% c("timestamp") %]' | ||
./Configure --prefix="$distdir" -shared enable-ec_nistp_64_gcc_128 linux-x86_64 | ||
make -j[% c("num_procs") %] | ||
make -j[% c("num_procs") %] install | ||
cd /var/tmp/dist | ||
[% c('tar', { | ||
tar_src => [ 'openssl' ], | ||
tar_args => '-czf ' _ dest_dir _ '/' _ c('filename'), | ||
}) %] |
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,11 @@ | ||
# vim: filetype=yaml sw=2 | ||
# | ||
# We need openssl-1.0.2 for building libdmg-hfsplus: | ||
# https://github.com/planetbeing/libdmg-hfsplus/issues/14 | ||
# | ||
version: 1.0.2u | ||
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz' | ||
|
||
input_files: | ||
- URL: 'https://www.openssl.org/source/openssl-[% c("version") %].tar.gz' | ||
sha256sum: ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16 |
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