Merge pull request #266 from kisslinux/openssl

Openssl
This commit is contained in:
dylan 2021-07-11 17:59:37 +03:00 committed by GitHub
commit 94bab7f5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 53 additions and 54 deletions

View File

@ -1,2 +1,2 @@
libressl
openssl
zlib

View File

@ -1,3 +1,3 @@
curl make
libressl make
zlib make
curl make
openssl make
zlib make

View File

@ -1,13 +0,0 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make DESTDIR="$1" install
cp -f update-certdata.sh "$1/etc/ssl"
# Remove library documentation.
rm -rf "$1/usr/share/man/man3"

View File

@ -1,2 +0,0 @@
a471565b36ccd1a70d0bd7d37c6e95c43a26a62829b487d9d2cdebfe58be3066
d4bfcd9ee16eff65bdf6de1e0a3ccac667fdf52d98d0eda5c3e3f638aad13b89

View File

@ -1,2 +0,0 @@
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.3.3.tar.gz
files/update-certdata.sh

View File

@ -1 +0,0 @@
3.3.3 1

27
core/openssl/build Executable file
View File

@ -0,0 +1,27 @@
#!/bin/sh -e
./Configure \
--prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
no-unit-test \
shared \
linux-x86_64
make depend
make
make DESTDIR="$1" install_sw install_ssldirs
cp -f update-certdata.sh "$1/etc/ssl"
# Libretls is LibreSSL's libtls library for OpenSSL.
(
cd libretls
./configure \
--prefix=/usr \
--with-openssl="$1/usr"
make
make DESTDIR="$1" install
)

3
core/openssl/checksums Normal file
View File

@ -0,0 +1,3 @@
892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5
8a5b38a76b778da8d6f4236f1ea89e680daea971be6ee3a57e4e7ae99a883aa2
d4bfcd9ee16eff65bdf6de1e0a3ccac667fdf52d98d0eda5c3e3f638aad13b89

1
core/openssl/depends Normal file
View File

@ -0,0 +1 @@
perl make

3
core/openssl/sources Normal file
View File

@ -0,0 +1,3 @@
https://www.openssl.org/source/openssl-1.1.1k.tar.gz
https://causal.agency/libretls/libretls-3.3.3p1.tar.gz libretls
files/update-certdata.sh

1
core/openssl/version Normal file
View File

@ -0,0 +1 @@
1.1.1k 1

View File

@ -1,6 +1,6 @@
bzip2
curl
expat
libressl
linux-headers make
openssl
zlib

View File

@ -3,12 +3,12 @@ lame
libass
libdrm
libogg
libressl
libvorbis
libvpx
libwebp
linux-headers make
nasm make
openssl
opus
pkgconf make
x264

View File

@ -1,4 +1,4 @@
bzip2
curl
libressl
openssl
zlib

View File

@ -1,3 +1,3 @@
libressl
ncurses
openssl
zlib

View File

@ -2,6 +2,7 @@
./configure \
--shared-zlib \
--shared-openssl \
--with-intl=none \
--without-etw \
--without-dtrace \

View File

@ -1,4 +1,5 @@
linux-headers make
openssl
python make
samurai make
zlib

View File

@ -1,2 +1,2 @@
libressl
openssl
zlib

View File

@ -1,6 +1,6 @@
bzip2
expat
libffi
libressl
openssl
sqlite
zlib

View File

@ -1,7 +1,5 @@
#!/bin/sh -e
patch -p1 < libressl.patch
# This package mimics the download process of rust's 'x.py'
# bootstrap library to allow for the removal of the internet
# connection requirement per build.
@ -23,13 +21,9 @@ do
done
# Ignore checksums of files modified above.
for f in \
vendor/openssl-sys/.cargo-checksum.json \
vendor/rustc-ap-rustc_target/.cargo-checksum.json
do
sed 's/\("files":{\)[^}]*/\1/' "$f" > _
mv -f _ "$f"
done
sed 's/\("files":{\)[^}]*/\1/' \
vendor/rustc-ap-rustc_target/.cargo-checksum.json > _
mv -f _ vendor/rustc-ap-rustc_target/.cargo-checksum.json
cat > config.toml <<EOF
[llvm]

View File

@ -1,6 +1,6 @@
cmake make
curl make
libressl
openssl
llvm
pkgconf make
python make

View File

@ -1,13 +0,0 @@
diff --git a/vendor/openssl-sys/build/main.rs b/vendor/openssl-sys/build/main.rs
index 49f26d2b7..27deb1f36 100644
--- a/vendor/openssl-sys/build/main.rs
+++ b/vendor/openssl-sys/build/main.rs
@@ -221,6 +221,8 @@ See rust-openssl README for more information:
(3, 1, 0) => ('3', '1', '0'),
(3, 1, _) => ('3', '1', 'x'),
(3, 2, 0) => ('3', '2', '0'),
+ (3, 2, 1) => ('3', '2', '1'),
+ (3, 3, _) => ('3', '3', 'x'),
_ => version_error(),
};

View File

@ -2,4 +2,3 @@ https://static.rust-lang.org/dist/rustc-1.53.0-src.tar.xz
https://static.rust-lang.org/dist/2021-05-06/rust-std-1.52.0-x86_64-unknown-linux-musl.tar.xz?no-extract
https://static.rust-lang.org/dist/2021-05-06/rustc-1.52.0-x86_64-unknown-linux-musl.tar.xz?no-extract
https://static.rust-lang.org/dist/2021-05-06/cargo-1.52.0-x86_64-unknown-linux-musl.tar.xz?no-extract
patches/libressl.patch

View File

@ -1,2 +1,2 @@
libressl
linux-headers make
openssl

View File

@ -11,12 +11,12 @@ libdrm
libepoxy
libfontenc
libpciaccess
libressl
libxcb
libxkbfile
libxshmfence
linux-headers make
mesa
openssl
pixman
pkgconf make
xkeyboard-config