debian/0000755000000000000000000000000011722422333007165 5ustar debian/rules0000755000000000000000000000463011722422333010250 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE ) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE ) DEB_BUILD_ARCH_OS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS ) ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH ) # compiler flags, as described in Policy CFLAGS += -Wall -Wshadow -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif export CFLAGS # some useful variables TOPDIR :=$(shell pwd) PKGNAME :=$(word 2,$(shell dpkg-parsechangelog | grep ^Source ) ) FULLVERSION :=$(word 2,$(shell dpkg-parsechangelog | grep ^Version ) ) UPSTREAMVER :=$(shell echo $(FULLVERSION) | sed 's/-[0-9.]\+$$//' | sed 's/^0~//' ) BUILDDIR :=build/ # not really unpack, but just links everything in build/ unpack: $(BUILDDIR)/COPYING $(BUILDDIR)/COPYING: # unpack [ -d "$(BUILDDIR)" ] || mkdir "$(BUILDDIR)" /bin/sh debian/lndir.sh . $(BUILDDIR) rm -r $(BUILDDIR)/build rm -r $(BUILDDIR)/debian build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp: $(BUILDDIR)/COPYING dh_testdir # config.sub and config.guess update rm -f $(BUILDDIR)/tools/config.sub rm -f $(BUILDDIR)/tools/config.guess cp /usr/share/misc/config.sub $(BUILDDIR)/tools/config.sub cp /usr/share/misc/config.guess $(BUILDDIR)/tools/config.guess # configure cd $(BUILDDIR) && \ ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --bindir=\$${prefix}/sbin # build cd $(BUILDDIR) && \ $(MAKE) touch build-stamp clean: dh_testdir -rm -rf $(BUILDDIR) -rm -f *-stamp dh_clean install: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs cd $(BUILDDIR) && \ $(MAKE) install prefix=$(TOPDIR)/debian/quotatool/usr binary-indep: # nothing to do binary-arch: build-stamp install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_strip dh_compress dh_fixperms dh_link dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install unpack debian/source/0000755000000000000000000000000011722421465010472 5ustar debian/source/format0000644000000000000000000000001411722421465011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000014011722421210010202 0ustar version=3 http://githubredir.debian.net/github/ekenberg/quotatool \ .*/quotatool/v(.*).tar.gz debian/dirs0000644000000000000000000000006411722421210010042 0ustar usr/sbin usr/share/man/man8 usr/share/doc/quotatool debian/control0000644000000000000000000000126211722421210010562 0ustar Source: quotatool Section: admin Priority: extra Maintainer: Bas Zoetekouw Standards-Version: 3.9.3 Build-Depends: debhelper (>>5), autotools-dev Homepage: http://quotatool.ekenberg.se/ Package: quotatool Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: quota Description: tool to edit disk quotas from the command line Quotatool is a utility to set filesystem quotas from the commandline. Most quota-utilities are interactive, requiring manual intervention from the user. Quotatool on the other hand is not, making it suitable for use in scripts and other non-interactive situations. This is very useful to edit disk quotas from scripts. debian/lndir.sh0000644000000000000000000000156411722421210010630 0ustar #!/bin/sh # very small shellscript that more or less implements the lndir of xutils-dev # it recursively links all files from the directory specified in the first # argument to the directory in the second argument; # it probably won't work for exotic filenames set -e # need 2 arguments test -n "$1" || exit -1 test -n "$2" || exit -1 FROM=$1 TO=$2 # check that both arguments are directories test -d $FROM || exit -1 test -d $TO || exit -1 # convert the dirs to absolute pathnames FROM=$( cd $FROM && pwd ) TO=$( cd $TO && pwd ) # check that the dirs are not the smae test "$FROM" = "$TO" && exit -1 # make a directory structure ( cd $FROM && find -type d \! -name '.' \! -name '..' -print0 ) | ( cd $TO && xargs -0 mkdir ) # make links to regular files ( cd $FROM && find -type f -print ) | \ while read file; do #echo $file ln -sf $FROM/$file $TO/$file done; exit 0 debian/changelog0000644000000000000000000001211311722421414011034 0ustar quotatool (1.4.12-1) unstable; urgency=low * New upstream release - Fix inconsistent unit usage for XFS (Closes: #627733) - Support GB and TB size multipliers (Closes: #594951) - Fixed misc compiler warnings * Update policy to 3.9.3 (no changes required) * Upsteam moved to github, changed watch file accordingly * Updated debian/rules: - binary-arch now depends on build-stamp instead of on build - added build-arch and build-indep targets - removed patching code * Converted to source format 3.0 (quilt) -- Bas Zoetekouw Sun, 26 Feb 2012 12:06:07 +0100 quotatool (1.4.11-1) unstable; urgency=low * New upstream release -- Bas Zoetekouw Thu, 01 Oct 2009 09:00:57 +0200 quotatool (1.4.10-2) unstable; urgency=low * Bump standards-version to 3.8.3: - added Homepage field to control file * Fix reference to GPL common-licenses file -- Bas Zoetekouw Thu, 02 Jul 2009 13:45:01 +0200 quotatool (1.4.10-1) unstable; urgency=low * New upstream release - Fix for building on 64-bit systems - Bugfix off-by-one-error in parsing loop devices (thanks Bas Zoetekouw) [obsoletes 10_loop_fix.patch] - Bugfix commandline parsing with option -t (closes: #402900) - Updated manpage and usage info * Edited the long description a little bit. -- Bas Zoetekouw Thu, 27 Sep 2007 21:01:51 +0200 quotatool (1.4.9-3) unstable; urgency=low * Reworked debian/rules a bit to be able to easily add patches * Fixed off-by-1 error in processing of loopback mounted devices (closes: #417396) [10_loop_fix.patch] * Bumped the standards-version to 3.7.2 (no changes necessary) -- Bas Zoetekouw Tue, 07 Aug 2007 13:31:24 +0200 quotatool (1.4.9-2) unstable; urgency=low * I swear, something is eating my watch files. Added one _again_. -- Bas Zoetekouw Tue, 21 Feb 2006 10:25:45 +0100 quotatool (1.4.9-1) unstable; urgency=low * New upstream release - Fixed a bug when fetching XFS quota for a user/group with no current usage/quota * Added a watch file (for real, this time ;) ) * Moved from debhelper 3 to debhelper 5 -- Bas Zoetekouw Mon, 20 Feb 2006 11:19:16 +0100 quotatool (1.4.8-1) unstable; urgency=low * New upstream release: - Fixed default units for -t option (closes: #274995) * Added a watch file * Bumped the Standards-Version to 3.6.2 (no changes necessary) -- Bas Zoetekouw Fri, 2 Sep 2005 09:23:21 +0200 quotatool (1.4.7-1) unstable; urgency=high * New upstream release - correctly detect XFS-enabled kernels (closes: #258289, #289812) - correctly display kBs instead of blocks in some cases * Boosted Standards-Version to 3.6.1 (no changes needed) -- Bas Zoetekouw Wed, 11 May 2005 11:24:21 +0200 quotatool (1.4.4-1) unstable; urgency=low * New upstream release - should be compatible with newer quota formats now (closes: #222292, #165274) -- Bas Zoetekouw Wed, 11 Feb 2004 16:26:56 +0100 quotatool (1.3.2-2) unstable; urgency=low * Package now uses config.{sub,guess} from autotools-misc. This should fix build trouble on ia64 and s390. -- Bas Zoetekouw Sun, 18 May 2003 12:12:58 +0200 quotatool (1.3.2-1) unstable; urgency=low * New upstream release -- Bas Zoetekouw Thu, 1 May 2003 11:25:54 +0200 quotatool (1.3.0-1) unstable; urgency=low * New upstream release -- Bas Zoetekouw Sat, 4 May 2002 19:17:45 +0200 quotatool (1.2.99-beta-1.3.0-1) unstable; urgency=low * Upstream beta release (not uploaded) -- Bas Zoetekouw Sun, 21 Apr 2002 20:20:50 +0200 quotatool (1.2.1-1) unstable; urgency=low * New upstream release -- Bas Zoetekouw Sat, 9 Mar 2002 15:15:17 +0100 quotatool (1.1.3-1) unstable; urgency=low * New upstream release * Boosted standards-version to 3.5.6 -- Bas Zoetekouw Tue, 22 Jan 2002 11:00:55 +0100 quotatool (1.1.1-5) unstable; urgency=low * Corrected spelling errors in descriptions (closes: #109630) -- Bas Zoetekouw Thu, 23 Aug 2001 17:57:57 +0200 quotatool (1.1.1-4) unstable; urgency=low * Entered wrong maintainer email address in the changelog of 1.1.1-3. Corrected that in this version. -- Bas Zoetekouw Sat, 21 Jul 2001 17:15:30 +0200 quotatool (1.1.1-3) unstable; urgency=low * Edited debian/rules to have config.sub and config.guess copied from the autotools-dev package. This solves build problems on hppa (closes: #104733). * Added Build-depends on autotools-dev. -- Bas Zoetekouw Sat, 21 Jul 2001 16:24:03 +0200 quotatool (1.1.1-2) unstable; urgency=low * Removed Build-depends on libc6-dev -- Bas Zoetekouw Mon, 9 Jul 2001 11:31:22 +0200 quotatool (1.1.1-1) unstable; urgency=low * Initial Release. (closes: #99380) -- Bas Zoetekouw Mon, 9 Apr 2001 11:08:29 +0200 Local variables: mode: debian-changelog End: debian/compat0000644000000000000000000000000211722421210010354 0ustar 5 debian/copyright0000644000000000000000000000115211722421210011110 0ustar This package was debianized by Bas Zoetekouw on Mon, 9 Apr 2001 11:08:29 +0200. It was downloaded from http://quotatool.ekenberg.se/ Copyright (C) 2000-2009 by Mike Glover and Johan Ekenberg All rights reserved. Upstream Authors: * Mike Glover (original author) * Johan Ekenberg (current maintainer) You are free to distribute and modify this software under the terms of the GNU General Public License, version 2.0. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. debian/docs0000644000000000000000000000001411722421210010024 0ustar README TODO