forked from pool/expat
Accepting request 536855 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Version update to 2.2.4 Sat Auguest 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 OBS-URL: https://build.opensuse.org/request/show/536855 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=63
This commit is contained in:
parent
061786605d
commit
e9c48cc853
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1868cadae4c82a018e361e2b2091de103cd820aaacb0d6cfa49bd2cd83978885
|
|
||||||
size 405441
|
|
3
expat-2.2.4.tar.bz2
Normal file
3
expat-2.2.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:03ad85db965f8ab2d27328abcf0bc5571af6ec0a414874b2066ee3fdd372019e
|
||||||
|
size 505038
|
13
expat-docbook.patch
Normal file
13
expat-docbook.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: expat-2.2.4/doc/doc.mk
|
||||||
|
===================================================================
|
||||||
|
--- expat-2.2.4.orig/doc/doc.mk
|
||||||
|
+++ expat-2.2.4/doc/doc.mk
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
# Copyright (C) Sebastian Pipping <sebastian@pipping.org>
|
||||||
|
# Licensed under MIT/X License
|
||||||
|
|
||||||
|
-DOCBOOK_TO_MAN = docbook2x-man
|
||||||
|
+DOCBOOK_TO_MAN = docbook-to-man
|
||||||
|
|
||||||
|
srcdir = .
|
||||||
|
|
@ -1,3 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 26 09:53:50 UTC 2017 - pmonrealgonzalez@suse.com
|
||||||
|
|
||||||
|
- Version update to 2.2.4 Sat Auguest 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
|
||||||
|
#72 CMake: Resolve mistaken executable permissions
|
||||||
|
#76 Address compile warning with -DNDEBUG (not recommended!)
|
||||||
|
#77 Address compile warning about macro redefinition
|
||||||
|
|
||||||
|
* Added patch expat-docbook.patch to compile the man pages with
|
||||||
|
docbook-to-man
|
||||||
|
|
||||||
|
* Cleaned spec file with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 7 14:32:27 UTC 2017 - jayvdb@gmail.com
|
Sat Oct 7 14:32:27 UTC 2017 - jayvdb@gmail.com
|
||||||
|
|
||||||
|
20
expat.spec
20
expat.spec
@ -17,19 +17,20 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: expat
|
Name: expat
|
||||||
Version: 2.2.1
|
Version: 2.2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: XML Parser Toolkit
|
Summary: XML Parser Toolkit
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://expat.sourceforge.net/
|
Url: http://www.libexpat.org
|
||||||
Source0: http://downloads.sourceforge.net/project/expat/expat/%{version}/expat-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/project/expat/expat/%{version}/expat-%{version}.tar.bz2
|
||||||
Source1: %{name}faq.html
|
Source1: %{name}faq.html
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Patch0: expat-docbook.patch
|
||||||
|
BuildRequires: docbook2x
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Expat is an XML parser library written in C. It is a stream-oriented
|
Expat is an XML parser library written in C. It is a stream-oriented
|
||||||
@ -61,6 +62,7 @@ in libexpat.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
rm -f examples/*.dsp
|
rm -f examples/*.dsp
|
||||||
@ -68,11 +70,12 @@ rm -f examples/*.dsp
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
|
--docdir="%{_docdir}/%{name}" \
|
||||||
--disable-static
|
--disable-static
|
||||||
%if 0%{?do_profiling}
|
%if 0%{?do_profiling}
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||||
make clean
|
make %{?_smp_mflags} clean
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
@ -89,18 +92,19 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n libexpat1 -p /sbin/ldconfig
|
%postun -n libexpat1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%{_docdir}/%{name}
|
||||||
%doc COPYING Changes README examples expatfaq.html
|
%doc COPYING README.md expatfaq.html
|
||||||
%doc doc/expat.png doc/reference.html doc/style.css doc/valid-xhtml10.png
|
%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?/*
|
%{_mandir}/man?/*
|
||||||
%{_bindir}/xmlwf
|
%{_bindir}/xmlwf
|
||||||
|
|
||||||
%files -n libexpat1
|
%files -n libexpat1
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/libexpat.so.*
|
%{_libdir}/libexpat.so.*
|
||||||
|
|
||||||
%files -n libexpat-devel
|
%files -n libexpat-devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libexpat.so
|
%{_libdir}/libexpat.so
|
||||||
%{_libdir}/pkgconfig/expat.pc
|
%{_libdir}/pkgconfig/expat.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user