yaml-cpp.git
23 months agoMerge version 0.8.0+dfsg-3+rpi1 and 0.8.0+dfsg-6 to produce 0.8.0+dfsg-6+rpi1 archive/raspbian/0.8.0+dfsg-6+rpi1 raspbian/0.8.0+dfsg-6+rpi1
Raspbian automatic forward porter [Sun, 24 Dec 2023 14:48:41 +0000 (14:48 +0000)]
Merge version 0.8.0+dfsg-3+rpi1 and 0.8.0+dfsg-6 to produce 0.8.0+dfsg-6+rpi1

2 years agoMerge yaml-cpp (0.8.0+dfsg-6) import into refs/heads/workingbranch
Gianfranco Costamagna [Mon, 23 Oct 2023 15:58:47 +0000 (17:58 +0200)]
Merge yaml-cpp (0.8.0+dfsg-6) import into refs/heads/workingbranch

2 years ago[PATCH] Fix testsuite with gcc-13
Gianfranco Costamagna [Sat, 19 Aug 2023 17:47:44 +0000 (19:47 +0200)]
[PATCH] Fix testsuite with gcc-13

cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
/<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
/<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
   11 |   std::string input{-58, -1, -99, 109};
      |                                      ^

Gbp-Pq: Name 1216.patch

2 years ago[PATCH] Update cmakelists to use system googletest if available.
Gianfranco Costamagna [Sat, 14 Oct 2023 07:23:02 +0000 (09:23 +0200)]
[PATCH] Update cmakelists to use system googletest if available.

There is no need to use the embedded gtest code copy in Linux systems, if they already provide the googletest framework system-wide.
Search for it, and fallback to the embedded one if the system one is not detected.

This patch has been also contributed by Simon Quigley <tsimonq2@debian.org>

Gbp-Pq: Name 1035.patch

2 years agoyaml-cpp (0.8.0+dfsg-6) unstable; urgency=medium
Gianfranco Costamagna [Mon, 23 Oct 2023 15:58:47 +0000 (17:58 +0200)]
yaml-cpp (0.8.0+dfsg-6) unstable; urgency=medium

  * Fix hurd build

[dgit import unpatched yaml-cpp 0.8.0+dfsg-6]

2 years agoImport yaml-cpp_0.8.0+dfsg-6.debian.tar.xz
Gianfranco Costamagna [Mon, 23 Oct 2023 15:58:47 +0000 (17:58 +0200)]
Import yaml-cpp_0.8.0+dfsg-6.debian.tar.xz

[dgit import tarball yaml-cpp 0.8.0+dfsg-6 yaml-cpp_0.8.0+dfsg-6.debian.tar.xz]

2 years agoMerge version 0.7.0+dfsg-8+rpi1 and 0.8.0+dfsg-3 to produce 0.8.0+dfsg-3+rpi1 archive/raspbian/0.8.0+dfsg-3+rpi1 raspbian/0.8.0+dfsg-3+rpi1
Raspbian automatic forward porter [Fri, 6 Oct 2023 07:59:22 +0000 (08:59 +0100)]
Merge version 0.7.0+dfsg-8+rpi1 and 0.8.0+dfsg-3 to produce 0.8.0+dfsg-3+rpi1

2 years agoMerge yaml-cpp (0.8.0+dfsg-3) import into refs/heads/workingbranch
Gianfranco Costamagna [Wed, 23 Aug 2023 18:08:28 +0000 (19:08 +0100)]
Merge yaml-cpp (0.8.0+dfsg-3) import into refs/heads/workingbranch

2 years ago[PATCH] Fix testsuite with gcc-13
Gianfranco Costamagna [Sat, 19 Aug 2023 17:47:44 +0000 (19:47 +0200)]
[PATCH] Fix testsuite with gcc-13

cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp
/<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’:
/<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing]
   11 |   std::string input{-58, -1, -99, 109};
      |                                      ^

Gbp-Pq: Name 1216.patch

2 years agoUse the googletest provided by the archive instead of the embedded copy
Simon Quigley [Wed, 23 Aug 2023 18:08:28 +0000 (19:08 +0100)]
Use the googletest provided by the archive instead of the embedded copy

Forwarded: https://github.com/jbeder/yaml-cpp/pull/1035
Last-Update: 2021-09-24

