Advertisement
ponce

luacrypto

Apr 3rd, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. diff -Naur luacrypto.orig/luacrypto.SlackBuild luacrypto/luacrypto.SlackBuild
  2. --- luacrypto.orig/luacrypto.SlackBuild 2021-03-30 11:09:35.988824000 +0200
  3. +++ luacrypto/luacrypto.SlackBuild 2021-04-03 07:26:26.461404000 +0200
  4. @@ -2,7 +2,7 @@
  5.  
  6. # Slackware build script for luacrypto
  7.  
  8. -# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
  9. +# Copyright 2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
  10. # All rights reserved.
  11. #
  12. # Redistribution and use of this script, with or without modification, is
  13. @@ -23,13 +23,13 @@
  14. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  15.  
  16. PRGNAM=luacrypto
  17. -VERSION=${VERSION:-0.3.2}
  18. +VERSION=${VERSION:-0.5.1}
  19. BUILD=${BUILD:-1}
  20. TAG=${TAG:-_SBo}
  21.  
  22. if [ -z "$ARCH" ]; then
  23. case "$( uname -m )" in
  24. - i?86) ARCH=i486 ;;
  25. + i?86) ARCH=i586 ;;
  26. arm*) ARCH=arm ;;
  27. *) ARCH=$( uname -m ) ;;
  28. esac
  29. @@ -40,8 +40,8 @@
  30. PKG=$TMP/package-$PRGNAM
  31. OUTPUT=${OUTPUT:-/tmp}
  32.  
  33. -if [ "$ARCH" = "i486" ]; then
  34. - SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  35. +if [ "$ARCH" = "i586" ]; then
  36. + SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  37. LIBDIRSUFFIX=""
  38. elif [ "$ARCH" = "i686" ]; then
  39. SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  40. @@ -62,7 +62,7 @@
  41. mkdir -p $TMP $PKG $OUTPUT
  42. cd $TMP
  43. rm -rf $PRGNAM-$VERSION
  44. -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
  45. +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
  46. cd $PRGNAM-$VERSION
  47. chown -R root:root .
  48. find -L . \
  49. @@ -71,8 +71,7 @@
  50. \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  51. -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
  52.  
  53. -LIBS="-L/usr/lib${LIBDIRSUFFIX}/openssl-1.0" \
  54. -CFLAGS="$SLKCFLAGS -I/usr/include/openssl-1.0" \
  55. +CFLAGS="$SLKCFLAGS" \
  56. CXXFLAGS="$SLKCFLAGS" \
  57. ./configure \
  58. --prefix=/usr \
  59. diff -Naur luacrypto.orig/luacrypto.info luacrypto/luacrypto.info
  60. --- luacrypto.orig/luacrypto.info 2021-03-30 11:09:35.988824000 +0200
  61. +++ luacrypto/luacrypto.info 2021-04-03 07:27:21.557404000 +0200
  62. @@ -1,8 +1,8 @@
  63. PRGNAM="luacrypto"
  64. -VERSION="0.3.2"
  65. -HOMEPAGE="http://mkottman.github.io/luacrypto/"
  66. -DOWNLOAD="https://github.com/mkottman/luacrypto/archive/0.3.2.tar.gz"
  67. -MD5SUM="07271929beec760a42eff012803490a1"
  68. +VERSION="0.5.1"
  69. +HOMEPAGE="https://github.com/evanlabs/luacrypto"
  70. +DOWNLOAD="http://ponce.cc/slackware/sources/repo/luacrypto-0.5.1.tar.gz"
  71. +MD5SUM="eda5f7e5bed499fe0c86934bb85519de"
  72. DOWNLOAD_x86_64=""
  73. MD5SUM_x86_64=""
  74. REQUIRES="lua"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement