commit expat for openSUSE:Factory

2020-10-08 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2020-10-08 13:09:43

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


Package is "expat"

Thu Oct  8 13:09:43 2020 rev:60 rq:839723 version:2.2.10

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2019-12-11 
12:04:26.456757621 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new.4249/expat.changes2020-10-08 
13:10:48.235097455 +0200
@@ -1,0 +2,39 @@
+Sun Oct  4 19:19:55 UTC 2020 - Pedro Monreal 
+
+- Update to 2.2.10:
+  * Bug fixes:
+- Fix undefined behavior during parsing caused by pointer
+  arithmetic with NULL pointers
+- Fix reading uninitialized variable during parsing
+- xmlwf: Add missing check for malloc NULL return
+  * Other changes:
+- xmlwf: Document exit codes in xmlwf manpage and exit with code 3
+  (rather than code 1) for output errors when used with "-d DIRECTORY"
+- Autotools: Use -Werror while configure tests the compiler for
+  supported compile flags to avoid false positives
+- Autotools: Improve handling of user (C|CPP|CXX|LD)FLAGS, e.g.
+  ensure that they have the last word over flags added while
+  running ./configure
+- CMake: Create libexpatw.{dll,so} and expatw.pc (with emphasis
+  on suffix "w") with -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
+- CMake: Detect and deny unsupported build combinations
+  involving -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
+- CMake: Install pre-compiled shipped xmlwf.1 manpage in case
+  of -DEXPAT_BUILD_DOCS=OFF
+- CMake: Fix use of Expat by means of add_subdirectory
+- CMake: Keep expat target name constant at "expat" (i.e. refrain
+  from using the target name to control build artifact filenames)
+- CMake: Expose man page compilation as target "xmlwf-manpage"
+- CMake: Introduce option EXPAT_BUILD_PKGCONFIG to control
+  generation of pkg-config file "expat.pc"
+- CMake: Add minimalistic support for building binary packages
+  with CMake target "package"; based on CPack
+- CMake: Add option -DEXPAT_OSSFUZZ_BUILD=(ON|OFF) with default
+  OFF to build fuzzer code against OSS-Fuzz and related
+  environment variable LIB_FUZZING_ENGINE
+- Fix testsuite for -DEXPAT_DTD=OFF and -DEXPAT_NS=OFF
+- Address compiler warnings
+- Address pngcheck warnings with doc/*.png images: Version info
+  bumped from 7:11:6 to 7:12:6
+
+---

Old:

  expat-2.2.9.tar.xz
  expat-2.2.9.tar.xz.asc

New:

  expat-2.2.10.tar.xz
  expat-2.2.10.tar.xz.asc



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.jMePWf/_old  2020-10-08 13:10:48.891098048 +0200
+++ /var/tmp/diff_new_pack.jMePWf/_new  2020-10-08 13:10:48.895098052 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -16,9 +16,9 @@
 #
 
 
-%global unversion 2_2_9
+%global unversion 2_2_10
 Name:   expat
-Version:2.2.9
+Version:2.2.10
 Release:0
 Summary:XML Parser Toolkit
 License:MIT

++ expat-2.2.9.tar.xz -> expat-2.2.10.tar.xz ++
 8129 lines of diff (skipped)




commit expat for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2019-12-11 12:03:32

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


Package is "expat"

Wed Dec 11 12:03:32 2019 rev:59 rq:754751 version:2.2.9

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2019-09-23 
12:01:08.405967489 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new.4691/expat.changes2019-12-11 
12:04:26.456757621 +0100
@@ -1,0 +2,15 @@
+Fri Nov 29 18:30:43 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Version update to 2.2.9
+  * Other changes:
+- examples: Drop executable bits from elements.c
+  #349  Windows: Change the name of the Windows DLLs from expat*.dll
+to libexpat*.dll once more (regression from 2.2.8, first
+fixed in 1.95.3, issue #61 on SourceForge today,
+was issue #432456 back then); needs a fix due
+case-insensitive file systems on Windows and the fact that
+Perl's XML::Parser::Expat compiles into Expat.dll.
+  #347  Windows: Only define _CRT_RAND_S if not defined
+Version info bumped from 7:10:6 to 7:11:6
+
+---

Old:

  expat-2.2.8.tar.xz
  expat-2.2.8.tar.xz.asc

New:

  expat-2.2.9.tar.xz
  expat-2.2.9.tar.xz.asc



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.IbIdmC/_old  2019-12-11 12:04:26.980757401 +0100
+++ /var/tmp/diff_new_pack.IbIdmC/_new  2019-12-11 12:04:26.980757401 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
 #
 
 
-%global unversion 2_2_8
+%global unversion 2_2_9
 Name:   expat
-Version:2.2.8
+Version:2.2.9
 Release:0
 Summary:XML Parser Toolkit
 License:MIT

++ expat-2.2.8.tar.xz -> expat-2.2.9.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/expat-2.2.8/CMake.README new/expat-2.2.9/CMake.README
--- old/expat-2.2.8/CMake.README2019-09-13 21:54:00.0 +0200
+++ new/expat-2.2.9/CMake.README2019-09-26 00:03:02.0 +0200
@@ -3,25 +3,25 @@
 The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual
 Studio) and should work on all other platform cmake supports.
 
-Assuming ~/expat-2.2.8 is the source directory of expat, add a subdirectory
+Assuming ~/expat-2.2.9 is the source directory of expat, add a subdirectory
 build and change into that directory:
-~/expat-2.2.8$ mkdir build && cd build
-~/expat-2.2.8/build$
+~/expat-2.2.9$ mkdir build && cd build
+~/expat-2.2.9/build$
 
 From that directory, call cmake first, then call make, make test and
 make install in the usual way:
-~/expat-2.2.8/build$ cmake ..
+~/expat-2.2.9/build$ cmake ..
 -- The C compiler identification is GNU
 -- The CXX compiler identification is GNU
 
 -- Configuring done
 -- Generating done
--- Build files have been written to: /home/patrick/expat-2.2.8/build
+-- Build files have been written to: /home/patrick/expat-2.2.9/build
 
 If you want to specify the install location for your files, append
 -DCMAKE_INSTALL_PREFIX=/your/install/path to the cmake call.
 
-~/expat-2.2.8/build$ make && make test && make install
+~/expat-2.2.9/build$ make && make test && make install
 Scanning dependencies of target expat
 [  5%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o
 [ 11%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/expat-2.2.8/CMakeLists.txt 
new/expat-2.2.9/CMakeLists.txt
--- old/expat-2.2.8/CMakeLists.txt  2019-09-13 21:54:00.0 +0200
+++ new/expat-2.2.9/CMakeLists.txt  2019-09-26 00:03:02.0 +0200
@@ -5,7 +5,7 @@
 
 project(expat
 VERSION
-2.2.8
+2.2.9
 LANGUAGES
 C
 )
@@ -229,7 +229,7 @@
 set(_POSTFIX_DEBUG "")
 endif()
 
-set(${postfix_var} "${_POSTFIX_WIDE}${_POSTFIX_DEBUG}${_POSTFIX_CRT}" 
CACHE STRING "Windows binary postfix, e.g. expat.lib")
+set(${postfix_var} "${_POSTFIX_WIDE}${_POSTFIX_DEBUG}${_POSTFIX_CRT}" 
CACHE STRING "Windows binary postfix, e.g. libexpat.lib")
 endforeach()
 endif(WIN32)
 
@@ -257,23 +257,30 @@
 endif(WIN32)
 endif(EXPAT_SHARED_LIBS)
 
-add_library(expat ${_SHARED} ${expat_SRCS})
+# Avoid colliding with Expat.dll of Perl's XML::Parser::E

commit expat for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2019-09-23 12:01:04

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


Package is "expat"

Mon Sep 23 12:01:04 2019 rev:58 rq:731224 version:2.2.8

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2019-07-08 
15:00:08.602454578 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new.7948/expat.changes2019-09-23 
12:01:08.405967489 +0200
@@ -1,0 +2,46 @@
+Mon Sep 16 08:21:52 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Version update to 2.2.8
+  * Security fixes: (CVE-2019-15903, bsc#1149429)
+- CVE-2019-15903 -- Fix heap overflow triggered by XML_GetCurrentLineNumber
+  (or XML_GetCurrentColumnNumber), and deny internal entities closing the 
doctype;
+  * Bug fixes:
+- Fix cases where XML_StopParser did not have any effect
+  when called from inside of an end element handler
+- xmlwf: Fix exit code for operation without "-d DIRECTORY";
+  previously, only "-d DIRECTORY" would give you a proper exit code:
+  Now both cases return exit code 2.
+  * Other changes:
+- examples: Improve elements.c
+- Autotools: Add argument --enable-xml-attr-info
+- Autotools: Add arguments --with-getrandom --without-getrandom 
--with-sys-getrandom --without-sys-getrandom
+- Autotools: Fix linking issues with "./configure LD=clang"
+- Autotools: Fix "make run-xmltest" for out-of-source builds
+- CMake: Pull all options from Expat <=2.2.7 into namespace
+- CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF), default OFF
+- CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF), default OFF
+- CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF), default OFF
+- CMake: Add arguments -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
+- CMake: Add arguments -DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default 
AUTO
+- CMake: Install expat_config.h to include directory
+- CMake: Generate and install configuration files for future 
find_package(expat [..] CONFIG [..])
+- CMake: Now produces a summary of applied configuration
+- CMake: Require C++ compiler only when tests are enabled
+- CMake: Fix compilation for 16bit character types, i.e. ex 
-DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
+- CMake: Port "make run-xmltest" from GNU Autotools to CMake
+- CMake: Integrate OSS-Fuzz fuzzers, option 
-DEXPAT_BUILD_FUZZERS=(ON|OFF), default OFF
+- Removed patches fixed in the update:
+  * expat-CVE-2019-15903.patch
+  * expat-CVE-2019-15903-tests.patch
+
+---
+Wed Sep  4 17:11:38 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Security fix (CVE-2019-15903, bsc#1149429)
+  * Crafted XML input results in heap-based buffer over-read by fooling
+the parser into changing from DTD parsing to document parsing
+  * Added patches:
+- expat-CVE-2019-15903.patch
+- expat-CVE-2019-15903-tests.patch
+
+---

Old:

  expat-2.2.7.tar.xz
  expat-2.2.7.tar.xz.asc

New:

  expat-2.2.8.tar.xz
  expat-2.2.8.tar.xz.asc



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.2t3XAF/_old  2019-09-23 12:01:09.017967388 +0200
+++ /var/tmp/diff_new_pack.2t3XAF/_new  2019-09-23 12:01:09.021967388 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%global unversion 2_2_7
+%global unversion 2_2_8
 Name:   expat
-Version:2.2.7
+Version:2.2.8
 Release:0
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
-URL:http://libexpat.github.io
+URL:https://libexpat.github.io
 Source0:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz
 Source1:%{name}faq.html
 Source2:baselibs.conf
@@ -83,6 +83,8 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
+# Fix permissions error: spurious-executable-perm
+chmod 0644 examples/elements.c
 
 %check
 make %{?_smp_mflags} check

++ expat-2.2.7.tar.xz -> expat-2.2.8.tar.xz ++
 42854 lines of diff (skipped)




commit expat for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2019-07-08 15:00:07

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


Package is "expat"

Mon Jul  8 15:00:07 2019 rev:57 rq:713395 version:2.2.7

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2019-02-11 
21:16:10.183375978 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new.4615/expat.changes2019-07-08 
15:00:08.602454578 +0200
@@ -1,0 +2,22 @@
+Tue Jul  2 10:33:51 UTC 2019 - Pedro Monreal Gonzalez 

+
+- Version update to 2.2.7 (CVE-2018-20843, bsc#1139937)
+  * Security fixes:
+- CVE-2018-20843 - Fix extraction of namespace prefixes from
+  XML names; XML names with multiple colons could end up in
+  the wrong namespace, and take a high amount of RAM and CPU
+  resources while processing, opening the door to use for
+  denial-of-service attacks
+  * Other changes:
+- Autotools/CMake: Utilize -fvisibility=hidden to stop
+  exporting non-API symbols
+- Autotools: Add --without-examples and --without-tests
+- Autotools: Modernize configure.ac
+- Autotools: Fix check for -fvisibility=hidden for Clang
+- Autotools: Fix compilation for lack of docbook2x-man
+- CMake: Make libdir of pkgconfig expat.pc support multilib
+- CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
+- Remove fallback to bcopy, assume that memmove(3) exists
+- Removed expat-2.2.6-fix-make-clean.patch
+
+---

Old:

  expat-2.2.6-fix-make-clean.patch
  expat-2.2.6.tar.bz2
  expat-2.2.6.tar.bz2.asc

New:

  expat-2.2.7.tar.xz
  expat-2.2.7.tar.xz.asc



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.fbIma0/_old  2019-07-08 15:00:09.306455642 +0200
+++ /var/tmp/diff_new_pack.fbIma0/_new  2019-07-08 15:00:09.310455648 +0200
@@ -16,19 +16,18 @@
 #
 
 
-%global unversion 2_2_6
+%global unversion 2_2_7
 Name:   expat
-Version:2.2.6
+Version:2.2.7
 Release:0
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
 URL:http://libexpat.github.io
-Source0:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2
+Source0:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz
 Source1:%{name}faq.html
 Source2:baselibs.conf
-Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
-Patch0: expat-2.2.6-fix-make-clean.patch
+Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.xz.asc
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -63,7 +62,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 cp %{SOURCE1} .
 rm -f examples/*.dsp
@@ -99,7 +97,6 @@
 %doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
 %doc examples/elements.c examples/outline.c examples/Makefile.am 
examples/Makefile.in
 %doc AUTHORS Changes
-%{_mandir}/man?/*
 %{_bindir}/xmlwf
 
 %files -n libexpat1




commit expat for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2019-02-11 21:16:09

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


Package is "expat"

Mon Feb 11 21:16:09 2019 rev:56 rq:672726 version:2.2.6

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2019-01-08 
12:19:05.540891063 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new.28833/expat.changes   2019-02-11 
21:16:10.183375978 +0100
@@ -1,0 +2,6 @@
+Thu Feb  7 10:45:14 UTC 2019 - Bernhard Wiedemann 
+
+- Add expat-2.2.6-fix-make-clean.patch
+- Allow profile guided optimization again
+
+---

New:

  expat-2.2.6-fix-make-clean.patch



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.w57aGG/_old  2019-02-11 21:16:10.807375646 +0100
+++ /var/tmp/diff_new_pack.w57aGG/_new  2019-02-11 21:16:10.807375646 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%global do_profiling 0
 %global unversion 2_2_6
 Name:   expat
 Version:2.2.6
@@ -29,6 +28,7 @@
 Source1:%{name}faq.html
 Source2:baselibs.conf
 Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
+Patch0: expat-2.2.6-fix-make-clean.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -63,6 +63,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 cp %{SOURCE1} .
 rm -f examples/*.dsp

++ expat-2.2.6-fix-make-clean.patch ++
Author: Bernhard M. Wiedemann 
Date: 2019-02-07

Do not clean files that are shipped in the tarball
and that we cannot create with 'make'
to fix building with profile guided optimizations
Index: expat-2.2.6/doc/Makefile.in
===
--- expat-2.2.6.orig/doc/Makefile.in
+++ expat-2.2.6/doc/Makefile.in
@@ -572,7 +572,7 @@ clean-local: clean-local-check
 
 .PHONY: clean-local-check
 clean-local-check:
-   $(RM) xmlwf.1
+   #$(RM) xmlwf.1
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.




commit expat for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2019-01-08 12:19:04

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


Package is "expat"

Tue Jan  8 12:19:04 2019 rev:55 rq:662662 version:2.2.6

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2018-09-18 
11:40:28.704096555 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new.28833/expat.changes   2019-01-08 
12:19:05.540891063 +0100
@@ -1,0 +2,6 @@
+Thu Jan  3 13:08:57 UTC 2019 - Tomáš Chvátal 
+
+- Drop docbook2x dependency, the manpages are generated in
+  the upstream archive and this way we break buildcycle
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.0UtOpy/_old  2019-01-08 12:19:06.108890530 +0100
+++ /var/tmp/diff_new_pack.0UtOpy/_new  2019-01-08 12:19:06.112890527 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -24,12 +24,11 @@
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
-Url:http://libexpat.github.io
+URL:http://libexpat.github.io
 Source0:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2
-Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
 Source1:%{name}faq.html
 Source2:baselibs.conf
-BuildRequires:  docbook2x
+Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -94,7 +93,8 @@
 
 %files
 %{_docdir}/%{name}
-%doc COPYING README.md expatfaq.html
+%license COPYING
+%doc README.md expatfaq.html
 %doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
 %doc examples/elements.c examples/outline.c examples/Makefile.am 
examples/Makefile.in
 %doc AUTHORS Changes





commit expat for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2018-09-18 11:40:14

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


Package is "expat"

Tue Sep 18 11:40:14 2018 rev:54 rq:634955 version:2.2.6

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2017-11-19 
11:11:09.115910810 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2018-09-18 
11:40:28.704096555 +0200
@@ -1,0 +2,31 @@
+Tue Sep 11 11:32:10 UTC 2018 - pmonrealgonza...@suse.com
+
+- Version update to 2.2.6 Sun August 12 2018
+  * Bug fixes:
+- Avoid doing arithmetic with NULL pointers in XML_GetBuffer
+- Fix 2.2.5 regression with suspend-resume while parsing
+  a document like ''
+  * Other changes:
+- Autotools: Fix docbook-related configure syntax error
+- Autotools: Avoid grep option `-q` for Solaris
+- Autotools: Support
+  ./configure DOCBOOK_TO_MAN="xmlto man --skip-validation"
+- Autotools: Support DOCBOOK_TO_MAN command which produces
+  xmlwf.1 rather than XMLWF.1; also covers case insensitive
+  file systems
+- Autotools: Drop -rpath option passed to libtool
+- Autotools: Detect and deny SGML docbook2man as ours is XML
+- Autotools/CMake: Support command db2x_docbook2man as well
+- CMake: Introduce option WARNINGS_AS_ERRORS, defaults to OFF
+- CMake: Introduce option MSVC_USE_STATIC_CRT, defaults to OFF
+- CMake: Introduce option XML_UNICODE and XML_UNICODE_WCHAR_T,
+  both defaulting to OFF
+- CMake: Prefer check_symbol_exists over check_function_exists
+- CMake: Create the same pkg-config file as with GNU Autotools
+- CMake: Use GNUInstallDirs module to set proper defaults for
+  install directories
+- CMake: Utilize expat_config.h.cmake for XML_DEV_URANDOM
+- Address compiler warnings
+- Fix miscellaneous typos
+
+---

Old:

  expat-2.2.5.tar.bz2

New:

  expat-2.2.6.tar.bz2
  expat-2.2.6.tar.bz2.asc



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.4IiQbe/_old  2018-09-18 11:40:29.916095280 +0200
+++ /var/tmp/diff_new_pack.4IiQbe/_new  2018-09-18 11:40:29.916095280 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2017 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
@@ -17,17 +17,19 @@
 
 
 %global do_profiling 0
-%global unversion 2_2_5
+%global unversion 2_2_6
 Name:   expat
-Version:2.2.5
+Version:2.2.6
 Release:0
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
 Url:http://libexpat.github.io
 Source0:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2
+Source3:
https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.bz2.asc
 Source1:%{name}faq.html
 Source2:baselibs.conf
+BuildRequires:  docbook2x
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
@@ -69,7 +71,6 @@
 %build
 %configure \
   --disable-silent-rules \
-  --without-docbook \
   --docdir="%{_docdir}/%{name}" \
   --disable-static
 %if 0%{?do_profiling}

++ expat-2.2.5.tar.bz2 -> expat-2.2.6.tar.bz2 ++
 4241 lines of diff (skipped)




commit expat for openSUSE:Factory

2017-11-19 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2017-11-19 11:10:58

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


Package is "expat"

Sun Nov 19 11:10:58 2017 rev:53 rq:542219 version:2.2.5

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2017-10-10 
11:40:52.685024781 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2017-11-19 
11:11:09.115910810 +0100
@@ -1,0 +2,104 @@
+Thu Nov 16 10:22:18 UTC 2017 - jeng...@inai.de
+
+- Expand description of expat-devel.
+
+---
+Thu Nov 16 09:04:25 UTC 2017 - mplus...@suse.com
+
+- Do not generate manpages from docbook
+- Temporarily disable profiling due to bug in build system
+
+---
+Wed Nov  8 20:01:31 UTC 2017 - aavind...@gmail.com
+
+- Version update to 2.2.5 Tue October 31 2017
+  * Bug fixes:
+- If the parser runs out of memory, make sure its internal
+  state reflects the memory it actually has, not the memory
+  it wanted to have.
+- The default handler wasn't being called when it should for
+  a SYSTEM or PUBLIC doctype if an entity declaration handler
+  was registered.
+- Fix a case of mistakenly reported parsing success where
+  XML_StopParser was called from an element handler
+- Function XML_ErrorString was returning NULL rather than
+  a message for code XML_ERROR_INVALID_ARGUMENT
+  introduced with release 2.2.1
+  * Other changes:
+- Add argument -N adding notation declarations
+- various compiler-specific fixes
+- Improve docbook2x-man detection
+- drop expat-docbook.patch
+  * fixed in 0f5186c7b8e503c669e332d944712de010b265f3
+- switch to github for release tarballs and website
+
+---
+Thu Oct 26 09:53:50 UTC 2017 - pmonrealgonza...@suse.com
+
+- Version update to 2.2.4 Sat August 19 2017
+  * Bug fixes:
+#115  Fix copying of partial characters for UTF-8 input
+  * Other changes:
+#109  Fix "make check" for non-x86 architectures that default
+to unsigned type char (-128..127 rather than 0..255)
+#109  coverage.sh: Cover -funsigned-char
+Autotools: Introduce --without-xmlwf argument
+ #65  Autotools: Replace handwritten Makefile with GNU Automake
+ #43  CMake: Auto-detect high quality entropy extractors, add new
+option USE_libbsd=ON to use arc4random_buf of libbsd
+ #74  CMake: Add -fno-strict-aliasing only where supported
+#114  CMake: Always honor manually set BUILD_* options
+#114  CMake: Compile man page if docbook2x-man is available, only
+#117  Include file tests/xmltest.log.expected in source tarball
+(required for "make run-xmltest")
+#111  Fix some typos in documentation
+Version info bumped from 7:5:6 to 7:6:6
+
+- Release 2.2.3 Wed August 2 2017
+  *  Bug fixes:
+ #85  Fix a dangling pointer issue related to realloc
+  * Other changes:
+ #91  Linux: Allow getrandom to fail if nonblocking pool has not
+yet been initialized and read /dev/urandom then, instead.
+  This is in line with what recent Python does.
+ #86  Check that a UTF-16 encoding in an XML declaration has the
+right endianness
+#4 #5 #7  Recover correctly when some reallocations fail
+  Repair "./configure && make" for systems without any
+provider of high quality entropy
+and try reading /dev/urandom on those
+  Ensure that user-defined character encodings have converter
+functions when they are needed
+  Fix mis-leading description of argument -c in xmlwf.1
+  Rely on macro HAVE_ARC4RANDOM_BUF (rather than __CloudABI__)
+for CloudABI
+#100  Fix use of SIPHASH_MAIN in siphash.h
+ #23  Test suite: Fix memory leaks
+Version info bumped from 7:4:6 to 7:5:6
+
+- Release 2.2.2 Wed July 12 2017
+  * Security fixes:
+ #43  Protect against compilation without any source of high
+quality entropy enabled, e.g. with CMake build system;
+  * [MOX-006] Fix non-NULL parser parameter validation in XML_Parse;
+resulted in NULL dereference, previously;
+  * Bug fixes:
+ #69  Fix improper use of unsigned long long integer literals
+  * Other changes:
+ #73  Start requiring a C99 compiler
+ #49  Fix "==" Bashism in configure script
+ #58  Address compile warnings
+ #68  Fix "./buildconf.sh && ./configure" for some versions
+of Dash for /bin/sh
+ #72  CMake: Ease use of Expat in context of a parent project
+with multiple CMakeLists.txt files
+

commit expat for openSUSE:Factory

2017-10-10 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2017-10-10 11:40:50

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


Package is "expat"

Tue Oct 10 11:40:50 2017 rev:52 rq:532443 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2017-07-30 
11:23:51.427221229 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2017-10-10 
11:40:52.685024781 +0200
@@ -1,0 +2,5 @@
+Sat Oct  7 14:32:27 UTC 2017 - jay...@gmail.com
+
+- Allow building when do_profiling is undefined
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.tcwwXV/_old  2017-10-10 11:40:53.920970535 +0200
+++ /var/tmp/diff_new_pack.tcwwXV/_new  2017-10-10 11:40:53.928970185 +0200
@@ -69,7 +69,7 @@
 %configure \
   --disable-silent-rules \
   --disable-static
-%if %{do_profiling}
+%if 0%{?do_profiling}
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" 
LDFLAGS="%{optflags} %{cflags_profile_generate}" check
   make clean




commit expat for openSUSE:Factory

2017-07-30 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2017-07-30 11:23:50

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


Package is "expat"

Sun Jul 30 11:23:50 2017 rev:51 rq:509586 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2017-07-11 
08:34:44.700122074 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2017-07-30 
11:23:51.427221229 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 15:02:55 UTC 2017 - mplus...@suse.com
+
+- Build with profiling when possible
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.cV7OR5/_old  2017-07-30 11:23:52.811025964 +0200
+++ /var/tmp/diff_new_pack.cV7OR5/_new  2017-07-30 11:23:52.811025964 +0200
@@ -69,7 +69,14 @@
 %configure \
 --disable-silent-rules \
 --disable-static
-make %{?_smp_mflags}
+%if %{do_profiling}
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" 
LDFLAGS="%{optflags} %{cflags_profile_generate}" check
+  make clean
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
+%else
+  make %{?_smp_mflags} CFLAGS="%{optflags}"
+%endif
 
 %install
 %make_install




commit expat for openSUSE:Factory

2017-07-10 Thread root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2017-07-11 08:34:44

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


Package is "expat"

Tue Jul 11 08:34:44 2017 rev:50 rq:508187 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-11-23 
13:34:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2017-07-11 
08:34:44.700122074 +0200
@@ -1,0 +2,51 @@
+Tue Jul  4 14:33:00 UTC 2017 - meiss...@suse.com
+
+- Version update to 2.2.1 Sat June 17 2017
+  - Security fixes:
+CVE-2017-9233 / bsc#1047236 -- External entity infinite 
loop DoS
+Details: https://libexpat.github.io/doc/cve-2017-9233/
+Commit c4bf96bb51dd2a1b0e185374362ee136fe2c9d7f
+   - [MOX-002]  CVE-2016-9063 / bsc#1047240 -- Detect integer overflow; 
+(Fixed version of existing downstream patches!)
+   - (SF.net) #539  Fix regression from fix to CVE-2016-0718 cutting off
+longer tag names; 
+   #25  More integer overflow detection (function poolGrow); 
+   - [MOX-002]  Detect overflow from len=INT_MAX call to XML_Parse; 
+   - [MOX-005] #30  Use high quality entropy for hash initialization:
+* arc4random_buf on BSD, systems with libbsd
+  (when configured with --with-libbsd), CloudABI
+* RtlGenRandom on Windows XP / Server 2003 and later
+* getrandom on Linux 3.17+
+In a way, that's still part of CVE-2016-5300.
+https://github.com/libexpat/libexpat/pull/30/commits
+   - [MOX-005] For the low quality entropy extraction fallback code,
+   the parser instance address can no longer leak, 
+   - [MOX-003] Prevent use of uninitialised variable; commit
+   - [MOX-004] a4dc944f37b664a3ca7199c624a98ee37babdb4b
+   Add missing parameter validation to public API functions
+   and dedicated error code XML_ERROR_INVALID_ARGUMENT:
+   - [MOX-006] * NULL checks; commits
+   * Negative length (XML_Parse); commit
+   - [MOX-002] 70db8d2538a10f4c022655d6895e4c3e78692e7f
+   - [MOX-001] #35  Change hash algorithm to William Ahern's version of SipHash
+to go further with fixing CVE-2012-0876.
+https://github.com/libexpat/libexpat/pull/39/commits
+   - Bug fixes:
+ #32 Fix sharing of hash salt across parsers;
+ relevant where XML_ExternalEntityParserCreate is called
+ prior to XML_Parse, in particular (e.g. FBReader)
+ #28 xmlwf: Auto-disable use of memory-mapping (and parsing
+ as a single chunk) for files larger than ~1 GB (2^30 bytes)
+ rather than failing with error "out of memory"
+ #3  Fix double free after malloc failure in DTD code; commit
+ 7ae9c3d3af433cd4defe95234eae7dc8ed15637f
+ #17 Fix memory leak on parser error for unbound XML attribute
+ prefix with new namespaces defined in the same tag;
+ found by Google's OSS-Fuzz; commits
+ xmlwf on Windows: Add missing calls to CloseHandle
+   - New features:
+ #30 Introduced environment switch EXPAT_ENTROPY_DEBUG=1
+ for runtime debugging of entropy extraction
+ Bump version info from 7:2:6 to 7:3:6
+
+---

Old:

  expat-2.2.0.tar.bz2

New:

  expat-2.2.1.tar.bz2



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.E7PoMk/_old  2017-07-11 08:34:45.504008659 +0200
+++ /var/tmp/diff_new_pack.E7PoMk/_new  2017-07-11 08:34:45.504008659 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   expat
-Version:2.2.0
+Version:2.2.1
 Release:0
 Summary:XML Parser Toolkit
 License:MIT

++ expat-2.2.0.tar.bz2 -> expat-2.2.1.tar.bz2 ++
 14861 lines of diff (skipped)




commit expat for openSUSE:Factory

2016-11-23 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-11-23 13:34:44

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-08-05 
18:11:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-11-23 
13:34:46.0 +0100
@@ -9,0 +10,2 @@
+  * Fixes bnc#983215 CVE-2012-6702
+  * Fixes bnc#983216 CVE-2016-5300



Other differences:
--



commit expat for openSUSE:Factory

2016-08-05 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-08-05 18:11:22

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-07-18 
21:17:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-08-05 
18:11:24.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 18 23:02:23 UTC 2016 - jeng...@inai.de
+
+- Remove pointless --with-pic (for static only)
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.dWywWw/_old  2016-08-05 18:11:25.0 +0200
+++ /var/tmp/diff_new_pack.dWywWw/_new  2016-08-05 18:11:25.0 +0200
@@ -38,7 +38,7 @@
 
 %package -n libexpat1
 Summary:XML Parser Toolkit
-Group:  Development/Libraries/C and C++
+Group:  System/Libraries
 
 %description -n libexpat1
 Expat is an XML parser library written in C. It is a stream-oriented
@@ -68,8 +68,7 @@
 %build
 %configure \
 --disable-silent-rules \
---disable-static \
---with-pic
+--disable-static
 make %{?_smp_mflags}
 
 %install




commit expat for openSUSE:Factory

2016-07-18 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-07-18 21:17:02

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-07-09 
09:19:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-07-18 
21:17:04.0 +0200
@@ -1,0 +2,12 @@
+Thu Jul 14 08:43:31 UTC 2016 - tchva...@suse.com
+
+- Version update to 2.2.0:
+  * Various cmake and autotools script updates
+  * Fix detection of utf8 character boundaries
+- Remove all patches merged upstream:
+  * expat-2.1.1-avoid_relying_on_undef_behaviour.patch
+  * expat-2.1.1-parser_crashes_on_malformed_input.patch
+  * expat-alloc-size.patch
+  * expat-visibility.patch
+
+---

Old:

  expat-2.1.1-avoid_relying_on_undef_behaviour.patch
  expat-2.1.1-parser_crashes_on_malformed_input.patch
  expat-2.1.1.tar.bz2
  expat-alloc-size.patch
  expat-visibility.patch

New:

  expat-2.2.0.tar.bz2



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.UDpsXQ/_old  2016-07-18 21:17:06.0 +0200
+++ /var/tmp/diff_new_pack.UDpsXQ/_new  2016-07-18 21:17:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   expat
-Version:2.1.1
+Version:2.2.0
 Release:0
 Summary:XML Parser Toolkit
 License:MIT
@@ -26,17 +26,9 @@
 Source0:
http://downloads.sourceforge.net/project/expat/expat/%{version}/expat-%{version}.tar.bz2
 Source1:%{name}faq.html
 Source2:baselibs.conf
-Patch1: expat-visibility.patch
-Patch2: expat-alloc-size.patch
-# PATCH-FIX-UPSTREAM bnc#980391 CVE-2015-1283 kstreit...@suse.com -- Avoid 
relying on undefined behavior in CVE-2015-1283 fix
-Patch3: expat-2.1.1-avoid_relying_on_undef_behaviour.patch
-# PATCH-FIX-UPSTREAM bnc#979441 CVE-2016-0718 kstreit...@suse.com -- XML 
parser crashes on malformed input
-Patch4: expat-2.1.1-parser_crashes_on_malformed_input.patch
-BuildRequires:  autoconf >= 2.58
-BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -69,26 +61,20 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 cp %{SOURCE1} .
 rm -f examples/*.dsp
 
 %build
-export CFLAGS="%{optflags} -fvisibility=hidden"
-%configure --disable-static \
+%configure \
+--disable-silent-rules \
+--disable-static \
--with-pic
 make %{?_smp_mflags}
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
-rm doc/xmlwf.1
-
-# remove .la file
-rm -f %{buildroot}%{_libdir}/libexpat.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %check
 make %{?_smp_mflags} check

++ expat-2.1.1.tar.bz2 -> expat-2.2.0.tar.bz2 ++
 29006 lines of diff (skipped)




commit expat for openSUSE:Factory

2016-07-09 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-07-09 09:18:54

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-05-26 
23:52:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-07-09 
09:19:04.0 +0200
@@ -5,2 +5,2 @@
-  relying on undefined behavior in CVE-2015-1283 fix [bnc#980391],
-  [CVE-2015-1283]
+  relying on undefined behavior in the original CVE-2015-1283 fix
+  [bnc#980391], [bnc#983985], [CVE-2016-4472]



Other differences:
--



commit expat for openSUSE:Factory

2016-05-26 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-05-26 23:52:32

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-04-11 
10:27:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-05-26 
23:52:33.0 +0200
@@ -1,0 +2,11 @@
+Wed May 18 11:43:51 UTC 2016 - kstreit...@suse.com
+
+- add expat-2.1.1-avoid_relying_on_undef_behaviour.patch to avoid
+  relying on undefined behavior in CVE-2015-1283 fix [bnc#980391],
+  [CVE-2015-1283]
+- add expat-2.1.1-parser_crashes_on_malformed_input.patch to fix
+  Expat XML parser that mishandles certain kinds of malformed input
+  documents [bnc#979441], [CVE-2016-0718] 
+- use spec-cleaner to clean specfile
+
+---

New:

  expat-2.1.1-avoid_relying_on_undef_behaviour.patch
  expat-2.1.1-parser_crashes_on_malformed_input.patch



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.efPYXJ/_old  2016-05-26 23:52:34.0 +0200
+++ /var/tmp/diff_new_pack.efPYXJ/_new  2016-05-26 23:52:34.0 +0200
@@ -28,6 +28,10 @@
 Source2:baselibs.conf
 Patch1: expat-visibility.patch
 Patch2: expat-alloc-size.patch
+# PATCH-FIX-UPSTREAM bnc#980391 CVE-2015-1283 kstreit...@suse.com -- Avoid 
relying on undefined behavior in CVE-2015-1283 fix
+Patch3: expat-2.1.1-avoid_relying_on_undef_behaviour.patch
+# PATCH-FIX-UPSTREAM bnc#979441 CVE-2016-0718 kstreit...@suse.com -- XML 
parser crashes on malformed input
+Patch4: expat-2.1.1-parser_crashes_on_malformed_input.patch
 BuildRequires:  autoconf >= 2.58
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -67,18 +71,20 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 cp %{SOURCE1} .
 rm -f examples/*.dsp
 
 %build
-export CFLAGS="%optflags -fvisibility=hidden"
+export CFLAGS="%{optflags} -fvisibility=hidden"
 %configure --disable-static \
--with-pic
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
 rm doc/xmlwf.1
 
 # remove .la file
@@ -88,7 +94,6 @@
 make %{?_smp_mflags} check
 
 %post -n libexpat1 -p /sbin/ldconfig
-
 %postun -n libexpat1 -p /sbin/ldconfig
 
 %files

++ expat-2.1.1-avoid_relying_on_undef_behaviour.patch ++
>From 29a11774d8ebbafe8418b4a5ffb4cc1160b194a1 Mon Sep 17 00:00:00 2001
From: Pascal Cuoq 
Date: Sun, 15 May 2016 09:05:46 +0200
Subject: [PATCH] Avoid relying on undefined behavior in CVE-2015-1283 fix. It
 does not really work: https://godbolt.org/g/Zl8gdF

---
 expat/lib/xmlparse.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: expat-2.1.1/lib/xmlparse.c
===
--- expat-2.1.1.orig/lib/xmlparse.c
+++ expat-2.1.1/lib/xmlparse.c
@@ -1693,7 +1693,8 @@ XML_GetBuffer(XML_Parser parser, int len
   }
 
   if (len > bufferLim - bufferEnd) {
-int neededSize = len + (int)(bufferEnd - bufferPtr);
+/* Do not invoke signed arithmetic overflow: */
+int neededSize = (int) ((unsigned)len + (unsigned)(bufferEnd - bufferPtr));
 if (neededSize < 0) {
   errorCode = XML_ERROR_NO_MEMORY;
   return NULL;
@@ -1725,7 +1726,8 @@ XML_GetBuffer(XML_Parser parser, int len
   if (bufferSize == 0)
 bufferSize = INIT_BUFFER_SIZE;
   do {
-bufferSize *= 2;
+/* Do not invoke signed arithmetic overflow: */
+bufferSize = (int) (2U * (unsigned) bufferSize);
   } while (bufferSize < neededSize && bufferSize > 0);
   if (bufferSize <= 0) {
 errorCode = XML_ERROR_NO_MEMORY;
++ expat-2.1.1-parser_crashes_on_malformed_input.patch ++
 752 lines (skipped)




commit expat for openSUSE:Factory

2016-04-11 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-04-11 10:27:21

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2016-03-31 
13:01:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-04-11 
10:27:22.0 +0200
@@ -1,0 +2,9 @@
+Fri Apr  1 16:32:27 UTC 2016 - crrodrig...@opensuse.org
+
+- After simplification of expat-visibility.patch, it became
+  uneffective as no symbols are getting hidden. add
+  -fvisibility=hidden to CFLAGS again.
+- expat-alloc-size.patch: fix braino, realloc()-like functions
+  should not take __attribute__(malloc)
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.WquuHT/_old  2016-04-11 10:27:22.0 +0200
+++ /var/tmp/diff_new_pack.WquuHT/_new  2016-04-11 10:27:22.0 +0200
@@ -72,6 +72,7 @@
 rm -f examples/*.dsp
 
 %build
+export CFLAGS="%optflags -fvisibility=hidden"
 %configure --disable-static \
--with-pic
 make %{?_smp_mflags}

++ expat-alloc-size.patch ++
--- /var/tmp/diff_new_pack.WquuHT/_old  2016-04-11 10:27:22.0 +0200
+++ /var/tmp/diff_new_pack.WquuHT/_new  2016-04-11 10:27:22.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- expat-2.1.1.orig/lib/expat.h
 +++ expat-2.1.1/lib/expat.h
-@@ -973,9 +973,13 @@ XML_FreeContentModel(XML_Parser parser,
+@@ -973,9 +973,12 @@ XML_FreeContentModel(XML_Parser parser,
  
  /* Exposing the memory handling functions used in Expat */
  XMLPARSEAPI(void *)
@@ -11,7 +11,6 @@
  XML_MemMalloc(XML_Parser parser, size_t size);
  
  XMLPARSEAPI(void *)
-+XML_ATTR_MALLOC
 +XML_ATTR_ALLOC_SIZE(3)
  XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
  




commit expat for openSUSE:Factory

2016-03-31 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2016-03-31 13:01:48

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2015-07-21 
13:24:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2016-03-31 
13:01:50.0 +0200
@@ -1,0 +2,14 @@
+Wed Mar 23 08:31:29 UTC 2016 - idon...@suse.com
+
+- Update to version 2.1.1
+  * Fixes CVE-2015-1283 — Multiple integer overflows in the
+XML_GetBuffer function
+  * Fix potential null pointer dereference
+  * Symbol XML_SetHashSalt was not exported
+  * Output of xmlwf -h was incomplete
+  * Document behavior of calling XML_SetHashSalt with salt 0
+  * Minor improvements to man page xmlwf(1)
+- Simplify expat-visibility.patch, refresh expat-alloc-size.patch
+- Drop config-guess-sub-update.patch, fixed upstream.
+
+---

Old:

  config-guess-sub-update.patch
  expat-2.1.0.tar.gz

New:

  expat-2.1.1.tar.bz2



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.mM1BVQ/_old  2016-03-31 13:01:52.0 +0200
+++ /var/tmp/diff_new_pack.mM1BVQ/_new  2016-03-31 13:01:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -17,18 +17,17 @@
 
 
 Name:   expat
-Version:2.1.0
+Version:2.1.1
 Release:0
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
 Url:http://expat.sourceforge.net/
-Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
+Source0:
http://downloads.sourceforge.net/project/expat/expat/%{version}/expat-%{version}.tar.bz2
 Source1:%{name}faq.html
 Source2:baselibs.conf
-Patch2: expat-visibility.patch
-Patch3: expat-alloc-size.patch
-Patch4: config-guess-sub-update.patch
+Patch1: expat-visibility.patch
+Patch2: expat-alloc-size.patch
 BuildRequires:  autoconf >= 2.58
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -65,21 +64,22 @@
 in libexpat.
 
 %prep
-%setup -q -n expat-2.1.0
+%setup -q
+%patch1 -p1
 %patch2 -p1
-%patch3
-%patch4
+
 cp %{SOURCE1} .
 rm -f examples/*.dsp
 
 %build
-autoreconf -fi
-%configure --disable-static --with-pic
+%configure --disable-static \
+   --with-pic
 make %{?_smp_mflags}
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 rm doc/xmlwf.1
+
 # remove .la file
 rm -f %{buildroot}%{_libdir}/libexpat.la
 

++ expat-2.1.0.tar.gz -> expat-2.1.1.tar.bz2 ++
 13668 lines of diff (skipped)

++ expat-alloc-size.patch ++
--- /var/tmp/diff_new_pack.mM1BVQ/_old  2016-03-31 13:01:52.0 +0200
+++ /var/tmp/diff_new_pack.mM1BVQ/_new  2016-03-31 13:01:52.0 +0200
@@ -1,6 +1,8 @@
 lib/expat.h.orig
-+++ lib/expat.h
-@@ -941,9 +941,13 @@ XML_FreeContentModel(XML_Parser parser,
+Index: expat-2.1.1/lib/expat.h
+===
+--- expat-2.1.1.orig/lib/expat.h
 expat-2.1.1/lib/expat.h
+@@ -973,9 +973,13 @@ XML_FreeContentModel(XML_Parser parser,
  
  /* Exposing the memory handling functions used in Expat */
  XMLPARSEAPI(void *)
@@ -14,10 +16,12 @@
  XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
  
  XMLPARSEAPI(void)
 lib/expat_external.h.orig
-+++ lib/expat_external.h
-@@ -74,6 +74,17 @@
- #define XMLIMPORT
+Index: expat-2.1.1/lib/expat_external.h
+===
+--- expat-2.1.1.orig/lib/expat_external.h
 expat-2.1.1/lib/expat_external.h
+@@ -70,6 +70,17 @@
+ #define XMLIMPORT  __attribute__ ((visibility ("default")))
  #endif
  
 +#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 
96))

++ expat-visibility.patch ++
--- /var/tmp/diff_new_pack.mM1BVQ/_old  2016-03-31 13:01:52.0 +0200
+++ /var/tmp/diff_new_pack.mM1BVQ/_new  2016-03-31 13:01:52.0 +0200
@@ -1,141 +1,15 @@
-Index: expat-2.1.0/configure.in
+Index: expat-2.1.1/lib/expat_external.h
 ===
 expat-2.1.0.orig/configure.in
-+++ expat-2.1.0/configure.in
-@@ -53,15 +53,19 @@ AC_CONFIG_HEADER(expat_config.h)
- 
- sinclude(conftools/ac_c_bigen

commit expat for openSUSE:Factory

2015-07-21 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2015-07-21 13:24:45

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


Package is "expat"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-03-26 
15:54:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2015-07-21 
13:24:47.0 +0200
@@ -1,0 +2,6 @@
+Sat Jul 11 12:10:03 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Remove old ppc obsoletes/provides
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.3Yil1e/_old  2015-07-21 13:24:47.0 +0200
+++ /var/tmp/diff_new_pack.3Yil1e/_new  2015-07-21 13:24:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -19,26 +19,22 @@
 Name:   expat
 Version:2.1.0
 Release:0
-Url:http://expat.sourceforge.net/
-# bug437293
-%ifarch ppc64
-Obsoletes:  expat-64bit
-%endif
-#
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
+Url:http://expat.sourceforge.net/
 Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}faq.html
 Source2:baselibs.conf
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
 Patch4: config-guess-sub-update.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf >= 2.58
+BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Expat is an XML parser library written in C. It is a stream-oriented
@@ -48,11 +44,6 @@
 %package -n libexpat1
 Summary:XML Parser Toolkit
 Group:  Development/Libraries/C and C++
-# bug437293
-%ifarch ppc64
-Obsoletes:  expat-64bit
-%endif
-#
 
 %description -n libexpat1
 Expat is an XML parser library written in C. It is a stream-oriented
@@ -78,7 +69,7 @@
 %patch2 -p1
 %patch3
 %patch4
-cp %{S:1} .
+cp %{SOURCE1} .
 rm -f examples/*.dsp
 
 %build
@@ -87,13 +78,13 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 rm doc/xmlwf.1
 # remove .la file
 rm -f %{buildroot}%{_libdir}/libexpat.la
 
 %check
-make check
+make %{?_smp_mflags} check
 
 %post -n libexpat1 -p /sbin/ldconfig
 
@@ -103,7 +94,7 @@
 %defattr(-, root, root)
 %doc COPYING Changes README examples expatfaq.html
 %doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %{_bindir}/xmlwf
 
 %files -n libexpat1




commit expat for openSUSE:Factory

2013-03-26 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-03-26 15:54:19

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-02-22 
16:49:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-03-26 
15:54:20.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 26 13:10:01 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---

Old:

  expat-2.1.0.tar.bz2

New:

  expat-2.1.0.tar.gz



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.wPOT6x/_old  2013-03-26 15:54:23.0 +0100
+++ /var/tmp/diff_new_pack.wPOT6x/_new  2013-03-26 15:54:23.0 +0100
@@ -28,7 +28,7 @@
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
-Source0:%{name}-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}faq.html
 Source2:baselibs.conf
 Patch2: expat-visibility.patch

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



commit expat for openSUSE:Factory

2013-02-22 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-02-22 16:49:26

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-02-05 
15:41:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-02-22 
16:49:27.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 21 16:02:17 UTC 2013 - jeng...@inai.de
+
+- Sanitize description of expat (replace it with a more current
+  one from the homepage)
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.3zV1Nz/_old  2013-02-22 16:49:29.0 +0100
+++ /var/tmp/diff_new_pack.3zV1Nz/_new  2013-02-22 16:49:29.0 +0100
@@ -41,27 +41,9 @@
 BuildRequires:  pkg-config
 
 %description
-Expat is an XML 1.0 parser written in C. It aims to be fully
-conformant. It is currently not a validating XML processor. The current
-production version of expat can be downloaded from
-ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
-low-level library for tokenizing XML. The interface is documented in
-xmltok/xmltok.h. The directory xmlparse contains an XML parser library
-that is built on top of the xmltok library. The interface is documented
-in xmlparse/xmlparse.h. The directory sample contains a simple example
-program using this interface. The file sample/build.bat is a batch
-file to build the example using Visual C++. The directory xmlwf
-contains the xmlwf application, which uses the xmlparse library. The
-arguments to xmlwf are one or more files to check for well-formedness.
-An option -d dir can be specified. For each well-formed input file, the
-corresponding canonical XML is written to dir/f, where f is the
-filename (without any path) of the input file. A -x option causes
-references to external general entities to be processed. A -s option
-makes documents that are not stand-alone cause an error (a document is
-considered stand-alone if it is intrinsically stand-alone because it
-has no external subset and no references to parameter entities in the
-internal subset or it is declared as stand-alone in the XML
-declaration).
+Expat is an XML parser library written in C. It is a stream-oriented
+parser in which an application registers handlers for things the
+parser might find in the XML document (like start tags).
 
 %package -n libexpat1
 Summary:XML Parser Toolkit
@@ -73,27 +55,9 @@
 #
 
 %description -n libexpat1
-Expat is an XML 1.0 parser written in C. It aims to be fully
-conformant. It is currently not a validating XML processor. The current
-production version of expat can be downloaded from
-ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
-low-level library for tokenizing XML. The interface is documented in
-xmltok/xmltok.h. The directory xmlparse contains an XML parser library
-that is built on top of the xmltok library. The interface is documented
-in xmlparse/xmlparse.h. The directory sample contains a simple example
-program using this interface. The file sample/build.bat is a batch
-file to build the example using Visual C++. The directory xmlwf
-contains the xmlwf application, which uses the xmlparse library. The
-arguments to xmlwf are one or more files to check for well-formedness.
-An option -d dir can be specified. For each well-formed input file, the
-corresponding canonical XML is written to dir/f, where f is the
-filename (without any path) of the input file. A -x option causes
-references to external general entities to be processed. A -s option
-makes documents that are not stand-alone cause an error (a document is
-considered stand-alone if it is intrinsically stand-alone because it
-has no external subset and no references to parameter entities in the
-internal subset or it is declared as stand-alone in the XML
-declaration).
+Expat is an XML parser library written in C. It is a stream-oriented
+parser in which an application registers handlers for things the
+parser might find in the XML document (like start tags).
 
 %package -n libexpat-devel
 Summary:XML Parser Toolkit
@@ -102,27 +66,12 @@
 Requires:   libexpat1 = %{version}
 
 %description -n libexpat-devel
-Expat is an XML 1.0 parser written in C. It aims to be fully
-conformant. It is currently not a validating XML processor. The current
-production version of expat can be downloaded from
-ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
-low-level library for tokenizing XML. The interface is documented in
-xmltok/xmltok.h. Th

commit expat for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-02-05 15:41:56

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-01-24 
16:03:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-02-05 
15:41:57.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb  4 12:59:44 UTC 2013 - sch...@suse.de
+
+- Update config.guess/sub for aarch64
+
+---

New:

  config-guess-sub-update.patch



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.h4ofpA/_old  2013-02-05 15:41:59.0 +0100
+++ /var/tmp/diff_new_pack.h4ofpA/_new  2013-02-05 15:41:59.0 +0100
@@ -33,6 +33,7 @@
 Source2:baselibs.conf
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
+Patch4: config-guess-sub-update.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf >= 2.58
 BuildRequires:  gcc-c++
@@ -127,6 +128,7 @@
 %setup -q -n expat-2.1.0
 %patch2 -p1
 %patch3
+%patch4
 cp %{S:1} .
 rm -f examples/*.dsp
 

++ config-guess-sub-update.patch ++
 608 lines (skipped)

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



commit expat for openSUSE:Factory

2013-01-24 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-01-24 16:03:01

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-01-22 
18:17:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-01-24 
16:03:02.0 +0100
@@ -1,0 +2,12 @@
+Wed Jan 23 09:07:25 UTC 2013 - pgaj...@suse.com
+
+- fix of fix of [bnc#798644]
+- according to upstream changelog:
+   - Improved ability to build without the configure-generated
+  expat_config.h header.  This is useful for applications
+  which embed Expat rather than linking in the library.
+
+  because I am not exactly sure about implication of this, rather use 
+  -DXML_HAVE_VISIBILITY in CFLAG_VISIBILITY in expat-visibility.patch
+
+---



Other differences:
--
++ expat-visibility.patch ++
--- /var/tmp/diff_new_pack.5w9HVD/_old  2013-01-24 16:03:04.0 +0100
+++ /var/tmp/diff_new_pack.5w9HVD/_new  2013-01-24 16:03:04.0 +0100
@@ -98,7 +98,7 @@
 +  CFLAGS="$gl_save_CFLAGS"])
 +AC_MSG_RESULT([$gl_cv_cc_visibility])
 +if test $gl_cv_cc_visibility = yes; then
-+  CFLAG_VISIBILITY="-fvisibility=hidden"
++  CFLAG_VISIBILITY="-fvisibility=hidden -DXML_HAVE_VISIBILITY=1"
 +  HAVE_VISIBILITY=1
 +fi
 +  fi
@@ -111,12 +111,11 @@
 ===
 --- expat-2.1.0.orig/lib/expat_external.h
 +++ expat-2.1.0/lib/expat_external.h
-@@ -65,6 +65,10 @@
+@@ -65,6 +65,9 @@
  #endif
  #endif  /* not defined XML_STATIC */
  
-+#include "../expat_config.h"
-+#if HAVE_VISIBILITY
++#if XML_HAVE_VISIBILITY
 +#define XMLIMPORT __attribute__ ((visibility ("default")))
 +#endif
  

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



commit expat for openSUSE:Factory

2013-01-22 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-01-22 18:17:46

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2013-01-21 
17:37:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-01-22 
18:17:48.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan 22 12:40:02 UTC 2013 - jeng...@inai.de
+
+- Executing autoreconf requires autoconf BuildRequire
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.hdRl9t/_old  2013-01-22 18:17:49.0 +0100
+++ /var/tmp/diff_new_pack.hdRl9t/_new  2013-01-22 18:17:49.0 +0100
@@ -34,6 +34,7 @@
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf >= 2.58
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config

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



commit expat for openSUSE:Factory

2013-01-21 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2013-01-21 17:37:08

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2012-04-12 
09:22:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2013-01-21 
17:37:09.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan 18 08:53:33 UTC 2013 - pgaj...@suse.com
+
+- really hide private Xml* symbols [bnc#798644]
+  * modified visibility.patch
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.sYRoTg/_old  2013-01-21 17:37:11.0 +0100
+++ /var/tmp/diff_new_pack.sYRoTg/_new  2013-01-21 17:37:11.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# 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

++ expat-visibility.patch ++
--- /var/tmp/diff_new_pack.sYRoTg/_old  2013-01-21 17:37:11.0 +0100
+++ /var/tmp/diff_new_pack.sYRoTg/_new  2013-01-21 17:37:11.0 +0100
@@ -1,7 +1,8 @@
-diff -aurN expat-2.1.0.orig/configure.in expat-2.1.0/configure.in
 expat-2.1.0.orig/configure.in  2012-03-03 18:45:53.0 -0500
-+++ expat-2.1.0/configure.in   2012-03-05 21:40:43.578897695 -0500
-@@ -53,15 +53,19 @@
+Index: expat-2.1.0/configure.in
+===
+--- expat-2.1.0.orig/configure.in
 expat-2.1.0/configure.in
+@@ -53,15 +53,19 @@ AC_CONFIG_HEADER(expat_config.h)
  
  sinclude(conftools/ac_c_bigendian_cross.m4)
  
@@ -24,9 +25,10 @@
  AC_PROG_CXX
  AC_PROG_INSTALL
  
-diff -aurN expat-2.1.0.orig/conftools/visibility.m4 
expat-2.1.0/conftools/visibility.m4
 expat-2.1.0.orig/conftools/visibility.m4   1969-12-31 19:00:00.0 
-0500
-+++ expat-2.1.0/conftools/visibility.m42012-03-05 21:41:48.625084505 
-0500
+Index: expat-2.1.0/conftools/visibility.m4
+===
+--- /dev/null
 expat-2.1.0/conftools/visibility.m4
 @@ -0,0 +1,77 @@
 +# visibility.m4 serial 4 (gettext-0.18.2)
 +dnl Copyright (C) 2005, 2008, 2010-2011 Free Software Foundation, Inc.
@@ -105,23 +107,26 @@
 +  AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
 +[Define to 1 or 0, depending whether the compiler supports simple 
visibility declarations.])
 +])
