[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: e80822e8f1fb71bcb7faec08eade7ba7171cb29b
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 05:51:18 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 05:51:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80822e8

dev-cpp/yaml-cpp: security cleanup

Closes: https://bugs.gentoo.org/719150
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 48 ---
 1 file changed, 48 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
deleted file mode 100644
index 98223343eb1..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS="cmake"
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-
-# test breaks build
-# RESTRICT="!test? ( test )"
-RESTRICT+="test"
-
-DEPEND="test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}/${PN}-${P}"
-
-PATCHES=(
-   "${FILESDIR}/${P}-abi-breakage.patch"
-   "${FILESDIR}/${P}-CVE-2017-11692.patch"
-)
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   -DYAML_BUILD_SHARED_LIBS=ON
-   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
-   -DYAML_CPP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake-multilib_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: 8e8afc8ef2355ee073fc998a837f8b13519f77ab
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 05:49:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 05:49:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8afc8e

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 ppc64, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 599c20dc10f..60efcffd321 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-29 Thread Sam James
commit: c6c53b38d450785bcdec16108e2c673d43eb42c7
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 29 18:21:53 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 29 18:22:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c53b38

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 ppc, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 52d1f54deaa..599c20dc10f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-12 Thread Agostino Sarubbo
commit: 7932736edf207a14789423bd93eb04f62995e76f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 12 06:00:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 12 06:00:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7932736e

dev-cpp/yaml-cpp: x86 stable wrt bug #719150

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index b1faa690f1f..52d1f54deaa 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-11 Thread Agostino Sarubbo
commit: 9a983c2089e3f7f1ad2eecf9a617f946985bfd02
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 11 10:58:40 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 11 10:58:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a983c20

dev-cpp/yaml-cpp: amd64 stable wrt bug #719150

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 61492c7b92c..b1faa690f1f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-07 Thread Sam James
commit: 076ccb5750fbde16edce7bc389db424e1117eef1
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  7 12:14:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 12:14:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076ccb57

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 arm64, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 18406b0bd39..61492c7b92c 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-08-06 Thread Sam James
commit: fc0bf139e6117e2036c02d840de8f872ea938002
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  7 02:16:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 02:19:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0bf139

dev-cpp/yaml-cpp: Stabilize 0.6.3-r3 sparc, #719150

Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
index 8db7bca2434..18406b0bd39 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2020-07-26 Thread Sam James
commit: df25aa0798f692e44a99922e9a27d013fafc0bd7
Author: John Helmert III  posteo  net>
AuthorDate: Sun Jul 19 22:32:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 02:18:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df25aa07

dev-cpp/yaml-cpp: Cleanup <0.6.3-r2

Bug: https://bugs.gentoo.org/626662
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/16622
Signed-off-by: Sam James  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 -
 .../files/yaml-cpp-0.6.2-CVE-2017-5950.patch   | 45 --
 .../files/yaml-cpp-0.6.2-unbundle-gtest.patch  | 70 --
 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 42 -
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild  | 45 --
 5 files changed, 203 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 9a5094e8b59..65c478502e0 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4
 DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
deleted file mode 100644
index 2892108bd25..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= 
-Date: Tue, 25 Apr 2017 20:10:20 -0400
-Subject: [PATCH] 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

- src/singledocparser.cpp | 2 ++
- src/singledocparser.h   | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
-index a27c1c3b..1b4262ee 100644
 a/src/singledocparser.cpp
-+++ b/src/singledocparser.cpp
-@@ -46,6 +46,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
- }
- 
- void SingleDocParser::HandleNode(EventHandler& eventHandler) {
-+  assert(depth < depth_limit);
-+  depth++;
-   // an empty node *is* a possibility
-   if (m_scanner.empty()) {
- eventHandler.OnNull(m_scanner.mark(), NullAnchor);
-diff --git a/src/singledocparser.h b/src/singledocparser.h
-index 2b92067c..7046f1e2 100644
 a/src/singledocparser.h
-+++ b/src/singledocparser.h
-@@ -51,6 +51,8 @@ class SingleDocParser : private noncopyable {
-   anchor_t LookupAnchor(const Mark& mark, const std::string& name) const;
- 
-  private:
-+  int depth = 0;
-+  int depth_limit = 2000;
-   Scanner& m_scanner;
-   const Directives& m_directives;
-   std::unique_ptr m_pCollectionStack;

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
deleted file mode 100644
index 671bde36704..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 259f944bc3e45420f5891737101260f07ab3030a Mon Sep 17 00:00:00 2001
-From: "Azamat H. Hackimov" 
-Date: Tue, 27 Feb 2018 14:17:49 +0500
-Subject: [PATCH] Externalize googletest project
-
-Externalize gtest to avoid installation, fixes #539.

- test/CMakeLists.txt | 35 ++-
- 1 file changed, 26 insertions(+), 9 deletions(-)
-
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 3633da5..7b39dd4 100644
 a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -1,16 +1,27 @@
-+include(ExternalProject)
-+
-+ExternalProject_Add(
-+  googletest_project
-+  SOURCE_DIR "${CMAKE_SOURCE_DIR}/test/gtest-1.8.0"
-+  INSTALL_DIR "${CMAKE_BINARY_DIR}/prefix"
-+  CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DBUILD_GMOCK=ON
-+)
-+
-+add_library(gmock UNKNOWN IMPORTED)
-+set_target_properties(gmock PROPERTIES
-+  IMPORTED_LOCATION ${PROJECT_BINARY_DIR}/prefix/lib/libgmock.a
-+)
-+
-+find_package(Threads)
-+

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2020-07-26 Thread Sam James
commit: 9530f57129611ca33ca70dc96727466a082784e4
Author: John Helmert III  posteo  net>
AuthorDate: Tue Jul  7 01:19:02 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 02:18:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9530f571

dev-cpp/yaml-cpp: Revbump to add security patch

Bug: https://bugs.gentoo.org/719150
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/yaml-cpp-0.6.3-fix-overflows.patch   | 149 +
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild  |  49 +++
 2 files changed, 198 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch
new file mode 100644
index 000..4c5418db22d
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-fix-overflows.patch
@@ -0,0 +1,149 @@
+This patch comes from the upstream commit here[1], slightly modified to
+apply to 0.6.3. The pull request[2] mentions fixing CVE-2017-5950,
+CVE-2018-{20573,20574}, and CVE-2019-6285. Note that CVE-2019-6292 appears to
+be a duplicate of CVE-2019-6285 [3].
+
+[1] 
https://github.com/jbeder/yaml-cpp/commit/4edff1fa5dbfca16fc72d89870841bee89f8ef89
+[2] https://github.com/jbeder/yaml-cpp/pull/807
+[3] https://github.com/jbeder/yaml-cpp/issues/660
+
+diff --git a/include/yaml-cpp/depthguard.h b/include/yaml-cpp/depthguard.h
+new file mode 100644
+index ..8ca61ac6
+--- /dev/null
 b/include/yaml-cpp/depthguard.h
+@@ -0,0 +1,77 @@
++#ifndef DEPTH_GUARD_H_
++#define DEPTH_GUARD_H_
++
++#if defined(_MSC_VER) ||\
++(defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
++ (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
++#pragma once
++#endif
++
++#include "exceptions.h"
++
++namespace YAML {
++
++/**
++ * @brief The DeepRecursion class
++ *  An exception class which is thrown by DepthGuard. Ideally it should be
++ * a member of DepthGuard. However, DepthGuard is a templated class which 
means
++ * that any catch points would then need to know the template parameters. It 
is
++ * simpler for clients to not have to know at the catch point what was the
++ * maximum depth.
++ */
++class DeepRecursion : public ParserException {
++public:
++  virtual ~DeepRecursion() = default;
++
++  DeepRecursion(int depth, const Mark& mark_, const std::string& msg_);
++
++  // Returns the recursion depth when the exception was thrown
++  int depth() const {
++return m_depth;
++  }
++
++private:
++  int m_depth = 0;
++};
++
++/**
++ * @brief The DepthGuard class
++ *  DepthGuard takes a reference to an integer. It increments the integer upon
++ * construction of DepthGuard and decrements the integer upon destruction.
++ *
++ * If the integer would be incremented past max_depth, then an exception is
++ * thrown. This is ideally geared toward guarding against deep recursion.
++ *
++ * @param max_depth
++ *  compile-time configurable maximum depth.
++ */
++template 
++class DepthGuard final {
++public:
++  DepthGuard(int & depth_, const Mark& mark_, const std::string& msg_) : 
m_depth(depth_) {
++++m_depth;
++if ( max_depth <= m_depth ) {
++throw DeepRecursion{m_depth, mark_, msg_};
++}
++  }
++
++  DepthGuard(const DepthGuard & copy_ctor) = delete;
++  DepthGuard(DepthGuard && move_ctor) = delete;
++  DepthGuard & operator=(const DepthGuard & copy_assign) = delete;
++  DepthGuard & operator=(DepthGuard && move_assign) = delete;
++
++  ~DepthGuard() {
++--m_depth;
++  }
++
++  int current_depth() const {
++return m_depth;
++  }
++
++private:
++int & m_depth;
++};
++
++} // namespace YAML
++
++#endif // 
DEPTH_GUARD_H_
+diff --git a/src/depthguard.cpp b/src/depthguard.cpp
+new file mode 100644
+index ..b88cd340
+--- /dev/null
 b/src/depthguard.cpp
+@@ -0,0 +1,10 @@
++#include "yaml-cpp/depthguard.h"
++
++namespace YAML {
++
++DeepRecursion::DeepRecursion(int depth, const Mark& mark_, const std::string& 
msg_)
++: ParserException(mark_, msg_),
++  m_depth(depth) {
++}
++
++} // namespace YAML
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index 47e9e047..3e5638be 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -7,6 +7,7 @@
+ #include "singledocparser.h"
+ #include "tag.h"
+ #include "token.h"
++#include "yaml-cpp/depthguard.h"
+ #include "yaml-cpp/emitterstyle.h"
+ #include "yaml-cpp/eventhandler.h"
+ #include "yaml-cpp/exceptions.h"  // IWYU pragma: keep
+@@ -47,6 +48,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
+ }
+ 
+ void SingleDocParser::HandleNode(EventHandler& eventHandler) {
++  

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-20 Thread Thomas Deutschmann
commit: e506428f59e46b3fc3008af92f8b85ab7e044f09
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jun 20 15:44:13 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jun 20 15:45:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e506428f

dev-cpp/yaml-cpp: x86 stable (bug #713464)

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index d42d4b735d1..98223343eb1 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-18 Thread Mart Raudsepp
commit: 260bdc680a77a4c7c1f0362ec6262afbf42b230a
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun 18 18:30:05 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Jun 18 21:58:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=260bdc68

dev-cpp/yaml-cpp: arm64 stable (bug #713464)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index fb698430c41..d42d4b735d1 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-17 Thread Agostino Sarubbo
commit: 8e011b7195015a4df570af153f15dc3e3107eb6f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun 17 07:07:03 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun 17 07:07:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e011b71

dev-cpp/yaml-cpp: amd64 stable wrt bug #713464

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index 5dd5c5e5e7a..fb698430c41 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-06-01 Thread Sergei Trofimovich
commit: 64f0c49eea61b326d10418e1f6b4345e80d2e813
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun  1 12:54:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun  1 17:02:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f0c49e

dev-cpp/yaml-cpp: stable 0.6.3-r2 for sparc, bug #713464

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index 966f37d2c32..5dd5c5e5e7a 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-05-25 Thread Sergei Trofimovich
commit: 9a88c1de0493a5b6ab3309af317f5efa1b6f3087
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:31:34 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:31:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a88c1de

dev-cpp/yaml-cpp: stable 0.6.3-r2 for ppc, bug #713464

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index facff9912fe..966f37d2c32 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-05-25 Thread Sergei Trofimovich
commit: 81549b8c2a51e6d3088d5a17eb95b962ef28d364
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:26:11 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:26:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81549b8c

dev-cpp/yaml-cpp: stable 0.6.3-r2 for ppc64, bug #713464

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
index db3c4f6dd2d..facff9912fe 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 # test breaks build



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2020-03-20 Thread Johannes Huber
commit: f506b95e837aebf001b41ed1bcd19bda82d3ee47
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Mar 20 11:35:37 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Mar 20 11:36:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f506b95e

dev-cpp/yaml-cpp: Fix CVE-2017-11692

Bug: https://bugs.gentoo.org/626662
Thanks-to: sam_c (Security Padawan)  cmpct.info>
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Johannes Huber  gentoo.org>

 .../files/yaml-cpp-0.6.3-CVE-2017-11692.patch  | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild  | 48 ++
 2 files changed, 92 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
new file mode 100644
index 000..fd7a7198c1c
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-CVE-2017-11692.patch
@@ -0,0 +1,44 @@
+From c9460110e072df84b7dee3eb651f2ec5df75fb18 Mon Sep 17 00:00:00 2001
+From: Jesse Beder 
+Date: Mon, 20 Jan 2020 18:05:15 -0600
+Subject: [PATCH] Fix reading empty token stack with a node with properties but
+ no scalar.
+
+E.g. `!2`.
+---
+ src/singledocparser.cpp | 6 ++
+ test/integration/load_node_test.cpp | 5 +
+ 2 files changed, 11 insertions(+)
+
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index 52544dd6..47e9e047 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -79,6 +79,12 @@ void SingleDocParser::HandleNode(EventHandler& 
eventHandler) {
+   if (!anchor_name.empty())
+ eventHandler.OnAnchor(mark, anchor_name);
+ 
++  // after parsing properties, an empty node is again a possibility
++  if (m_scanner.empty()) {
++eventHandler.OnNull(mark, anchor);
++return;
++  }
++
+   const Token& token = m_scanner.peek();
+ 
+   if (token.type == Token::PLAIN_SCALAR && IsNullString(token.value)) {
+diff --git a/test/integration/load_node_test.cpp 
b/test/integration/load_node_test.cpp
+index 4f4f28e8..0e0dd6bc 100644
+--- a/test/integration/load_node_test.cpp
 b/test/integration/load_node_test.cpp
+@@ -257,5 +257,10 @@ TEST(NodeTest, LoadTagWithParenthesis) {
+ EXPECT_EQ(node.as(), "foo");
+ }
+ 
++TEST(NodeTest, LoadTagWithNullScalar) {
++  Node node = Load("!2");
++  EXPECT_TRUE(node.IsNull());
++}
++
+ }  // namespace
+ }  // namespace YAML

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
new file mode 100644
index 000..db3c4f6dd2d
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-abi-breakage.patch"
+   "${FILESDIR}/${P}-CVE-2017-11692.patch"
+)
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-01-08 Thread Johannes Huber
commit: b1ef07fb842286f6d0ae5dd7f5c5a9b3f10bd842
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  8 21:48:23 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  8 21:48:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ef07fb

dev-cpp/yaml-cpp: Remove 0.6.3 (r0)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild | 43 --
 1 file changed, 43 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
deleted file mode 100644
index cc5377b8d0f..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS="cmake"
-inherit cmake-multilib
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
-IUSE="test"
-
-# test breaks build
-# RESTRICT="!test? ( test )"
-RESTRICT+="test"
-
-DEPEND="test? ( dev-cpp/gtest )"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   -DYAML_BUILD_SHARED_LIBS=ON
-   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
-   -DYAML_CPP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake-multilib_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2020-01-07 Thread Johannes Huber
commit: 4f0b8303610a5eeefa5e4aa1127a27c1993372df
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Jan  7 21:40:11 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Jan  7 21:41:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0b8303

dev-cpp/yaml-cpp: fix ABI breakage

Adds a patch used in fedora to fix ABI breakage. Patch and issue spotted
by Attila Tóth  atoth.sote.hu>.

Bug: https://bugs.gentoo.org/704948
Thanks-to: Attila Tóth  atoth.sote.hu>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 .../files/yaml-cpp-0.6.3-abi-breakage.patch| 57 ++
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild  | 45 +
 2 files changed, 102 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
new file mode 100644
index 000..d9160856c47
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.3-abi-breakage.patch
@@ -0,0 +1,57 @@
+commit f5f288c7622d3547c29a8355b8ccda0155483b79
+Author: Till Hofmann 
+Date:   Sun Nov 17 22:43:20 2019 +0100
+
+Revert "fix up static, so works as DLL (#559)"
+
+This reverts commit 774f25800e6f19f4b927023c85d1389af322da5e.
+
+diff --git a/include/yaml-cpp/node/detail/node_data.h 
b/include/yaml-cpp/node/detail/node_data.h
+index 82fb79a..50bcd74 100644
+--- a/include/yaml-cpp/node/detail/node_data.h
 b/include/yaml-cpp/node/detail/node_data.h
+@@ -81,7 +81,7 @@ class YAML_CPP_API node_data {
+ shared_memory_holder pMemory);
+ 
+  public:
+-  static const std::string& empty_scalar();
++  static std::string empty_scalar;
+ 
+  private:
+   void compute_seq_size() const;
+diff --git a/include/yaml-cpp/node/impl.h b/include/yaml-cpp/node/impl.h
+index 7a3deac..b363f86 100644
+--- a/include/yaml-cpp/node/impl.h
 b/include/yaml-cpp/node/impl.h
+@@ -166,13 +166,13 @@ inline T Node::as(const S& fallback) const {
+ inline const std::string& Node::Scalar() const {
+   if (!m_isValid)
+ throw InvalidNode(m_invalidKey);
+-  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar();
++  return m_pNode ? m_pNode->scalar() : detail::node_data::empty_scalar;
+ }
+ 
+ inline const std::string& Node::Tag() const {
+   if (!m_isValid)
+ throw InvalidNode(m_invalidKey);
+-  return m_pNode ? m_pNode->tag() : detail::node_data::empty_scalar();
++  return m_pNode ? m_pNode->tag() : detail::node_data::empty_scalar;
+ }
+ 
+ inline void Node::SetTag(const std::string& tag) {
+diff --git a/src/node_data.cpp b/src/node_data.cpp
+index 6cfedfc..eba1ae4 100644
+--- a/src/node_data.cpp
 b/src/node_data.cpp
+@@ -13,10 +13,7 @@
+ namespace YAML {
+ namespace detail {
+ 
+-const std::string& node_data::empty_scalar() {
+-  static const std::string svalue;
+-  return svalue;
+-}
++std::string node_data::empty_scalar;
+ 
+ node_data::node_data()
+ : m_isDefined(false),

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild
new file mode 100644
index 000..8a579eada7c
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+PATCHES=( "${FILESDIR}/${P}-abi-breakage.patch" )
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2020-01-04 Thread Johannes Huber
commit: eb910ac08b8fc17443442e34353ef5d4a5d7414e
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jan  4 11:31:27 2020 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jan  4 11:31:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb910ac0

dev-cpp/yaml-cpp: Version bump 0.6.3

Closes: https://bugs.gentoo.org/700772
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 4a2a21dbeb9..9a5094e8b59 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4
+DIST yaml-cpp-0.6.3.tar.gz 1398768 BLAKE2B 
07abe1c56740105a0af2335bb1cd48086cb614d9d04c61342e53788bfb043fd7eb2629e441a0a5be50898b288f3526f1707c5fdf1d734395b6450c3103773b14
 SHA512 
68b9ce987cabc1dec79382f922de20cc2c222cb9c090ecb93dc686b048da5c917facf4fce6d8f72feea44b61e5a6770ed3b0c199c4cd4e6bde5b6245c09f8e49

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
new file mode 100644
index 000..cc5377b8d0f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0/0.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="test"
+
+# test breaks build
+# RESTRICT="!test? ( test )"
+RESTRICT+="test"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   -DYAML_BUILD_SHARED_LIBS=ON
+   -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
+   -DYAML_CPP_BUILD_TESTS=$(usex test)
+   )
+
+   cmake-multilib_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2019-12-31 Thread Aaron Bauman
commit: b168c9003cfefe0b608b3e12a8ad37b872f6250b
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Dec 31 18:06:45 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Dec 31 18:06:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b168c900

dev-cpp/yaml-cpp: arm64 stable (bug #704258)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index 627ca917b84..925e955fe1d 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2019-09-13 Thread Matt Turner
commit: 5f22f9c2fba9e759fabfd5fbd3c831f42c5139c6
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Sep 14 05:15:56 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Sep 14 05:15:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f22f9c2

dev-cpp/yaml-cpp-0.6.2: sparc stable

Signed-off-by: Matt Turner  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index ea71d30bdd9..48edca1378e 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/, dev-cpp/yaml-cpp/files/

2018-06-02 Thread Johannes Huber
commit: ee604746b688a9631001dff1618b97dd4ad1aa46
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun  2 15:52:51 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  2 15:52:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee604746

dev-cpp/yaml-cpp: Remove 0.5.3-r1

Bug: https://bugs.gentoo.org/614850
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/Manifest|  1 -
 dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild| 37 
 3 files changed, 82 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index bac72aa90f8..4a2a21dbeb9 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
deleted file mode 100644
index 88ee25fa0ac..000
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Bug: https://bugs.gentoo.org/609176
-Upstream PR: https://github.com/jbeder/yaml-cpp/pull/514
-
-From a83a1b3a7bd0a5a4eb458d898b057f6a8d409b7e Mon Sep 17 00:00:00 2001
-From: Peter-Levine 
-Date: Mon, 24 Jul 2017 02:00:24 -0400
-Subject: [PATCH] Fix segfault in gmock when running tests
-
-Taken from 
https://github.com/google/googletest/issues/705#issuecomment-235067917

- test/gmock-1.7.0/include/gmock/gmock-spec-builders.h | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h 
b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-index 312fbe87..2dd733b6 100644
 a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-+++ b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
-@@ -1370,6 +1370,8 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
- template <>
- class ActionResultHolder : public UntypedActionResultHolderBase {
-  public:
-+  explicit ActionResultHolder() {}
-+
-   void GetValueAndDelete() const { delete this; }
- 
-   virtual void PrintAsActionResult(::std::ostream* /* os */) const {}
-@@ -1381,7 +1383,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
-   const typename Function::ArgumentTuple& args,
-   const string& call_description) {
- func_mocker->PerformDefaultAction(args, call_description);
--return NULL;
-+return new ActionResultHolder();
-   }
- 
-   // Performs the given action and returns NULL.
-@@ -1390,7 +1392,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
-   const Action& action,
-   const typename Function::ArgumentTuple& args) {
- action.Perform(args);
--return NULL;
-+return new ActionResultHolder();
-   }
- };
- 

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
deleted file mode 100644
index 6bf29f127ca..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2:="
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-06-02 Thread Johannes Huber
commit: 420ece48c6a889140665bfe37e784b8526c52107
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Jun  2 15:51:36 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Jun  2 15:51:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420ece48

dev-cpp/yaml-cpp: Remove 0.5.3 (r0)

Bug: https://bugs.gentoo.org/614850
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 37 --
 1 file changed, 37 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
deleted file mode 100644
index f889e29358c..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-06-02 Thread Mikle Kolyada
commit: 2ccc2195b38789bc5992c7db82620204e11556aa
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jun  2 14:50:41 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jun  2 14:50:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccc2195

dev-cpp/yaml-cpp: ppc/ppc64 stable wrt bug #614850

Package-Manager: Portage-2.3.40, Repoman-2.3.7

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index c4ef83299cd..ea71d30bdd9 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-05-26 Thread Mikle Kolyada
commit: c4852487d29e62d95d61f0451457bf837327db0d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 26 07:44:16 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 26 07:44:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4852487

dev-cpp/yaml-cpp: amd64 stable wrt bug #614850

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index fec9c44151f..c4ef83299cd 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2018-05-25 Thread Thomas Deutschmann
commit: 788dfa59d7cfd7718dd08d4e70e8ba7d76dc4516
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri May 25 22:54:58 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri May 25 23:58:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788dfa59

dev-cpp/yaml-cpp: x86 stable (bug #614850)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
index 608eab3ed61..fec9c44151f 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0/0.6"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 DEPEND="test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2018-03-29 Thread Johannes Huber
commit: 40eeb5defc05e61c4e03830e6f071e8c1d629f68
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Tue Feb 27 10:41:23 2018 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Mar 29 18:38:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40eeb5de

dev-cpp/yaml-cpp: version bump to 0.6.2

Bug: https://bugs.gentoo.org/614850
Closes: https://bugs.gentoo.org/638326
Closes: https://github.com/gentoo/gentoo/pull/7294
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Signed-off-by: Johannes Huber  gentoo.org>

 dev-cpp/yaml-cpp/Manifest  |  1 +
 .../files/yaml-cpp-0.6.2-CVE-2017-5950.patch   | 45 ++
 .../files/yaml-cpp-0.6.2-unbundle-gtest.patch  | 70 ++
 dev-cpp/yaml-cpp/yaml-cpp-0.6.2.ebuild | 41 +
 4 files changed, 157 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 90cc2aa7b6c..bac72aa90f8 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1,2 @@
 DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
+DIST yaml-cpp-0.6.2.tar.gz 1396250 BLAKE2B 
be342c212c980cdb03349dbafbe1db0bb581123b4dd6909393d3cdc86145b997a9d2f9b57a5e9d7c8cc60cdfd03f1c37e9db610d8784f2d29fdeada5ab322894
 SHA512 
fea8ce0a20a00cbc75023d1db442edfcd32d0ac57a3c41b32ec8d56f87cc1d85d7dd7a923ce662f5d3a315f91a736d6be0d649997acd190915c1d68cc93795e4

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
new file mode 100644
index 000..2892108bd25
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-CVE-2017-5950.patch
@@ -0,0 +1,45 @@
+From d540476e31b080aa1f903ad20ec0426dd3838be7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= 
+Date: Tue, 25 Apr 2017 20:10:20 -0400
+Subject: [PATCH] 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
+---
+ src/singledocparser.cpp | 2 ++
+ src/singledocparser.h   | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/src/singledocparser.cpp b/src/singledocparser.cpp
+index a27c1c3b..1b4262ee 100644
+--- a/src/singledocparser.cpp
 b/src/singledocparser.cpp
+@@ -46,6 +46,8 @@ void SingleDocParser::HandleDocument(EventHandler& 
eventHandler) {
+ }
+ 
+ void SingleDocParser::HandleNode(EventHandler& eventHandler) {
++  assert(depth < depth_limit);
++  depth++;
+   // an empty node *is* a possibility
+   if (m_scanner.empty()) {
+ eventHandler.OnNull(m_scanner.mark(), NullAnchor);
+diff --git a/src/singledocparser.h b/src/singledocparser.h
+index 2b92067c..7046f1e2 100644
+--- a/src/singledocparser.h
 b/src/singledocparser.h
+@@ -51,6 +51,8 @@ class SingleDocParser : private noncopyable {
+   anchor_t LookupAnchor(const Mark& mark, const std::string& name) const;
+ 
+  private:
++  int depth = 0;
++  int depth_limit = 2000;
+   Scanner& m_scanner;
+   const Directives& m_directives;
+   std::unique_ptr m_pCollectionStack;

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
new file mode 100644
index 000..671bde36704
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.6.2-unbundle-gtest.patch
@@ -0,0 +1,70 @@
+From 259f944bc3e45420f5891737101260f07ab3030a Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" 
+Date: Tue, 27 Feb 2018 14:17:49 +0500
+Subject: [PATCH] Externalize googletest project
+
+Externalize gtest to avoid installation, fixes #539.
+---
+ test/CMakeLists.txt | 35 ++-
+ 1 file changed, 26 insertions(+), 9 deletions(-)
+
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index 3633da5..7b39dd4 100644
+--- a/test/CMakeLists.txt
 b/test/CMakeLists.txt
+@@ -1,16 +1,27 @@
++include(ExternalProject)
++
++ExternalProject_Add(
++  googletest_project
++  SOURCE_DIR "${CMAKE_SOURCE_DIR}/test/gtest-1.8.0"
++  INSTALL_DIR "${CMAKE_BINARY_DIR}/prefix"
++  CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DBUILD_GMOCK=ON
++)
++
++add_library(gmock UNKNOWN IMPORTED)
++set_target_properties(gmock PROPERTIES
++  IMPORTED_LOCATION ${PROJECT_BINARY_DIR}/prefix/lib/libgmock.a
++)
++
++find_package(Threads)
++
++include_directories(SYSTEM 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-12-04 Thread Sergei Trofimovich
commit: f6a5b6d838c7148dd3d9870881ba0c0920299a41
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  4 22:06:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  4 22:07:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a5b6d8

dev-cpp/yaml-cpp: stable 0.5.3 for sparc, bug #587848 (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-cpp/yaml-cpp/Manifest  | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index c520ecfc760..90cc2aa7b6c 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1 +1 @@
-DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
+DIST yaml-cpp-0.5.3.tar.gz 2016737 BLAKE2B 
6c10d44fe04fdd81cd61c909acdb576834f5358dd44353723b04d8a42bf8a1312cfa752e445c84f93c6ce76358b2d42dee5263f6fbd47a1f928d1cd28aedef07
 SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 503d7e2b9ff..f889e29358c 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-09-10 Thread Matt Thode
commit: 35955eb9f11cf884675ef4280cc64af6b4415cbe
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Sep 10 21:03:39 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Sep 10 21:03:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35955eb9

dev-cpp/yaml-cpp: yaml-cpp makes static links to boost bug 628360

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild | 37 +++
 1 file changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
new file mode 100644
index 000..6bf29f127ca
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/files/, dev-cpp/yaml-cpp/

2017-07-30 Thread David Seifert
commit: 7740aaf860fb686e087e174158dacf4f7c8051b2
Author: Peter Levine  gmail  com>
AuthorDate: Mon Jul 24 06:25:27 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jul 30 09:09:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7740aaf8

dev-cpp/yaml-cpp: Fix test failure with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=609176
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5191

 dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch | 44 
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild   |  2 ++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch 
b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
new file mode 100644
index 000..88ee25fa0ac
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.5.3-gcc6.patch
@@ -0,0 +1,44 @@
+Bug: https://bugs.gentoo.org/609176
+Upstream PR: https://github.com/jbeder/yaml-cpp/pull/514
+
+From a83a1b3a7bd0a5a4eb458d898b057f6a8d409b7e Mon Sep 17 00:00:00 2001
+From: Peter-Levine 
+Date: Mon, 24 Jul 2017 02:00:24 -0400
+Subject: [PATCH] Fix segfault in gmock when running tests
+
+Taken from 
https://github.com/google/googletest/issues/705#issuecomment-235067917
+---
+ test/gmock-1.7.0/include/gmock/gmock-spec-builders.h | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h 
b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
+index 312fbe87..2dd733b6 100644
+--- a/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
 b/test/gmock-1.7.0/include/gmock/gmock-spec-builders.h
+@@ -1370,6 +1370,8 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+ template <>
+ class ActionResultHolder : public UntypedActionResultHolderBase {
+  public:
++  explicit ActionResultHolder() {}
++
+   void GetValueAndDelete() const { delete this; }
+ 
+   virtual void PrintAsActionResult(::std::ostream* /* os */) const {}
+@@ -1381,7 +1383,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+   const typename Function::ArgumentTuple& args,
+   const string& call_description) {
+ func_mocker->PerformDefaultAction(args, call_description);
+-return NULL;
++return new ActionResultHolder();
+   }
+ 
+   // Performs the given action and returns NULL.
+@@ -1390,7 +1392,7 @@ class ActionResultHolder : public 
UntypedActionResultHolderBase {
+   const Action& action,
+   const typename Function::ArgumentTuple& args) {
+ action.Perform(args);
+-return NULL;
++return new ActionResultHolder();
+   }
+ };
+ 

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index a857f75d61b..503d7e2b9ff 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -19,6 +19,8 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-release-${PV}"
 
+PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
+
 src_prepare() {
sed -i \
-e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-07-12 Thread Alexis Ballier
commit: 7c3daab9361ad3f88e5e5a8ac99e5752cd20d582
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Jul 12 17:09:56 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Jul 12 18:40:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3daab9

dev-cpp/yaml-cpp: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 5ff8e480a24..a857f75d61b 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-06-05 Thread Johannes Huber
commit: 6c6d7fc70eab3b08533f1a621ebadf995d539853
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Jun  5 11:06:58 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Jun  5 11:10:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6d7fc7

dev-cpp/yaml-cpp: Remove 0.5.1

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index dc26a833669..c520ecfc760 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1 @@
-DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546
 DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
deleted file mode 100644
index 03fa0af0e37..000
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-03-28 Thread Jeroen Roovers
commit: 44194f899a5ce36499e724d5dbb5aa94003f9419
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 29 01:47:27 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 29 01:47:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44194f89

dev-cpp/yaml-cpp: Stable for HPPA (bug #587848).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 18f6b416bbc..5ff8e480a24 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.ta
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-02-21 Thread Mike Gilbert
commit: 0a8250b360d302892fe72bd1adf3edb61f9a653c
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Tue Feb 21 18:51:06 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb 21 19:08:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8250b3

dev-cpp/yaml-cpp: Fix filename of distfile stored in ${DISTDIR}.

 dev-cpp/yaml-cpp/Manifest  | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 9921134643..dc26a83366 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1,2 @@
-DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546
+DIST yaml-cpp-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index d66e118281..ef72ff721e 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -8,7 +8,7 @@ inherit cmake-utils
 
 DESCRIPTION="YAML parser and emitter in C++"
 HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2017-01-03 Thread Agostino Sarubbo
commit: 8510212f63b22671eb21c6e719e3af7ff0371f9b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan  3 10:35:20 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan  3 10:38:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8510212f

dev-cpp/yaml-cpp: ppc64 stable wrt bug #600512

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 226d33f..b8ad229 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-12-21 Thread Tobias Klausmann
commit: 700e201056bc9c11a492df20d4595da3fde43efc
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 16:24:17 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 16:24:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700e2010

dev-cpp/yaml-cpp-0.5.3-r0: stable on amd64

Gentoo-Bug: 600512

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index f90f977..6aa8324 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
 DEPEND=">=dev-libs/boost-1.49.0-r2"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-22 Thread Johannes Huber
commit: 558baf02fa324a2941ce66add2491f423750f817
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Nov 22 20:05:16 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Nov 22 20:05:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558baf02

dev-cpp/yaml-cpp: Drop google-code remote id

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index e84e7be..f1c1935 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -6,7 +6,6 @@
Johannes Huber


-   yaml-cpp
jbeder/yaml-cpp

 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: ee46fcb977c90d8070cd3b6ad5a06bb5a6a09005
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:26:19 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee46fcb9

dev-cpp/yaml-cpp: Remove 0.3.0

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild | 35 --
 2 files changed, 36 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 905a3b6..4bc45eb 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,4 +1,3 @@
 DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
-DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
deleted file mode 100644
index fd09adb..
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: dbeae7183af63c517513c1f775cd98294b1037c2
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:27:50 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbeae718

dev-cpp/yaml-cpp: Remove 0.5.2

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/Manifest  |  1 -
 dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | 36 --
 2 files changed, 37 deletions(-)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 4bc45eb..9921134 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,3 +1,2 @@
-DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
deleted file mode 100644
index d2db62f..
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://github.com/jbeder/yaml-cpp;
-SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.49.0-r2"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-release-${PV}"
-
-src_prepare() {
-   sed -i \
-   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
-   yaml-cpp.pc.cmake || die
-
-   cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=ON
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-11-02 Thread Johannes Huber
commit: 7649da5f29d28e6fb88cc6f6afdede6494f9055f
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Nov  2 17:37:13 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Nov  2 17:37:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7649da5f

dev-cpp/yaml-cpp: EAPI 6

Package-Manager: portage-2.3.2

 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
index 70eace3..f90f977 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils
 
-DESCRIPTION="A YAML parser and emitter in C++"
+DESCRIPTION="YAML parser and emitter in C++"
 HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-08-08 Thread Johannes Huber
commit: 40d03c05b4a7a4d951d52e5bc068edc2e36e3c6f
Author: Johannes Huber  gentoo  org>
AuthorDate: Mon Aug  8 17:04:39 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Mon Aug  8 17:04:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d03c05

dev-cpp/yaml-cpp: Add myself as maintainer

Package-Manager: portage-2.3.0

 dev-cpp/yaml-cpp/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index c3c3aa4..e84e7be 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   j...@gentoo.org
+   Johannes Huber
+   

yaml-cpp
jbeder/yaml-cpp



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-08-06 Thread Pacho Ramos
commit: 61992689914b24fb27c3bb98c3346a464d698507
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Aug  6 12:39:22 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Aug  6 12:46:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61992689

dev-cpp/yaml-cpp: Cleanup per bug #231477

Package-Manager: portage-2.3.0

 dev-cpp/yaml-cpp/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-cpp/yaml-cpp/metadata.xml b/dev-cpp/yaml-cpp/metadata.xml
index 995008a..c3c3aa4 100644
--- a/dev-cpp/yaml-cpp/metadata.xml
+++ b/dev-cpp/yaml-cpp/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   neurog...@gentoo.org
-   Jesus Rivero
-   

yaml-cpp
jbeder/yaml-cpp



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-01-20 Thread Alexys Jacob
commit: 04cc17baca8773d552a42e920252a16dd79d1019
Author: Ultrabug  gentoo  org>
AuthorDate: Wed Jan 20 08:10:30 2016 +
Commit: Alexys Jacob  gentoo  org>
CommitDate: Wed Jan 20 12:45:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cc17ba

dev-cpp/yaml-cpp: version bump

Package-Manager: portage-2.2.27

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 2c3fd11..905a3b6 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,3 +1,4 @@
 DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
+DIST release-0.5.3.tar.gz 2016737 SHA256 
ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f SHA512 
5ed15fee3c6455c08e6bd8f74256b230f274ef18f8e144491e940640e41626517c7eaaf4a1f380c4179066a2a757c8a0f61878df9dc3caa15e37c4954be47fe0
 WHIRLPOOL 
93be1e627bf75e456e486eef2f9d5a9bbbf165d9aaa774ab4bb013d2797455ccaae4f312f09ff87e5693719996202f7e4d61fb65bd948e1f215c74b5747c0817
 DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
new file mode 100644
index 000..70eace3
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2016-01-07 Thread Patrice Clement
commit: fd75484b75b558d5b8c1f98c9b77bb2265f60206
Author: Matthew Dawson  mjdsystems  ca>
AuthorDate: Mon Dec 28 22:47:05 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Dec 28 22:47:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd75484b

dev-cpp/yaml-cpp: Bump to version 0.5.2.  Adjust SRC_URI and S to match tarball.

Package-Manager: portage-2.2.24

 dev-cpp/yaml-cpp/Manifest  |  1 +
 dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild | 36 ++
 2 files changed, 37 insertions(+)

diff --git a/dev-cpp/yaml-cpp/Manifest b/dev-cpp/yaml-cpp/Manifest
index 8b5a1be..2c3fd11 100644
--- a/dev-cpp/yaml-cpp/Manifest
+++ b/dev-cpp/yaml-cpp/Manifest
@@ -1,2 +1,3 @@
+DIST release-0.5.2.tar.gz 2015873 SHA256 
6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350 SHA512 
61e4d45f412193bd21f60ae0a225486e99e3205d10df9ad917f906b3d1e9c75ac13e2416d722452d5ecc940f217a536dd9ea128dc33b0f052ddc05d022342621
 WHIRLPOOL 
67c72e21d051c3538a5abe2b9a7a7e83d86997a78b7045c1b0b718873e9335a22f709700177affe2100fbabe57e3e81fc742be0127379000c198292413749d44
 DIST yaml-cpp-0.3.0.tar.gz 82674 SHA256 
2cd038b5a1583b6745e949e196fba525f6d0d5fd340566585fde24fc7e117b82 SHA512 
1db7ef9ab717cf3185494dd40872d53948822bf0bb7a8039f5ccade77f29a7c1f37671627404d33f3213654d8e0582e6eaad139fd51f455a0d4d779bf467f43d
 WHIRLPOOL 
106c5a3eda627651c49e1bcf9f22345fcaaaeb85efac4de7b7d103b0d2924ccb3c093dcd6ac03ccad7325d1f3faffc3165288e62bfa913eca21bfcb4eb3b26b9
 DIST yaml-cpp-0.5.1.tar.gz 118244 SHA256 
3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 SHA512 
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013
 WHIRLPOOL 
43c1998584fb8cc8b0954a1eba39aa18be074c5f1c84ac60df89adc84717007d8f6e67978da2e4f235365d820d7b2809f19eb3c67263ff936f44a9438546

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
new file mode 100644
index 000..d2db62f
--- /dev/null
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A YAML parser and emitter in C++"
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
+SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=">=dev-libs/boost-1.49.0-r2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+   sed -i \
+   -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
+   yaml-cpp.pc.cmake || die
+
+   cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_SHARED_LIBS=ON
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/

2015-09-01 Thread Tobias Klausmann
commit: 1945a2b02c64999ba24d822d12d7444b17ee2059
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep  1 18:58:14 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep  1 18:58:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1945a2b0

dev-cpp/yaml-cpp: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild | 2 +-
 dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
index c57489f..fd09adb 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild
@@ -7,7 +7,7 @@ EAPI=4
 inherit cmake-utils
 
 DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://code.google.com/p/yaml-cpp/;
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
 
 LICENSE="MIT"

diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild 
b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
index 97d5bb9..e735d73 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.1.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit cmake-utils
 
 DESCRIPTION="A YAML parser and emitter in C++"
-HOMEPAGE="https://code.google.com/p/yaml-cpp/;
+HOMEPAGE="https://github.com/jbeder/yaml-cpp;
 SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz;
 
 LICENSE="MIT"