commit:     9cd7b5e94ec54f4df7ed62ab0ed1f1143ef24926
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 11:48:02 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun May 23 11:48:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd7b5e9

sys-block/thin-provisioning-tools: drop 0.7.6, 0.8.5

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-block/thin-provisioning-tools/Manifest         |  2 -
 ...n-provisioning-tools-0.8.5-libaio-0.3.112.patch | 84 ----------------------
 .../thin-provisioning-tools-0.7.6.ebuild           | 61 ----------------
 .../thin-provisioning-tools-0.8.5.ebuild           | 73 -------------------
 4 files changed, 220 deletions(-)

diff --git a/sys-block/thin-provisioning-tools/Manifest 
b/sys-block/thin-provisioning-tools/Manifest
index 361327268ea..07f841d0218 100644
--- a/sys-block/thin-provisioning-tools/Manifest
+++ b/sys-block/thin-provisioning-tools/Manifest
@@ -1,4 +1,2 @@
 DIST thin-provisioning-tools-0.7.0.tar.gz 230595 BLAKE2B 
00238a682f80600e3a5bb6d0d2a9662bd0fd3ae5404d5895427f169640b469780f554c22c6a93187058e6399c76ba14a6fa8d73f2bb09aa79927dd458b58ffa9
 SHA512 
cb6c44c7215aadd72292d73e2374d8c0c28566adcb10c7a3de83576dbd28649ebba6e2cc59945a28921e423540969cb21f648c37e375d68f48e56a8be4a4c7b8
-DIST thin-provisioning-tools-0.7.6.tar.gz 285428 BLAKE2B 
af74eff6d435f00e347872786fee8627f02844af122a9f1bf9ffd00234ce5275d3a61d9b4204313a19813cadbc0197bbeb9a1bd92d55992c6d9a03a299579e29
 SHA512 
395035b6f59fafb1c0f3e68750611e04f10223bc8d57b257e25c28c928647d1d2c6e94014b64ed90eeae1151fc7e5d23cf1aa428716e343338cb3c8fe55ed704
-DIST thin-provisioning-tools-0.8.5.tar.gz 305585 BLAKE2B 
7e4bde537535db79e97ddab3cba775c89854362dac7da491c040badf5e3546d2e6ac4b8da8462edb59f50a2ecd95fe9c5e3349fca5e9acd588efaaf990617ca4
 SHA512 
1f9a1b6b9059f0b23ec3a00ddef223599292d447894316525f13b9c1e4f29d0371cb901d199cb503be4342555e016e5e6eb2d6e0e10c44b08e6c9478c573e1d4
 DIST thin-provisioning-tools-0.9.0.tar.gz 500998 BLAKE2B 
ac269fb6dfd1baf1572da27582ac2cd763b07aaac130a9467d05581e7a0ba1309d7dbf4c6095407111667e57af2e8183318d558ed23853f9c84b9c151c0878d9
 SHA512 
e1796fb3948847d72ca8247cae58017507c0a847a00201b93668eeb8fbfea4107c4c2affa5c211c149798a89b10474e83d2bd61a5545a668299be97aed591e0f

diff --git 
a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.8.5-libaio-0.3.112.patch
 