-diff -aurN expat-2.1.0.orig/lib/expat_external.h 
expat-2.1.0/lib/expat_external.h
 expat-2.1.0.orig/lib/expat_external.h  2006-06-02 08:17:36.0 
-0400
-+++ expat-2.1.0/lib/expat_external.h   2012-03-05 21:36:49.429824958 -0500
-@@ -65,6 +65,9 @@
+Index: expat-2.1.0/lib/expat_external.h
+===
+--- expat-2.1.0.orig/lib/expat_external.h
 expat-2.1.0/lib/expat_external.h
+@@ -65,6 +65,10 @@
  #endif
  #endif  /* not defined XML_STATIC */
  
-+#if HAVE_VISIBILTY
++#include "../expat_config.h"
++#if HAVE_VISIBILITY
 +#define XMLIMPORT __attribute__ ((visibility ("default")))
 +#endif
  
  /* If we didn't define it above, define it away: */
  #ifndef XMLIMPORT
-diff -aurN expat-2.1.0.orig/Makefile.in expat-2.1.0/Makefile.in
 expat-2.1.0.orig/Makefile.in   2012-03-03 13:35:27.0 -0500
-+++ expat-2.1.0/Makefile.in2012-03-05 21:35:09.923068964 -0500
-@@ -114,11 +114,12 @@
+Index: expat-2.1.0/Makefile.in
+===
+--- expat-2.1.0.orig/Makefile.in
 expat-2.1.0/Makefile.in
