Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/, sys-block/thin-provisioning-tools/files/
Date: Sun, 21 Apr 2019 10:16:26
Message-Id: 1555841775.89a600e91fcaabcf4fea2dbf832f7e074451ad7e.polynomial-c@gentoo
1 commit: 89a600e91fcaabcf4fea2dbf832f7e074451ad7e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 21 10:15:42 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 21 10:16:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a600e9
7
8 sys-block/thin-provisioning-tools: Removed old.
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-block/thin-provisioning-tools/Manifest | 2 -
14 ...thin-provisioning-tools-0.6.3-build-fixes.patch | 57 --------------------
15 .../thin-provisioning-tools-0.6.3.ebuild | 58 ---------------------
16 .../thin-provisioning-tools-0.7.5.ebuild | 60 ----------------------
17 4 files changed, 177 deletions(-)
18
19 diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest
20 index a7be1f8bb4d..3517c6ec0ed 100644
21 --- a/sys-block/thin-provisioning-tools/Manifest
22 +++ b/sys-block/thin-provisioning-tools/Manifest
23 @@ -1,6 +1,4 @@
24 DIST thin-provisioning-tools-0.4.1.tar.gz 186979 BLAKE2B d7e60b67f716c1398c4fa7230b3e0b57f62aa47cf6253806e4e3b932b0a71a489cf367ec9eb1e0a620dfab5a7ef0f4c2049a8ee5f5da0d94855fc3618dd03feb SHA512 e148296b55f7ff4ab85dc3b4679c7eab0ee8d56e61415397fc2e46f17bcc16a6a582c17343381320f8582bc4f12311af622d43aabe60e7abb25a882446016b7e
25 -DIST thin-provisioning-tools-0.6.3.tar.gz 198697 BLAKE2B 0bc9ae1ee650f4f2c553ca72e0569bcf2590174cde2b89084ff4347d78f0dbd08c29bbc9629498f2b8fe2149fb27eeee2e0b5928890224b9ead224fd1a3161d1 SHA512 ccebf5bb1ac2da56a3dab5b7ce8d61f6a71f84b5168c2680618d724340bbf8cf97c935c1bce966a296331d9dc048a855d81775d2a39f10b4096ab3ee835286d9
26 DIST thin-provisioning-tools-0.7.0.tar.gz 230595 BLAKE2B 00238a682f80600e3a5bb6d0d2a9662bd0fd3ae5404d5895427f169640b469780f554c22c6a93187058e6399c76ba14a6fa8d73f2bb09aa79927dd458b58ffa9 SHA512 cb6c44c7215aadd72292d73e2374d8c0c28566adcb10c7a3de83576dbd28649ebba6e2cc59945a28921e423540969cb21f648c37e375d68f48e56a8be4a4c7b8
27 -DIST thin-provisioning-tools-0.7.5.tar.gz 278856 BLAKE2B f554a9001bc9dde3510e3702f184d48cd77ddfc04f16c7e054fea8a3a47fdce7796ca4fcdb8d155e3d22526535ae965e344b3c2735f6275a7702044536dff923 SHA512 65268cc0c68428fa89f039c097794f574ef79b1862de3208715b9180ba73b197f37d879b386b110c52d9f2d3e80fb069a8d48ee2939aa1fd2b88f2513babc763
28 DIST thin-provisioning-tools-0.7.6.tar.gz 285428 BLAKE2B af74eff6d435f00e347872786fee8627f02844af122a9f1bf9ffd00234ce5275d3a61d9b4204313a19813cadbc0197bbeb9a1bd92d55992c6d9a03a299579e29 SHA512 395035b6f59fafb1c0f3e68750611e04f10223bc8d57b257e25c28c928647d1d2c6e94014b64ed90eeae1151fc7e5d23cf1aa428716e343338cb3c8fe55ed704
29 DIST thin-provisioning-tools-0.8.0.tar.gz 305009 BLAKE2B 1002916cd7b455be21091007f68d12455476efc234a3892607152085adab37db03cea9959cf76d6903dad680b209d87ec62745b268daa02ff11667d0e070da8c SHA512 b95f320f8da94b52327d7afece98020de65c7a3eccf9e6d8e8f89600b9f984e3d4ae928b52c04dd973d0d87885354567f6d392e9551e0e7394158406bae79891
30
31 diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.6.3-build-fixes.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.6.3-build-fixes.patch
32 deleted file mode 100644
33 index ae1148a1626..00000000000
34 --- a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.6.3-build-fixes.patch
35 +++ /dev/null
36 @@ -1,57 +0,0 @@
37 -diff -purN a/Makefile.in b/Makefile.in
38 ---- a/Makefile.in 2016-07-21 15:42:52.000000000 +0100
39 -+++ b/Makefile.in 2016-10-28 22:45:54.292931031 +0100
40 -@@ -108,7 +108,7 @@ CFLAGS?=@CFLAGS@
41 - CFLAGS+=-Wall
42 - CFLAGS+=@LFS_FLAGS@
43 - CXXFLAGS?=@CXXFLAGS@
44 --CXXFLAGS+=-Wall -fno-strict-aliasing -std=gnu++98
45 -+CXXFLAGS+=-Wall -fno-strict-aliasing
46 - CXXFLAGS+=@CXXOPTIMISE_FLAG@
47 - CXXFLAGS+=@CXXDEBUG_FLAG@
48 - CXXFLAGS+=@CXX_STRERROR_FLAG@
49 -diff -purN a/thin-provisioning/restore_emitter.cc b/thin-provisioning/restore_emitter.cc
50 ---- a/thin-provisioning/restore_emitter.cc 2016-07-21 15:42:52.000000000 +0100
51 -+++ b/thin-provisioning/restore_emitter.cc 2016-10-28 22:49:32.662189111 +0100
52 -@@ -142,7 +142,7 @@ namespace {
53 - bool device_exists(thin_dev_t dev) const {
54 - uint64_t key[1] = {dev};
55 - device_tree::maybe_value v = md_->details_->lookup(key);
56 -- return v;
57 -+ return v.is_initialized();
58 - }
59 -
60 - metadata::ptr md_;
61 -diff -purN a/thin-provisioning/thin_pool.cc b/thin-provisioning/thin_pool.cc
62 ---- a/thin-provisioning/thin_pool.cc 2016-07-21 15:42:52.000000000 +0100
63 -+++ b/thin-provisioning/thin_pool.cc 2016-10-28 22:50:26.999256645 +0100
64 -@@ -232,7 +232,7 @@ bool
65 - thin_pool::device_exists(thin_dev_t dev) const
66 - {
67 - uint64_t key[1] = {dev};
68 -- return md_->details_->lookup(key);
69 -+ return md_->details_->lookup(key).is_initialized();
70 - }
71 -
72 - //----------------------------------------------------------------
73 -diff -purN a/unit-tests/Makefile.in b/unit-tests/Makefile.in
74 ---- a/unit-tests/Makefile.in 2016-07-21 15:42:52.000000000 +0100
75 -+++ b/unit-tests/Makefile.in 2016-10-28 22:45:20.985893955 +0100
76 -@@ -25,7 +25,7 @@ GMOCK_FLAGS=\
77 - -Wno-unused-local-typedefs
78 -
79 - GMOCK_LIBS=\
80 -- -Llib -lpdata -lgmock -lpthread -laio
81 -+ -Llib -lpdata -lgmock -lpthread -laio -lgtest
82 -
83 - GMOCK_DEPS=\
84 - $(wildcard $(GMOCK_DIR)/include/*.h) \
85 -@@ -80,7 +80,7 @@ TEST_OBJECTS=$(subst .cc,.gmo,$(TEST_SOU
86 - sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \
87 - $(RM) $*.$$$$
88 -
89 --unit-tests/unit_tests: $(TEST_OBJECTS) lib/libgmock.a lib/libpdata.a
90 -+unit-tests/unit_tests: $(TEST_OBJECTS) lib/libpdata.a
91 - @echo " [LD] $<"
92 - $(V)g++ $(CXXFLAGS) $(LDFLAGS) -o $@ $(TEST_OBJECTS) $(LIBS) $(GMOCK_LIBS) $(LIBEXPAT)
93 -
94
95 diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.6.3.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.6.3.ebuild
96 deleted file mode 100644
97 index fdca9783f12..00000000000
98 --- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.6.3.ebuild
99 +++ /dev/null
100 @@ -1,58 +0,0 @@
101 -# Copyright 1999-2018 Gentoo Foundation
102 -# Distributed under the terms of the GNU General Public License v2
103 -
104 -EAPI=6
105 -
106 -inherit autotools flag-o-matic
107 -
108 -DESCRIPTION="A suite of tools for thin provisioning on Linux"
109 -HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
110 -SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
111 -
112 -LICENSE="GPL-3"
113 -SLOT="0"
114 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
115 -IUSE="static test"
116 -
117 -LIB_DEPEND="dev-libs/expat[static-libs(+)]
118 - dev-libs/libaio[static-libs(+)]"
119 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
120 -DEPEND="${RDEPEND}
121 - static? ( ${LIB_DEPEND} )
122 - test? (
123 - || ( dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 )
124 - >=dev-cpp/gtest-1.8.0
125 - dev-util/cucumber
126 - dev-util/aruba
127 - )
128 - dev-libs/boost"
129 -
130 -PATCHES=( "${FILESDIR}"/${P}-build-fixes.patch )
131 -
132 -src_prepare() {
133 - default
134 - eautoreconf
135 -}
136 -
137 -src_configure() {
138 - use static && append-ldflags -static
139 - STRIP=true econf \
140 - --prefix="${EPREFIX}"/ \
141 - --bindir="${EPREFIX}"/sbin \
142 - --with-optimisation='' \
143 - $(use_enable test testing)
144 -}
145 -
146 -src_compile() {
147 - MAKEOPTS+=" V="
148 - default
149 -}
150 -
151 -src_test() {
152 - emake unit-test
153 -}
154 -
155 -src_install() {
156 - emake DESTDIR="${D}" DATADIR="${ED}/usr/share" install
157 - dodoc README.md TODO.org
158 -}
159
160 diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.5.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.5.ebuild
161 deleted file mode 100644
162 index 22a1164fc48..00000000000
163 --- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.5.ebuild
164 +++ /dev/null
165 @@ -1,60 +0,0 @@
166 -# Copyright 1999-2018 Gentoo Foundation
167 -# Distributed under the terms of the GNU General Public License v2
168 -
169 -EAPI=6
170 -
171 -inherit autotools flag-o-matic
172 -
173 -DESCRIPTION="A suite of tools for thin provisioning on Linux"
174 -HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
175 -SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
176 -
177 -LICENSE="GPL-3"
178 -SLOT="0"
179 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
180 -IUSE="static test"
181 -
182 -LIB_DEPEND="dev-libs/expat[static-libs(+)]
183 - dev-libs/libaio[static-libs(+)]"
184 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
185 -DEPEND="${RDEPEND}
186 - static? ( ${LIB_DEPEND} )
187 - test? (
188 - || ( dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 )
189 - >=dev-cpp/gtest-1.8.0
190 - dev-util/cucumber
191 - dev-util/aruba
192 - )
193 - dev-libs/boost"
194 -
195 -PATCHES=(
196 - "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
197 -)
198 -
199 -src_prepare() {
200 - default
201 - eautoreconf
202 -}
203 -
204 -src_configure() {
205 - use static && append-ldflags -static
206 - STRIP=true econf \
207 - --prefix="${EPREFIX}"/ \
208 - --bindir="${EPREFIX}"/sbin \
209 - --with-optimisation='' \
210 - $(use_enable test testing)
211 -}
212 -
213 -src_compile() {
214 - MAKEOPTS+=" V="
215 - default
216 -}
217 -
218 -src_test() {
219 - emake unit-test
220 -}
221 -
222 -src_install() {
223 - emake DESTDIR="${D}" DATADIR="${ED%/}/usr/share" install
224 - dodoc README.md TODO.org
225 -}