commit physfs for openSUSE:Factory

2020-03-30 Thread root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2020-03-30 23:07:32

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new.3160 (New)


Package is "physfs"

Mon Mar 30 23:07:32 2020 rev:28 rq:789836 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2019-01-08 
12:25:54.972440451 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new.3160/physfs.changes  2020-03-30 
23:07:45.700325484 +0200
@@ -1,0 +2,15 @@
+Sun Mar 29 16:39:40 UTC 2020 - Christophe Giboudeaux 
+
+- Update to 3.0.2:
+  * physfsrwops: Patched to compile for use with SDL 1.2
+  * 7zip: don't forget to destroy the PHYSFS_Io when closing the archive
+  * ignorecase: Don't crash if enumeration returned a NULL pointer.
+  * Fix up physfs.h for compilers that are sensitive about preprocessor
+defines.
+  * PHYSFS_setWriteDir() shouldn't create an empty file if the dir
+doesn't exist.
+  * PHYSFS_flush() no longer calls PHYSFS_Io::flush()
+- Spec cleanup.
+- Drop physfs-empty_dir_fix.patch. Merged upstream.
+
+---

Old:

  physfs-3.0.1.tar.bz2
  physfs-empty_dir_fix.patch

New:

  physfs-3.0.2.tar.bz2



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.WkJynY/_old  2020-03-30 23:07:46.792326105 +0200
+++ /var/tmp/diff_new_pack.WkJynY/_new  2020-03-30 23:07:46.792326105 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,46 +12,42 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define so_nr 1
-%define desc "PhysicsFS is a library to provide abstract access to various 
archives.\
-It is intended for use in video games, and the design was somewhat\
-inspired by Quake 3's file subsystem. The programmer defines a "write\
-directory" on the physical filesystem. No file writing done through the\
-PhysicsFS API can leave that write directory, for security. For\
-example, an embedded scripting language cannot write outside of this\
-path if it uses PhysFS for all of its I/O, which means that untrusted\
-scripts can run more safely. Symbolic links can be disabled as well,\
-for added safety. For file reading, the programmer lists directories\
-and archives that form a "search path". Once the search path is\
-defined, it becomes a single, transparent hierarchical filesystem. This\
-makes for easy access to ZIP files in the same way as you access a file\
-directly on the disk, and it makes it easy to ship a new archive that\
-will override a previous archive on a per-file basis. Finally,\
-PhysicsFS gives you platform-abstracted means to determine if CD-ROMs\
-are available, the user's home directory, where in the real filesystem\
-your program is running, etc."\
-
 Name:   physfs
-Version:3.0.1
+Version:3.0.2
 Release:0
 Summary:PhysicsFS file abstraction layer for games
 License:(LGPL-2.1-or-later OR CPL-1.0) AND Zlib
 Group:  System/Libraries
-Url:http://www.icculus.org/physfs/
+URL:https://www.icculus.org/physfs/
 Source: http://icculus.org/physfs/downloads/%{name}-%{version}.tar.bz2
-Patch0: physfs-empty_dir_fix.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-%{desc}
+PhysicsFS is a library to provide abstract access to various archives.
+It is intended for use in video games, and the design was somewhat
+inspired by Quake 3's file subsystem. The programmer defines a "write
+directory" on the physical filesystem. No file writing done through the
+PhysicsFS API can leave that write directory, for security. For
+example, an embedded scripting language cannot write outside of this
+path if it uses PhysFS for all of its I/O, which means that untrusted
+scripts can run more safely. Symbolic links can be disabled as well,
+for added safety. For file reading, the programmer lists directories
+and archives that form a "search path". Once the search path is
+defined, it becomes a single, transparent hierarchical filesystem. This
+makes for easy access to ZIP files in the same way as you access a file
+directly on

commit physfs for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2019-01-08 12:24:09

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new.28833 (New)


Package is "physfs"