+@@ -114,11 +114,12 @@ CPPFLAGS = @CPPFLAGS@ -DHAVE_EXPAT_CONFI
  CFLAGS = @CFLAGS@
  CXXFLAGS = @CXXFLAGS@
  VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
@@ -131,7 +136,7 @@
  LTFLAGS = --silent
  
 -COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS)
-+COMPILE = $(CC) $(CLFAG_VISIBILITY) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS)
++COMPILE = $(CC) $(CFLAG_VISIBILITY) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS)
  CXXCOMPILE = $(CXX) $(INCLUDES) $(CXXFLAGS) $(DEFS) $(CPPFLAGS)
  LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE)
  LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined 
$(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@

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



commit expat for openSUSE:Factory

2012-03-07 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2012-03-07 20:08:58

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


Package is "expat", Maintainer is "vdziewie...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2012-02-15 
16:15:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2012-03-07 
20:09:00.0 +0100
@@ -1,0 +2,13 @@
+Tue Mar  6 03:01:08 UTC 2012 - tabra...@novell.com
+
+- update to 2.1.0 beta
+  * refreshed expat-visibility.patch
+  * removed obsolete expat-CVE-2009-3560.patch
+  * removed obsolete expat-CVE-2009-2625.patch
+
+  - hash table DOS attack fix
+  - accumulated bug fixes and some changes to the build system
+  - new conditional feature to make byte offsets for attributes
+and attribute names available
+
+---

Old:

  expat-2.0.1.tar.bz2
  expat-CVE-2009-2625.patch
  expat-CVE-2009-3560.patch

New:

  expat-2.1.0-beta.tar.bz2



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.nHY3ax/_old  2012-03-07 20:09:01.0 +0100
+++ /var/tmp/diff_new_pack.nHY3ax/_new  2012-03-07 20:09:01.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   expat
-Version:2.0.1
+Version:2.1.0beta
 Release:0
 Url:http://expat.sourceforge.net/
 # bug437293
@@ -28,16 +28,16 @@
 Summary:XML Parser Toolkit
 License:MIT
 Group:  Development/Libraries/C and C++
-Source0:%{name}-%{version}.tar.bz2
+#Source0:%{name}-%{version}.tar.bz2
+Source0:expat-2.1.0-beta.tar.bz2
 Source1:%{name}faq.html
 Source2:baselibs.conf
-Patch0: %{name}-CVE-2009-2625.patch
-Patch1: %{name}-CVE-2009-3560.patch
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
+BuildRequires:  pkg-config
 
 %description
 Expat is an XML 1.0 parser written in C. It aims to be fully
@@ -97,7 +97,8 @@
 %package -n libexpat-devel
 Summary:XML Parser Toolkit
 Group:  Development/Libraries/C and C++
-Requires:   libexpat1 = %{version} glibc-devel
+Requires:   glibc-devel
+Requires:   libexpat1 = %{version}
 
 %description -n libexpat-devel
 Expat is an XML 1.0 parser written in C. It aims to be fully
@@ -123,16 +124,14 @@
 declaration).
 
 %prep
