Skip to content

Commit b752f17

Browse files
committed
first commit
0 parents  commit b752f17

File tree

5 files changed

+86
-0
lines changed

5 files changed

+86
-0
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.github/workflows/publish.yml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: Build OpenSSL
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
ref:
8+
description: "OpenSSL branch or tag"
9+
required: true
10+
default: master
11+
type: string
12+
13+
jobs:
14+
build-amd64:
15+
name: Build OpenSSL (amd64)
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v4
20+
with:
21+
repository: openssl/openssl
22+
path: openssl
23+
ref: ${{ inputs.ref }}
24+
- run: ./config --static -static
25+
working-directory: openssl
26+
- run: make
27+
working-directory: openssl
28+
- run: mkdir bin
29+
- run: cp openssl/apps/openssl bin
30+
- run: zip -r9 openssl-amd64.zip bin
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: openssl-amd64.zip
34+
path: openssl-amd64.zip
35+
build-arm64:
36+
name: Build OpenSSL (arm64)
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v4
41+
with:
42+
repository: openssl/openssl
43+
path: openssl
44+
ref: ${{ inputs.ref }}
45+
- run: sudo apt-get install -y gcc-aarch64-linux-gnu
46+
- run: ./config no-asm --static -static
47+
working-directory: openssl
48+
- run: make
49+
working-directory: openssl
50+
- run: mkdir bin
51+
- run: cp openssl/apps/openssl bin
52+
- run: zip -r9 openssl-arm64.zip bin
53+
env:
54+
CC: aarch64-linux-gnu-gcc
55+
- uses: actions/upload-artifact@v4
56+
with:
57+
name: openssl-arm64.zip
58+
path: openssl-arm64.zip

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.formatOnSave": true
3+
}

LICENSE.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2024 NiceLabs
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [OpenSSL](https://github.com/openssl/openssl) binaries for AWS Lambda
2+
3+
A [layer] for AWS Lambda that allows your functions to use openssl binaries.
4+
5+
[layer]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
6+
7+
## LICENSE
8+
9+
[MIT LICENSE](LICENSE.txt)

0 commit comments

Comments
 (0)