Hello community,
here is the log from the commit of package unrar for openSUSE:Factory
checked in at Fri Jan 9 02:06:03 CET 2009.
--------
--- unrar/unrar.changes 2008-07-18 16:13:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/unrar/unrar.changes 2009-01-08 11:40:06.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 8 11:35:35 CET 2009 - mseben@suse.cz
+
+- update to 3.8.5
+ * no changelog available
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
unrarsrc-3.8.2.tar.bz2
New:
----
unrarsrc-3.8.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.UR3999/_old 2009-01-09 02:05:36.000000000 +0100
+++ /var/tmp/diff_new_pack.UR3999/_new 2009-01-09 02:05:36.000000000 +0100
@@ -1,10 +1,17 @@
#
-# spec file for package unrar (Version 3.80.2)
+# spec file for package unrar (Version 3.80.5)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -13,14 +20,14 @@
Name: unrar
BuildRequires: gcc-c++
-Version: 3.80.2
+Version: 3.80.5
Release: 1
AutoReqProv: on
Group: Productivity/Archiving/Compression
-License: Any Noncommercial
+License: Unrar License. Freely distributable
Url: http://www.rarlab.com
Summary: A program to extract, test, and view RAR archives
-Source: %{name}src-3.8.2.tar.bz2
+Source: %{name}src-3.8.5.tar.bz2
Patch1: %{name}src-3.8-types.patch
Patch2: %{name}src-3.8-gcc.patch
Patch3: %{name}src-3.8-variablesize.patch
@@ -59,6 +66,9 @@
%{_bindir}/*
%changelog
+* Thu Jan 08 2009 mseben@suse.cz
+- update to 3.8.5
+ * no changelog available
* Fri Jul 18 2008 lmichnovic@suse.cz
- update to 3.8.2 beta
* no changelog available
++++++ unrarsrc-3.8.2.tar.bz2 -> unrarsrc-3.8.5.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/unrar/arcread.cpp new/unrar/arcread.cpp
--- old/unrar/arcread.cpp 2008-06-15 14:42:13.000000000 +0200
+++ new/unrar/arcread.cpp 2008-10-24 06:44:47.000000000 +0200
@@ -589,8 +589,9 @@
// ':' in file names is allowed in Unix, but not in Windows.
// Even worse, file data will be written to NTFS stream on NTFS,
// so automatic name correction on file create error in extraction
- // routine does not work. Let's better replace ':' now.
- if (NewLhd.HostOS==HOST_UNIX && *s==':')
+ // routine does not work. In Windows and DOS versions we better
+ // replace ':' now.
+ if (*s==':')
*s='_';
#endif
@@ -605,8 +606,9 @@
// ':' in file names is allowed in Unix, but not in Windows.
// Even worse, file data will be written to NTFS stream on NTFS,
// so automatic name correction on file create error in extraction
- // routine does not work. Let's better replace ':' now.
- if (NewLhd.HostOS==HOST_UNIX && *s==':')
+ // routine does not work. In Windows and DOS versions we better
+ // replace ':' now.
+ if (*s==':')
*s='_';
#endif
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/unrar/dll.hpp new/unrar/dll.hpp
--- old/unrar/dll.hpp 2008-06-15 14:42:13.000000000 +0200
+++ new/unrar/dll.hpp 2008-10-24 06:44:48.000000000 +0200
@@ -33,6 +33,7 @@
#define PASCAL
#define LONG long
#define HANDLE void *
+#define LPARAM long
#define UINT unsigned int
#endif
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/unrar/filefn.cpp new/unrar/filefn.cpp
--- old/unrar/filefn.cpp 2008-06-15 14:42:13.000000000 +0200
+++ new/unrar/filefn.cpp 2008-10-24 06:44:47.000000000 +0200
@@ -31,9 +31,9 @@
return(errno==ENOENT ? MKDIR_BADPATH:MKDIR_ERROR);
#endif
#ifdef _UNIX
- int prevmask=umask(0);
+// int prevmask=umask(0);
int ErrCode=Name==NULL ? -1:mkdir(Name,(mode_t)Attr);
- umask(prevmask);
+// umask(prevmask);
if (ErrCode==-1)
return(errno==ENOENT ? MKDIR_BADPATH:MKDIR_ERROR);
return(MKDIR_SUCCESS);
@@ -553,7 +553,7 @@
}
-#if defined(_WIN_32) && !defined(_WIN_CE)
+#if defined(_WIN_32) && !defined(_WIN_CE) && !defined(SFX_MODULE)
bool SetFileCompression(char *Name,wchar *NameW,bool State)
{
wchar FileNameW[NM];
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/unrar/makefile.unix new/unrar/makefile.unix
--- old/unrar/makefile.unix 2008-05-31 08:18:14.000000000 +0200
+++ new/unrar/makefile.unix 2008-10-09 15:43:06.000000000 +0200
@@ -6,8 +6,8 @@
#
# Linux using GCC
-CXX=g++
-CXXFLAGS=-O2
+#CXX=g++
+#CXXFLAGS=-O2
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
STRIP=strip
DESTDIR=/usr
@@ -94,9 +94,11 @@
##########################
-COMPILE=$(CXX) $(CXXFLAGS) $(DEFINES)
+COMPILE=$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES)
LINK=$(CXX)
+WHAT=UNRAR
+
UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o
LIB_OBJ=filestr.o scantree.o dll.o
@@ -117,7 +119,6 @@
clean:
@rm -f *.o *.bak *~
-unrar: WHAT=UNRAR
unrar: $(OBJECTS) $(UNRAR_OBJ)
@rm -f unrar
$(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/unrar/pathfn.cpp new/unrar/pathfn.cpp
--- old/unrar/pathfn.cpp 2008-06-15 14:42:13.000000000 +0200
+++ new/unrar/pathfn.cpp 2008-10-24 06:44:47.000000000 +0200
@@ -420,19 +420,29 @@
#endif
-// returns a pointer to rightmost digit of volume number
+// Returns a pointer to rightmost digit of volume number.
char* GetVolNumPart(char *ArcName)
{
+ // Pointing to last name character.
char *ChPtr=ArcName+strlen(ArcName)-1;
+
+ // Skipping the archive extension.
while (!isdigit(*ChPtr) && ChPtr>ArcName)
ChPtr--;
+
+ // Skipping the numeric part of name.
char *NumPtr=ChPtr;
while (isdigit(*NumPtr) && NumPtr>ArcName)
NumPtr--;
+
+ // Searching for first numeric part in names like name.part##of##.rar.
+ // Stop search on the first dot.
while (NumPtr>ArcName && *NumPtr!='.')
{
if (isdigit(*NumPtr))
{
+ // Validate the first numeric part only if it has a dot somwhere
+ // before it.
char *Dot=strchrd(PointToName(ArcName),'.');
if (Dot!=NULL && Dot
participants (1)
-
root@Hilbert.suse.de