-%setup -q
-%patch0
-%patch1
-%patch2
+%setup -q -n expat-2.1.0
+%patch2 -p1
 %patch3
 cp %{S:1} .
 rm -f examples/*.dsp
 
 %build
-autoreconf
+autoreconf -fi
 %configure --disable-static --with-pic
 make %{?_smp_mflags}
 
@@ -164,5 +163,6 @@
 %defattr(-, root, root)
 %{_includedir}/*
 %{_libdir}/libexpat.so
+%{_libdir}/pkgconfig/expat.pc
 
 %changelog

++ expat-visibility.patch ++
--- /var/tmp/diff_new_pack.nHY3ax/_old  2012-03-07 20:09:01.0 +0100
+++ /var/tmp/diff_new_pack.nHY3ax/_new  2012-03-07 20:09:01.0 +0100
@@ -1,5 +1,32 @@
 /dev/null
-+++ conftools/visibility.m4
+diff -aurN expat-2.1.0.orig/configure.in expat-2.1.0/configure.in
+--- expat-2.1.0.orig/configure.in  2012-03-03 18:45:53.0 -0500
 expat-2.1.0/configure.in   2012-03-05 21:40:43.578897695 -0500
+@@ -53,15 +53,19 @@
+ 
+ sinclude(conftools/ac_c_bigendian_cross.m4)
+ 
+-AC_LIBTOOL_WIN32_DLL
+-AC_PROG_LIBTOOL
++sinclude(conftools/visibility.m4)
+ 
+ AC_SUBST(LIBCURRENT)
+ AC_SUBST(LIBREVISION)
+ AC_SUBST(LIBAGE)
+ 
+ dnl Checks for programs.
+-AC_PROG_CC
++AC_PROG_CC_STDC
++AC_USE_SYSTEM_EXTENSIONS
++AC_SYS_LARGEFILE
++gl_VISIBILITY
++AC_LIBTOOL_WIN32_DLL
++AC_PROG_LIBTOOL
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+ 
+diff -aurN expat-2.1.0.orig/conftools/visibility.m4 
expat-2.1.0/conftools/visibility.m4
+--- expat-2.1.0.orig/conftools/visibility.m4   1969-12-31 19:00:00.0 
-0500
 expat-2.1.0/conftools/visibility.m42012-03-05 21:41:48.625084505 
-0500
 @@ -0,0 +1,77 @@
 +# visibility.m4 serial 4 (gettext-0.18.2)
 +dnl Copyright (C) 2005, 2008, 2010-2011 Free Software Foundation, Inc.
@@ -78,58 +105,33 @@
 +  AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
 +[Define to 1 or 0, depending whether the compiler supports simple 
visibility declarations.])
 +])
 configure.in.orig
-+++ configure.in
-@@ -52,17 +52,20 @@ AC_CONFIG_HEADER(expat_config.h)
- 
- sinclude(conftools/libtool.m4)
- sinclude(conftools/ac_c_bigendian_cross.m4)
--
--AC_LIBTOOL_WIN32_DLL
--AC_PROG_LIBTOOL
-+sinclude(conftools/visibility.m4)
- 
- AC_SUBST(LIBCURRENT)
- AC_SUBST(LIBREVISION)
- AC_SUBST(LIBAGE)
- 
- dnl Checks for programs.
--AC_PR

commit expat for openSUSE:Factory

2012-02-15 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2012-02-15 16:14:37

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


Package is "expat", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2011-12-02 
16:25:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2012-02-15 
16:15:45.0 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:42:34 UTC 2012 - crrodrig...@opensuse.org
+
+- Put libraries back to %{_libdir}, /usr merge project 
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.UnoClo/_old  2012-02-15 16:15:46.0 +0100
+++ /var/tmp/diff_new_pack.UnoClo/_new  2012-02-15 16:15:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package expat
 #
-# 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
@@ -15,11 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   expat
 Version:2.0.1
 Release:0
-Group:  Development/Libraries/C and C++
-License:MIT
 Url:http://expat.sourceforge.net/
 # bug437293
 %ifarch ppc64
@@ -27,6 +26,8 @@
 %endif
 #
 Summary:XML Parser Toolkit
+License:MIT
+Group:  Development/Libraries/C and C++
 Source0:%{name}-%{version}.tar.bz2
 Source1:%{name}faq.html
 Source2:baselibs.conf
@@ -35,8 +36,8 @@
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  automake
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 
 %description
 Expat is an XML 1.0 parser written in C. It aims to be fully
@@ -63,6 +64,7 @@
 
 %package -n libexpat1
 Summary:XML Parser Toolkit
+Group:  Development/Libraries/C and C++
 # bug437293
 %ifarch ppc64
 Obsoletes:  expat-64bit
@@ -94,6 +96,7 @@
 
 %package -n libexpat-devel
 Summary:XML Parser Toolkit
+Group:  Development/Libraries/C and C++
 Requires:   libexpat1 = %{version} glibc-devel
 
 %description -n libexpat-devel
@@ -130,19 +133,14 @@
 
 %build
 autoreconf
-%configure --disable-static --with-pic --libdir=/%{_lib}
+%configure --disable-static --with-pic
 make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
 rm doc/xmlwf.1
-mkdir -p $RPM_BUILD_ROOT%{_libdir}
-# move .so symlink to /usr
-%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/lib%{name}.so) 
%{buildroot}%{_libdir}/lib%{name}.so
-%{__rm} -v %{buildroot}/%{_lib}/lib%{name}.so
 # remove .la file
-rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
-nm -C -D %{buildroot}/%{_lib}/libexpat.so.1 | wc -l
+rm -f %{buildroot}%{_libdir}/libexpat.la
 
 %check
 make check
@@ -160,7 +158,7 @@
 
 %files -n libexpat1
 %defattr(-, root, root)
-/%{_lib}/libexpat.so.*
+%{_libdir}/libexpat.so.*
 
 %files -n libexpat-devel
 %defattr(-, root, root)

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



commit expat for openSUSE:Factory

2011-12-02 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2011-12-02 16:25:41

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


Package is "expat", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2011-11-02 
11:51:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2011-12-02 
16:25:43.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec  2 12:43:19 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.TfKXeD/_old  2011-12-02 16:25:44.0 +0100
+++ /var/tmp/diff_new_pack.TfKXeD/_new  2011-12-02 16:25:44.0 +0100
@@ -15,11 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   expat
 Version:2.0.1
-Release:105
+Release:0
 Group:  Development/Libraries/C and C++
 License:MIT
 Url:http://expat.sourceforge.net/
@@ -37,6 +35,7 @@
 Patch2: expat-visibility.patch
 Patch3: expat-alloc-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  automake
 BuildRequires:  gcc-c++
 
 %description
@@ -63,9 +62,7 @@
 declaration).
 
 %package -n libexpat1
-License:MIT
 Summary:XML Parser Toolkit
-Group:  Development/Libraries/C and C++
 # bug437293
 %ifarch ppc64
 Obsoletes:  expat-64bit
@@ -96,9 +93,7 @@
 declaration).
 
 %package -n libexpat-devel
-License:MIT
 Summary:XML Parser Toolkit
-Group:  Development/Libraries/C and C++
 Requires:   libexpat1 = %{version} glibc-devel
 
 %description -n libexpat-devel

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



commit expat for openSUSE:Factory

2011-11-02 Thread h_root
Hello community,

here is the log from the commit of package expat for openSUSE:Factory checked 
in at 2011-11-02 11:51:45

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


Package is "expat", Maintainer is "pu...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/expat/expat.changes  2011-09-23 
01:57:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.expat.new/expat.changes 2011-11-02 
11:51:46.0 +0100
@@ -1,0 +2,7 @@
+Sun Oct 30 22:03:29 UTC 2011 - crrodrig...@opensuse.org
+
+- Hide non public symbols reusing existing win32 API export/imports
+- annotate malloc/realloc-like functions with attribute alloc_size
+  to catch possible misuses in calling code.
+
+---

New:

  expat-alloc-size.patch
  expat-visibility.patch



Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.cQRt6A/_old  2011-11-02 11:51:47.0 +0100
+++ /var/tmp/diff_new_pack.cQRt6A/_new  2011-11-02 11:51:47.0 +0100
@@ -34,6 +34,8 @@
 Source2:baselibs.conf
 Patch0: %{name}-CVE-2009-2625.patch
 Patch1: %{name}-CVE-2009-3560.patch
+Patch2: expat-visibility.patch
+Patch3: expat-alloc-size.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 
@@ -126,10 +128,13 @@
 %setup -q
 %patch0
 %patch1
+%patch2
+%patch3
 cp %{S:1} .
 rm -f examples/*.dsp
 
 %build
+autoreconf
 %configure --disable-static --with-pic --libdir=/%{_lib}
 make %{?_smp_mflags}
 
@@ -142,6 +147,7 @@
 %{__rm} -v %{buildroot}/%{_lib}/lib%{name}.so
 # remove .la file
 rm -f $RPM_BUILD_ROOT/%{_lib}/libexpat.la
+nm -C -D %{buildroot}/%{_lib}/libexpat.so.1 | wc -l
 
 %check
 make check

++ expat-alloc-size.patch ++
--- lib/expat.h.orig
+++ lib/expat.h
@@ -941,9 +941,13 @@ XML_FreeContentModel(XML_Parser parser,
 
 /* Exposing the memory handling functions used in Expat */
 XMLPARSEAPI(void *)
