This repository was archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathopenssl.yaml
More file actions
89 lines (87 loc) · 2.65 KB
/
openssl.yaml
File metadata and controls
89 lines (87 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package:
name: openssl
version: 3.0.7
epoch: 0
description: "Library and CLI tools for XZ and LZMA compressed files"
target-architecture:
- all
copyright:
- paths:
- "*"
attestation: TODO
license: Apache-2.0
dependencies:
runtime:
environment:
contents:
repositories:
- https://mirrors.edge.kernel.org/alpine/edge/main
- https://packages.wolfi.dev/bootstrap/stage1
keyring:
- /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
- /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
- /usr/share/apk/keys/x86_64/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
- /usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub
- /usr/share/apk/keys/aarch64/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub
- /usr/share/apk/keys/armv7/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
- /usr/share/apk/keys/armv7/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub
- https://packages.wolfi.dev/bootstrap/stage1/wolfi-signing.rsa.pub
packages:
- busybox
- ssl_client
- ca-certificates-bundle
- cross-gcc-stage1
- cross-binutils-stage1
- cross-glibc-stage1
- cross-libstdc++-stage1
- cross-linux-headers
- perl
pipeline:
- uses: fetch
with:
uri: https://www.openssl.org/source/openssl-${{package.version}}.tar.gz
expected-sha256: 83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e
- name: Configure and build
runs: |
export CC=${{cross.triplet.gnu.glibc}}-gcc
export CXX=${{cross.triplet.gnu.glibc}}-g++
export CPP=${{cross.triplet.gnu.glibc}}-cpp
case "$(uname -m)" in
arm*) target="armv4"; _threads="no-threads" ;;
*) target="$(uname -m)" ;;
esac
perl ./Configure \
linux-$target \
--prefix=/usr \
--libdir=lib \
--openssldir=/etc/ssl \
enable-ktls \
shared \
no-zlib \
no-async \
no-comp \
no-idea \
no-mdc2 \
no-rc5 \
no-ec2m \
no-sm2 \
no-sm4 \
no-ssl3 \
no-seed \
no-weak-ssl-ciphers \
$_threads \
-Wa,--noexecstack
make -j$(nproc)
- uses: autoconf/make-install
- runs: |
rm ${{targets.destdir}}/usr/bin/c_rehash
- uses: strip
subpackages:
- name: "cross-openssl"
pipeline:
- runs: |
make install DESTDIR="${{targets.subpkgdir}}/usr/${{cross.triplet.gnu.glibc}}"
options:
no-commands: true
no-provides: true
no-depends: true