Hello community,
here is the log from the commit of package unrar for openSUSE:Factory:NonFree checked in at 2013-09-04 14:05:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old)
and /work/SRC/openSUSE:Factory:NonFree/.unrar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unrar"
Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes 2013-08-04 17:24:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new/unrar.changes 2013-09-04 14:05:58.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Sep 3 14:45:15 UTC 2013 - lazy.kent@opensuse.org
+
+- Update to 5.0.11.
+ * Based on final rar 5.0.0.
+
+-------------------------------------------------------------------
Old:
----
unrarsrc-5.0.10.tar.gz
New:
----
unrarsrc-5.0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.d5k3SN/_old 2013-09-04 14:05:59.000000000 +0200
+++ /var/tmp/diff_new_pack.d5k3SN/_new 2013-09-04 14:05:59.000000000 +0200
@@ -18,10 +18,10 @@
# majorversion should match the major version number.
%define majorversion 5
-%define libsuffix 5_0_10
+%define libsuffix 5_0_11
Name: unrar
-Version: 5.0.10
+Version: 5.0.11
Release: 0
License: SUSE-NonFree
Summary: A program to extract, test, and view RAR archives
++++++ unrarsrc-5.0.10.tar.gz -> unrarsrc-5.0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/archive.cpp new/unrar/archive.cpp
--- old/unrar/archive.cpp 2013-08-02 15:30:11.000000000 +0200
+++ new/unrar/archive.cpp 2013-08-22 15:10:37.000000000 +0200
@@ -131,6 +131,7 @@
bool Archive::IsArchive(bool EnableBroken)
{
Encrypted=false;
+ BrokenHeader=false; // Might be left from previous volume.
#ifdef USE_QOPEN
QOpen.Unload();
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc
--- old/unrar/dll.rc 2013-08-02 15:25:47.000000000 +0200
+++ new/unrar/dll.rc 2013-08-22 15:00:02.000000000 +0200
@@ -2,8 +2,8 @@
#include
VS_VERSION_INFO VERSIONINFO
-FILEVERSION 5, 0, 8, 945
-PRODUCTVERSION 5, 0, 8, 945
+FILEVERSION 5, 0, 100, 965
+PRODUCTVERSION 5, 0, 100, 965
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
@@ -14,8 +14,8 @@
VALUE "CompanyName", "Alexander Roshal\0"
VALUE "ProductName", "RAR decompression library\0"
VALUE "FileDescription", "RAR decompression library\0"
- VALUE "FileVersion", "5.0.8\0"
- VALUE "ProductVersion", "5.0.8\0"
+ VALUE "FileVersion", "5.0.0\0"
+ VALUE "ProductVersion", "5.0.0\0"
VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2013\0"
VALUE "OriginalFilename", "Unrar.dll\0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/list.cpp new/unrar/list.cpp
--- old/unrar/list.cpp 2013-08-02 15:30:12.000000000 +0200
+++ new/unrar/list.cpp 2013-08-22 15:10:37.000000000 +0200
@@ -270,7 +270,27 @@
}
mprintf(L"\n%12ls: %ls",St(MListType),Type);
if (hd.RedirType!=FSREDIR_NONE)
- mprintf(L"\n%12ls: %ls",St(MListTarget),hd.RedirName);
+ if (Format==RARFMT15)
+ {
+ char LinkTargetA[NM];
+ if (Arc.FileHead.Encrypted)
+ {
+ // Link data are encrypted. We would need to ask for password
+ // and initialize decryption routine to display the link target.
+ strncpyz(LinkTargetA,"*<-?->",ASIZE(LinkTargetA));
+ }
+ else
+ {
+ int DataSize=(int)Min(hd.PackSize,ASIZE(LinkTargetA)-1);
+ Arc.Read(LinkTargetA,DataSize);
+ LinkTargetA[DataSize > 0 ? DataSize : 0] = 0;
+ }
+ wchar LinkTarget[NM];
+ CharToWide(LinkTargetA,LinkTarget,ASIZE(LinkTarget));
+ mprintf(L"\n%12ls: %ls",St(MListTarget),LinkTarget);
+ }
+ else
+ mprintf(L"\n%12ls: %ls",St(MListTarget),hd.RedirName);
}
if (!hd.Dir)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/options.hpp new/unrar/options.hpp
--- old/unrar/options.hpp 2013-08-02 15:30:12.000000000 +0200
+++ new/unrar/options.hpp 2013-08-22 15:10:37.000000000 +0200
@@ -168,6 +168,7 @@
+
#ifdef RARDLL
wchar DllDestName[NM];
int DllOpMode;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/pathfn.cpp new/unrar/pathfn.cpp
--- old/unrar/pathfn.cpp 2013-08-02 15:30:12.000000000 +0200
+++ new/unrar/pathfn.cpp 2013-08-22 15:10:37.000000000 +0200
@@ -973,6 +973,10 @@
return false;
wcsncpy(Dest,Prefix,PrefixLength);
wcscpy(Dest+PrefixLength,CurDir);
+
+ if (Src[0]=='.' && IsPathDiv(Src[1])) // Remove leading .\ in pathname.
+ Src+=2;
+
wcsncatz(Dest,Src,MaxSize);
return true;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/version.hpp new/unrar/version.hpp
--- old/unrar/version.hpp 2013-08-02 15:30:12.000000000 +0200
+++ new/unrar/version.hpp 2013-08-22 15:10:38.000000000 +0200
@@ -1,6 +1,6 @@
#define RARVER_MAJOR 5
#define RARVER_MINOR 0
-#define RARVER_BETA 8
-#define RARVER_DAY 2
+#define RARVER_BETA 0
+#define RARVER_DAY 22
#define RARVER_MONTH 8
#define RARVER_YEAR 2013
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unrar/volume.cpp new/unrar/volume.cpp
--- old/unrar/volume.cpp 2013-08-02 15:30:12.000000000 +0200
+++ new/unrar/volume.cpp 2013-08-22 15:10:38.000000000 +0200
@@ -32,6 +32,7 @@
if (DataIO!=NULL)
DataIO->ProcessedArcSize+=Arc.FileLength();
+
Arc.Close();
wchar NextName[NM];
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org