Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
openssl: 1.1.1k (testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jul 7, 2021
1 parent 00ceb6e commit 2e678fd
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions testing/openssl/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh -e

./Configure \
--prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
shared linux-x86_64

make depend
make
make DESTDIR="$1" install_sw install_ssldirs

cp -f update-certdata.sh "$1/etc/ssl"
2 changes: 2 additions & 0 deletions testing/openssl/checksums
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5
d4bfcd9ee16eff65bdf6de1e0a3ccac667fdf52d98d0eda5c3e3f638aad13b89
12 changes: 12 additions & 0 deletions testing/openssl/files/update-certdata.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh -e

[ -w /etc/ssl ] || {
printf '%s\n' "${0##*/}: root required to update cert." >&2
exit 1
}

cd /etc/ssl && {
curl -LO https://curl.haxx.se/ca/cacert.pem
mv -f cacert.pem cert.pem
printf '%s\n' "${0##*/}: updated cert.pem"
}
3 changes: 3 additions & 0 deletions testing/openssl/post-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

/etc/ssl/update-certdata.sh
2 changes: 2 additions & 0 deletions testing/openssl/sources
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://www.openssl.org/source/openssl-1.1.1k.tar.gz
files/update-certdata.sh
1 change: 1 addition & 0 deletions testing/openssl/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.1k 1

0 comments on commit 2e678fd

Please sign in to comment.