Gbp-Pq: Name use-archive-googletest.patch

2 years agoyaml-cpp (0.8.0+dfsg-3) unstable; urgency=medium
Gianfranco Costamagna [Wed, 23 Aug 2023 18:08:28 +0000 (19:08 +0100)]
yaml-cpp (0.8.0+dfsg-3) unstable; urgency=medium

  * Upload to unstable

[dgit import unpatched yaml-cpp 0.8.0+dfsg-3]

2 years agoImport yaml-cpp_0.8.0+dfsg-3.debian.tar.xz
Gianfranco Costamagna [Wed, 23 Aug 2023 18:08:28 +0000 (19:08 +0100)]
Import yaml-cpp_0.8.0+dfsg-3.debian.tar.xz

[dgit import tarball yaml-cpp 0.8.0+dfsg-3 yaml-cpp_0.8.0+dfsg-3.debian.tar.xz]

2 years agoImport yaml-cpp_0.8.0+dfsg.orig.tar.xz
Gianfranco Costamagna [Fri, 18 Aug 2023 17:22:16 +0000 (19:22 +0200)]
Import yaml-cpp_0.8.0+dfsg.orig.tar.xz

[dgit import orig yaml-cpp_0.8.0+dfsg.orig.tar.xz]

2 years agoImport yaml-cpp_0.8.0+dfsg.orig.tar.xz
Gianfranco Costamagna [Fri, 18 Aug 2023 17:22:16 +0000 (18:22 +0100)]
Import yaml-cpp_0.8.0+dfsg.orig.tar.xz

[dgit import orig yaml-cpp_0.8.0+dfsg.orig.tar.xz]

3 years agoTransfer symbols file fixes to new soname. bookworm-staging archive/raspbian/0.7.0+dfsg-8+rpi1 raspbian/0.7.0+dfsg-8+rpi1
Peter Michael Green [Tue, 8 Mar 2022 10:17:16 +0000 (10:17 +0000)]
Transfer symbols file fixes to new soname.

4 years agoMerge version 0.6.3-10+rpi1 and 0.7.0+dfsg-8 to produce 0.7.0+dfsg-8+rpi1
Raspbian automatic forward porter [Wed, 24 Nov 2021 04:42:58 +0000 (04:42 +0000)]
Merge version 0.6.3-10+rpi1 and 0.7.0+dfsg-8 to produce 0.7.0+dfsg-8+rpi1

4 years agoMerge yaml-cpp (0.7.0+dfsg-8) import into refs/heads/workingbranch
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Merge yaml-cpp (0.7.0+dfsg-8) import into refs/heads/workingbranch

