2012-11-21 11:12:43 -06:00
|
|
|
# Description: Secure Sockets Layer and Transport Layer Security tools
|
2022-06-16 17:27:24 +02:00
|
|
|
# URL: https://www.openssl.org/
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: zlib-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2019-03-17 18:52:34 +11:00
|
|
|
name=openssl-32
|
2024-10-31 19:58:45 +01:00
|
|
|
version=3.4.0
|
2014-04-13 16:42:12 -05:00
|
|
|
release=1
|
2024-09-05 23:59:29 +02:00
|
|
|
source=(https://github.com/openssl/openssl/releases/download/openssl-$version/openssl-$version.tar.gz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2022-06-16 17:27:24 +02:00
|
|
|
cd openssl-$version
|
2014-10-18 23:09:54 +11:00
|
|
|
|
2022-06-16 17:27:24 +02:00
|
|
|
./Configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--openssldir=/etc/ssl \
|
|
|
|
shared \
|
|
|
|
threads \
|
|
|
|
zlib \
|
2023-09-20 18:24:11 +02:00
|
|
|
shared no-ssl3-method linux-elf \
|
|
|
|
disable-tests \
|
2014-10-18 23:09:54 +11:00
|
|
|
|
2022-06-16 17:27:24 +02:00
|
|
|
sed -i "s|-O3|$CFLAGS|" Makefile
|
2014-10-18 23:09:54 +11:00
|
|
|
|
2022-06-16 17:27:24 +02:00
|
|
|
make depend
|
|
|
|
make
|
|
|
|
make -j1 DESTDIR=$PKG install_sw
|
2014-10-18 23:09:54 +11:00
|
|
|
|
2022-06-16 17:27:24 +02:00
|
|
|
find $PKG -name "*fips*" -delete
|
|
|
|
rm -r $PKG/usr/{include,bin}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|