+XML_ATTR_MALLOC
+XML_ATTR_ALLOC_SIZE(2)
 XML_MemMalloc(XML_Parser parser, size_t size);
 
 XMLPARSEAPI(void *)
+XML_ATTR_MALLOC
+XML_ATTR_ALLOC_SIZE(3)
 XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
 
 XMLPARSEAPI(void)
--- lib/expat_external.h.orig
+++ lib/expat_external.h
@@ -74,6 +74,17 @@
 #define XMLIMPORT
 #endif
 
+#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 
96))
+#define XML_ATTR_MALLOC __attribute__((__malloc__))
+#else
+#define XML_ATTR_MALLOC
+#endif
+
+#if defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ 
>= 3))
+#define XML_ATTR_ALLOC_SIZE(x)  __attribute__((__alloc_size__(x)))
+#else
+#define XML_ATTR_ALLOC_SIZE(x)
+#endif
 
 #define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
 
++ expat-visibility.patch ++
--- /dev/null
+++ conftools/visibility.m4
@@ -0,0 +1,77 @@
+# visibility.m4 serial 4 (gettext-0.18.2)
+dnl Copyright (C) 2005, 2008, 2010-2011 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl Tests whether the compiler supports the command-line option
+dnl -fvisibility=hidden and the function and variable attributes
+dnl __attribute__((__visibility__("hidden"))) and
+dnl __attribute__((__visibility__("default"))).
+dnl Does *not* test for __visibility__("protected") - which has tricky
+dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
+dnl MacOS X.
+dnl Does *not* test for __visibility__("internal") - which has processor
+dnl dependent semantics.
+dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
+dnl "really only recommended for legacy code".
+dnl Set the variable CFLAG_VISIBILITY.
+dnl Defines and sets the variable HAVE_VISIBILITY.
+
+AC_DEFUN([gl_VISIBILITY],
+[
+  AC_REQUIRE([AC_PROG_CC])
+  CFLAG_VISIBILITY=
+  HAVE_VISIBILITY=0
+  if test -n "$GCC"; then
+dnl First, check whether -Werror can be added to the command line, or
+dnl whether it leads to an error because of some other option that the
+dnl user has put into $CC $CFLAGS $CPPFLAGS.
+AC_MSG_CHECKING([whether the -Werror option is usable])
+AC_CACHE_VAL([gl_cv_cc_vis_werror], [
+  gl_save_CFLAGS="$CFLAGS"
+  CFLAGS="$CFLAGS -Werror"
+  AC_COMPILE_IFELSE(
+[AC_LANG_PROGRAM([[]], [[]])],
+[gl_cv_cc_vis_werror=yes],
+[gl_cv_cc_vis_werror=no])
+  CFLAGS="$gl_save_CFLAGS"])
+AC_MSG_RESULT([$gl_cv_cc_vis_werror])
+dnl Now check whether visibility declarations are supported.
+AC_MSG_CHECKING([for simple visibility declarations])
+AC_C

commit expat for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package expat for openSUSE:Factory
checked in at Mon Sep 19 16:52:46 CEST 2011.




--- expat/expat.changes 2011-02-25 17:07:11.0 +0100
+++ /mounts/work_src_done/STABLE/expat/expat.changes2011-09-19 
01:05:03.0 +0200
@@ -1,0 +2,8 @@
+Sun Sep 18 17:17:12 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/obsolete tags/sections from specfile
+  (cf. packaging guidelines)
+- Use %_smp_mflags for parallel build
+- Add libexpat-devel to baselibs
+
+---

calling whatdependson for head-i586




Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.jNT1AW/_old  2011-09-19 16:52:40.0 +0200
+++ /var/tmp/diff_new_pack.jNT1AW/_new  2011-09-19 16:52:40.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   expat
@@ -61,12 +60,6 @@
 internal subset or it is declared as stand-alone in the XML
 declaration).
 
-
-
-Authors:
-
-James Clark 
-
 %package -n libexpat1
 License:MIT
 Summary:XML Parser Toolkit
@@ -100,12 +93,6 @@
 internal subset or it is declared as stand-alone in the XML
 declaration).
 
