wok annotate openssl/receipt @ rev 20177
Add intel-microcode
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 25 03:34:29 2018 +0200 (2018-01-25) |
parents | f8a922e9088a |
children | d5a889ec499e |
rev | line source |
---|---|
pankso@28 | 1 # SliTaz package receipt. |
pankso@28 | 2 |
pankso@28 | 3 PACKAGE="openssl" |
erkan@20083 | 4 VERSION="1.0.2l" |
pankso@209 | 5 CATEGORY="security" |
pankso@28 | 6 SHORT_DESC="Open source Secure Sockets Layer." |
pascal@62 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
al@19661 | 9 WEB_SITE="https://www.openssl.org/" |
pascal@15472 | 10 TAGS="ssl security" |
pankso@15969 | 11 HOST_ARCH="i486 arm" |
pascal@15472 | 12 |
al@19661 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19661 | 14 WGET_URL="https://www.openssl.org/source/$TARBALL" |
al@19661 | 15 |
pankso@4332 | 16 DEPENDS="libcrypto libssl" |
slaxemulator@6390 | 17 BUILD_DEPENDS="perl zlib-dev" |
al@19661 | 18 SPLIT="libcrypto libcrypto-dev libssl openssl-dev" |
pankso@28 | 19 |
pankso@15969 | 20 # Perl is installed in cross env. |
pankso@15969 | 21 case "$ARCH" in |
pankso@15969 | 22 arm) BUILD_DEPENDS="" ;; |
pankso@15969 | 23 esac |
pankso@15969 | 24 |
pankso@28 | 25 # Rules to configure and make the package. |
pankso@28 | 26 compile_rules() |
pankso@28 | 27 { |
gokhlayeh@7705 | 28 # MAKEFLAGS make openssl build fail. |
gokhlayeh@7705 | 29 unset MAKEFLAGS |
slaxemulator@6192 | 30 |
gokhlayeh@7705 | 31 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be |
gokhlayeh@7705 | 32 # marked as not requiring an executable stack (compatibility improvement). |
pankso@15969 | 33 case "$ARCH" in |
pankso@15969 | 34 arm) |
pankso@15969 | 35 # BUG: shared libs are not built |
pankso@15969 | 36 ./Configure --prefix=/usr --openssldir=/etc/ssl \ |
pankso@15969 | 37 shared zlib enable-md2 -Wa,--noexecstack \ |
pankso@15969 | 38 linux-armv4 && |
pankso@15969 | 39 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile && |
pankso@15969 | 40 make \ |
pankso@15969 | 41 CC=${HOST_SYSTEM}-gcc \ |
pankso@15969 | 42 AR="${HOST_SYSTEM}-ar r" \ |
pankso@15969 | 43 RANLIB=${HOST_SYSTEM}-ranlib ;; |
pankso@15969 | 44 i486) |
al@19661 | 45 ./config --prefix=/usr --openssldir=/etc/ssl \ |
al@19661 | 46 shared zlib zlib-dynamic enable-md2 -Wa,--noexecstack && |
al@19661 | 47 make depend ;; |
pankso@15969 | 48 esac && |
pankso@15969 | 49 # Install |
pankso@16497 | 50 make INSTALL_PREFIX=$DESTDIR \ |
pankso@16497 | 51 MANDIR=/usr/share/man CC=${HOST_SYSTEM}-gcc install |
pankso@28 | 52 } |
pankso@28 | 53 |
pankso@28 | 54 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@28 | 55 genpkg_rules() |
pankso@28 | 56 { |
al@19661 | 57 cook_copy_folders etc bin engines |
pankso@28 | 58 } |
pankso@15969 | 59 |
pankso@15969 | 60 testsuite() |
pankso@15969 | 61 { |
pankso@15969 | 62 readelf -h $install/usr/bin/openssl |
pankso@15969 | 63 } |