[flatpak] build custom openssl

we need legacy providers or openssl 1.1.1 for compatibility with older
windows servers.
This commit is contained in:
Armin Novak 2024-03-20 11:56:36 +01:00 committed by akallabeth
parent 2359e3ff63
commit 675ec01e97
2 changed files with 24 additions and 1 deletions

View File

@ -9,10 +9,15 @@
}, },
"command": "freerdp.sh", "command": "freerdp.sh",
"cleanup": [ "cleanup": [
"*.a",
"*.la", "*.la",
"/include", "/include",
"/lib/cmake", "/lib/cmake",
"/lib/pkgconfig" "/lib/pkgconfig",
"/sbin",
"/share/doc",
"/share/examples",
"/share/man"
], ],
"finish-args": [ "finish-args": [
"--device=dri", "--device=dri",
@ -42,6 +47,7 @@
} }
}, },
"modules": [ "modules": [
"modules/openssl.json",
"modules/libusb.json", "modules/libusb.json",
"modules/uriparser.json", "modules/uriparser.json",
"modules/cJSON.json", "modules/cJSON.json",

View File

@ -0,0 +1,17 @@
{
"name": "openssl",
"buildsystem": "simple",
"build-commands": [
"./config --prefix=/app --openssldir=/app --libdir=lib shared",
"make -j build_sw",
"make -j install_sw"
],
"cleanup": [],
"sources": [
{
"type": "archive",
"url": "https://openssl.org/source/openssl-3.1.5.tar.gz",
"sha256": "6ae015467dabf0469b139ada93319327be24b98251ffaeceda0221848dc09262"
}
]
}