Advertisement
ponce

unrar 6.1.7 update

Jun 29th, 2022
661
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.80 KB | None
  1. diff -Naur unrar.orig/unrar-5.5.5-soname.patch unrar/unrar-5.5.5-soname.patch
  2. --- unrar.orig/unrar-5.5.5-soname.patch 2022-06-19 18:04:56.503913000 +0200
  3. +++ unrar/unrar-5.5.5-soname.patch      1970-01-01 01:00:00.000000000 +0100
  4. @@ -1,11 +0,0 @@
  5. ---- unrar/makefile.orig        2017-06-13 13:04:49.000000000 +0200
  6. -+++ unrar/makefile     2017-06-23 20:29:54.138415405 +0200
  7. -@@ -156,7 +156,7 @@
  8. - lib:  clean $(OBJECTS) $(LIB_OBJ)
  9. -       @rm -f libunrar.so
  10. -       @rm -f libunrar.a
  11. --      $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  12. -+      $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  13. -       $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
  14. -
  15. - install-unrar:
  16. diff -Naur unrar.orig/unrar-6.1.7-soname.patch unrar/unrar-6.1.7-soname.patch
  17. --- unrar.orig/unrar-6.1.7-soname.patch 1970-01-01 01:00:00.000000000 +0100
  18. +++ unrar/unrar-6.1.7-soname.patch      2022-06-29 15:31:06.574420000 +0200
  19. @@ -0,0 +1,12 @@
  20. +diff -Naur unrar.orig/makefile unrar/makefile
  21. +--- unrar.orig/makefile        2022-02-22 11:43:06.000000000 +0100
  22. ++++ unrar/makefile     2022-06-29 15:30:41.787420000 +0200
  23. +@@ -157,7 +157,7 @@
  24. + lib:  CXXFLAGS+=$(LIBFLAGS)
  25. + lib:  clean $(OBJECTS) $(LIB_OBJ)
  26. +       @rm -f libunrar.*
  27. +-      $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  28. ++      $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
  29. +       $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
  30. +
  31. + install-unrar:
  32. diff -Naur unrar.orig/unrar.SlackBuild unrar/unrar.SlackBuild
  33. --- unrar.orig/unrar.SlackBuild 2022-06-19 18:04:56.503913000 +0200
  34. +++ unrar/unrar.SlackBuild      2022-06-29 15:31:35.380420000 +0200
  35. @@ -25,7 +25,7 @@
  36.  cd $(dirname $0) ; CWD=$(pwd)
  37.  
  38.  PRGNAM=unrar
  39. -VERSION=${VERSION:-5.6.1}
  40. +VERSION=${VERSION:-6.1.7}
  41.  BUILD=${BUILD:-1}
  42.  TAG=${TAG:-_SBo}
  43.  PKGTYPE=${PKGTYPE:-tgz}
  44. @@ -79,7 +79,7 @@
  45.   \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  46.   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
  47.  
  48. -patch -p1 < $CWD/unrar-5.5.5-soname.patch
  49. +patch -p1 < $CWD/unrar-6.1.7-soname.patch
  50.  cp -a $TMP/$PRGNAM/ $TMP/libunrar
  51.  
  52.  make -C $TMP/libunrar lib libversion=$VERSION CXXFLAGS="$SLKCFLAGS"
  53. diff -Naur unrar.orig/unrar.info unrar/unrar.info
  54. --- unrar.orig/unrar.info       2022-06-19 18:04:56.503913000 +0200
  55. +++ unrar/unrar.info    2022-06-29 15:28:21.306420000 +0200
  56. @@ -1,8 +1,8 @@
  57.  PRGNAM="unrar"
  58. -VERSION="5.6.1"
  59. +VERSION="6.1.7"
  60.  HOMEPAGE="https://www.rarlab.com"
  61. -DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-5.6.1.tar.gz"
  62. -MD5SUM="e33bb37fead8538103bf292c59f3b130"
  63. +DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-6.1.7.tar.gz"
  64. +MD5SUM="5f467714a0cca538bef1e779fe2d46ca"
  65.  DOWNLOAD_x86_64=""
  66.  MD5SUM_x86_64=""
  67.  REQUIRES=""
Advertisement
RAW Paste Data Copied
Advertisement