From: Anders Kaseorg Date: Sun, 15 Sep 2019 02:39:39 +0000 (-0700) Subject: Update upstream source from tag 'upstream/0.2.2' X-Git-Tag: debian/0.2.2-1~4 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/aa6f0e8a0a8257181e428c8af720d98e964f69d9?hp=5070705b069f4732344021baa7d4baf3c7ac04e3 Update upstream source from tag 'upstream/0.2.2' Update to upstream version '0.2.2' with Debian dir 4bca580a951b17b7a547225d81523624e3dca78b --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..29a220e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,141 @@ +libyaml (0.2.1-1) unstable; urgency=medium + + * New upstream version 0.2.1. + + Moved canonical repo to GitHub. (Closes: #865709) + * Bump Standards-Version to 4.1.4 and debian/compat to 11. + + Moved documentation in libyaml-doc from /usr/share/doc/libyaml-doc + to /usr/share/doc/libyaml-dev. + + -- Anders Kaseorg Tue, 26 Jun 2018 20:25:08 -0400 + +libyaml (0.1.7-2) unstable; urgency=medium + + * Clean doxygen-generated documentation with dh_doxygen. + * Mark libyaml-doc Multi-Arch: foreign. + * Add libyaml-0-2.symbols file. + + -- Anders Kaseorg Fri, 30 Sep 2016 22:06:09 -0400 + +libyaml (0.1.7-1) unstable; urgency=medium + + * New upstream version 0.1.7. + + Fix segfault in yaml_string_write_handler. + + Fix invalid simple key assertion. + * Drop upstreamed patches. + * Migrate packaging from CDBS to dh. + * Drop libyaml-0-2-dbg in favor of automatically generated + libyaml-0-2-dbgsym package. + + -- Anders Kaseorg Sat, 03 Sep 2016 06:48:38 -0400 + +libyaml (0.1.6-3) unstable; urgency=high + + * debian/patches/CVE-2014-9130.patch: Fix CVE-2014-9130 assertion + failure caused by wrapped strings. (Closes: #771366) + * Bump Standards-Version to 3.9.6 (no changes needed). + + -- Anders Kaseorg Fri, 28 Nov 2014 22:05:10 -0500 + +libyaml (0.1.6-2) unstable; urgency=medium + + * Move doxygen from Build-Depends to Build-Depends-Indep. + + -- Anders Kaseorg Tue, 19 Aug 2014 21:56:25 -0400 + +libyaml (0.1.6-1) unstable; urgency=medium + + * New upstream version 0.1.6. + + Fix CVE-2013-6393: heap-based buffer overflow when parsing YAML + tags. + + Fix CVE-2014-2525: heap-based buffer overflow in + yaml_parser_scan_uri_escapes. + * Drop upstreamed patches. + * Run tests at build time. + * Bump Standards-Version to 3.9.5 (no changes needed). + * Use dh-autoreconf. (Closes: #745078) + * Use dh-buildinfo. + * Add libyaml-doc package for Doxygen-generated API documentation and + examples. (Closes: #696821) + * Acknowledge NMUs. + + -- Anders Kaseorg Tue, 19 Aug 2014 00:03:53 -0400 + +libyaml (0.1.4-3.2) unstable; urgency=high + + * Non-maintainer upload by the Security Team. + * Add CVE-2014-2525.patch patch. + CVE-2014-2525: Fixes heap overflow in yaml_parser_scan_uri_escapes. + The heap overflow is caused by not properly expanding a string before + writing to it in function yaml_parser_scan_uri_escapes in scanner.c. + (Closes: #742732) + + -- Salvatore Bonaccorso Thu, 27 Mar 2014 06:22:25 +0100 + +libyaml (0.1.4-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Drop libyaml-indent-column-overflow-v2.patch patch. + This patch causes additional regressions on simple YAML files. + * Add libyaml-guard-against-overflows-in-indent-and-flow_level.patch patch. + Add upstream's patch to guard against overflows in indent and + flow_level. (Closes: #738587) + + -- Salvatore Bonaccorso Thu, 13 Feb 2014 07:51:58 +0100 + +libyaml (0.1.4-3) unstable; urgency=high + + * Fix CVE-2013-6393: heap-based buffer overflow when parsing YAML tags. + (Closes: #737076) + + -- Anders Kaseorg Wed, 29 Jan 2014 20:11:48 -0500 + +libyaml (0.1.4-2) unstable; urgency=low + + * Remove extra libyaml-0.so symlink from libyaml-dev. + * Bump Debhelper compat level to 9. + * Support multiarch. (Closes: #653748) (LP: #905630) + * Use 3.0 (quilt) source format. + + -- Anders Kaseorg Fri, 30 Dec 2011 17:14:52 -0500 + +libyaml (0.1.4-1) unstable; urgency=low + + * New upstream version 0.1.4. + + Fixed a bug that prevented an empty mapping being used as a simple + key. + + Fixed pointer overflow when calculating the position of a potential + simple key. + + Added pkg-config support. (Closes: #537834) + * Remove unneded libyaml.la file. (Closes: #622452) + * Add libyaml-0-2-dbg package with debugging symbols. + (Closes: #592747) + * Bumped standards version to 3.9.2 without further change + + -- Anders Kaseorg Mon, 30 May 2011 22:27:27 -0400 + +libyaml (0.1.3-1) unstable; urgency=low + + * New upstream version 0.1.3. + + This release fixes non-standard structure initialization and a + streaming-related issue. + * Bump priority from extra to optional. + + -- Anders Kaseorg Sun, 04 Oct 2009 14:07:18 -0400 + +libyaml (0.1.2-1) unstable; urgency=low + + * New upstream version 0.1.2. + + Fixed grammar in error messages (from YAML::XS::LibYAML). + + Rewritten whitespace detection in the scalar analyzer and block + scalar writers (ported from PyYAML). + + Fixed emitting folded scalars with trailing breaks; Forced emitting + of a document end indicator when there is a possibility of ambiguous + parsing. + + -- Anders Kaseorg Mon, 29 Dec 2008 21:10:48 -0500 + +libyaml (0.1.1-1) unstable; urgency=low + + * Initial release (Closes: #484381). + + -- Anders Kaseorg Tue, 10 Jun 2008 02:37:34 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1b4a358 --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: libyaml +Section: libs +Priority: optional +Maintainer: Anders Kaseorg +Build-Depends: debhelper (>= 11), + dh-buildinfo (>= 0.9+nmu1~) +Build-Depends-Indep: doxygen (>= 1.8.4-1~) +Standards-Version: 4.1.4 +Homepage: https://github.com/yaml/libyaml +Vcs-Git: git://andersk.mit.edu/libyaml.git +Vcs-Browser: http://andersk.mit.edu/gitweb/libyaml.git + +Package: libyaml-0-2 +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Description: Fast YAML 1.1 parser and emitter library + LibYAML is a C library for parsing and emitting data in YAML 1.1, a + human-readable data serialization format. + +Package: libyaml-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, libyaml-0-2 (= ${binary:Version}) +Suggests: libyaml-doc +Description: Fast YAML 1.1 parser and emitter library (development) + LibYAML is a C library for parsing and emitting data in YAML 1.1, a + human-readable data serialization format. + . + This package contains development headers and static libraries. + +Package: libyaml-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends} +Description: Fast YAML 1.1 parser and emitter library (documentation) + LibYAML is a C library for parsing and emitting data in YAML 1.1, a + human-readable data serialization format. + . + This package contains API documentation for developers in HTML + format, and some example programs from the LibYAML distribution. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c08b1fb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: LibYAML +Upstream-Contact: Kirill Simonov +Source: https://github.com/yaml/libyaml + +Files: * +Copyright: 2006, Kirill Simonov +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + “Software”), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +Files: debian/* +Copyright: 2008, Anders Kaseorg +License: permissive + Copying and distribution of this package, with or without + modification, are permitted in any medium without royalty + provided the copyright notice and this notice are + preserved. diff --git a/debian/libyaml-0-2.install b/debian/libyaml-0-2.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/libyaml-0-2.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/libyaml-0-2.symbols b/debian/libyaml-0-2.symbols new file mode 100644 index 0000000..189f912 --- /dev/null +++ b/debian/libyaml-0-2.symbols @@ -0,0 +1,59 @@ +libyaml-0.so.2 libyaml-0-2 #MINVER# + yaml_alias_event_initialize@Base 0 + yaml_document_add_mapping@Base 0 + yaml_document_add_scalar@Base 0 + yaml_document_add_sequence@Base 0 + yaml_document_append_mapping_pair@Base 0 + yaml_document_append_sequence_item@Base 0 + yaml_document_delete@Base 0 + yaml_document_end_event_initialize@Base 0 + yaml_document_get_node@Base 0 + yaml_document_get_root_node@Base 0 + yaml_document_initialize@Base 0 + yaml_document_start_event_initialize@Base 0 + yaml_emitter_close@Base 0 + yaml_emitter_delete@Base 0 + yaml_emitter_dump@Base 0 + yaml_emitter_emit@Base 0 + yaml_emitter_flush@Base 0 + yaml_emitter_initialize@Base 0 + yaml_emitter_open@Base 0 + yaml_emitter_set_break@Base 0 + yaml_emitter_set_canonical@Base 0 + yaml_emitter_set_encoding@Base 0 + yaml_emitter_set_indent@Base 0 + yaml_emitter_set_output@Base 0 + yaml_emitter_set_output_file@Base 0 + yaml_emitter_set_output_string@Base 0 + yaml_emitter_set_unicode@Base 0 + yaml_emitter_set_width@Base 0 + yaml_event_delete@Base 0 + yaml_free@Base 0 + yaml_get_version@Base 0 + yaml_get_version_string@Base 0 + yaml_malloc@Base 0 + yaml_mapping_end_event_initialize@Base 0 + yaml_mapping_start_event_initialize@Base 0 + yaml_parser_delete@Base 0 + yaml_parser_fetch_more_tokens@Base 0 + yaml_parser_initialize@Base 0 + yaml_parser_load@Base 0 + yaml_parser_parse@Base 0 + yaml_parser_scan@Base 0 + yaml_parser_set_encoding@Base 0 + yaml_parser_set_input@Base 0 + yaml_parser_set_input_file@Base 0 + yaml_parser_set_input_string@Base 0 + yaml_parser_update_buffer@Base 0 + yaml_queue_extend@Base 0 + yaml_realloc@Base 0 + yaml_scalar_event_initialize@Base 0 + yaml_sequence_end_event_initialize@Base 0 + yaml_sequence_start_event_initialize@Base 0 + yaml_stack_extend@Base 0 + yaml_strdup@Base 0 + yaml_stream_end_event_initialize@Base 0 + yaml_stream_start_event_initialize@Base 0 + yaml_string_extend@Base 0 + yaml_string_join@Base 0 + yaml_token_delete@Base 0 diff --git a/debian/libyaml-dev.install b/debian/libyaml-dev.install new file mode 100644 index 0000000..b0e6bc4 --- /dev/null +++ b/debian/libyaml-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/*.a +usr/lib/*/*.so +usr/lib/*/pkgconfig/* diff --git a/debian/libyaml-doc.doc-base b/debian/libyaml-doc.doc-base new file mode 100644 index 0000000..9c56a17 --- /dev/null +++ b/debian/libyaml-doc.doc-base @@ -0,0 +1,9 @@ +Document: libyaml +Title: LibYAML API documentation +Author: Kirill Simonov +Abstract: Doxygen-generated API documentation for LibYAML. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libyaml-dev/html/index.html +Files: /usr/share/doc/libyaml-dev/html/*.html diff --git a/debian/libyaml-doc.docs b/debian/libyaml-doc.docs new file mode 100644 index 0000000..595a664 --- /dev/null +++ b/debian/libyaml-doc.docs @@ -0,0 +1,3 @@ +doc/html/ +tests/example-*.c +tests/run-*.c diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c79ab93 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build-indep: + $(MAKE) html + +override_dh_installdocs-indep: + dh_installdocs -i + dh_doxygen -plibyaml-doc + +override_dh_strip: + dh_strip -plibyaml-0-2 --dbgsym-migration='libyaml-0-2-dbg (<< 0.1.7-1~)' + dh_strip --remaining diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..f7b2428 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="filenamemangle=s/.+\/dist-(\d\S*)\.tar\.gz/libyaml-$1\.tar\.gz/" \ + https://github.com/yaml/libyaml/releases .*/dist-(\d\S*)\.tar\.gz