-
-
-Authors:
-
-James Clark 
-
 %package -n libexpat-devel
 License:MIT
 Summary:XML Parser Toolkit
@@ -135,12 +122,6 @@
 internal subset or it is declared as stand-alone in the XML
 declaration).
 
-
-
-Authors:
-
-James Clark 
-
 %prep
 %setup -q
 %patch0
@@ -150,7 +131,7 @@
 
 %build
 %configure --disable-static --with-pic --libdir=/%{_lib}
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -165,9 +146,6 @@
 %check
 make check
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -n libexpat1 -p /sbin/ldconfig
 
 %postun -n libexpat1 -p /sbin/ldconfig

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.jNT1AW/_old  2011-09-19 16:52:40.0 +0200
+++ /var/tmp/diff_new_pack.jNT1AW/_new  2011-09-19 16:52:40.0 +0200
@@ -2,3 +2,6 @@
 libexpat1
   obsoletes "expat-"
   provides  "expat-"
+libexpat-devel
+  requires -libexpat-
+  requires "libexpat1- = "






Remember to have fun...

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



commit expat for openSUSE:Factory

2011-06-06 Thread h_root

Hello community,

here is the log from the commit of package expat for openSUSE:Factory
checked in at Mon Jun 6 09:47:50 CEST 2011.





