Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Secure Sockets Layer and Transport Layer Security tools |
2 | # URL: http://www.openssl.org/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
50162118 | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=openssl | |
ab2fe172 | 8 | version=1.0.1c |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://www.openssl.org/source/$name-$version.tar.gz \ | |
11 | mksslcert.sh) | |
12 | ||
13 | build() { | |
14 | cd $name-$version | |
343a641a | 15 | ./Configure linux-generic32 --prefix=/usr --openssldir=/etc/ssl shared |
2edd1d4a | 16 | sed -i Makefile -e "s|-O3 -fomit-frame-pointer|$CFLAGS|" |
343a641a VM |
17 | make |
18 | make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install | |
6dca1d21 JB |
19 | find $PKG -name "*fips*" -delete |
20 | chmod -R +w $PKG | |
21 | install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert | |
22 | } |