29 lines
731 B
Plaintext
29 lines
731 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=1.1.1g
|
|
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 \
|
|
shared \
|
|
enable-ec_nistp_64_gcc_128
|
|
|
|
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
|
|
}
|