commit unrar for openSUSE:Factory:NonFree
Hello community,
here is the log from the commit of package unrar for openSUSE:Factory:NonFree checked in at 2018-04-30 22:59:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old)
and /work/SRC/openSUSE:Factory:NonFree/.unrar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unrar"
Mon Apr 30 22:59:06 2018 rev:70 rq:600352 version:5.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes 2018-03-22 12:38:55.556813785 +0100
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new/unrar.changes 2018-04-30 22:59:46.358635265 +0200
@@ -1,0 +2,17 @@
+Tue Apr 24 09:21:51 UTC 2018 - idonmez@suse.com
+
+- Update to version 5.6.3
+ * No upstream changelog
+
+-------------------------------------------------------------------
+Fri Apr 13 09:16:33 UTC 2018 - mpluskal@suse.com
+
+- Cleanup spec file with spec-clener
+
+-------------------------------------------------------------------
+Tue Apr 3 13:57:14 UTC 2018 - idonmez@suse.com
+
+- Update to version 5.6.2
+ * No upstream changelog
+
+-------------------------------------------------------------------
Old:
----
unrarsrc-5.6.1.tar.gz
New:
----
unrarsrc-5.6.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.3m7i9g/_old 2018-04-30 22:59:46.994612058 +0200
+++ /var/tmp/diff_new_pack.3m7i9g/_new 2018-04-30 22:59:46.998611913 +0200
@@ -1,7 +1,7 @@
#
# spec file for package unrar
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,19 @@
# majorversion should match the major version number.
%define majorversion 5
-%define libsuffix 5_6_1
+%define libsuffix 5_6_3
Name: unrar
-Version: 5.6.1
+Version: 5.6.3
Release: 0
Summary: A program to extract, test, and view RAR archives
-License: SUSE-NonFree
+License: NonFree
Group: Productivity/Archiving/Compression
-Url: http://www.rarlab.com
+URL: http://www.rarlab.com
Source0: http://www.rarlab.com/rar/%{name}src-%{version}.tar.gz
Source1: unrar.1
Patch1: unrarsrc-5.0.5-soname.patch
BuildRequires: gcc-c++
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The unRAR utility is a freeware program distributed with source code
@@ -70,32 +69,33 @@
CXXFLAGS="%{optflags} -fPIC -fno-strict-aliasing" STRIP=true
%install
-install -Dm 0755 unrar %{buildroot}%{_bindir}/unrar
-install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/unrar.1
-install -Dm 0755 libunrar.so.%{version} \
+install -Dpm 0755 unrar \
+ %{buildroot}%{_bindir}/unrar
+install -Dpm 0644 %{SOURCE1} \
+ %{buildroot}%{_mandir}/man1/unrar.1
+install -Dpm 0755 libunrar.so.%{version} \
%{buildroot}%{_libdir}/libunrar.so.%{version}
-install -Dm 0644 dll.hpp %{buildroot}/%{_includedir}/unrar/dll.hpp
+install -Dpm 0644 dll.hpp \
+ %{buildroot}/%{_includedir}/unrar/dll.hpp
ln -s libunrar.so.%{version} \
%{buildroot}%{_libdir}/libunrar.so
%post -n libunrar%{libsuffix} -p /sbin/ldconfig
-
%postun -n libunrar%{libsuffix} -p /sbin/ldconfig
%files
-%defattr(-,root,root)
-%doc acknow.txt license.txt readme.txt
+%license license.txt
+%doc acknow.txt readme.txt
%{_bindir}/unrar
-%{_mandir}/man1/unrar.1%{ext_man}
+%{_mandir}/man1/unrar.1%{?ext_man}
%files -n libunrar%{libsuffix}
-%defattr(-,root,root)
-%doc license.txt
+%license license.txt
%{_libdir}/*.so.%{version}
%files -n libunrar-devel
-%defattr(-,root,root)
-%doc acknow.txt license.txt readme.txt
+%license license.txt
+%doc acknow.txt readme.txt
%{_includedir}/*
%{_libdir}/*.so
++++++ unrarsrc-5.6.1.tar.gz -> unrarsrc-5.6.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/arcread.cpp new/unrar/arcread.cpp
--- old/unrar/arcread.cpp 2018-03-11 07:24:36.000000000 +0100
+++ new/unrar/arcread.cpp 2018-04-21 16:54:03.000000000 +0200
@@ -577,7 +577,15 @@
uiMsg(UIWAIT_BADPSW,FileName);
Cmd->Password.Clean();
- continue;
+#ifdef RARDLL
+ // Avoid new requests for unrar.dll to prevent the infinite loop
+ // if app always returns the same password.
+ ErrHandler.SetErrorCode(RARX_BADPWD);
+ Cmd->DllError=ERAR_BAD_PASSWORD;
+ ErrHandler.Exit(RARX_BADPWD);
+#else
+ continue; // Request a password again.
+#endif
}
break;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/cmddata.cpp new/unrar/cmddata.cpp
--- old/unrar/cmddata.cpp 2018-03-11 07:24:36.000000000 +0100
+++ new/unrar/cmddata.cpp 2018-04-21 16:54:03.000000000 +0200
@@ -239,7 +239,7 @@
if (C0=='R' && (C1=='R' || C1=='V'))
Cmd[2]=0;
wchar SwName[16+ASIZE(Cmd)];
- swprintf(SwName,ASIZE(SwName),L"switches_%s=",Cmd);
+ swprintf(SwName,ASIZE(SwName),L"switches_%ls=",Cmd);
size_t Length=wcslen(SwName);
if (wcsnicomp(Str,SwName,Length)==0)
ProcessSwitchesString(Str+Length);
@@ -471,6 +471,9 @@
case '3':
Shutdown=POWERMODE_SLEEP;
break;
+ case '4':
+ Shutdown=POWERMODE_RESTART;
+ break;
}
break;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc
--- old/unrar/dll.rc 2018-03-11 07:18:51.000000000 +0100
+++ new/unrar/dll.rc 2018-04-21 16:09:17.000000000 +0200
@@ -2,8 +2,8 @@
#include
participants (1)
-
root@hilbert.suse.de