mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 18:31:35 +02:00
testing/thin-provisioning-tools: update to v0.6.2-rc6
This commit is contained in:
parent
4f133d9d8a
commit
1d40a0754c
@ -1,24 +1,23 @@
|
|||||||
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
||||||
# Maintainer:
|
# Maintainer:
|
||||||
pkgname=thin-provisioning-tools
|
pkgname=thin-provisioning-tools
|
||||||
pkgver=0.3.1
|
pkgver=0.6.2_rc6
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
|
pkgdesc="A suite of tools for manipulating the metadata of the dm-thin device-mapper target"
|
||||||
url="https://github.com/jthornber/thin-provisioning-tools"
|
url="https://github.com/jthornber/thin-provisioning-tools"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL3"
|
license="GPL3"
|
||||||
depends=""
|
depends="expat boost libaio"
|
||||||
depends_dev="expat-dev boost-dev"
|
makedepends="expat-dev boost-dev libaio-dev linux-headers autoconf automake libtool"
|
||||||
makedepends="$depends_dev autoconf automake libtool"
|
|
||||||
install=""
|
install=""
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="thin-provisioning-tools-$pkgver.tar.gz::https://github.com/jthornber/thin-provisioning-tools/archive/v${pkgver}.tar.gz
|
_realpkgver=${pkgver/_/-}
|
||||||
qualify-btiset.patch"
|
source="thin-provisioning-tools-${_realpkgver}.tar.gz::https://github.com/jthornber/thin-provisioning-tools/archive/v${_realpkgver}.tar.gz"
|
||||||
|
|
||||||
_builddir="$srcdir"/thin-provisioning-tools-$pkgver
|
builddir="$srcdir"/thin-provisioning-tools-$_realpkgver
|
||||||
prepare() {
|
prepare() {
|
||||||
local i
|
local i
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
for i in $source; do
|
for i in $source; do
|
||||||
case $i in
|
case $i in
|
||||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||||
@ -27,7 +26,7 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
autoreconf || return 1
|
autoreconf || return 1
|
||||||
export CXXFLAGS="$CXXFLAGS -fpermissive"
|
export CXXFLAGS="$CXXFLAGS -fpermissive"
|
||||||
./configure \
|
./configure \
|
||||||
@ -42,16 +41,13 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" \
|
make DESTDIR="$pkgdir" \
|
||||||
BINDIR="${pkgdir}"/sbin \
|
BINDIR="${pkgdir}"/sbin \
|
||||||
MANDIR=/usr/share/man \
|
MANDIR=/usr/share/man \
|
||||||
install || return 1
|
install || return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="2e4c7f9fea79a84e0cb99e5f042dd74a thin-provisioning-tools-0.3.1.tar.gz
|
md5sums="471e51f7b3dcea7ac92135e4093e8727 thin-provisioning-tools-0.6.2-rc6.tar.gz"
|
||||||
d8bc62fe2ee45857f80f8349a7fac224 qualify-btiset.patch"
|
sha256sums="8ef2751e14efcf2876e794144844c859349c8875cfbcdc698cca20fab17d23aa thin-provisioning-tools-0.6.2-rc6.tar.gz"
|
||||||
sha256sums="461c3035262aeb41f26a4f97b04af801154613ad009bf4d89820b5971e912eca thin-provisioning-tools-0.3.1.tar.gz
|
sha512sums="75c214d6950ffc642d77029baf4371debf74518183d170f268cc3622ccabc81f2edb3436bd5a145c837bbd152aec040f534587d9c1c8ec94b2804607a1fd59cb thin-provisioning-tools-0.6.2-rc6.tar.gz"
|
||||||
5bbdc02183ec7602853264feac6eb1727812bcb48a6dfedb82f0bfbec91f6fd7 qualify-btiset.patch"
|
|
||||||
sha512sums="aeff2a9b118df2c721a32a5addf7289a312ff42b44d298073b506273ea6a5e9cd3efd7584b25d0fca511fa4c865665ba7f9e852392bbae0daa0ce30b77ec9d00 thin-provisioning-tools-0.3.1.tar.gz
|
|
||||||
aae266aed288e8aada374a35f11d12460f522fe82f7877cfdbc0a825c4fd97f2c8e6c346166d50446abb98865f8743df7bc5b0ffa543daf873dbde72ca0691b2 qualify-btiset.patch"
|
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
From 7eabc78d6dc4fc8e5b96adeb80e6b2edc150b18e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Joe Thornber <ejt@redhat.com>
|
|
||||||
Date: Tue, 1 Apr 2014 17:43:15 +0100
|
|
||||||
Subject: [PATCH] [era] qualify btiset
|
|
||||||
|
|
||||||
---
|
|
||||||
era/writeset_tree.cc | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/era/writeset_tree.cc b/era/writeset_tree.cc
|
|
||||||
index 763427e..2fe47fe 100644
|
|
||||||
--- a/era/writeset_tree.cc
|
|
||||||
+++ b/era/writeset_tree.cc
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
|
|
||||||
void visit(btree_path const &path, era_detail const &era) {
|
|
||||||
era_ = path[0];
|
|
||||||
- bitset bs(tm_, era.writeset_root, era.nr_bits);
|
|
||||||
+ persistent_data::bitset bs(tm_, era.writeset_root, era.nr_bits);
|
|
||||||
writeset_v_.writeset_begin(era_, era.nr_bits);
|
|
||||||
bs.walk_bitset(*this);
|
|
||||||
writeset_v_.writeset_end();
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user