Tue Jan  8 12:24:09 2019 rev:27 rq:658962 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2017-06-22 
10:40:43.278845343 +0200
+++ /work/SRC/openSUSE:Factory/.physfs.new.28833/physfs.changes 2019-01-08 
12:25:54.972440451 +0100
@@ -1,0 +2,116 @@
+Tue Dec 11 15:12:57 UTC 2018 - buckyballreact...@gmail.com
+
+- Add physfs-empty_dir_fix.patch (hg a29fef4a20fd, fixes creation 
+  of empty files when a directory doesn't exist)
+- Removed physfs-gcc7.patch (fixed in upstream)
+
+---
+Mon Dec 10 17:24:33 UTC 2018 - buckyballreact...@gmail.com
+
+- Notable changes in 3.0.1:
+  * Trying to use the new mount functions (PHYSFS_mountIo, 
+PHYSFS_mountMemory, PHYSFS_mountHandle) with a NULL filename 
+would cause several problems. This now reports an error without
+mounting. Docs have been corrected to reflect this reality. 
+  * Trying to mounting an archive inside a .zip file with 
+PHYSFS_mountHandle() would crash with a NULL pointer 
+dereference. Fixed. 
+  * Trying to access a file in the search path named "." or 
+".." no longer succeeds. Previously, this bug meant you could 
+enumerate (but not access) files in the parent of a mounted 
+native directory. Trying to open "." or ".." might have crashed 
+or hung PhysicsFS. This only applies to the literal string "." 
+or ".."; if there was a '/' char in the path, PhysicsFS would 
+correctly reject a path with an element named as such. 
+  * Trying to mount a symlink to a directory would 
+(incorrectly) fail on Unix and Apple platforms instead of 
+mounting the directory the symlink points to. Fixed. 
+  * Fixed several crashes/hangs that a maliciously-crafted .iso 
+file could trigger.
+- Notable changes in 3.0.0:
+  * PhysicsFS now is super-easy to build. You can usually just 
+drop all the C files into your project and compile it with 
+everything else without any magic configuration step. The CMake
+file is still there and useful for packaging, etc, but it's 
+100% optional. 
+  * ZIP files can now use the newer zip64 format. 
+  * ZIP files may be password-protected. As the PkWare specs 
+specify, each file in the .zip may have a different password, 
+so you call PHYSFS_openRead(a, "file_that_i_want.txt$PASSWORD")
+to make it work. Note that this is a wildly insecure way to 
+protect your app's data, both in how you'd have to manage 
+passwords and that "traditional" PkWare crypto is not really 
+hardened anyhow. But if you have a basic password-protected 
+archive, PhysicsFS can get into it now! 
+  * 7zip support has been rewritten and improved. 
+  * ISO9660 archives are now supported. 
+  * VDF (Gothic/Gothic2) archives are now supported. 
+  * SLB (Independence War) archives are now supported. 
+  * Everything behind the scenes now uses an abstract i/o 
+interface (PHYSFS_Io) instead of talking directly to files, and 
+this interface is available to applications. This allows you to 
+mount anything as an archive that you can wrap in a PHYSFS_Io, 
+through the new PHYSFS_mountIo() function. The obvious and most 
+useful implementations are already implemented for you behind 
+the scenes on top of PHYSFS_Io: PHYSFS_mountMemory() to mount 
+an archive that's in a block of RAM, and PHYSFS_mountHandle() 
+to mount from a PHYSFS_File*...that is to say: you now have an 
+interface to do archives inside archives. 
+  * The abstract interface that PhysicsFS uses to talk to 
+archives (PHYSFS_Archiver) is now public, so apps can implement 
+their own archivers and register them into the system. If you 
+have a custom archive format for your app, you can plug it into 
+PhysicsFS at runtime without modifying PhysicsFS itself. 
+  * There's now a PHYSFS_getPrefDir() to figure out where it is 
+safe to write files on a given platform. This is usually a 
+per-user, per-application space, and should be used instead of 
+PHYSFS_getUserDir(). It might report something under 
+~/Library/Application Support on a Mac, somewhere under AppData 
+for Windows, or ~/.local/share on Linux, etc. 
+  * There's now a PHYSFS_unmount() to match 2.0.0's 
+PHYSFS_mount(). 
+  * There's now a PHYSFS_utf8FromUtf16(), so stop using 
+PHYSFS_utf8FromUcs2().   :) 
+  * There's now PHYSFS_utf8stricmp() for case-insensitive UTF-8 
+string comparison, in case you need to compare filenames. 
+  * Enumerating files can 

commit physfs for openSUSE:Factory

2017-06-22 Thread root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2017-06-22 10:40:40

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new (New)


