2006-02-23 15:26:10 +00:00
|
|
|
# Description: Secure Sockets Layer and Transport Layer Security tools
|
|
|
|
# URL: http://www.openssl.org/
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=openssl
|
2012-05-12 09:50:19 +02:00
|
|
|
version=1.0.0j
|
2007-10-21 14:05:14 +02:00
|
|
|
release=1
|
2006-02-24 16:32:23 +00:00
|
|
|
source=(http://www.openssl.org/source/$name-$version.tar.gz \
|
2009-01-08 13:55:26 +01:00
|
|
|
mksslcert.sh)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2012-01-05 12:20:25 +01:00
|
|
|
export MAKEFLAGS="$MAKEFLAGS -j1"
|
2006-02-23 15:26:10 +00:00
|
|
|
./config --prefix=/usr --openssldir=/etc/ssl shared
|
2011-09-11 09:49:13 +02:00
|
|
|
sed -i "s|-O3|$CFLAGS|" Makefile
|
2012-01-05 12:20:25 +01:00
|
|
|
make
|
2010-06-03 10:39:56 +00:00
|
|
|
make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
|
2008-05-29 10:20:05 +02:00
|
|
|
find $PKG -name "*fips*" -delete
|
2006-02-23 15:26:10 +00:00
|
|
|
chmod -R +w $PKG
|
2009-01-08 13:55:26 +01:00
|
|
|
install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|