Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur luacrypto.orig/luacrypto.SlackBuild luacrypto/luacrypto.SlackBuild
- --- luacrypto.orig/luacrypto.SlackBuild 2021-03-30 11:09:35.988824000 +0200
- +++ luacrypto/luacrypto.SlackBuild 2021-04-03 07:26:26.461404000 +0200
- @@ -2,7 +2,7 @@
- # Slackware build script for luacrypto
- -# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
- +# Copyright 2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
- # All rights reserved.
- #
- # Redistribution and use of this script, with or without modification, is
- @@ -23,13 +23,13 @@
- # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- PRGNAM=luacrypto
- -VERSION=${VERSION:-0.3.2}
- +VERSION=${VERSION:-0.5.1}
- BUILD=${BUILD:-1}
- TAG=${TAG:-_SBo}
- if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- - i?86) ARCH=i486 ;;
- + i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
- @@ -40,8 +40,8 @@
- PKG=$TMP/package-$PRGNAM
- OUTPUT=${OUTPUT:-/tmp}
- -if [ "$ARCH" = "i486" ]; then
- - SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- +if [ "$ARCH" = "i586" ]; then
- + SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- @@ -62,7 +62,7 @@
- mkdir -p $TMP $PKG $OUTPUT
- cd $TMP
- rm -rf $PRGNAM-$VERSION
- -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
- +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
- cd $PRGNAM-$VERSION
- chown -R root:root .
- find -L . \
- @@ -71,8 +71,7 @@
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
- -LIBS="-L/usr/lib${LIBDIRSUFFIX}/openssl-1.0" \
- -CFLAGS="$SLKCFLAGS -I/usr/include/openssl-1.0" \
- +CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- diff -Naur luacrypto.orig/luacrypto.info luacrypto/luacrypto.info
- --- luacrypto.orig/luacrypto.info 2021-03-30 11:09:35.988824000 +0200
- +++ luacrypto/luacrypto.info 2021-04-03 07:27:21.557404000 +0200
- @@ -1,8 +1,8 @@
- PRGNAM="luacrypto"
- -VERSION="0.3.2"
- -HOMEPAGE="http://mkottman.github.io/luacrypto/"
- -DOWNLOAD="https://github.com/mkottman/luacrypto/archive/0.3.2.tar.gz"
- -MD5SUM="07271929beec760a42eff012803490a1"
- +VERSION="0.5.1"
- +HOMEPAGE="https://github.com/evanlabs/luacrypto"
- +DOWNLOAD="http://ponce.cc/slackware/sources/repo/luacrypto-0.5.1.tar.gz"
- +MD5SUM="eda5f7e5bed499fe0c86934bb85519de"
- DOWNLOAD_x86_64=""
- MD5SUM_x86_64=""
- REQUIRES="lua"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement