diff options
author | Aric Belsito <lluixhi@gmail.com> | 2017-03-18 09:52:21 -0700 |
---|---|---|
committer | Aric Belsito <lluixhi@gmail.com> | 2017-03-18 09:52:21 -0700 |
commit | 564d3df64046dc88757fed56446ed4c9d0fbda2b (patch) | |
tree | 53e1043d73b92575f8bbef91c68391cad5be26f2 /sys-block | |
parent | net-fs/cifs-utils: sync with upstream (diff) | |
download | musl-564d3df64046dc88757fed56446ed4c9d0fbda2b.tar.gz musl-564d3df64046dc88757fed56446ed4c9d0fbda2b.tar.bz2 musl-564d3df64046dc88757fed56446ed4c9d0fbda2b.zip |
sys-block/thin-provisioning-tools: remove
Way out of date -- sys-block/thin-provisioning-tools-0.6.3 builds without
modifications.
Diffstat (limited to 'sys-block')
5 files changed, 0 insertions, 321 deletions
diff --git a/sys-block/thin-provisioning-tools/Manifest b/sys-block/thin-provisioning-tools/Manifest deleted file mode 100644 index 9453800f..00000000 --- a/sys-block/thin-provisioning-tools/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX thin-provisioning-tools-0.3.2-Remove-ambiguity-between-boost-uint64_t-and-uint64_t.patch 6866 SHA256 377c4b1b2caec23243e3cab6660ea736006a3c859e1a1b49831a481b631b230e SHA512 1f52f99d5fe41718b45558270b59be882cab54c962db2048fdb934321b5753957587ac62a9507fd7a89e45fceaeda1d8f2189af28188e2c8742783be1dd1421b WHIRLPOOL 0d5f856f23e023a696041b28b7a1ae39b28bf6bb7b2a82ccf30db98ea817fd5bd37676c7f046d0451db303fe2ecc54fcb5922da02856cba13455d3c9d275659b -AUX thin-provisioning-tools-0.3.2-strerror_r-returns-int.patch 1384 SHA256 b604495e13eeb02bbf9c3970053249f57f54fb5af8a1565e75563d434dd42ca5 SHA512 93edbfe491bc491946c47a62ac2020b65b70e5196dc475a99ca001942a0869ff7c4e5a017172d2e5530c6dfc48a5ac8565d6a27134e3a54cd14601ff6ffe7574 WHIRLPOOL 39afca367a4592da272cf9639f276fb2350e9ada3902a37f77297c9dd3020f997598e05eabda00a28e592ab081356c7b195239c48c33a7e80382ffc41e9c4b4e -DIST thin-provisioning-tools-0.3.2.tar.gz 175049 SHA256 1b9d8e9269cffe06f3c87214d35436225e12599debefbf1a50194c69cc3404ca SHA512 d6e18c303769b39c5bd48ef30d2819adc57d2d87b3c9b56d5d72468fb35f9b7b2309d35c6c12eabc36d653dd85338b9ad2fca9eed5c738a87b932b71f3a6da4f WHIRLPOOL b1bd87aa1995ba0616001837247c962c492d0029cb8a89b97aa326eb63d8a89113905f5d34490593e0cfcca33ef074e02a50679d22c3b1859d8fe5b97368c608 -EBUILD thin-provisioning-tools-0.3.2-r99.ebuild 1347 SHA256 639bc74e1245e834f3f6e3f500c91d2db721807265c6ed063e23f1ff3cde23f8 SHA512 9aaf5eebeb96f7acbac8e1a131a01ec0ff9126552c828c61864a71caa8c70e9b09cd278535c0789ce3852c1f294fbeb79e3b86d3449f9fc71786a3a79d1ac3a3 WHIRLPOOL b0a805307f70fc3c2a4fb90dd0ea765d2e7304e91a2d73cb9daa1e565ebfd20a047fe7a43d5461d34280b952dd111a27f6dfc974198e5e4d315b3d68072d5e64 -MISC metadata.xml 520 SHA256 6dd783de6d9d74a70f8e92b2ab847808c8051c706cf5ad7f97b6834daa39fa93 SHA512 d7302b86126a546e5e2ea585ba5e570000ca03f673b506a617e9220894de9b632b44e36570c761f4f1a7ea14f1cf1df050f939bc2d868fa549b1d0a5e4be2414 WHIRLPOOL cb6c0f926dfc270f19641e7a0acaf7872eb7da54e0e1d3d9808ac943c0ceff3ee0b3e412a2fe70498e474ecdec78095501610b09fd5c542514590d565d9d02c7 diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-Remove-ambiguity-between-boost-uint64_t-and-uint64_t.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-Remove-ambiguity-between-boost-uint64_t-and-uint64_t.patch deleted file mode 100644 index 9dd97807..00000000 --- a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-Remove-ambiguity-between-boost-uint64_t-and-uint64_t.patch +++ /dev/null @@ -1,214 +0,0 @@ -From e77e8715b0a91a60cf2c4b85933b1063385da122 Mon Sep 17 00:00:00 2001 -From: Joe Thornber <ejt@redhat.com> -Date: Wed, 2 Jul 2014 08:19:20 +0000 -Subject: Remove ambiguity between boost::uint64_t and ::uint64_t. - -This has been causing people problems on uclibc builds. ---- - caching/cache_metadata_size.cc | 15 +++++++-------- - caching/xml_format.cc | 7 +++---- - era/superblock.cc | 5 ++--- - era/writeset_tree.cc | 5 ++--- - persistent-data/data-structures/bitset.cc | 7 +++---- - thin-provisioning/device_tree.h | 4 +--- - thin-provisioning/metadata_dumper.cc | 2 +- - 7 files changed, 19 insertions(+), 26 deletions(-) - -diff --git a/caching/cache_metadata_size.cc b/caching/cache_metadata_size.cc -index 7584da6..5792c49 100644 ---- a/caching/cache_metadata_size.cc -+++ b/caching/cache_metadata_size.cc -@@ -7,7 +7,6 @@ - #include <stdint.h> - #include <stdexcept> - --using namespace boost; - using namespace std; - - //---------------------------------------------------------------- -@@ -18,9 +17,9 @@ namespace { - : max_hint_width(4) { - } - -- optional<uint64_t> device_size; -- optional<uint32_t> block_size; -- optional<uint64_t> nr_blocks; -+ boost::optional<uint64_t> device_size; -+ boost::optional<uint32_t> block_size; -+ boost::optional<uint64_t> nr_blocks; - uint32_t max_hint_width; - }; - -@@ -58,19 +57,19 @@ namespace { - while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { - switch (c) { - case 0: -- fs.block_size = lexical_cast<uint32_t>(optarg); -+ fs.block_size = boost::lexical_cast<uint32_t>(optarg); - break; - - case 1: -- fs.device_size = lexical_cast<uint64_t>(optarg); -+ fs.device_size = boost::lexical_cast<uint64_t>(optarg); - break; - - case 2: -- fs.nr_blocks = lexical_cast<uint64_t>(optarg); -+ fs.nr_blocks = boost::lexical_cast<uint64_t>(optarg); - break; - - case 3: -- fs.max_hint_width = lexical_cast<uint32_t>(optarg); -+ fs.max_hint_width = boost::lexical_cast<uint32_t>(optarg); - break; - - case 'h': -diff --git a/caching/xml_format.cc b/caching/xml_format.cc -index cb03018..84d6fc2 100644 ---- a/caching/xml_format.cc -+++ b/caching/xml_format.cc -@@ -5,7 +5,6 @@ - #include <boost/lexical_cast.hpp> - #include <expat.h> - --using namespace boost; - using namespace caching; - using namespace persistent_data; - using namespace std; -@@ -189,14 +188,14 @@ namespace { - - block_address cblock = get_attr<uint64_t>(attr, "cache_block"); - decoded_or_error doe = base64_decode(get_attr<string>(attr, "data")); -- if (!get<vector<unsigned char> >(&doe)) { -+ if (!boost::get<vector<unsigned char> >(&doe)) { - ostringstream msg; - msg << "invalid base64 encoding of hint for cache block " -- << cblock << ": " << get<string>(doe); -+ << cblock << ": " << boost::get<string>(doe); - throw runtime_error(msg.str()); - } - -- e->hint(cblock, get<vector<unsigned char> >(doe)); -+ e->hint(cblock, boost::get<vector<unsigned char> >(doe)); - } - - // FIXME: why passing e by ptr? -diff --git a/era/superblock.cc b/era/superblock.cc -index 1bd1a4f..c319e9b 100644 ---- a/era/superblock.cc -+++ b/era/superblock.cc -@@ -4,7 +4,6 @@ - #include "persistent-data/errors.h" - - using namespace base; --using namespace boost; - using namespace era; - using namespace superblock_damage; - using namespace persistent_data; -@@ -149,8 +148,8 @@ superblock_traits::unpack(disk_type const &disk, value_type &value) - - block_address ms = to_cpu<uint64_t>(disk.metadata_snap); - value.metadata_snap = (ms == SUPERBLOCK_LOCATION) ? -- optional<block_address>() : -- optional<block_address>(ms); -+ boost::optional<block_address>() : -+ boost::optional<block_address>(ms); - } - - void -diff --git a/era/writeset_tree.cc b/era/writeset_tree.cc -index 54aa6a1..4e2c478 100644 ---- a/era/writeset_tree.cc -+++ b/era/writeset_tree.cc -@@ -2,7 +2,6 @@ - #include "persistent-data/data-structures/btree_damage_visitor.h" - #include "persistent-data/data-structures/bitset.h" - --using namespace boost; - using namespace era; - using namespace writeset_tree_detail; - using namespace persistent_data; -@@ -90,8 +89,8 @@ namespace { - private: - template <typename T> - run<uint32_t> to_uint32(run<T> const &r) { -- return run<uint32_t>(optional<uint32_t>(r.begin_), -- optional<uint32_t>(r.end_)); -+ return run<uint32_t>(boost::optional<uint32_t>(r.begin_), -+ boost::optional<uint32_t>(r.end_)); - } - - damage_visitor &v_; -diff --git a/persistent-data/data-structures/bitset.cc b/persistent-data/data-structures/bitset.cc -index 5851e28..e49e19f 100644 ---- a/persistent-data/data-structures/bitset.cc -+++ b/persistent-data/data-structures/bitset.cc -@@ -2,7 +2,6 @@ - #include "persistent-data/data-structures/bitset.h" - #include "persistent-data/math_utils.h" - --using namespace boost; - using namespace persistent_data; - using namespace persistent_data::bitset_detail; - using namespace std; -@@ -12,7 +11,7 @@ using namespace std; - namespace { - struct bitset_traits { - typedef base::le64 disk_type; -- typedef uint64_t value_type; -+ typedef ::uint64_t value_type; - typedef no_op_ref_counter<uint64_t> ref_counter; - - static void unpack(disk_type const &disk, value_type &value) { -@@ -118,11 +117,11 @@ namespace persistent_data { - } - - private: -- optional<uint32_t> lifted_mult64(optional<uint32_t> const &m) { -+ boost::optional<uint32_t> lifted_mult64(boost::optional<uint32_t> const &m) { - if (!m) - return m; - -- return optional<uint32_t>(*m * 64); -+ return boost::optional<uint32_t>(*m * 64); - } - - bitset_visitor &v_; -diff --git a/thin-provisioning/device_tree.h b/thin-provisioning/device_tree.h -index 320eb73..23ae924 100644 ---- a/thin-provisioning/device_tree.h -+++ b/thin-provisioning/device_tree.h -@@ -4,8 +4,6 @@ - #include "persistent-data/data-structures/btree.h" - #include "persistent-data/run.h" - --using namespace boost; -- - //---------------------------------------------------------------- - - namespace thin_provisioning { -@@ -50,7 +48,7 @@ namespace thin_provisioning { - - class damage_visitor { - public: -- typedef shared_ptr<damage_visitor> ptr; -+ typedef boost::shared_ptr<damage_visitor> ptr; - - virtual ~damage_visitor() {} - -diff --git a/thin-provisioning/metadata_dumper.cc b/thin-provisioning/metadata_dumper.cc -index dfe18e0..0bd284e 100644 ---- a/thin-provisioning/metadata_dumper.cc -+++ b/thin-provisioning/metadata_dumper.cc -@@ -226,7 +226,7 @@ thin_provisioning::metadata_dump(metadata::ptr md, emitter::ptr e, bool repair) - md->sb_.trans_id_, - md->sb_.data_block_size_, - md->data_sm_->get_nr_blocks(), -- optional<block_address>()); -+ boost::optional<block_address>()); - - { - mapping_tree_detail::damage_visitor::ptr md_policy(mapping_damage_policy(repair)); --- -2.0.2 - diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-strerror_r-returns-int.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-strerror_r-returns-int.patch deleted file mode 100644 index 2f42acc4..00000000 --- a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.3.2-strerror_r-returns-int.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Naur thin-provisioning-tools-0.3.2.orig/caching/cache_check.cc thin-provisioning-tools-0.3.2/caching/cache_check.cc ---- thin-provisioning-tools-0.3.2.orig/caching/cache_check.cc 2014-04-02 08:43:16.000000000 -0400 -+++ thin-provisioning-tools-0.3.2/caching/cache_check.cc 2015-07-19 22:42:11.606851760 -0400 -@@ -201,10 +201,10 @@ - int r = ::stat(path.c_str(), &info); - if (r) { - ostringstream msg; -- char buffer[128], *ptr; -+ char buffer[128]; - -- ptr = ::strerror_r(errno, buffer, sizeof(buffer)); -- msg << path << ": " << ptr; -+ ::strerror_r(errno, buffer, sizeof(buffer)); -+ msg << path << ": " << buffer; - throw runtime_error(msg.str()); - } - -diff -Naur thin-provisioning-tools-0.3.2.orig/persistent-data/block.tcc thin-provisioning-tools-0.3.2/persistent-data/block.tcc ---- thin-provisioning-tools-0.3.2.orig/persistent-data/block.tcc 2014-04-02 08:43:16.000000000 -0400 -+++ thin-provisioning-tools-0.3.2/persistent-data/block.tcc 2015-07-19 22:39:10.567860436 -0400 -@@ -45,10 +45,10 @@ - // to exception.h - void syscall_failed(char const *call) { - char buffer[128]; -- char *msg = strerror_r(errno, buffer, sizeof(buffer)); -+ strerror_r(errno, buffer, sizeof(buffer)); - - ostringstream out; -- out << "syscall '" << call << "' failed: " << msg; -+ out << "syscall '" << call << "' failed: " << buffer; - throw runtime_error(out.str()); - } - diff --git a/sys-block/thin-provisioning-tools/metadata.xml b/sys-block/thin-provisioning-tools/metadata.xml deleted file mode 100644 index dafa0052..00000000 --- a/sys-block/thin-provisioning-tools/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>robbat2@gentoo.org</email> -</maintainer> -<maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> -</maintainer> -<longdescription lang="en"> -A suite of tools for thin provisioning on Linux. -</longdescription> -<upstream> - <remote-id type="github">jthornber/thin-provisioning-tools</remote-id> -</upstream> -</pkgmetadata> diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.3.2-r99.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.3.2-r99.ebuild deleted file mode 100644 index f5a9121a..00000000 --- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.3.2-r99.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="A suite of tools for thin provisioning on Linux" -HOMEPAGE="http://github.com/jthornber/thin-provisioning-tools" -EXT=.tar.gz -BASE_A=${P}${EXT} -SRC_URI="http://github.com/jthornber/${PN}/archive/v${PV}${EXT} -> ${BASE_A}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm ~mips ppc x86" -IUSE="test" - -RDEPEND="dev-libs/expat" -# || ( ) is a non-future proof workaround for Portage unefficiency wrt #477050 -DEPEND="${RDEPEND} - test? ( - || ( dev-lang/ruby:2.9 dev-lang/ruby:2.8 dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) - dev-cpp/gmock - dev-util/cucumber - dev-util/aruba - ) - dev-libs/boost" - -src_prepare() { - epatch "${FILESDIR}"/${P}-Remove-ambiguity-between-boost-uint64_t-and-uint64_t.patch - epatch "${FILESDIR}"/${P}-strerror_r-returns-int.patch - epatch_user - eautoreconf -} - -src_configure() { - econf \ - --prefix="${EPREFIX}"/ \ - --bindir="${EPREFIX}"/sbin \ - --with-optimisation='' \ - $(use_enable test testing) -} - -src_install() { - emake install DESTDIR="${D}" MANDIR=/usr/share/man - dodoc README.md TODO.org -} - -src_test() { - emake unit-test -} |