debian/0000750000000000000000000000000012243631222007156 5ustar debian/copyright0000640000000000000000000000346512167531353011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: thin-provisioning-tools Source: git://github.com/jthornber/thin-provisioning-tools.git Files: * Copyright: 2011-2013 Red Hat, Inc License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: debian/* Copyright: 2013 Bastian Blank License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000750000000000000000000000000012167531353010467 5ustar debian/source/format0000640000000000000000000000001412167531353011676 0ustar 3.0 (quilt) debian/compat0000640000000000000000000000000212167531360010364 0ustar 9 debian/docs0000640000000000000000000000001212167531360010032 0ustar README.md debian/rules0000750000000000000000000000020312167531360010240 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf debian/patches/0000750000000000000000000000000012243627375010623 5ustar debian/patches/series0000640000000000000000000000001712167531360012030 0ustar build-fix.diff debian/patches/build-fix.diff0000640000000000000000000001065212243627375013345 0ustar Description: Fix build system * Make verbose enough * Actually honor CPPFLAGS and LDFLAGS * Never link libstdc++ Author: Bastian Blank --- --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,6 @@ .PHONY: all -V=@ PROGRAMS=\ cache_check \ cache_dump \ @@ -94,17 +93,16 @@ OBJECTS:=$(subst .cc,.o,$(SOURCE)) TOP_DIR:=@top_srcdir@ TOP_BUILDDIR:=@top_builddir@ -CFLAGS+=-g -Wall -O3 -CXXFLAGS+=-g -Wall -fno-strict-aliasing -CXXFLAGS+=@CXXOPTIMISE_FLAG@ -CXXFLAGS+=@CXXDEBUG_FLAG@ +CPPFLAGS=@CPPFLAGS@ +CXXFLAGS=-Wall @CXXFLAGS@ +LDFLAGS=@LDFLAGS@ INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) -I$(TOP_DIR)/thin-provisioning -LIBS:=-lstdc++ LIBEXPAT:=-lexpat INSTALL:=@INSTALL@ -PREFIX:=@prefix@ -BINDIR:=$(DESTDIR)$(PREFIX)/sbin -MANPATH:=$(DESTDIR)$(MANDIR) +prefix:=@prefix@ +exec_prefix:=@exec_prefix@ +BINDIR:=$(DESTDIR)@sbindir@ +MANPATH:=$(DESTDIR)@mandir@ vpath %.cc $(TOP_DIR) @@ -123,26 +121,18 @@ .SUFFIXES: .d %.o: %.c - @echo " [CC] $<" - $(V) $(CC) -c $(INCLUDES) $(CFLAGS) -o $@ $< - @echo " [DEP] $<" - $(V) $(CC) -MM -MT $(subst .c,.o,$<) $(INCLUDES) $(CFLAGS) $< > $*.$$$$; \ + $(CC) -c $(INCLUDES) $(CFLAGS) -o $@ $< + $(CC) -MM -MT $(subst .c,.o,$<) $(INCLUDES) $(CFLAGS) $< > $*.$$$$; \ sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \ $(RM) $*.$$$$ %.o: %.cc - @echo " [CXX] $<" - $(V) $(CXX) -c $(INCLUDES) $(CXXFLAGS) -o $@ $< - @echo " [DEP] $<" - $(V) $(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(TEST_INCLUDES) $(CXXFLAGS) $< > $*.$$$$; \ - sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $* : Makefile ,g' < $*.$$$$ > $*.d; \ - $(RM) $*.$$$$ + $(CXX) -c $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) -o $@ $< #---------------------------------------------------------------- lib/libpdata.a: $(PDATA_OBJECTS) - @echo " [AR] $<" - $(V)ar -rv $@ $(PDATA_OBJECTS) > /dev/null 2>&1 + ar -rv $@ $(PDATA_OBJECTS) > /dev/null 2>&1 #---------------------------------------------------------------- # Thin provisioning tools @@ -199,32 +189,25 @@ THIN_RMAP_OBJECTS=$(subst .cc,.o,$(THIN_RMAP_SOURCE)) thin_debug: $(THIN_DEBUG_OBJECTS) thin-provisioning/thin_debug.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $+ $(LIBEXPAT) thin_repair: $(THIN_REPAIR_OBJECTS) thin-provisioning/thin_repair.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) thin_dump: $(THIN_DUMP_OBJECTS) thin-provisioning/thin_dump.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) thin_restore: $(THIN_RESTORE_OBJECTS) thin-provisioning/thin_restore.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) thin_check: $(THIN_CHECK_OBJECTS) thin-provisioning/thin_check.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ thin_rmap: $(THIN_RMAP_OBJECTS) thin-provisioning/thin_rmap.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ thin_metadata_size: thin-provisioning/thin_metadata_size.o - @echo " [LD] $@" - $(V) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ -lm + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ -lm #---------------------------------------------------------------- # Cache tools @@ -265,20 +248,16 @@ CACHE_RESTORE_OBJECTS=$(subst .cc,.o,$(CACHE_RESTORE_SOURCE)) cache_check: $(CACHE_CHECK_OBJECTS) caching/cache_check.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) cache_dump: $(CACHE_DUMP_OBJECTS) caching/cache_dump.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) cache_repair: $(CACHE_REPAIR_OBJECTS) caching/cache_repair.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) cache_restore: $(CACHE_RESTORE_OBJECTS) caching/cache_restore.o - @echo " [LD] $@" - $(V) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBEXPAT) DEPEND_FILES=\ $(subst .cc,.d,$(SOURCE)) \ debian/changelog0000640000000000000000000000053012243631116011031 0ustar thin-provisioning-tools (0.2.8-1) unstable; urgency=low * New upstream release. -- Bastian Blank Fri, 22 Nov 2013 11:30:36 +0100 thin-provisioning-tools (0.2.1-1) unstable; urgency=low * Initial release. (closes: #690693) * Fix build system. -- Bastian Blank Mon, 01 Jul 2013 19:53:41 +0000 debian/control0000640000000000000000000000173212170306544010572 0ustar Source: thin-provisioning-tools Section: admin Priority: optional Maintainer: Debian LVM Team Uploaders: Bastian Blank Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-dev, libexpat1-dev Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-lvm/thin-provisioning-tools.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-lvm/thin-provisioning-tools.git;a=summary Package: thin-provisioning-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tools for handling thinly provisioned device-mapper meta-data This package contains tools to handle meta-data from the device-mapper thin target. This target allows the use of a single backing store for multple thinly provisioned volumes. Numerous snapshots can be taken from such volumes. The tools can check the meta-data for consistency, repair damaged information and dump or restore the meta-data in textual form.