34 lines
750 B
Plaintext
34 lines
750 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.0.3
|
|
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 \
|
|
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
|
|
}
|