Package is "physfs"

Thu Jun 22 10:40:40 2017 rev:26 rq:505510 version:2.0.3

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2016-11-14 
20:12:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes   2017-06-22 
10:40:43.278845343 +0200
@@ -1,0 +2,5 @@
+Wed Jun 21 15:05:36 UTC 2017 - dims...@opensuse.org
+
+- Add physfs-gcc7.patch: Fix build with gcc7 (boo#1041279).
+
+---

New:

  physfs-gcc7.patch



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.ArKEVD/_old  2017-06-22 10:40:43.790773166 +0200
+++ /var/tmp/diff_new_pack.ArKEVD/_new  2017-06-22 10:40:43.794772601 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -43,10 +43,11 @@
 Group:  System/Libraries
 Url:http://www.icculus.org/physfs/
 Source: http://icculus.org/physfs/downloads/%{name}-%{version}.tar.bz2
+Patch0: physfs-gcc7.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -54,8 +55,8 @@
 
 %package -n lib%{name}%{so_nr}
 Summary:PhysicsFS file abstraction layer for games
-Group:  System/Libraries
 # physfs was last used in openSUSE 11.3
+Group:  System/Libraries
 Provides:   physfs = %{version}
 Obsoletes:  physfs <= 1.0.1
 
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # just to be sure...

++ physfs-gcc7.patch ++
Index: physfs-2.0.3/lzma/C/Archive/7z/7zIn.c
===
--- physfs-2.0.3.orig/lzma/C/Archive/7z/7zIn.c
+++ physfs-2.0.3/lzma/C/Archive/7z/7zIn.c
@@ -1123,7 +1123,7 @@ SZ_RESULT SzReadAndDecodePackedStreams2(
 {
 
   UInt32 numUnPackStreams = 0;
-  CFileSize dataStartPos;
+  CFileSize dataStartPos = 0;
   CFolder *folder;
   #ifndef _LZMA_IN_CB
   CFileSize packSize = 0;



commit physfs for openSUSE:Factory

2016-11-14 Thread h_root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2016-11-14 20:11:56

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new (New)


Package is "physfs"

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2016-02-11 
12:38:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes   2016-11-14 
20:12:05.0 +0100
@@ -1,0 +2,5 @@
+Sat Aug 20 20:47:15 UTC 2016 - mailaen...@opensuse.org
+
+- Add a pkgconfig file
+
+---



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.LB1jeg/_old  2016-11-14 20:12:06.0 +0100
+++ /var/tmp/diff_new_pack.LB1jeg/_new  2016-11-14 20:12:06.0 +0100
@@ -46,6 +46,7 @@
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -87,6 +88,21 @@
 %install
 %cmake_install
 
+install -d %{buildroot}%{_libdir}/pkgconfig
+cat << EOF > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
+prefix=%{_prefix}
+exec_prefix=\${prefix}
+libdir=\${exec_prefix}/%{_lib}
+includedir=\${prefix}/include
+
+Name: PhysicsFS
+Description: PhysicsFS, a library to provide abstract access to various 
archives
+URL: %{url}
+Version: %{version}
+Libs: -L\${libdir} -lphysfs
+Cflags: -I\${includedir}
+EOF
+
 %post -n lib%{name}%{so_nr} -p /sbin/ldconfig
 
 %postun -n lib%{name}%{so_nr} -p /sbin/ldconfig
@@ -101,5 +117,6 @@
 %defattr(0644,root,root,0755)
 %{_libdir}/libphysfs.so
 %{_includedir}/physfs.h
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog




commit physfs for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2016-02-11 12:38:16

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new (New)


Package is "physfs"

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2013-11-29 
16:25:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes   2016-02-11 
12:38:16.0 +0100
@@ -1,0 +2,5 @@
+Wed Feb 10 10:20:38 UTC 2016 - mplus...@suse.com
+
+- Use cmake macros
+
+---



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.c1PoeA/_old  2016-02-11 12:38:17.0 +0100
+++ /var/tmp/diff_new_pack.c1PoeA/_new  2016-02-11 12:38:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -78,21 +78,14 @@
 %build
 # just to be sure...
 rm -rf zlib123
-mkdir build
-cd build
-export CFLAGS='%{optflags}'
-export CXXFLAGS='%{optflags}'
-cmake -DCMAKE_SKIP_RPATH=ON \
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-  -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \
+%cmake \
   -DCMAKE_BUILD_TYPE=Release \
   -DPHYSFS_BUILD_STATIC=FALSE \
-  -DPHYSFS_BUILD_TEST=FALSE ..
-make %{?_smp_mflags} VERBOSE=1
+  -DPHYSFS_BUILD_TEST=FALSE
+make %{?_smp_mflags}
 
 %install
-cd build
-make DESTDIR=$RPM_BUILD_ROOT install
+%cmake_install
 
 %post -n lib%{name}%{so_nr} -p /sbin/ldconfig
 




commit physfs for openSUSE:Factory

2013-11-29 Thread h_root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2013-11-29 16:25:30

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new (New)


Package is "physfs"

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2012-03-06 
13:41:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes   2013-11-29 
16:25:32.0 +0100
@@ -1,0 +2,18 @@
+Tue Nov 26 17:22:01 UTC 2013 - speili...@suse.com
+
+- Remove physfs-2.0.2-gcc46.patch (merged upstream)
+
+---
+Fri Nov 15 20:04:27 UTC 2013 - mailaen...@opensuse.org
+
+- Source code now packaged in a .tar.bz2 instead of .tar.gz.
+- Fixed "make docs" for out-of-tree builds.
+- No longer builds annoying wxWidgets test program by default.
+- Fixed logic bug in UTF-8 string processing.
+- Fixed infinite loop on some .zip files with symlinks.
+- Fixed building of readline support in test program.
+- Fixed .zip archiver losing files in some cases.
+- Corrected copyright dates in license.
+- Other minor tweaks and fixes.
+
+---

Old:

  physfs-2.0.2-gcc46.patch
  physfs-2.0.2.tar.gz

New:

  physfs-2.0.3.tar.bz2



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.iBPvcc/_old  2013-11-29 16:25:32.0 +0100
+++ /var/tmp/diff_new_pack.iBPvcc/_new  2013-11-29 16:25:32.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -17,40 +17,39 @@
 
 
 %define so_nr 1
+%define desc "PhysicsFS is a library to provide abstract access to various 
archives.\
+It is intended for use in video games, and the design was somewhat\
+inspired by Quake 3's file subsystem. The programmer defines a "write\
+directory" on the physical filesystem. No file writing done through the\
+PhysicsFS API can leave that write directory, for security. For\
+example, an embedded scripting language cannot write outside of this\
+path if it uses PhysFS for all of its I/O, which means that untrusted\
+scripts can run more safely. Symbolic links can be disabled as well,\
+for added safety. For file reading, the programmer lists directories\
+and archives that form a "search path". Once the search path is\
+defined, it becomes a single, transparent hierarchical filesystem. This\
+makes for easy access to ZIP files in the same way as you access a file\
+directly on the disk, and it makes it easy to ship a new archive that\
+will override a previous archive on a per-file basis. Finally,\
+PhysicsFS gives you platform-abstracted means to determine if CD-ROMs\
+are available, the user's home directory, where in the real filesystem\
+your program is running, etc."\
 
 Name:   physfs
-Version:2.0.2
+Version:2.0.3
 Release:0
 Summary:PhysicsFS file abstraction layer for games
 License:(LGPL-2.1+ or CPL-1.0) and Zlib
 Group:  System/Libraries
 Url:http://www.icculus.org/physfs/
-Source0:http://icculus.org/physfs/downloads/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM %{name}-2.0.2-gcc46.patch reddw...@opensuse.org -- Fixes 
gcc 4.6 compilation. From upstream trunk.
-Patch0: %{name}-2.0.2-gcc46.patch
+Source: http://icculus.org/physfs/downloads/%{name}-%{version}.tar.bz2
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-PhysicsFS is a library to provide abstract access to various archives.
-It is intended for use in video games, and the design was somewhat
-inspired by Quake 3's file subsystem. The programmer defines a "write
-directory" on the physical filesystem. No file writing done through the
-PhysicsFS API can leave that write directory, for security. For
-example, an embedded scripting language cannot write outside of this
-path if it uses PhysFS for all of its I/O, which means that untrusted
-scripts can run more safely. Symbolic links can be disabled as well,
-for added safety. For file reading, the programmer lists directories
-and archives that form a "search path". Once the search path is
-defined, it becomes a single, transparent hierarchical filesystem. This
-makes for easy access to ZIP files in the same way as you access a file
-directly on the disk, and it makes it easy to ship a new archive t

commit physfs for openSUSE:Factory

2012-03-06 Thread h_root
Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2012-03-06 13:41:17

Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and  /work/SRC/openSUSE:Factory/.physfs.new (New)


Package is "physfs", Maintainer is "prus...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/physfs/physfs.changes2011-09-23 
12:40:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes   2012-03-06 
13:41:19.0 +0100
@@ -1,0 +2,12 @@
+Mon Mar  5 15:23:30 UTC 2012 - cfarr...@suse.com
+
+- license update: (LGPL-2.1+ or CPL-1.0) and Zlib
+  For a license such as this brackets are needed to avoid ambiguity
+
+---
+Tue Feb 14 07:36:49 UTC 2012 - co...@suse.com
+
+- use original tar and avoid _service files
+- trying to convert the license to spdx.org
+
+---

Old:

  _service
  _service:recompress:download_url:physfs-2.0.2.tar.bz2
  _service:set_version:physfs.spec

New:

  physfs-2.0.2.tar.gz



Other differences:
--
++ physfs.spec ++
--- /var/tmp/diff_new_pack.7PVlyn/_old  2012-03-06 13:41:20.0 +0100
+++ /var/tmp/diff_new_pack.7PVlyn/_new  2012-03-06 13:41:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -19,13 +19,13 @@
 %define so_nr 1
 
 Name:   physfs
-Version:to_be_filled_by_service
-Release:3
-License:ZLIB + LGPLv2.1/CPL plus exception
+Version:2.0.2
+Release:0
 Summary:PhysicsFS file abstraction layer for games
-Url:http://www.icculus.org/physfs/
+License:(LGPL-2.1+ or CPL-1.0) and Zlib
 Group:  System/Libraries
-Source0:%{name}-%{version}.tar.bz2
+Url:http://www.icculus.org/physfs/
+Source0:http://icculus.org/physfs/downloads/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM %{name}-2.0.2-gcc46.patch reddw...@opensuse.org -- Fixes 
gcc 4.6 compilation. From upstream trunk.
 Patch0: %{name}-2.0.2-gcc46.patch
 BuildRequires:  cmake
@@ -53,8 +53,6 @@
 your program is running, etc.
 
 %package -n lib%{name}%{so_nr}
-
-
 Summary:PhysicsFS file abstraction layer for games
 Group:  System/Libraries
 # physfs was last used in openSUSE 11.3
@@ -81,8 +79,6 @@
 your program is running, etc.
 
 %package -n lib%{name}-devel
-
-
 Summary:Libraries, includes and more to develop PhysicsFS applications
 Group:  Development/Libraries/C and C++
 Requires:   lib%{name}%{so_nr} = %{version}
@@ -130,7 +126,7 @@
 
 %install
 cd build
-%makeinstall
+make DESTDIR=$RPM_BUILD_ROOT install
 
 %clean
 rm -rf %{buildroot}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit physfs for openSUSE:Factory

2011-04-03 Thread h_root

Hello community,

here is the log from the commit of package physfs for openSUSE:Factory
checked in at Sun Apr 3 12:20:16 CEST 2011.




--- physfs/physfs.changes   2011-02-21 22:27:11.0 +0100
+++ /mounts/work_src_done/STABLE/physfs/physfs.changes  2011-04-03 
08:17:08.0 +0200
@@ -1,0 +2,6 @@
+Sun Apr  3 06:12:07 UTC 2011 - reddw...@opensuse.org
+
+- Fix gcc 4.6 compilation
+- Use %optflags
+
+---

calling whatdependson for head-i586


New:

  physfs-2.0.2-gcc46.patch



Other differences:
--
++ _service:set_version:physfs.spec ++
--- /var/tmp/diff_new_pack.FZ4Pr0/_old  2011-04-03 12:18:31.0 +0200
+++ /var/tmp/diff_new_pack.FZ4Pr0/_new  2011-04-03 12:18:31.0 +0200
@@ -20,12 +20,14 @@
 
 Name:   physfs
 Version:2.0.2
-Release:1
+Release:2
 License:ZLIB + LGPLv2.1/CPL plus exception
 Summary:PhysicsFS file abstraction layer for games
 Url:http://www.icculus.org/physfs/
 Group:  System/Libraries
 Source0:%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM %{name}-2.0.2-gcc46.patch reddw...@opensuse.org -- Fixes 
gcc 4.6 compilation. From upstream trunk.
+Patch0: %{name}-2.0.2-gcc46.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
@@ -109,19 +111,22 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 # just to be sure...
 rm -rf zlib123
 mkdir build
 cd build
+export CFLAGS='%{optflags}'
+export CXXFLAGS='%{optflags}'
 cmake -DCMAKE_SKIP_RPATH=ON \
   -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \
   -DCMAKE_BUILD_TYPE=Release \
   -DPHYSFS_BUILD_STATIC=FALSE \
   -DPHYSFS_BUILD_TEST=FALSE ..
-make %{?_smp_mflags}
+make %{?_smp_mflags} VERBOSE=1
 
 %install
 cd build

++ physfs.spec ++
--- /var/tmp/diff_new_pack.FZ4Pr0/_old  2011-04-03 12:18:31.0 +0200
+++ /var/tmp/diff_new_pack.FZ4Pr0/_new  2011-04-03 12:18:31.0 +0200
@@ -20,12 +20,14 @@
 
 Name:   physfs
 Version:to_be_filled_by_service
-Release:2
+Release:3
 License:ZLIB + LGPLv2.1/CPL plus exception
 Summary:PhysicsFS file abstraction layer for games
 Url:http://www.icculus.org/physfs/
 Group:  System/Libraries
 Source0:%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM %{name}-2.0.2-gcc46.patch reddw...@opensuse.org -- Fixes 
gcc 4.6 compilation. From upstream trunk.
+Patch0: %{name}-2.0.2-gcc46.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
@@ -109,19 +111,22 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 # just to be sure...
 rm -rf zlib123
 mkdir build
 cd build
+export CFLAGS='%{optflags}'
+export CXXFLAGS='%{optflags}'
 cmake -DCMAKE_SKIP_RPATH=ON \
   -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \
   -DCMAKE_BUILD_TYPE=Release \
   -DPHYSFS_BUILD_STATIC=FALSE \
   -DPHYSFS_BUILD_TEST=FALSE ..
-make %{?_smp_mflags}
+make %{?_smp_mflags} VERBOSE=1
 
 %install
 cd build


++ physfs-2.0.2-gcc46.patch ++
Index: archivers/wad.c
===
--- archivers/wad.c.orig
+++ archivers/wad.c
@@ -245,9 +245,6 @@ static int wad_load_entries(const char *
 PHYSFS_uint32 fileCount;
 PHYSFS_uint32 directoryOffset;
 WADentry *entry;
-char lastDirectory[9];
-
-lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */
 
 BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, 
&fileCount,&directoryOffset), NULL, 0);
 info->entryCount = fileCount;





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit physfs for openSUSE:Factory

2011-02-21 Thread h_root

Hello community,

here is the log from the commit of package physfs for openSUSE:Factory
checked in at Mon Feb 21 23:45:58 CET 2011.




--- physfs/physfs.changes   2011-02-18 16:51:41.0 +0100
+++ physfs/physfs.changes   2011-02-21 22:27:11.0 +0100
@@ -1,0 +2,7 @@
+Mon Feb 21 21:23:54 UTC 2011 - reddw...@opensuse.org
+
+- update to version 2.0.2
+  * Fixed bug where zip and qpak could fail to locate an existing file.
+  * Fixed overflow on zero-sized buffers when converting to UTF-8.
+
+---

calling whatdependson for head-i586


Old:

  _service:recompress:download_url:physfs-2.0.1.tar.bz2
  physfs-2.0.1-lib64.patch

New:

  _service:recompress:download_url:physfs-2.0.2.tar.bz2



Other differences:
--
++ _service:set_version:physfs.spec ++
--- /var/tmp/diff_new_pack.kuzbEp/_old  2011-02-21 23:45:28.0 +0100
+++ /var/tmp/diff_new_pack.kuzbEp/_new  2011-02-21 23:45:28.0 +0100
@@ -19,15 +19,13 @@
 %define so_nr 1
 
 Name:   physfs
-Version:2.0.1
+Version:2.0.2
 Release:1
 License:ZLIB + LGPLv2.1/CPL plus exception
 Summary:PhysicsFS file abstraction layer for games
 Url:http://www.icculus.org/physfs/
 Group:  System/Libraries
 Source0:%{name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM physfs-2.0.1-lib64.patch reddw...@opensuse.org -- Honor 
LIB_SUFFIX
-Patch0: physfs-2.0.1-lib64.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
@@ -54,6 +52,7 @@
 
 %package -n lib%{name}%{so_nr}
 
+
 Summary:PhysicsFS file abstraction layer for games
 Group:  System/Libraries
 # physfs was last used in openSUSE 11.3
@@ -81,6 +80,7 @@
 
 %package -n lib%{name}-devel
 
+
 Summary:Libraries, includes and more to develop PhysicsFS applications
 Group:  Development/Libraries/C and C++
 Requires:   lib%{name}%{so_nr} = %{version}
@@ -109,7 +109,6 @@
 
 %prep
 %setup -q
-%patch0
 
 %build
 # just to be sure...

++ physfs.spec ++
--- /var/tmp/diff_new_pack.kuzbEp/_old  2011-02-21 23:45:28.0 +0100
+++ /var/tmp/diff_new_pack.kuzbEp/_new  2011-02-21 23:45:28.0 +0100
@@ -20,14 +20,12 @@
 
 Name:   physfs
 Version:to_be_filled_by_service
-Release:1
+Release:2
 License:ZLIB + LGPLv2.1/CPL plus exception
 Summary:PhysicsFS file abstraction layer for games
 Url:http://www.icculus.org/physfs/
 Group:  System/Libraries
 Source0:%{name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM physfs-2.0.1-lib64.patch reddw...@opensuse.org -- Honor 
LIB_SUFFIX
-Patch0: physfs-2.0.1-lib64.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  zlib-devel
@@ -54,6 +52,7 @@
 
 %package -n lib%{name}%{so_nr}
 
+
 Summary:PhysicsFS file abstraction layer for games
 Group:  System/Libraries
 # physfs was last used in openSUSE 11.3
@@ -81,6 +80,7 @@
 
 %package -n lib%{name}-devel
 
+
 Summary:Libraries, includes and more to develop PhysicsFS applications
 Group:  Development/Libraries/C and C++
 Requires:   lib%{name}%{so_nr} = %{version}
@@ -109,7 +109,6 @@
 
 %prep
 %setup -q
-%patch0
 
 %build
 # just to be sure...

++ _service ++
--- /var/tmp/diff_new_pack.kuzbEp/_old  2011-02-21 23:45:28.0 +0100
+++ /var/tmp/diff_new_pack.kuzbEp/_new  2011-02-21 23:45:28.0 +0100
@@ -3,12 +3,12 @@
   
 http
 icculus.org
-/physfs/downloads/physfs-2.0.1.tar.gz
+/physfs/downloads/physfs-2.0.2.tar.gz
   
   
-_service:download_url:physfs-2.0.1.tar.gz
+_service:download_url:physfs-2.0.2.tar.gz
 sha256
-1ee9891d9d34db4bcf78ae31f321fdb948c12e233ca04c690cae032968dbf45d
+ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09
   
   
 *.gz

++ _service:recompress:download_url:physfs-2.0.1.tar.bz2 -> 
_service:recompress:download_url:physfs-2.0.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/physfs-2.0.1/.hg_archival.txt 
new/physfs-2.0.2/.hg_archival.txt
--- old/physfs-2.0.1/.hg_archival.txt   2010-03-25 04:51:40.0 +0100
+++ new/physfs-2.0.2/.hg_archival.txt   2011-02-18 22:17:31.0 +0100
@@ -1,5 +1,5 @@
 repo: 7672c9962ce627edaaa67ff54fe4ad8f9a46dc2b
-node: 01e7571471efc54c036a558360518c5088c87c11
+node: 92a35b8603186c536e4cc126458dfc2d2809b19c
 branch: stable-2.0
-latesttag: release-2.0.1
+latesttag: release-2.0.2
 latesttagdistance: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/physfs-2.0.1/.hgtags new/physfs-2.0.2/.hgtags
--- old/physfs-2.0.1/.hgtags2010-03-25 04:51:40.0 +0100
+++ new/physfs-2.0.2/.hgtags2011-02-18 22:17:31.0 +0100
@@ -13,3 +13

commit physfs for openSUSE:Factory

2011-02-20 Thread h_root

Hello community,

here is the log from the commit of package physfs for openSUSE:Factory
checked in at Mon Feb 21 00:55:03 CET 2011.




--- physfs/physfs.changes   2009-03-13 16:47:16.0 +0100
+++ /mounts/work_src_done/STABLE/physfs/physfs.changes  2011-02-18 
16:51:41.0 +0100
@@ -1,0 +2,13 @@
+Wed Feb 16 22:50:07 UTC 2011 - reddw...@opensuse.org
+
+- update to version 2.0.1
+  * lzma support
+  * unicode support
+  * improved CD-ROM/DVD-ROM detection
+  * API extended with new functions
+- use source services
+- run spec-cleaner
+- follow SLPP
+- adapt to new cmake build system
+
+---

calling whatdependson for head-i586


Old:

  physfs-1.0.1-ncurses.diff
  physfs-1.0.1.tar.bz2

New:

  _service
  _service:recompress:download_url:physfs-2.0.1.tar.bz2
  _service:set_version:physfs.spec
  physfs-2.0.1-lib64.patch



Other differences:
--
++ _service:set_version:physfs.spec ++
#
# spec file for package physfs
#
# Copyright (c) 2011 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/
#


%define so_nr 1

Name:   physfs
Version:2.0.1
Release:1
License:ZLIB + LGPLv2.1/CPL plus exception
Summary:PhysicsFS file abstraction layer for games
Url:http://www.icculus.org/physfs/
Group:  System/Libraries
Source0:%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM physfs-2.0.1-lib64.patch reddw...@opensuse.org -- Honor 
LIB_SUFFIX
Patch0: physfs-2.0.1-lib64.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  zlib-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
PhysicsFS is a library to provide abstract access to various archives.
It is intended for use in video games, and the design was somewhat
inspired by Quake 3's file subsystem. The programmer defines a "write
directory" on the physical filesystem. No file writing done through the
PhysicsFS API can leave that write directory, for security. For
example, an embedded scripting language cannot write outside of this
path if it uses PhysFS for all of its I/O, which means that untrusted
scripts can run more safely. Symbolic links can be disabled as well,
for added safety. For file reading, the programmer lists directories
and archives that form a "search path". Once the search path is
defined, it becomes a single, transparent hierarchical filesystem. This
makes for easy access to ZIP files in the same way as you access a file
directly on the disk, and it makes it easy to ship a new archive that
will override a previous archive on a per-file basis. Finally,
PhysicsFS gives you platform-abstracted means to determine if CD-ROMs
are available, the user's home directory, where in the real filesystem
your program is running, etc.

%package -n lib%{name}%{so_nr}

Summary:PhysicsFS file abstraction layer for games
Group:  System/Libraries
# physfs was last used in openSUSE 11.3
Provides:   physfs = %{version}
Obsoletes:  physfs <= 1.0.1

%description -n lib%{name}%{so_nr}
PhysicsFS is a library to provide abstract access to various archives.
It is intended for use in video games, and the design was somewhat
inspired by Quake 3's file subsystem. The programmer defines a "write
directory" on the physical filesystem. No file writing done through the
PhysicsFS API can leave that write directory, for security. For
example, an embedded scripting language cannot write outside of this
path if it uses PhysFS for all of its I/O, which means that untrusted
scripts can run more safely. Symbolic links can be disabled as well,
for added safety. For file reading, the programmer lists directories
and archives that form a "search path". Once the search path is
defined, it becomes a single, transparent hierarchical filesystem. This
makes for easy access to ZIP files in the same way as you access a file
directly on the disk, and it makes it easy to ship a new archive that
will override a previous archive on a per-file basis. Finally,
PhysicsFS gives you platform-abstracted means to determine if CD-ROMs
are available, the user's home directory, where in the real filesystem
your program is running, etc.

%package -n lib%{name}-devel

Summary:Libraries, includes