forked from ports/compat-32
24 lines
797 B
Plaintext
24 lines
797 B
Plaintext
|
# Description: Secure Sockets Layer and Transport Layer Security tools
|
||
|
# URL: http://www.openssl.org/
|
||
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||
|
|
||
|
name=openssl-32
|
||
|
version=1.0.1c
|
||
|
release=1
|
||
|
source=(http://www.openssl.org/source/openssl-$version.tar.gz \
|
||
|
mksslcert.sh $name.patch)
|
||
|
|
||
|
build() {
|
||
|
export MAKEFLAGS="${MAKEFLAGS} -j1"
|
||
|
cd openssl-$version
|
||
|
patch -p1 -i $SRC/$name.patch
|
||
|
./Configure linux-x86_64-32 --prefix=/usr --libdir=/usr/lib32 --openssldir=/etc/ssl shared
|
||
|
sed -i "s|-O3|$CFLAGS|" Makefile
|
||
|
make
|
||
|
make INSTALL_PREFIX=$PKG LIBDIR=lib32 MANDIR=/usr/man MANSUFFIX=ssl install
|
||
|
find $PKG -name "*fips*" -delete
|
||
|
chmod -R +w $PKG
|
||
|
install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
|
||
|
rm -rf $PKG/usr/{bin,include,man} $PKG/etc
|
||
|
}
|