35 lines
768 B
Plaintext
35 lines
768 B
Plaintext
# Description: Secure Sockets Layer and Transport Layer Security tools
|
|
# URL: https://www.openssl.org/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=openssl
|
|
version=3.3.0
|
|
release=1
|
|
source=(https://www.openssl.org/source/$name-$version.tar.gz
|
|
mksslcert.sh)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./config \
|
|
--prefix=/usr \
|
|
--libdir=lib \
|
|
--openssldir=/etc/ssl \
|
|
disable-tests \
|
|
enable-ec_nistp_64_gcc_128 enable-camellia \
|
|
enable-seed enable-rfc3779 \
|
|
no-mdc2 no-ec2m no-sm2 no-sm4 \
|
|
shared \
|
|
threads \
|
|
zlib
|
|
|
|
sed -i "s|-O3|$CFLAGS|" Makefile
|
|
|
|
make depend
|
|
make
|
|
make MANSUFFIX=ssl DESTDIR=$PKG install_sw install_ssldirs install_man_docs
|
|
|
|
find $PKG -name "*fips*" -delete
|
|
install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
|
|
}
|