debian/ 0000750 0000000 0000000 00000000000 12243631222 007156 5 ustar debian/copyright 0000640 0000000 0000000 00000003465 12167531353 011133 0 ustar 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/ 0000750 0000000 0000000 00000000000 12167531353 010467 5 ustar debian/source/format 0000640 0000000 0000000 00000000014 12167531353 011676 0 ustar 3.0 (quilt)
debian/compat 0000640 0000000 0000000 00000000002 12167531360 010364 0 ustar 9
debian/docs 0000640 0000000 0000000 00000000012 12167531360 010032 0 ustar README.md
debian/rules 0000750 0000000 0000000 00000000203 12167531360 010240 0 ustar #!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with autoreconf
debian/patches/ 0000750 0000000 0000000 00000000000 12243627375 010623 5 ustar debian/patches/series 0000640 0000000 0000000 00000000017 12167531360 012030 0 ustar build-fix.diff
debian/patches/build-fix.diff 0000640 0000000 0000000 00000010652 12243627375 013345 0 ustar 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/changelog 0000640 0000000 0000000 00000000530 12243631116 011031 0 ustar 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/control 0000640 0000000 0000000 00000001732 12170306544 010572 0 ustar 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.