calling whatdependson for head-i586




Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.0NIG85/_old  2011-06-06 09:42:32.0 +0200
+++ /var/tmp/diff_new_pack.0NIG85/_new  2011-06-06 09:42:32.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   expat
 Version:2.0.1
-Release:104
+Release:105
 Group:  Development/Libraries/C and C++
 License:MIT
 Url:http://expat.sourceforge.net/
@@ -47,7 +47,7 @@
 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
 that is built on top of the xmltok library. The interface is documented
 in xmlparse/xmlparse.h. The directory sample contains a simple example
-program using this interface. The directory sample/build.bat is a batch
+program using this interface. The file sample/build.bat is a batch
 file to build the example using Visual C++. The directory xmlwf
 contains the xmlwf application, which uses the xmlparse library. The
 arguments to xmlwf are one or more files to check for well-formedness.
@@ -86,7 +86,7 @@
 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
 that is built on top of the xmltok library. The interface is documented
 in xmlparse/xmlparse.h. The directory sample contains a simple example
-program using this interface. The directory sample/build.bat is a batch
+program using this interface. The file sample/build.bat is a batch
 file to build the example using Visual C++. The directory xmlwf
 contains the xmlwf application, which uses the xmlparse library. The
 arguments to xmlwf are one or more files to check for well-formedness.
