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