Hello community,
here is the log from the commit of package unrar for openSUSE:Factory
checked in at Wed Jul 8 23:48:58 CEST 2009.
--------
--- unrar/unrar.changes 2009-01-08 11:40:06.000000000 +0100
+++ unrar/unrar.changes 2009-06-22 14:13:00.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jun 22 13:19:53 CEST 2009 - mseben@suse.cz
+
+- added libunrar* and libunrar*-devel subpackage bnc#513804
+- added man page from debian
+- updated to 3.9.4
+ * no changelog available
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
unrarsrc-3.8-gcc.patch
unrarsrc-3.8-types.patch
unrarsrc-3.8-variablesize.patch
unrarsrc-3.8.5.tar.bz2
New:
----
unrarsrc-3.9-gcc.patch
unrarsrc-3.9-soname.patch
unrarsrc-3.9-types.patch
unrarsrc-3.9-variablesize.patch
unrarsrc-3.9.4.tar.bz2
unrarsrc-man.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.piufwK/_old 2009-07-08 23:48:51.000000000 +0200
+++ /var/tmp/diff_new_pack.piufwK/_new 2009-07-08 23:48:51.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package unrar (Version 3.80.5)
+# spec file for package unrar (Version 3.90.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,17 +20,19 @@
Name: unrar
BuildRequires: gcc-c++
-Version: 3.80.5
-Release: 2
+Version: 3.90.4
+Release: 1
AutoReqProv: on
Group: Productivity/Archiving/Compression
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.5.tar.bz2
-Patch1: %{name}src-3.8-types.patch
-Patch2: %{name}src-3.8-gcc.patch
-Patch3: %{name}src-3.8-variablesize.patch
+Source: %{name}src-3.9.4.tar.bz2
+Patch1: %{name}src-3.9-types.patch
+Patch2: %{name}src-3.9-gcc.patch
+Patch3: %{name}src-3.9-variablesize.patch
+Patch4: %{name}src-3.9-soname.patch
+Patch5: %{name}src-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -38,144 +40,75 @@
and developed for extracting, testing, and viewing the contents of
archives created with the RAR archiver.
-
-
Authors:
--------
Eugene Roshal
+%package -n libunrar3_9_4
+License: Unrar License. Freely distributable
+Summary: Decompress library for RAR v3 archives
+Group: System Environment/Libraries
+
+%description -n libunrar3_9_4
+The libunrar library allows programs linking against it to decompress
+existing RAR v3 archives.
+
+
+%package -n libunrar-devel
+License: Unrar License. Freely distributable
+Summary: Development files for libunrar
+Group: Development/Libraries
+Requires: libunrar3_9_4 = %{version}-%{release}
+Provides: libunrar3_9_4-devel
+
+%description -n libunrar-devel
+The libunrar-devel package contains libraries and header files for
+developing applications that use libunrar.
+
%prep
%setup -q -n %{name}
%patch1
%patch2
%patch3
+%patch4
+%patch5
%build
-make -f makefile.unix CXXFLAGS="$RPM_OPT_FLAGS -Wall -fmessage-length=0 -fno-strict-aliasing -fstack-protector" STRIP=true
+make -f makefile.unix CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
+ -fmessage-length=0 -fno-strict-aliasing -fstack-protector" STRIP=true
+make -f makefile.unix lib CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
+ -fmessage-length=0 -fno-strict-aliasing -fstack-protector" STRIP=true
%install
-install -d -m755 $RPM_BUILD_ROOT%{_bindir}
-install -m755 unrar $RPM_BUILD_ROOT%{_bindir}
+install -Dm 755 unrar $RPM_BUILD_ROOT%{_bindir}/unrar
+install -Dm 644 unrar.1 %{buildroot}%{_mandir}/man1/unrar.1
+install -Dm 755 libunrar.so.3.9.4 %{buildroot}%{_libdir}/libunrar.so.3.9.4
+install -Dm 644 dll.hpp %{buildroot}/%{_includedir}/unrar/dll.hpp
+ln -s libunrar.so.3.9.4 %{buildroot}%{_libdir}/libunrar.so.3
+ln -s libunrar.so.3 %{buildroot}%{_libdir}/libunrar.so
%clean
rm -rf $RPM_BUILD_ROOT
+%post -n libunrar3_9_4 -p /sbin/ldconfig
+
+%postun -n libunrar3_9_4 -p /sbin/ldconfig
+
%files
%defattr(-,root,root)
%doc license.txt readme.txt
-%{_bindir}/*
+%{_bindir}/unrar
+%{_mandir}/man1/unrar.1*
+
+%files -n libunrar3_9_4
+%defattr(-,root,root)
+%doc license.txt readme.txt
+%{_libdir}/*.so.*
+
+%files -n libunrar-devel
+%defattr(-,root,root)
+%doc license.txt readme.txt
+%{_includedir}/*
+%{_libdir}/*.so
%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
-- obsoletes *strcmp.patch
-* Mon Nov 26 2007 lmichnovic@suse.cz
-- update to 3.7.8 beta
- * RAR can close a corrupt encrypted archive
- * fix for CVE-2007-3726, obsoletes patch
-* Tue Jul 17 2007 lmichnovic@suse.cz
-- fix for crash on corrupted file (CVE-2007-3726.patch) [#291702]
-* Fri Jun 08 2007 lmichnovic@suse.cz
-- update to 3.7.6 final
- * minor code rework
- * fixed CR-LF in file with License
-* Mon Mar 12 2007 lmichnovic@suse.cz
-- update to version 3.7.4 beta
- * minor code rework
-* Fri Feb 23 2007 lmichnovic@suse.cz
-- corrected typo in code (variablesize.patch)
-* Tue Feb 13 2007 lmichnovic@suse.cz
-- update to version 3.7.3 beta
- * rewritten work with memory in VM
-* Tue Jan 23 2007 lmichnovic@suse.cz
-- update to version 3.7.2 beta
- * Stack overflow vulnerability has been corrected in password
- processing module of console RAR and UnRAR.
- * New switch -sc[objects] allowing to select character sets for
- archive comments and list files. It replaces -fcu switch, which
- was removed from list of supported switches. Now you need to
- specify -scuc instead of -fcu to use Unicode comments.
- Unlike -fcu, -sc also supports OEM and ANSI charset.
- * workaround for one occasional bug with unicode
-* Sun Dec 17 2006 schwab@suse.de
-- Fix last change.
-* Fri Dec 15 2006 lmichnovic@suse.cz
-- corrected and readded reverted *strcmp.patch
-* Fri Dec 15 2006 mmarek@suse.cz
-- revert last change (it worked previously and the strcmp patch
- breaks --help output)
-* Wed Dec 13 2006 lmichnovic@suse.cz
-- fixed string comparing (*strcmp.patch)
-* Fri Jul 14 2006 lmichnovic@suse.cz
-- update to version 3.60
- - non beta version
-- update to version 3.60 beta 7
- - in unrar changed only version, version changed due to fix in rar
-* Mon Jul 10 2006 lmichnovic@suse.cz
-- upgrade to version 3.60 beta 6
- - no changelog available
-* Wed Jun 21 2006 lmichnovic@suse.cz
-- upgrade to version 3.60 beta 5
- - no changelog available
-* Tue Jun 13 2006 lmichnovic@suse.cz
-- upgrade to version 3.6.4
- - no changelog available
-- change the numbering to 3.6.0.4 because it is 3.60 beta 4
-* Wed Jan 25 2006 mls@suse.de
-- converted neededforbuild to BuildRequires
-* Fri Jan 20 2006 schwab@suse.de
-- Don't strip binaries.
-* Thu Jan 12 2006 lmichnovic@suse.cz
-- added -fstack-protector into CXXFLAGS
-* Mon Nov 21 2005 lmichnovic@suse.cz
-- added no-strict-aliasing option for compiling
-* Tue Oct 11 2005 lmichnovic@suse.cz
-- update to version 3.5.4
-* Fri Sep 16 2005 lmichnovic@suse.cz
-- update to version 3.5.3
-* Tue Aug 02 2005 mjancar@suse.cz
-- update ro 3.5.2
-* Tue Apr 19 2005 mjancar@suse.cz
-- fix for gcc 4.0
-* Thu Feb 17 2005 mjancar@suse.cz
-- update to 3.4.3
-* Fri Aug 06 2004 mjancar@suse.cz
-- update to 3.4.2
-* Fri Feb 27 2004 mjancar@suse.cz
-- update to 3.3.6
-* Tue Oct 21 2003 mjancar@suse.cz
-- update to 3.2.3
-* Thu Jul 24 2003 mjancar@suse.cz
-- update to 3.2.2
-* Wed May 14 2003 mjancar@suse.cz
-- update to version 3.2.1
-* Tue May 06 2003 ro@suse.de
-- fix build with latest gcc
-* Mon Feb 17 2003 vbobek@suse.cz
-- updated to version 3.1.3
-- removed obsolete patch for CFLAGS
-* Tue Sep 17 2002 ro@suse.de
-- removed bogus self-provides
-* Tue May 21 2002 nadvornik@suse.cz
-- updated to 3.00 [bug #16183]
-* Thu Apr 18 2002 stepan@suse.de
-- update to 2.71, drop 64bit patch
-* Thu Feb 21 2002 stepan@suse.de
-- Fix archive corruption on 64bit systems. Linux GNU systems
- always have 32bit int, so using int instead of long for
- UDWORD.
-* Mon Apr 17 2000 nadvornik@suse.cz
-- added BuildRoot
-* Thu Feb 17 2000 grimmer@suse.de
-- use full URL to source archive
-- use version macro
-- spec file cleanups
-- added Group tag
-* Mon Sep 13 1999 bs@suse.de
-- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Mon Jul 05 1999 grimmer@suse.de
-- initial package created (Version 2.50)
++++++ unrarsrc-3.8-gcc.patch -> unrarsrc-3.9-gcc.patch ++++++
++++++ unrarsrc-3.9-soname.patch ++++++
--- makefile.unix
+++ makefile.unix
@@ -133,7 +133,7 @@
lib: WHAT=RARDLL
lib: $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.so
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(LINK) -shared -Wl,-soname,libunrar.so.3.9.4 -o libunrar.so.3.9.4 $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
install-unrar:
install unrar $(DESTDIR)/bin
++++++ unrarsrc-3.8-types.patch -> unrarsrc-3.9-types.patch ++++++
--- unrar/unrarsrc-3.8-types.patch 2008-07-19 00:01:31.000000000 +0200
+++ unrar/unrarsrc-3.9-types.patch 2009-06-22 10:11:26.000000000 +0200
@@ -1,19 +1,21 @@
--- rartypes.hpp
+++ rartypes.hpp
-@@ -1,12 +1,13 @@
+@@ -1,14 +1,15 @@
#ifndef _RAR_TYPES_
#define _RAR_TYPES_
+#include
- typedef unsigned char byte; //8 bits
--typedef unsigned short ushort; //preferably 16 bits, but can be more
+ typedef unsigned char byte; // unsigned 8 bits
+-typedef unsigned short ushort; // preferably 16 bits, but can be more
+typedef uint16_t ushort; //preferably 16 bits, but can be more
- typedef unsigned int uint; //32 bits or more
+ typedef unsigned int uint; // 32 bits or more
--typedef unsigned int uint32; //32 bits exactly
--typedef int sint32; //signed 32 bits exactly
+ #define PRESENT_INT32 // undefine if signed 32 bits is not available
+
+-typedef unsigned int uint32; // 32 bits exactly
+-typedef signed int int32; // signed 32 bits exactly
+typedef uint32_t uint32; //32 bits exactly
-+typedef int32_t sint32; //signed 32 bits exactly
- #define PRESENT_INT32
++typedef int32_t int32; //signed 32 bits exactly
- #if defined(_WIN_32) || defined(__GNUC__) || defined(__sgi) || defined(_AIX) || defined(__sun) || defined(__hpux)
+ // If compiler does not support 64 bit variables, we can define
+ // uint64 and int64 as 32 bit, but it will limit the maximum processed
++++++ unrarsrc-3.8-variablesize.patch -> unrarsrc-3.9-variablesize.patch ++++++
++++++ unrarsrc-3.8.5.tar.bz2 -> unrarsrc-3.9.4.tar.bz2 ++++++
++++ 6457 lines of diff (skipped)
++++++ unrarsrc-man.patch ++++++
--- unrar.1
+++ unrar.1
@@ -0,0 +1,98 @@
+.TH UNRAR 1 02.11.1999 "" "RAR archiver"
+.SH NAME
+unrar \- extract files from rar archives
+.SH SYNOPSIS
+.B unrar
+.I "<command> [- -<switch N>] archive [files...] [path\...]"
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR unrar
+command.
+.br
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+.br
+Commands and options described here are as of unrar 2.02.
+.SH OPTIONS
+After the program name comes a command and then optional switches with
+dashes before them.
+A summary of commands is included below.
+For a complete description, run
+.BR unrar
+without options.
+.TP
+.B e
+Extract files to current directory.
+.TP
+.B l
+List archive content.
+.TP
+.B p
+Print file to stdout.
+.TP
+.B t
+Test archive files.
+.TP
+.B v
+Verbosely list archive.
+.TP
+.B x
+Extract files with full path.
+.SH SWITCHES
+.BR NOTE:
+Every switch must be separated by a whitespace. You cannot put them
+together.
+.TP
+.B -av-
+Disable AV check.
+.TP
+.B -c-
+Disable comments show.
+.TP
+.B -f
+Freshen files.
+.TP
+.B -kb
+Keep broken extracted files.
+.TP
+.B -ierr
+Send all messages to stderr.
+.TP
+.B -inul
+Disable all messages.
+.TP
+.B -o+
+Overwrite existing files.
+.TP
+.B -o-
+Do not overwrite existing files.
+.TP
+.B -p<password>
+Set password.
+.TP
+.B -p-
+Do not query password.
+.TP
+.B -r
+Recurse subdirectories.
+.TP
+.B -u
+Update files.
+.TP
+.B -v
+List all volumes.
+.TP
+.B -x<file>
+Exclude specified file.
+.TP
+.B -x@<list>
+Exclude files in specified list file.
+.TP
+.B -x@
+Read file names to exclude from stdin.
+.TP
+.B -y
+Assume Yes on all queries.
+.SH AUTHOR
+This manual page was written by Petr Cech according
+to "unrar -h" for the Debian GNU/Linux system (but may be used by others).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org