@@ -121,7 +121,7 @@
 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
 that is built on top of the xmltok library. The interface is documented
 in xmlparse/xmlparse.h. The directory sample contains a simple example
-program using this interface. The directory sample/build.bat is a batch
+program using this interface. The file sample/build.bat is a batch
 file to build the example using Visual C++. The directory xmlwf
 contains the xmlwf application, which uses the xmlparse library. The
 arguments to xmlwf are one or more files to check for well-formedness.






Remember to have fun...

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



commit expat for openSUSE:Factory

2011-03-22 Thread h_root

Hello community,

here is the log from the commit of package expat for openSUSE:Factory
checked in at Tue Mar 22 17:49:58 CET 2011.




--- expat/expat.changes 2010-01-08 15:07:45.0 +0100
+++ /mounts/work_src_done/STABLE/expat/expat.changes2011-02-25 
17:07:11.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb 25 16:01:01 UTC 2011 - prus...@opensuse.org
+
+- fix license (MIT) in spec file
+
+---

calling whatdependson for head-i586




Other differences:
--
++ expat.spec ++
--- /var/tmp/diff_new_pack.MJDxk1/_old  2011-03-22 17:49:41.0 +0100
+++ /var/tmp/diff_new_pack.MJDxk1/_new  2011-03-22 17:49:41.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package expat (Version 2.0.1)
+# spec file for package expat
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -20,9 +20,9 @@
 
 Name:   expat
 Version:2.0.1
-Release:93
+Release:104
 Group:  Development/Libraries/C and C++
-License:MIT License (or similar)
+License:MIT
 Url:http://expat.sourceforge.net/
 # bug437293
 %ifarch ppc64
@@ -68,7 +68,7 @@
 James Clark 
 
 %package -n libexpat1
-License:MPL ..
+License:MIT
 Summary:XML Parser Toolkit
 Group:  Development/Libraries/C and C++
 # bug437293
@@ -107,7 +107,7 @@
 James Clark 
 
 %package -n libexpat-devel
-License:MPL ..
+License:MIT
 Summary:XML Parser Toolkit
 Group:  Development/Libraries/C and C++
 Requires:   libexpat1 = %{version} glibc-devel






Remember to have fun...

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