aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/unrar/unrar-6.1.7-soname.patch (renamed from system/unrar/unrar-5.5.5-soname.patch)11
-rw-r--r--system/unrar/unrar.SlackBuild4
-rw-r--r--system/unrar/unrar.info6
3 files changed, 11 insertions, 10 deletions
diff --git a/system/unrar/unrar-5.5.5-soname.patch b/system/unrar/unrar-6.1.7-soname.patch
index f0b5dbbd9fbd..9640e1cfd8ee 100644
--- a/system/unrar/unrar-5.5.5-soname.patch
+++ b/system/unrar/unrar-6.1.7-soname.patch
@@ -1,9 +1,10 @@
---- unrar/makefile.orig 2017-06-13 13:04:49.000000000 +0200
-+++ unrar/makefile 2017-06-23 20:29:54.138415405 +0200
-@@ -156,7 +156,7 @@
+diff -Naur unrar.orig/makefile unrar/makefile
+--- unrar.orig/makefile 2022-02-22 11:43:06.000000000 +0100
++++ unrar/makefile 2022-06-29 15:30:41.787420000 +0200
+@@ -157,7 +157,7 @@
+ lib: CXXFLAGS+=$(LIBFLAGS)
lib: clean $(OBJECTS) $(LIB_OBJ)
- @rm -f libunrar.so
- @rm -f libunrar.a
+ @rm -f libunrar.*
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild
index c0768dd718e7..1df76beb2d71 100644
--- a/system/unrar/unrar.SlackBuild
+++ b/system/unrar/unrar.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unrar
-VERSION=${VERSION:-5.6.1}
+VERSION=${VERSION:-6.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/unrar-5.5.5-soname.patch
+patch -p1 < $CWD/unrar-6.1.7-soname.patch
cp -a $TMP/$PRGNAM/ $TMP/libunrar
make -C $TMP/libunrar lib libversion=$VERSION CXXFLAGS="$SLKCFLAGS"
diff --git a/system/unrar/unrar.info b/system/unrar/unrar.info
index 0c32d0c32599..338e73575a3e 100644
--- a/system/unrar/unrar.info
+++ b/system/unrar/unrar.info
@@ -1,8 +1,8 @@
PRGNAM="unrar"
-VERSION="5.6.1"
+VERSION="6.1.7"
HOMEPAGE="https://www.rarlab.com"
-DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-5.6.1.tar.gz"
-MD5SUM="e33bb37fead8538103bf292c59f3b130"
+DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-6.1.7.tar.gz"
+MD5SUM="5f467714a0cca538bef1e779fe2d46ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""