debian/0000755000000000000000000000000012261475100007164 5ustar debian/patches/0000755000000000000000000000000012261475100010613 5ustar debian/patches/use_dpkg_buildflags.patch0000644000000000000000000000125012261475100015627 0ustar Subject: Use dpkg-buildflags during build Author: Apollon Oikonomopoulos Forwarded: no Last-Update: 2013-07-17 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CFLAGS+=-std=gnu99 -g -Wall -Wextra -pedantic LIBS=-lm +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) PREFIX=/usr BINDIR=$(PREFIX)/bin MAN1DIR=$(PREFIX)/share/man/man1 @@ -43,7 +46,7 @@ install -m 644 $(MANS) $(DESTDIR)$(MAN1DIR) %.o: %.c - $(CC) $(CFLAGS) -DVERSION=\"${VERSION}\" -c -o $@ $< + $(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"${VERSION}\" -c -o $@ $< %.ps: %.1 man -t ./$< > $@ debian/patches/do_not_generate_version.patch0000644000000000000000000000106612171527311016542 0ustar Subject: do not re-generate the version file (conflicts with gbp) Author: Apollon Oikonomopoulos Forwarded: no Last-Update: 2013-07-17 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ BINS:=$(BINS:=.exe) endif -all: version $(BINS) +all: $(BINS) version: $(DISTFILES) test ! -d .git || git describe --tags --dirty=+ | sed 's/^v//;s/-/./g' > $@ @@ -42,7 +42,7 @@ mkdir -p $(DESTDIR)$(MAN1DIR) install -m 644 $(MANS) $(DESTDIR)$(MAN1DIR) -%.o: %.c version +%.o: %.c $(CC) $(CFLAGS) -DVERSION=\"${VERSION}\" -c -o $@ $< %.ps: %.1 debian/patches/series0000644000000000000000000000010712261475100012026 0ustar specify_prefix do_not_generate_version.patch use_dpkg_buildflags.patch debian/patches/specify_prefix0000644000000000000000000000050312261475100013553 0ustar Subject: Specify the installation prefix Author: Apollon Oikonomopoulos Forwarded: no Last-Update: 2013-07-17 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS+=-std=gnu99 -g -Wall -Wextra -pedantic LIBS=-lm -PREFIX=/usr/local +PREFIX=/usr BINDIR=$(PREFIX)/bin MAN1DIR=$(PREFIX)/share/man/man1 debian/rules0000755000000000000000000000016112171527773010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/source/0000755000000000000000000000000012171524315010467 5ustar debian/source/format0000644000000000000000000000001412171523705011677 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000221712261475100011040 0ustar ioping (0.8-1) unstable; urgency=medium * New upstream version. * Bump standards to 3.9.5 (no changes needed). * Remove patch fixing a hyphen-vs-dash in the manpage (fixed upstream). -- Apollon Oikonomopoulos Fri, 03 Jan 2014 10:42:15 +0200 ioping (0.7-1) unstable; urgency=low * New upstream release * Convert debian/copyright to machine readable format 1.0 * Bump standards version to 3.9.4 - no changes needed * Bump dh compat to 9 * Introduce 3 additional patches: - use_dpkg_buildflags.patch: use hardening build flags - do_not_generate_version.patch: skip generating a version file from the current git revision, as this conflicts with gbp. - fix_manpage_hyphen.patch: fix a manpage dash-vs-hyphen glitch -- Apollon Oikonomopoulos Wed, 17 Jul 2013 17:19:52 +0300 ioping (0.6-1) unstable; urgency=low * New upstream release -- Apollon Oikonomopoulos Tue, 27 Dec 2011 13:31:24 +0200 ioping (0.5-1) unstable; urgency=low * Initial release (Closes: #634008) -- Apollon Oikonomopoulos Sat, 16 Jul 2011 08:31:07 +0300 debian/compat0000644000000000000000000000000212171524311010361 0ustar 9 debian/copyright0000644000000000000000000000204412171524247011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ioping Source: http://code.google.com/p/ioping Files: * Copyright: Copyright (C) 2011-2013 Konstantin Khlebnikov License: GPL-3+ Files: debian/* Copyright: Copyright (c) 2011-2013 Apollon Oikonomopoulos License: GPL-3+ License: GPL-3+ 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 program 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 . . See /usr/share/common-licenses/GPL-3 for the full license text. debian/watch0000644000000000000000000000020412171527753010225 0ustar # Compulsory line, this is a version 3 file version=3 http://code.google.com/p/ioping/downloads/list .*/files/ioping-(.*)\.tar\.gz debian/control0000644000000000000000000000101412261473614010573 0ustar Source: ioping Section: admin Priority: extra Maintainer: Apollon Oikonomopoulos Build-Depends: debhelper (>= 9) Standards-Version: 3.9.5 Homepage: http://code.google.com/p/ioping Package: ioping Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Simple disk I/O latency measuring tool ioping monitors disk I/O latency in real time. The main idea behind ioping is to have a utility similar to ping, which will show disk I/O latency in the same way ping shows network latency.