wok-next view openssl/receipt @ rev 21445
updated scim (1.4.17 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:55:11 2020 +0100 (2020-05-05) |
parents | 4d9f82dabdbb |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openssl"
4 VERSION="1.1.1d"
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.openssl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.openssl.org/source/$TARBALL"
14 # Integrity check: https://www.openssl.org/source/
15 TARBALL_SHA256="1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2"
17 BUILD_DEPENDS="perl zlib-dev"
18 SPLIT="$PACKAGE-dev"
20 TAGS_std="SSL security"
22 compile_rules() {
23 # MAKEFLAGS make OpenSSL build fail.
24 unset MAKEFLAGS MAKE_ARGS
26 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
27 # marked as not requiring an executable stack (compatibility improvement).
28 case "$ARCH" in
29 i?86) ARCH_ARGS='zlib-dynamic linux-elf';;
30 x86_64) ARCH_ARGS='zlib-dynamic enable-ec_nistp_64_gcc_128 linux-x86_64';;
31 esac
33 ./Configure \
34 --prefix=/usr \
35 --openssldir=/etc/ssl \
36 --libdir=lib \
37 shared zlib enable-md2 no-ssl3-method $ARCH_ARGS \
38 "-Wa,--noexecstack $CPPFLAGS $CFLAGS $LDFLAGS" &&
40 make depend &&
41 make $MAKE_ARGS -j1 &&
42 make \
43 DESTDIR=$install \
44 MANDIR=/usr/share/man \
45 install_sw install_ssldirs install_man_docs
46 }
48 testsuite() {
49 readelf -h $install/usr/bin/openssl
50 }