b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.8.5-libaio-0.3.112.patch
deleted file mode 100644
index af31b90a40b..00000000000
--- 
a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.8.5-libaio-0.3.112.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From 6332962ee866f5289de87ab70cd3db863298982c Mon Sep 17 00:00:00 2001
-From: Joe Thornber <[email protected]>
-Date: Wed, 5 Jun 2019 15:02:05 +0100
-Subject: [PATCH] [ft-lib/bcache] rename raise() -> raise_()
-
-Name clash with signal.h on Debian and Gentoo.
----
- ft-lib/bcache.c | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/ft-lib/bcache.c b/ft-lib/bcache.c
-index 0dca5031..ee5b6c59 100644
---- a/ft-lib/bcache.c
-+++ b/ft-lib/bcache.c
-@@ -31,7 +31,7 @@ static void warn(const char *fmt, ...)
- }
- 
- // FIXME: raise a condition somehow?
--static void raise(const char *fmt, ...)
-+static void raise_(const char *fmt, ...)
- {
-       va_list ap;
- 
-@@ -51,7 +51,7 @@ static inline struct list_head *list_pop(struct list_head 
*head)
-       struct list_head *l;
- 
-       if (head->next == head)
--              raise("list is empty\n");
-+              raise_("list is empty\n");
- 
-       l = head->next;
-       list_del(l);
-@@ -98,7 +98,7 @@ static struct cb_set *cb_set_create(unsigned nr)
- static void cb_set_destroy(struct cb_set *cbs)
- {
-       if (!list_empty(&cbs->allocated))
--              raise("async io still in flight");
-+              raise_("async io still in flight");
- 
-       free(cbs->vec);
-       free(cbs);
-@@ -713,13 +713,13 @@ struct bcache *bcache_simple(const char *path, unsigned 
nr_cache_blocks)
-       uint64_t s;
- 
-       if (fd < 0) {
--              raise("couldn't open cache file");
-+              raise_("couldn't open cache file");
-               return NULL;
-       }
- 
-       r = fstat(fd, &info);
-       if (r < 0) {
--              raise("couldn't stat cache file");
-+              raise_("couldn't stat cache file");
-               return NULL;
-       }
- 
-@@ -751,7 +751,7 @@ void bcache_destroy(struct bcache *cache)
- static void check_index(struct bcache *cache, block_address index)
- {
-       if (index >= cache->nr_data_blocks)
--              raise("block out of bounds (%llu >= %llu)",
-+              raise_("block out of bounds (%llu >= %llu)",
-                     (unsigned long long) index,
-                     (unsigned long long) cache->nr_data_blocks);
- }
-@@ -802,7 +802,7 @@ static struct block *lookup_or_read_block(struct bcache 
*cache,
-               // FIXME: this is insufficient.  We need to also catch a read
-               // lock of a write locked block.  Ref count needs to 
distinguish.
-               if (b->ref_count && (flags & (GF_DIRTY | GF_ZERO)))
--                      raise("concurrent write lock attempt");
-+                      raise_("concurrent write lock attempt");
- 
-               if (test_flags(b, BF_IO_PENDING)) {
-                       miss(cache, flags);
-@@ -858,7 +858,7 @@ struct block *get_block(struct bcache *cache, 
block_address index, unsigned flag
-               return b;
-       }
- 
--      raise("couldn't get block");
-+      raise_("couldn't get block");
-       return NULL;
- }
- 

diff --git 
a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.6.ebuild 
b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.6.ebuild
deleted file mode 100644
index 9488fd97cf6..00000000000
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.6.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="A suite of tools for thin provisioning on Linux"
-HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools";
-SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
-IUSE="static test"
-RESTRICT="!test? ( test )"
-
-LIB_DEPEND="dev-libs/expat[static-libs(+)]
-       dev-libs/libaio[static-libs(+)]"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
-DEPEND="${RDEPEND}
-       static? ( ${LIB_DEPEND} )
-       test? (
-               dev-lang/ruby:2.5
-               >=dev-cpp/gtest-1.8.0
-               dev-util/cucumber
-               dev-util/aruba
-       )
-       dev-libs/boost"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       use static && append-ldflags -static
-       STRIP=true econf \
-               --prefix="${EPREFIX}"/ \
-               --bindir="${EPREFIX}"/sbin \
-               --with-optimisation='' \
-               $(use_enable test testing)
-}
-
-src_compile() {
-       MAKEOPTS+=" V="
-       default
-}
-
-src_test() {
-       emake unit-test
-}
-
-src_install() {
-       emake DESTDIR="${D}" DATADIR="${ED%/}/usr/share" install
-       dodoc README.md TODO.org
-}

diff --git 
a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.5.ebuild 
b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.5.ebuild
deleted file mode 100644
index 67967d50aa6..00000000000
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.8.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="A suite of tools for thin provisioning on Linux"
-HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools";
-
-if [[ ${PV} != *9999 ]]; then
-       SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-else
-       inherit git-r3
-       EGIT_REPO_URI='https://github.com/jthornber/thin-provisioning-tools.git'
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="static test"
-RESTRICT="!test? ( test )"
-
-LIB_DEPEND="dev-libs/expat[static-libs(+)]
-       dev-libs/libaio[static-libs(+)]"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
-DEPEND="${RDEPEND}
-       static? ( ${LIB_DEPEND} )
-       test? (
-               || (
-                       dev-lang/ruby:2.6
-                       dev-lang/ruby:2.5
-               )
-               >=dev-cpp/gtest-1.8.0
-               dev-util/cucumber
-               dev-util/aruba
-       )
-       dev-libs/boost"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.7.0-build-fixes.patch
-       "${FILESDIR}"/${PN}-0.8.5-libaio-0.3.112.patch
-)
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       use static && append-ldflags -static
-       local myeconfargs=(
-               --prefix="${EPREFIX}"/
-               --bindir="${EPREFIX}"/sbin
-               --with-optimisation=''
-               $(use_enable test testing)
-       )
-       STRIP=true econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       MAKEOPTS+=" V="
-       default
-}
-
-src_test() {
-       emake unit-test
-}
-
-src_install() {
-       emake DESTDIR="${D}" DATADIR="${D}/usr/share" install
-       dodoc README.md TODO.org
-}

Reply via email to