4 years agoFix empty YAML_CPP_LIBRARIES
Jochen Sprickerhof [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Fix empty YAML_CPP_LIBRARIES

Bug: https://github.com/jbeder/yaml-cpp/issues/774
Bug-Debian: https://bugs.debian.org/999594
Forwarded: https://github.com/jbeder/yaml-cpp/pull/1037
Last-Update: 2021-11-13

The new version does not set EXPORT_TARGETS. As the value should be yaml-cpp
anyhow, just set it directly.

Gbp-Pq: Name cmake_set_libraries.patch

4 years agoUse the googletest provided by the archive instead of the embedded copy
Simon Quigley [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Use the googletest provided by the archive instead of the embedded copy

Forwarded: https://github.com/jbeder/yaml-cpp/pull/1035
Last-Update: 2021-09-24

Gbp-Pq: Name use-archive-googletest.patch

4 years ago[PATCH] Export YAML::detail::node::m_amount
Pino Toscano [Sun, 18 Apr 2021 08:29:59 +0000 (10:29 +0200)]
[PATCH] Export YAML::detail::node::m_amount

The internal header node/detail/node.h is included by public headers;
YAML::detail::node is implemented in the header itself, and thus it gets
inlined... except for its static m_amount class member, which is
instantiated in the library only. Right now all the symbols of yaml-cpp
are exported (nothing is hidden), so the linker will find node::m_amount
in the yaml-cpp library.

As solution/workaround, explicitly export YAML::detail::node::m_amount.

Gbp-Pq: Name export-m_amount.patch

4 years agofix pkg-config file and cmake one
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
fix pkg-config file and cmake one

Forwarded: not needed, upstream reworked the cmake handling
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419
Last-Update: 2020-05-26

Gbp-Pq: Name fix-pkg-config.patch

4 years agosymbol-visibility
Simon Quigley [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

4 years agoyaml-cpp (0.7.0+dfsg-8) unstable; urgency=medium
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
yaml-cpp (0.7.0+dfsg-8) unstable; urgency=medium

  * Ack previous NMU, thanks!
  * Add patch from Jochen Sprickerhof to export YAML_CPP_LIBRARIES.
    (Closes: #999594)

[dgit import unpatched yaml-cpp 0.7.0+dfsg-8]

4 years agoImport yaml-cpp_0.7.0+dfsg-8.debian.tar.xz
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Import yaml-cpp_0.7.0+dfsg-8.debian.tar.xz

[dgit import tarball yaml-cpp 0.7.0+dfsg-8 yaml-cpp_0.7.0+dfsg-8.debian.tar.xz]

4 years agoImport yaml-cpp_0.7.0+dfsg.orig.tar.xz
Simon Quigley [Thu, 23 Sep 2021 11:31:17 +0000 (12:31 +0100)]
Import yaml-cpp_0.7.0+dfsg.orig.tar.xz

[dgit import orig yaml-cpp_0.7.0+dfsg.orig.tar.xz]

4 years agoMerge yaml-cpp (0.6.3-10+rpi1) import into refs/heads/workingbranch
Raspbian forward porter [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
Merge yaml-cpp (0.6.3-10+rpi1) import into refs/heads/workingbranch

4 years agofix pkg-config file and cmake one
Gianfranco Costamagna [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
fix pkg-config file and cmake one

Forwarded: not needed, upstream reworked the cmake handling
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419
Last-Update: 2020-05-26

Gbp-Pq: Name fix-pkg-config.patch

4 years agoRevert "fix up static, so works as DLL (#559)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "fix up static, so works as DLL (#559)"

This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.

Gbp-Pq: Name 0005-Revert-fix-up-static-so-works-as-DLL-559.patch

4 years agoRevert "Apply formatting/style tweaks to comply with compile time diagnostics for...
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686)"

This reverts commit 0d5c57150cebb430fcc216d8066dbb28aeaafe8e.

Gbp-Pq: Name 0004-Revert-Apply-formatting-style-tweaks-to-comply-with-.patch

4 years agoRevert "Disallow moving for the Parser."
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Disallow moving for the Parser."

This reverts commit bd7f8c60c82614bb0bd1c526db2cbc39dac02fec.

Gbp-Pq: Name 0003-Revert-Disallow-moving-for-the-Parser.patch

4 years agoRevert "Improve error messages on operator[] or as<> (#656)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Improve error messages on operator[] or as<> (#656)"

This reverts commit 012269756149ae99745b6dafefd415843d7420bb.

Gbp-Pq: Name 0002-Revert-Improve-error-messages-on-operator-or-as-656.patch

4 years agoRevert "Static analysis fix: replace 0 and NULL with nullptr (#738)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Static analysis fix: replace 0 and NULL with nullptr (#738)"

This reverts commit db0bda7087a6fac811e78957787fc5037465ac4e.

Gbp-Pq: Name 0001-Revert-Static-analysis-fix-replace-0-and-NULL-with-n.patch

4 years agoFix unbounded recursion CVEs
Simon Quigley [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
Fix unbounded recursion CVEs

Origin: https://github.com/jbeder/yaml-cpp/pull/807
Forwarded: yes
Bug: https://github.com/jbeder/yaml-cpp/issues/459
Bug: https://github.com/jbeder/yaml-cpp/issues/655
Bug: https://github.com/jbeder/yaml-cpp/issues/654
Bug: https://github.com/jbeder/yaml-cpp/issues/660

This cherry-picks the (so-far-unmerged) upstream pull request.
The final 5 commits of that PR are not included; they only add tests
to a file not present in the 0.6.2 (or 0.6.3) release.

From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Tue, 25 Apr 2017 20:10:20 -0400
Subject: [PATCH 1/9] fix stack overflow in HandleNode() (CVE-2017-5950)

simply set a hardcoded recursion limit to 2000 (inspired by Python's)
to avoid infinitely recursing into arbitrary data structures

assert() the depth. unsure if this is the right approach, but given
that HandleNode() is "void", I am not sure how else to return an
error. the problem with this approach of course is that it will still
crash the caller, unless they have proper exception handling in place.

Closes: #459
Gbp-Pq: Name fix-unbounded-recursion-depth.patch

4 years agofix-CVE-2017-11692
Simon Quigley [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
fix-CVE-2017-11692

commit c9460110e072df84b7dee3eb651f2ec5df75fb18
Author: Jesse Beder <jbeder@gmail.com>
Date:   Mon Jan 20 18:05:15 2020 -0600

    Fix reading empty token stack with a node with properties but no scalar.

    E.g. `!2`.

Gbp-Pq: Name fix-CVE-2017-11692.patch

4 years agosymbol-visibility
Simon Quigley [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

4 years agoMake the build reproducible
Reiner Herrmann [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

4 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

4 years agoyaml-cpp (0.6.3-10+rpi1) bookworm-staging; urgency=medium
Raspbian forward porter [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
yaml-cpp (0.6.3-10+rpi1) bookworm-staging; urgency=medium

  [changes brought forward from 0.6.2-4+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Fri, 18 Jan 2019 20:49:45 +0000]
  * Update symbols file for raspbian.

[dgit import unpatched yaml-cpp 0.6.3-10+rpi1]

4 years agoImport yaml-cpp_0.6.3-10+rpi1.debian.tar.xz
Raspbian forward porter [Thu, 26 Aug 2021 22:24:06 +0000 (23:24 +0100)]
Import yaml-cpp_0.6.3-10+rpi1.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.3-10+rpi1 yaml-cpp_0.6.3-10+rpi1.debian.tar.xz]

4 years agoMerge yaml-cpp (0.6.3-10) import into refs/heads/workingbranch
Matthias Klose [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
Merge yaml-cpp (0.6.3-10) import into refs/heads/workingbranch

4 years agofix pkg-config file and cmake one
Gianfranco Costamagna [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
fix pkg-config file and cmake one

Forwarded: not needed, upstream reworked the cmake handling
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419
Last-Update: 2020-05-26

Gbp-Pq: Name fix-pkg-config.patch

4 years agoRevert "fix up static, so works as DLL (#559)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "fix up static, so works as DLL (#559)"

This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.

Gbp-Pq: Name 0005-Revert-fix-up-static-so-works-as-DLL-559.patch

4 years agoRevert "Apply formatting/style tweaks to comply with compile time diagnostics for...
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686)"

This reverts commit 0d5c57150cebb430fcc216d8066dbb28aeaafe8e.

Gbp-Pq: Name 0004-Revert-Apply-formatting-style-tweaks-to-comply-with-.patch

4 years agoRevert "Disallow moving for the Parser."
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Disallow moving for the Parser."

This reverts commit bd7f8c60c82614bb0bd1c526db2cbc39dac02fec.

Gbp-Pq: Name 0003-Revert-Disallow-moving-for-the-Parser.patch

4 years agoRevert "Improve error messages on operator[] or as<> (#656)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Improve error messages on operator[] or as<> (#656)"

This reverts commit 012269756149ae99745b6dafefd415843d7420bb.

Gbp-Pq: Name 0002-Revert-Improve-error-messages-on-operator-or-as-656.patch

4 years agoRevert "Static analysis fix: replace 0 and NULL with nullptr (#738)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Static analysis fix: replace 0 and NULL with nullptr (#738)"

This reverts commit db0bda7087a6fac811e78957787fc5037465ac4e.

Gbp-Pq: Name 0001-Revert-Static-analysis-fix-replace-0-and-NULL-with-n.patch

4 years agoFix unbounded recursion CVEs
Simon Quigley [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
Fix unbounded recursion CVEs

Origin: https://github.com/jbeder/yaml-cpp/pull/807
Forwarded: yes
Bug: https://github.com/jbeder/yaml-cpp/issues/459
Bug: https://github.com/jbeder/yaml-cpp/issues/655
Bug: https://github.com/jbeder/yaml-cpp/issues/654
Bug: https://github.com/jbeder/yaml-cpp/issues/660

This cherry-picks the (so-far-unmerged) upstream pull request.
The final 5 commits of that PR are not included; they only add tests
to a file not present in the 0.6.2 (or 0.6.3) release.

From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Tue, 25 Apr 2017 20:10:20 -0400
Subject: [PATCH 1/9] fix stack overflow in HandleNode() (CVE-2017-5950)

simply set a hardcoded recursion limit to 2000 (inspired by Python's)
to avoid infinitely recursing into arbitrary data structures

assert() the depth. unsure if this is the right approach, but given
that HandleNode() is "void", I am not sure how else to return an
error. the problem with this approach of course is that it will still
crash the caller, unless they have proper exception handling in place.

Closes: #459
Gbp-Pq: Name fix-unbounded-recursion-depth.patch

4 years agofix-CVE-2017-11692
Simon Quigley [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
fix-CVE-2017-11692

commit c9460110e072df84b7dee3eb651f2ec5df75fb18
Author: Jesse Beder <jbeder@gmail.com>
Date:   Mon Jan 20 18:05:15 2020 -0600

    Fix reading empty token stack with a node with properties but no scalar.

    E.g. `!2`.

Gbp-Pq: Name fix-CVE-2017-11692.patch

4 years agosymbol-visibility
Simon Quigley [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

4 years agoMake the build reproducible
Reiner Herrmann [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

4 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

4 years agoyaml-cpp (0.6.3-10) unstable; urgency=medium
Matthias Klose [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
yaml-cpp (0.6.3-10) unstable; urgency=medium

  * Mark symbols as optional not seen when building with lto.

[dgit import unpatched yaml-cpp 0.6.3-10]

4 years agoImport yaml-cpp_0.6.3-10.debian.tar.xz
Matthias Klose [Mon, 22 Mar 2021 21:04:27 +0000 (21:04 +0000)]
Import yaml-cpp_0.6.3-10.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.3-10 yaml-cpp_0.6.3-10.debian.tar.xz]

5 years agoMerge yaml-cpp (0.6.3-9) import into refs/heads/workingbranch
Gianfranco Costamagna [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
Merge yaml-cpp (0.6.3-9) import into refs/heads/workingbranch

5 years agofix pkg-config file and cmake one
Gianfranco Costamagna [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
fix pkg-config file and cmake one

Forwarded: not needed, upstream reworked the cmake handling
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419
Last-Update: 2020-05-26

Gbp-Pq: Name fix-pkg-config.patch

5 years agoRevert "fix up static, so works as DLL (#559)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "fix up static, so works as DLL (#559)"

This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.

Gbp-Pq: Name 0005-Revert-fix-up-static-so-works-as-DLL-559.patch

5 years agoRevert "Apply formatting/style tweaks to comply with compile time diagnostics for...
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686)"

This reverts commit 0d5c57150cebb430fcc216d8066dbb28aeaafe8e.

Gbp-Pq: Name 0004-Revert-Apply-formatting-style-tweaks-to-comply-with-.patch

5 years agoRevert "Disallow moving for the Parser."
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Disallow moving for the Parser."

This reverts commit bd7f8c60c82614bb0bd1c526db2cbc39dac02fec.

Gbp-Pq: Name 0003-Revert-Disallow-moving-for-the-Parser.patch

5 years agoRevert "Improve error messages on operator[] or as<> (#656)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Improve error messages on operator[] or as<> (#656)"

This reverts commit 012269756149ae99745b6dafefd415843d7420bb.

Gbp-Pq: Name 0002-Revert-Improve-error-messages-on-operator-or-as-656.patch

5 years agoRevert "Static analysis fix: replace 0 and NULL with nullptr (#738)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Static analysis fix: replace 0 and NULL with nullptr (#738)"

This reverts commit db0bda7087a6fac811e78957787fc5037465ac4e.

Gbp-Pq: Name 0001-Revert-Static-analysis-fix-replace-0-and-NULL-with-n.patch

5 years agoFix unbounded recursion CVEs
Simon Quigley [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
Fix unbounded recursion CVEs

Origin: https://github.com/jbeder/yaml-cpp/pull/807
Forwarded: yes
Bug: https://github.com/jbeder/yaml-cpp/issues/459
Bug: https://github.com/jbeder/yaml-cpp/issues/655
Bug: https://github.com/jbeder/yaml-cpp/issues/654
Bug: https://github.com/jbeder/yaml-cpp/issues/660

This cherry-picks the (so-far-unmerged) upstream pull request.
The final 5 commits of that PR are not included; they only add tests
to a file not present in the 0.6.2 (or 0.6.3) release.

From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Tue, 25 Apr 2017 20:10:20 -0400
Subject: [PATCH 1/9] fix stack overflow in HandleNode() (CVE-2017-5950)

simply set a hardcoded recursion limit to 2000 (inspired by Python's)
to avoid infinitely recursing into arbitrary data structures

assert() the depth. unsure if this is the right approach, but given
that HandleNode() is "void", I am not sure how else to return an
error. the problem with this approach of course is that it will still
crash the caller, unless they have proper exception handling in place.

Closes: #459
Gbp-Pq: Name fix-unbounded-recursion-depth.patch

5 years agofix-CVE-2017-11692
Simon Quigley [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
fix-CVE-2017-11692

commit c9460110e072df84b7dee3eb651f2ec5df75fb18
Author: Jesse Beder <jbeder@gmail.com>
Date:   Mon Jan 20 18:05:15 2020 -0600

    Fix reading empty token stack with a node with properties but no scalar.

    E.g. `!2`.

Gbp-Pq: Name fix-CVE-2017-11692.patch

5 years agosymbol-visibility
Simon Quigley [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

5 years agoMake the build reproducible
Reiner Herrmann [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

5 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

5 years agoyaml-cpp (0.6.3-9) unstable; urgency=medium
Gianfranco Costamagna [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
yaml-cpp (0.6.3-9) unstable; urgency=medium

  * Fix pkg-config and cmake wrong files and paths. LP: #1880419

[dgit import unpatched yaml-cpp 0.6.3-9]

5 years agoImport yaml-cpp_0.6.3-9.debian.tar.xz
Gianfranco Costamagna [Tue, 26 May 2020 15:56:33 +0000 (16:56 +0100)]
Import yaml-cpp_0.6.3-9.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.3-9 yaml-cpp_0.6.3-9.debian.tar.xz]

5 years agoMerge yaml-cpp (0.6.3-8) import into refs/heads/workingbranch
Gianfranco Costamagna [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
Merge yaml-cpp (0.6.3-8) import into refs/heads/workingbranch

5 years agoRevert "fix up static, so works as DLL (#559)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "fix up static, so works as DLL (#559)"

This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.

Gbp-Pq: Name 0005-Revert-fix-up-static-so-works-as-DLL-559.patch

5 years agoRevert "Apply formatting/style tweaks to comply with compile time diagnostics for...
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686)"

This reverts commit 0d5c57150cebb430fcc216d8066dbb28aeaafe8e.

Gbp-Pq: Name 0004-Revert-Apply-formatting-style-tweaks-to-comply-with-.patch

5 years agoRevert "Disallow moving for the Parser."
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Disallow moving for the Parser."

This reverts commit bd7f8c60c82614bb0bd1c526db2cbc39dac02fec.

Gbp-Pq: Name 0003-Revert-Disallow-moving-for-the-Parser.patch

5 years agoRevert "Improve error messages on operator[] or as<> (#656)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Improve error messages on operator[] or as<> (#656)"

This reverts commit 012269756149ae99745b6dafefd415843d7420bb.

Gbp-Pq: Name 0002-Revert-Improve-error-messages-on-operator-or-as-656.patch

5 years agoRevert "Static analysis fix: replace 0 and NULL with nullptr (#738)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Static analysis fix: replace 0 and NULL with nullptr (#738)"

This reverts commit db0bda7087a6fac811e78957787fc5037465ac4e.

Gbp-Pq: Name 0001-Revert-Static-analysis-fix-replace-0-and-NULL-with-n.patch

5 years agoFix unbounded recursion CVEs
Simon Quigley [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
Fix unbounded recursion CVEs

Origin: https://github.com/jbeder/yaml-cpp/pull/807
Forwarded: yes
Bug: https://github.com/jbeder/yaml-cpp/issues/459
Bug: https://github.com/jbeder/yaml-cpp/issues/655
Bug: https://github.com/jbeder/yaml-cpp/issues/654
Bug: https://github.com/jbeder/yaml-cpp/issues/660

This cherry-picks the (so-far-unmerged) upstream pull request.
The final 5 commits of that PR are not included; they only add tests
to a file not present in the 0.6.2 (or 0.6.3) release.

From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Tue, 25 Apr 2017 20:10:20 -0400
Subject: [PATCH 1/9] fix stack overflow in HandleNode() (CVE-2017-5950)

simply set a hardcoded recursion limit to 2000 (inspired by Python's)
to avoid infinitely recursing into arbitrary data structures

assert() the depth. unsure if this is the right approach, but given
that HandleNode() is "void", I am not sure how else to return an
error. the problem with this approach of course is that it will still
crash the caller, unless they have proper exception handling in place.

Closes: #459
Gbp-Pq: Name fix-unbounded-recursion-depth.patch

5 years agofix-CVE-2017-11692
Simon Quigley [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
fix-CVE-2017-11692

commit c9460110e072df84b7dee3eb651f2ec5df75fb18
Author: Jesse Beder <jbeder@gmail.com>
Date:   Mon Jan 20 18:05:15 2020 -0600

    Fix reading empty token stack with a node with properties but no scalar.

    E.g. `!2`.

Gbp-Pq: Name fix-CVE-2017-11692.patch

5 years agosymbol-visibility
Simon Quigley [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

5 years agoMake the build reproducible
Reiner Herrmann [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

5 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

5 years agoyaml-cpp (0.6.3-8) unstable; urgency=medium
Gianfranco Costamagna [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
yaml-cpp (0.6.3-8) unstable; urgency=medium

  [ Debian Janitor ]
  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
    Repository-Browse.

  [ Helmut Grohne ]
  * Fix FTCBFS: Don't build tests for DEB_BUILD_OPTIONS=nocheck.
    (Closes: #960167)

[dgit import unpatched yaml-cpp 0.6.3-8]

5 years agoImport yaml-cpp_0.6.3-8.debian.tar.xz
Gianfranco Costamagna [Thu, 14 May 2020 08:29:07 +0000 (09:29 +0100)]
Import yaml-cpp_0.6.3-8.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.3-8 yaml-cpp_0.6.3-8.debian.tar.xz]

5 years agoMerge yaml-cpp (0.6.3-7) import into refs/heads/workingbranch
Gianfranco Costamagna [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
Merge yaml-cpp (0.6.3-7) import into refs/heads/workingbranch

5 years agoRevert "fix up static, so works as DLL (#559)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "fix up static, so works as DLL (#559)"

This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.

Gbp-Pq: Name 0005-Revert-fix-up-static-so-works-as-DLL-559.patch

5 years agoRevert "Apply formatting/style tweaks to comply with compile time diagnostics for...
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686)"

This reverts commit 0d5c57150cebb430fcc216d8066dbb28aeaafe8e.

Gbp-Pq: Name 0004-Revert-Apply-formatting-style-tweaks-to-comply-with-.patch

5 years agoRevert "Disallow moving for the Parser."
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Disallow moving for the Parser."

This reverts commit bd7f8c60c82614bb0bd1c526db2cbc39dac02fec.

Gbp-Pq: Name 0003-Revert-Disallow-moving-for-the-Parser.patch

5 years agoRevert "Improve error messages on operator[] or as<> (#656)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Improve error messages on operator[] or as<> (#656)"

This reverts commit 012269756149ae99745b6dafefd415843d7420bb.

Gbp-Pq: Name 0002-Revert-Improve-error-messages-on-operator-or-as-656.patch

5 years agoRevert "Static analysis fix: replace 0 and NULL with nullptr (#738)"
Adrian Bunk [Sun, 10 May 2020 08:39:29 +0000 (11:39 +0300)]
Revert "Static analysis fix: replace 0 and NULL with nullptr (#738)"

This reverts commit db0bda7087a6fac811e78957787fc5037465ac4e.

Gbp-Pq: Name 0001-Revert-Static-analysis-fix-replace-0-and-NULL-with-n.patch

5 years agoFix unbounded recursion CVEs
Simon Quigley [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
Fix unbounded recursion CVEs

Origin: https://github.com/jbeder/yaml-cpp/pull/807
Forwarded: yes
Bug: https://github.com/jbeder/yaml-cpp/issues/459
Bug: https://github.com/jbeder/yaml-cpp/issues/655
Bug: https://github.com/jbeder/yaml-cpp/issues/654
Bug: https://github.com/jbeder/yaml-cpp/issues/660

This cherry-picks the (so-far-unmerged) upstream pull request.
The final 5 commits of that PR are not included; they only add tests
to a file not present in the 0.6.2 (or 0.6.3) release.

From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Tue, 25 Apr 2017 20:10:20 -0400
Subject: [PATCH 1/9] fix stack overflow in HandleNode() (CVE-2017-5950)

simply set a hardcoded recursion limit to 2000 (inspired by Python's)
to avoid infinitely recursing into arbitrary data structures

assert() the depth. unsure if this is the right approach, but given
that HandleNode() is "void", I am not sure how else to return an
error. the problem with this approach of course is that it will still
crash the caller, unless they have proper exception handling in place.

Closes: #459
Gbp-Pq: Name fix-unbounded-recursion-depth.patch

5 years agofix-CVE-2017-11692
Simon Quigley [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
fix-CVE-2017-11692

commit c9460110e072df84b7dee3eb651f2ec5df75fb18
Author: Jesse Beder <jbeder@gmail.com>
Date:   Mon Jan 20 18:05:15 2020 -0600

    Fix reading empty token stack with a node with properties but no scalar.

    E.g. `!2`.

Gbp-Pq: Name fix-CVE-2017-11692.patch

5 years agosymbol-visibility
Simon Quigley [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

5 years agoMake the build reproducible
Reiner Herrmann [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

5 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

5 years agoyaml-cpp (0.6.3-7) unstable; urgency=medium
Gianfranco Costamagna [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
yaml-cpp (0.6.3-7) unstable; urgency=medium

  * Team upload
  [ Adrian Bunk ]
  * From Adrian Bunk, fix other c++ symbols that broke ABI
    (Closes: #959201)

[dgit import unpatched yaml-cpp 0.6.3-7]

5 years agoImport yaml-cpp_0.6.3-7.debian.tar.xz
Gianfranco Costamagna [Wed, 13 May 2020 17:26:42 +0000 (18:26 +0100)]
Import yaml-cpp_0.6.3-7.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.3-7 yaml-cpp_0.6.3-7.debian.tar.xz]

5 years agoImport yaml-cpp_0.6.3.orig.tar.gz
Simon Quigley [Thu, 30 Apr 2020 01:24:07 +0000 (02:24 +0100)]
Import yaml-cpp_0.6.3.orig.tar.gz

[dgit import orig yaml-cpp_0.6.3.orig.tar.gz]

6 years agoMerge yaml-cpp (0.6.2-4) import into refs/heads/workingbranch
Simon Quigley [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
Merge yaml-cpp (0.6.2-4) import into refs/heads/workingbranch

6 years agosymbol-visibility
Simon Quigley [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

6 years agoMake the build reproducible
Reiner Herrmann [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
Make the build reproducible

Bug-Debian: https://bugs.debian.org/808714
Last-Update: 2016-10-11

Gbp-Pq: Name reproducible-build.patch

6 years agoInstall libs and cmake files to the Debian location
Paul Novotny [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
Install libs and cmake files to the Debian location

Forwarded: not-needed
Last-Update: 2015-11-29

Instead of moving the libs to the DEB_HOST_MULTIARCH lib directory during
packaging, have cmake install the libs directly. This is needed so the CMake
development files point to the correct location for the libs. Also, install
yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake.

Gbp-Pq: Name install-cmake-dev-files.patch

6 years agoyaml-cpp (0.6.2-4) unstable; urgency=medium
Simon Quigley [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
yaml-cpp (0.6.2-4) unstable; urgency=medium

  * Upload to Sid.

[dgit import unpatched yaml-cpp 0.6.2-4]

6 years agoImport yaml-cpp_0.6.2-4.debian.tar.xz
Simon Quigley [Mon, 7 Jan 2019 22:00:33 +0000 (22:00 +0000)]
Import yaml-cpp_0.6.2-4.debian.tar.xz

[dgit import tarball yaml-cpp 0.6.2-4 yaml-cpp_0.6.2-4.debian.tar.xz]