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 | |
36b252e2 | 8 | version=1.0.2d |
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 | |
36b252e2 VM |
15 | |
16 | export MAKEFLAGS="$MAKEFLAGS -j1" | |
17 | ||
a07eae87 | 18 | ./Configure linux-aarch64 --prefix=/usr --openssldir=/etc/ssl shared |
36b252e2 VM |
19 | |
20 | sed -i Makefile -e "s|-O3|$CFLAGS|" | |
21 | ||
22 | make | |
23 | make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/share/man MANSUFFIX=ssl install | |
24 | ||
6dca1d21 JB |
25 | find $PKG -name "*fips*" -delete |
26 | chmod -R +w $PKG | |
27 | install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert | |
28 | } |