wok-next view openssl/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 1771c0e19c08 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openssl"
4 VERSION="1.1.0h"
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/stable/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="5835626cde9e99656585fc7aaa2302a73a7e1340bf8c14fd635a62c66802a517"
17 BUILD_DEPENDS_arm=" "
18 BUILD_DEPENDS="perl zlib-dev"
19 SPLIT="openssl openssl-dev"
21 compile_rules() {
22 # MAKEFLAGS make OpenSSL build fail.
23 unset MAKEFLAGS MAKE_ARGS
25 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
26 # marked as not requiring an executable stack (compatibility improvement).
27 case "$ARCH" in
28 arm*) ARCH_ARGS='linux-armv4'
29 MAKE_ARGS="CC=$HOST_SYSTEM-gcc AR=\"$HOST_SYSTEM-ar r\" RANLIB=$HOST_SYSTEM-ranlib";;
30 i?86) ARCH_ARGS='zlib-dynamic linux-elf';;
31 x86_64) ARCH_ARGS='zlib-dynamic enable-ec_nistp_64_gcc_128 linux-x86_64';;
32 esac
34 ./Configure \
35 --prefix=/usr \
36 --openssldir=/etc/ssl \
37 --libdir=lib \
38 shared zlib enable-md2 no-ssl3-method $ARCH_ARGS \
39 "-Wa,--noexecstack $CPPFLAGS $CFLAGS $LDFLAGS" &&
41 make depend &&
42 make $MAKE_ARGS -j1 &&
43 make \
44 DESTDIR=$install \
45 MANDIR=/usr/share/man \
46 install_sw install_ssldirs install_man_docs
47 }
49 testsuite() {
50 readelf -h $install/usr/bin/openssl
51 }
53 genpkg_rules() {
54 case $PACKAGE in
55 openssl)
56 copy @std
57 TAGS="SSL security"
58 ;;
59 openssl-dev)
60 copy @dev
61 ;;
62 esac
63 }