commit json-c.2735 for openSUSE:13.1:Update
Hello community, here is the log from the commit of package json-c.2735 for openSUSE:13.1:Update checked in at 2014-04-22 15:16:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1:Update/json-c.2735 (Old) and /work/SRC/openSUSE:13.1:Update/.json-c.2735.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "json-c.2735" Changes: -------- New Changes file: --- /dev/null 2014-04-17 09:46:44.096034755 +0200 +++ /work/SRC/openSUSE:13.1:Update/.json-c.2735.new/json-c.changes 2014-04-22 15:16:19.000000000 +0200 @@ -0,0 +1,103 @@ +------------------------------------------------------------------- +Wed Apr 9 09:54:51 UTC 2014 - idonmez@suse.com + +- Add json-c-hash-dos-and-overflow-random-seed-4e.patch to fix + CVE-2013-6370 and CVE-2013-6371 (bnc#870147) + +------------------------------------------------------------------- +Sun Mar 10 08:38:30 UTC 2013 - coolo@suse.com + +- add json-c-fix-headers.patch from master branch to fix compilation + of apps using the lib + +------------------------------------------------------------------- +Thu Mar 7 09:43:30 UTC 2013 - bruno@ioda-net.ch + +- Update to 0.10 version : + * Add a json_object_to_json_string_ext() function to allow output + to be formatted in a more human readable form. + * Add json_object_object_get_ex(), a NULL-safe get object method, + to be able to distinguish between a key not present and the value + being NULL. + * Add an alternative iterator implementation, see json_object_iterator.h + * Make json_object_iter public to enable external use of the + json_object_object_foreachC macro. + * Add a printbuf_memset() function to provide an effecient way to set and + append things like whitespace indentation. + * Adjust json_object_is_type and json_object_get_type so they return + json_type_null for NULL objects and handle NULL passed to + json_objct_object_get(). + * Rename boolean type to json_bool. + * Fix various compile issues for Visual Studio and MinGW. + * Allow json_tokener_parse_ex() to be re-used to parse multiple object. + Also, fix some parsing issues with capitalized hexadecimal numbers and + number in E notation. + * Add json_tokener_get_error() and json_tokener_error_desc() to better + encapsulate the process of retrieving errors while parsing. + * Various improvements to the documentation of many functions. + * Add new json_object_array_sort() function. + * Fix a bug in json_object_get_int(), which would incorrectly return 0 + when called on a string type object. + Eric Haszlakiewicz + * Add a json_type_to_name() function. + Eric Haszlakiewicz + * Add a json_tokener_parse_verbose() function. + Jehiah Czebotar + * Improve support for null bytes within JSON strings. + Jehiah Czebotar + * Fix file descriptor leak if memory allocation fails in json_util + Zachary Blair, zack_blair at hotmail dot com + * Add int64 support. Two new functions json_object_net_int64 and + json_object_get_int64. Binary compatibility preserved. + Eric Haszlakiewicz, EHASZLA at transunion com + Rui Miguel Silva Seabra, rms at 1407 dot org + * Fix subtle bug in linkhash where lookup could hang after all slots + were filled then successively freed. + Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com + * Make json_object_from_file take const char *filename + Spotted by Vikram Raj V, vsagar at attinteractive dot com + * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am) + Brent Miller, bdmiller at yahoo dash inc dot com + * Correction to comment describing printbuf_memappend in printbuf.h + Brent Miller, bdmiller at yahoo dash inc dot com + +- Packaging : + * upgrade upstream location https://gitub.com/json-c/json-c/wiki + * cleanup old patches included now upstream + . json-c-0.9-linkhash.patch + . json-c-0.9-json_tokener.patch + . json-c-0.9-json_object_from_file.patch + . json-c-0.9-base.patch + * Redone lfs patch against new 0.10 release + * Removed empty NEWS file + +------------------------------------------------------------------- +Sun Apr 22 00:34:03 UTC 2012 - crrodriguez@opensuse.org + +- Fix LFS support in x86. +- Do not build with -Werror +- Remove "la" files +- tune up autotools scripts as well ensure config.h is included + everywhere + +------------------------------------------------------------------- +Sun Nov 13 13:50:27 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +------------------------------------------------------------------- +Sun Nov 13 09:11:46 UTC 2011 - coolo@suse.com + +- add libtool as explicit buildrequire to avoid implicit dependency from prjconf + +------------------------------------------------------------------- +Mon Aug 29 08:01:40 UTC 2011 - coolo@novell.com + +- add baselibs.conf for pulseaudio to use +- use original sources + +------------------------------------------------------------------- +Thu Nov 4 17:22:27 UTC 2010 - chris@computersalat.de + +- initial pkg 0.9 + New: ---- baselibs.conf json-c-0.10.tar.gz json-c-fix-headers.patch json-c-hash-dos-and-overflow-random-seed-4e.patch json-c-lfs.patch json-c.changes json-c.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ json-c.spec ++++++ # # spec file for package json-c # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libjson %define libsoname %{libname}0 Name: json-c Summary: JSON implementation in C License: MIT Group: System/Libraries Version: 0.10 Release: 0 Url: https://gitub.com/%{name}/%{name}/wiki Source0: https://github.com/downloads/json-c/json-c/%{name}-%{version}.tar.gz Source1: baselibs.conf #Redone 0.10 patches Patch0: %{name}-lfs.patch # taken from master Patch1: %{name}-fix-headers.patch Patch2: %{name}-hash-dos-and-overflow-random-seed-4e.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool BuildRequires: pkg-config %description JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects. %package -n %{libsoname} Summary: JSON shared lib Group: System/Libraries %description -n %{libsoname} This package includes the JSON library. %package -n %{libname}-devel Summary: Development headers and libraries for json-c Group: Development/Libraries/C and C++ Requires: %{libsoname} = %{version} %description -n %{libname}-devel This package includes header files and scripts needed for developers using the json-c library %package -n %{libname}-doc Summary: Documentation files Group: Documentation/Other %if 0%{suse_version} >= 1120 BuildArch: noarch %endif %description -n %{libname}-doc This package includes alls docs %prep %setup -q -n %{name}-%{version} # Redone patches %patch0 -p1 %patch1 -p1 %patch2 -p1 %build autoreconf -fiv %configure --disable-static --with-pic %{__make} %{?_smp_mflags} %check %{__make} %{?_smp_mflags} check rm -rf %{buildroot}%{_libdir}/*.la %install %makeinstall DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} %post -n %{libsoname} -p /sbin/ldconfig %postun -n %{libsoname} -p /sbin/ldconfig %files -n %{libsoname} %defattr(-,root,root) %{_libdir}/%{libname}.so.* %files -n %{libname}-devel %defattr(-,root,root) %{_libdir}/%{libname}.so %{_includedir}/json %{_libdir}/pkgconfig/*.pc %files -n %{libname}-doc %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README README.html doc %changelog ++++++ baselibs.conf ++++++ libjson0 ++++++ json-c-fix-headers.patch ++++++ Index: json-c-0.10/Makefile.am =================================================================== --- json-c-0.10.orig/Makefile.am +++ json-c-0.10/Makefile.am @@ -17,6 +17,7 @@ libjsoninclude_HEADERS = \ json_config.h \ json_inttypes.h \ json_object.h \ + json_object_iterator.h \ json_object_private.h \ json_tokener.h \ json_util.h \ ++++++ json-c-hash-dos-and-overflow-random-seed-4e.patch ++++++ ++++ 859 lines (skipped) ++++++ json-c-lfs.patch ++++++ diff --git a/Makefile.am.inc b/Makefile.am.inc index b1ebce8..5886498 100644 --- a/Makefile.am.inc +++ b/Makefile.am.inc @@ -1,2 +1,2 @@ -AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT +AM_CFLAGS = -Wall -Wwrite-strings -D_REENTRANT diff --git a/configure.in b/configure.in index bcb9027..eadf4f9 100644 --- a/configure.in +++ b/configure.in @@ -1,14 +1,17 @@ AC_PREREQ(2.52) # Process this file with autoconf to produce a configure script. -AC_INIT([json-c], 0.10, [json-c@googlegroups.com]) +AC_INIT([json-c], [0.10], [json-c@googlegroups.com]) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AC_PROG_MAKE_SET # Checks for programs. - +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE + # Checks for libraries. # Checks for header files. diff --git a/linkhash.c b/linkhash.c index ddedc12..7f9426d 100644 --- a/linkhash.c +++ b/linkhash.c @@ -17,6 +17,7 @@ #include <stddef.h> #include <limits.h> +#include "config.h" #include "linkhash.h" void lh_abort(const char *msg, ...) diff --git a/tests/test1.c b/tests/test1.c index 9802eb1..71582c8 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -1,3 +1,4 @@ +#include "config.h" #include <stdio.h> #include <stdlib.h> #include <stddef.h> diff --git a/tests/test2.c b/tests/test2.c index 4a6b660..73afb5b 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -1,3 +1,4 @@ +#include "config.h" #include <stdio.h> #include <stdlib.h> #include <stddef.h> diff --git a/tests/test_printbuf.c b/tests/test_printbuf.c index ee3f80d..c704e22 100644 --- a/tests/test_printbuf.c +++ b/tests/test_printbuf.c @@ -1,3 +1,4 @@ +#include "config.h" #include <assert.h> #include <stddef.h> #include <stdio.h> -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de