diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-08-18 07:02:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-18 07:02:21 +0700 |
commit | cd921fbcc54d28e82f830b287460cdd389e14bc0 (patch) | |
tree | 44a5df96e6059cd256647be21bade438915388bd /libraries/mbedtls | |
parent | c171c12e847b704e50613c508f4c7441dd700f7d (diff) |
libraries/mbedtls: Updated for version 2.16.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mbedtls')
-rw-r--r-- | libraries/mbedtls/mbedtls.SlackBuild | 34 | ||||
-rw-r--r-- | libraries/mbedtls/mbedtls.info | 10 |
2 files changed, 15 insertions, 29 deletions
diff --git a/libraries/mbedtls/mbedtls.SlackBuild b/libraries/mbedtls/mbedtls.SlackBuild index c7c57925d298a..8a5249f1f6b44 100644 --- a/libraries/mbedtls/mbedtls.SlackBuild +++ b/libraries/mbedtls/mbedtls.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for mbedtls # Copyright 2015 Euan Thoms (euan at potensol dot com) +# Copyright 2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mbedtls -VERSION=${VERSION:-2.6.1} -LICENSE=apache +VERSION=${VERSION:-2.16.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,9 +55,7 @@ else LIBDIRSUFFIX="" fi -DOCS="ChangeLog LICENSE README.md $CWD/$PRGNAM.SlackBuild" - -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,35 +74,23 @@ mkdir build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DSYSCONF_INSTALL_DIR:PATH=/etc \ - -DINCLUDE_INSTALL_DIR:PATH=/usr/include \ -DLIB_INSTALL_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DSHARE_INSTALL_PREFIX:PATH=/usr/share \ - -DMAN_INSTALL_DIR:PATH=/usr/man \ - -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DUSE_SHARED_MBEDTLS_LIBRARY=On \ - -DUSE_STATIC_MBEDTLS_LIBRARY=Off \ - -DENABLE_TESTING=Off \ + -DUSE_SHARED_MBEDTLS_LIBRARY=ON \ + -DUSE_STATIC_MBEDTLS_LIBRARY=OFF \ + -DENABLE_TESTING=OFF \ -DCMAKE_BUILD_TYPE:STRING=Release .. make make install DESTDIR=$PKG cd .. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* - -# Slackware already include this -rm -f $PKG/usr/bin/{md5sum,sha1sum} +cp -a CONTRIBUTING.md ChangeLog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/mbedtls/mbedtls.info b/libraries/mbedtls/mbedtls.info index d83b1614cebd4..d1241d5f415ee 100644 --- a/libraries/mbedtls/mbedtls.info +++ b/libraries/mbedtls/mbedtls.info @@ -1,10 +1,10 @@ PRGNAM="mbedtls" -VERSION="2.6.1" +VERSION="2.16.2" HOMEPAGE="https://tls.mbed.org" -DOWNLOAD="https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.6.1/mbedtls-mbedtls-2.6.1.tar.gz" -MD5SUM="cb929d554fc5485e579508c15d3d48d7" +DOWNLOAD="https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.16.2/mbedtls-mbedtls-2.16.2.tar.gz" +MD5SUM="e099b6f9fffde49565133770f3f5f387" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Euan Thoms" -EMAIL="euan at potensol dot com" +MAINTAINER="Hunter Sezen" +EMAIL="orbea@riseup.net" |