wok-next view openssl/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d5aab818505e |
children | 36a83a3649af |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openssl"
4 VERSION="1.1.1a"
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="fc20130f8b7cbd2fb918b2f14e2f429e109c31ddd0fb38fc5d71d9ffed3f9f41"
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 }