Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/
Date: Sun, 30 Aug 2020 05:51:28
Message-Id: 1598766678.e80822e8f1fb71bcb7faec08eade7ba7171cb29b.sam@gentoo
1 commit: e80822e8f1fb71bcb7faec08eade7ba7171cb29b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 05:51:18 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 05:51:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80822e8
7
8 dev-cpp/yaml-cpp: security cleanup
9
10 Closes: https://bugs.gentoo.org/719150
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild | 48 -------------------------------
15 1 file changed, 48 deletions(-)
16
17 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
18 deleted file mode 100644
19 index 98223343eb1..00000000000
20 --- a/dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r2.ebuild
21 +++ /dev/null
22 @@ -1,48 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -CMAKE_ECLASS="cmake"
29 -inherit cmake-multilib
30 -
31 -DESCRIPTION="YAML parser and emitter in C++"
32 -HOMEPAGE="https://github.com/jbeder/yaml-cpp"
33 -SRC_URI="https://github.com/jbeder/${PN}/archive/${P}.tar.gz"
34 -
35 -LICENSE="MIT"
36 -SLOT="0/0.6"
37 -KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
38 -IUSE="test"
39 -
40 -# test breaks build
41 -# RESTRICT="!test? ( test )"
42 -RESTRICT+="test"
43 -
44 -DEPEND="test? ( dev-cpp/gtest )"
45 -
46 -S="${WORKDIR}/${PN}-${P}"
47 -
48 -PATCHES=(
49 - "${FILESDIR}/${P}-abi-breakage.patch"
50 - "${FILESDIR}/${P}-CVE-2017-11692.patch"
51 -)
52 -
53 -src_prepare() {
54 - sed -i \
55 - -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \
56 - yaml-cpp.pc.cmake || die
57 -
58 - cmake_src_prepare
59 -}
60 -
61 -src_configure() {
62 - local mycmakeargs=(
63 - -DBUILD_SHARED_LIBS=ON
64 - -DYAML_BUILD_SHARED_LIBS=ON
65 - -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule
66 - -DYAML_CPP_BUILD_TESTS=$(usex test)
67 - )
68 -
69 - cmake-multilib_src_configure
70 -}