2006-02-23 16:26:10 +01:00
|
|
|
# Description: Secure Sockets Layer and Transport Layer Security tools
|
2021-02-17 12:27:55 +01:00
|
|
|
# URL: https://www.openssl.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=openssl
|
2022-11-02 12:38:35 +01:00
|
|
|
version=3.0.7
|
2015-12-03 19:42:28 +01:00
|
|
|
release=1
|
2022-05-16 22:20:17 +02:00
|
|
|
source=(https://www.openssl.org/source/$name-$version.tar.gz
|
2021-02-17 12:27:55 +01:00
|
|
|
mksslcert.sh)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-02-17 12:27:55 +01:00
|
|
|
cd $name-$version
|
2015-01-05 18:31:59 +01:00
|
|
|
|
2021-02-17 12:27:55 +01:00
|
|
|
./config \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=lib \
|
|
|
|
--openssldir=/etc/ssl \
|
2022-04-10 14:37:57 +02:00
|
|
|
enable-ec_nistp_64_gcc_128 enable-camellia \
|
|
|
|
enable-seed enable-rfc3779 \
|
|
|
|
no-mdc2 no-ec2m no-sm2 no-sm4 \
|
2021-02-17 12:27:55 +01:00
|
|
|
shared \
|
2022-04-10 14:37:57 +02:00
|
|
|
threads \
|
|
|
|
zlib
|
2015-01-05 18:31:59 +01:00
|
|
|
|
2021-02-17 12:27:55 +01:00
|
|
|
sed -i "s|-O3|$CFLAGS|" Makefile
|
2015-01-05 18:31:59 +01:00
|
|
|
|
2021-02-17 12:27:55 +01:00
|
|
|
make depend
|
|
|
|
make
|
|
|
|
make MANSUFFIX=ssl DESTDIR=$PKG install_sw install_ssldirs install_man_docs
|
2015-01-05 18:31:59 +01:00
|
|
|
|
2021-02-17 12:27:55 +01:00
|
|
|
find $PKG -name "*fips*" -delete
|
|
|
|
install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|