summaryrefslogtreecommitdiffstats
path: root/openssl/Pkgfile
blob: 2bc635828badc498a367f6427f7a10cfb5cb3191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description="Secure Sockets Layer and Transport Layer Security tools"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://www.openssl.org/"
depends=()

name=openssl
version=1.0.0c
release=1
source=(http://www.openssl.org/source/openssl-1.0.0c.tar.gz mksslcert.sh)
build () 
{ 
    cd $name-$version;
    ./config --prefix=/usr --openssldir=/etc/ssl shared;
    sed -i "s|-O3 -fomit-frame-pointer|$CFLAGS|" Makefile;
    make -j1;
    make INSTALL_PREFIX=$PKG LIBDIR=lib 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
}