1 |
commit: 2a9c1691cbf9d3697e3aceb12d697b7987747023 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 14 17:09:15 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 14 18:36:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9c1691 |
7 |
|
8 |
media-libs/taglib: Drop 1.11.1-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/taglib/Manifest | 1 - |
14 |
.../files/taglib-1.11.1-CVE-2017-12678.patch | 30 ----------- |
15 |
media-libs/taglib/metadata.xml | 3 -- |
16 |
media-libs/taglib/taglib-1.11.1-r1.ebuild | 58 ---------------------- |
17 |
4 files changed, 92 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest |
20 |
index d83fc6fa89d..22540a0665a 100644 |
21 |
--- a/media-libs/taglib/Manifest |
22 |
+++ b/media-libs/taglib/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST taglib-1.11.1.tar.gz 1261620 BLAKE2B b33212df2a63d8d6bbca62b175812ec52783fdbfed8fb7bc5dedde845ac01e4f89a64d96b231e1db1e5e609e84dd84d83a2266c1f9ed371f1fad7ffca50486ac SHA512 7846775c4954ea948fe4383e514ba7c11f55d038ee06b6ea5a0a1c1069044b348026e76b27aa4ba1c71539aa8143e1401fab39184cc6e915ba0ae2c06133cb98 |
25 |
DIST taglib-1.11.1_p20181028.tar.gz 1299993 BLAKE2B d281873a87742ba417ea764bb01f9a4c5553a4624d2c257dd82bbb2f0b7e3103ab6ca253f78c0167908f449aac833873ca1cce6f24b1eb5f608131382833262a SHA512 e26439b65ab579455f79e87a94c33a98e17209b31a19b531e5964a2c0ded395c35067655e31ad22b6205149e2e920d7bd145993f064d3ad13e1de8a9f7e37256 |
26 |
|
27 |
diff --git a/media-libs/taglib/files/taglib-1.11.1-CVE-2017-12678.patch b/media-libs/taglib/files/taglib-1.11.1-CVE-2017-12678.patch |
28 |
deleted file mode 100644 |
29 |
index 4b567da1982..00000000000 |
30 |
--- a/media-libs/taglib/files/taglib-1.11.1-CVE-2017-12678.patch |
31 |
+++ /dev/null |
32 |
@@ -1,30 +0,0 @@ |
33 |
-From eb9ded1206f18f2c319157337edea2533a40bea6 Mon Sep 17 00:00:00 2001 |
34 |
-From: "Stephen F. Booth" <me@××××××.org> |
35 |
-Date: Sun, 23 Jul 2017 10:11:09 -0400 |
36 |
-Subject: [PATCH] Don't assume TDRC is an instance of TextIdentificationFrame |
37 |
- |
38 |
-If TDRC is encrypted, FrameFactory::createFrame() returns UnknownFrame |
39 |
-which causes problems in rebuildAggregateFrames() when it is assumed |
40 |
-that TDRC is a TextIdentificationFrame |
41 |
---- |
42 |
- taglib/mpeg/id3v2/id3v2framefactory.cpp | 5 +++-- |
43 |
- 1 file changed, 3 insertions(+), 2 deletions(-) |
44 |
- |
45 |
-diff --git a/taglib/mpeg/id3v2/id3v2framefactory.cpp b/taglib/mpeg/id3v2/id3v2framefactory.cpp |
46 |
-index 759a9b7be..9347ab869 100644 |
47 |
---- a/taglib/mpeg/id3v2/id3v2framefactory.cpp |
48 |
-+++ b/taglib/mpeg/id3v2/id3v2framefactory.cpp |
49 |
-@@ -334,10 +334,11 @@ void FrameFactory::rebuildAggregateFrames(ID3v2::Tag *tag) const |
50 |
- tag->frameList("TDAT").size() == 1) |
51 |
- { |
52 |
- TextIdentificationFrame *tdrc = |
53 |
-- static_cast<TextIdentificationFrame *>(tag->frameList("TDRC").front()); |
54 |
-+ dynamic_cast<TextIdentificationFrame *>(tag->frameList("TDRC").front()); |
55 |
- UnknownFrame *tdat = static_cast<UnknownFrame *>(tag->frameList("TDAT").front()); |
56 |
- |
57 |
-- if(tdrc->fieldList().size() == 1 && |
58 |
-+ if(tdrc && |
59 |
-+ tdrc->fieldList().size() == 1 && |
60 |
- tdrc->fieldList().front().size() == 4 && |
61 |
- tdat->data().size() >= 5) |
62 |
- { |
63 |
|
64 |
diff --git a/media-libs/taglib/metadata.xml b/media-libs/taglib/metadata.xml |
65 |
index cabb8e8cf5a..0d251d573cf 100644 |
66 |
--- a/media-libs/taglib/metadata.xml |
67 |
+++ b/media-libs/taglib/metadata.xml |
68 |
@@ -5,9 +5,6 @@ |
69 |
<email>kde@g.o</email> |
70 |
<name>Gentoo KDE Project</name> |
71 |
</maintainer> |
72 |
- <use> |
73 |
- <flag name="boost">Use <pkg>dev-libs/boost</pkg> instead of GCC built-ins</flag> |
74 |
- </use> |
75 |
<upstream> |
76 |
<remote-id type="github">taglib/taglib</remote-id> |
77 |
</upstream> |
78 |
|
79 |
diff --git a/media-libs/taglib/taglib-1.11.1-r1.ebuild b/media-libs/taglib/taglib-1.11.1-r1.ebuild |
80 |
deleted file mode 100644 |
81 |
index ac42c4b3bf4..00000000000 |
82 |
--- a/media-libs/taglib/taglib-1.11.1-r1.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,58 +0,0 @@ |
85 |
-# Copyright 1999-2018 Gentoo Foundation |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
- |
88 |
-EAPI=6 |
89 |
- |
90 |
-inherit cmake-multilib flag-o-matic |
91 |
- |
92 |
-DESCRIPTION="A library for reading and editing audio meta data" |
93 |
-HOMEPAGE="https://taglib.github.io/" |
94 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
95 |
- |
96 |
-LICENSE="LGPL-2.1 MPL-1.1" |
97 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" |
98 |
-SLOT="0" |
99 |
-IUSE="boost debug examples test" |
100 |
- |
101 |
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
102 |
- boost? ( dev-libs/boost:=[${MULTILIB_USEDEP}] )" |
103 |
-DEPEND="${RDEPEND} |
104 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
105 |
- test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] ) |
106 |
-" |
107 |
- |
108 |
-PATCHES=( |
109 |
- "${FILESDIR}"/${PN}-1.11-install-examples.patch |
110 |
- "${FILESDIR}"/${P}-CVE-2017-12678.patch |
111 |
-) |
112 |
- |
113 |
-MULTILIB_CHOST_TOOLS=( |
114 |
- /usr/bin/taglib-config |
115 |
-) |
116 |
- |
117 |
-src_prepare() { |
118 |
- cmake-utils_src_prepare |
119 |
- |
120 |
- sed -e "s/BUILD_TESTS AND NOT BUILD_SHARED_LIBS/BUILD_TESTS/" \ |
121 |
- -i CMakeLists.txt \ |
122 |
- -i ConfigureChecks.cmake || die |
123 |
- |
124 |
- # bug 651744 |
125 |
- append-cxxflags -std=c++11 |
126 |
-} |
127 |
- |
128 |
-multilib_src_configure() { |
129 |
- local mycmakeargs=( |
130 |
- -DBUILD_EXAMPLES=$(multilib_native_usex examples) |
131 |
- $(cmake-utils_use_find_package boost Boost) |
132 |
- -DBUILD_SHARED_LIBS=ON |
133 |
- -DBUILD_TESTS=$(usex test) |
134 |
- ) |
135 |
- |
136 |
- cmake-utils_src_configure |
137 |
-} |
138 |
- |
139 |
-multilib_src_test() { |
140 |
- # ctest does not work |
141 |
- emake -C "${BUILD_DIR}" check |
142 |
-} |