--- vzquota-3.1.orig/debian/changelog +++ vzquota-3.1/debian/changelog @@ -0,0 +1,94 @@ +vzquota (3.1-4) unstable; urgency=medium + + * QA upload. + * Fix FTBFS with gcc-8. Closes: #897884. + * dh 11. + + -- Adam Borowski Sun, 05 Aug 2018 13:49:58 +0200 + +vzquota (3.1-3) unstable; urgency=low + + * Maintainer changed to Debian QA Team. + + -- Ola Lundqvist Mon, 04 Sep 2017 22:13:28 +0200 + +vzquota (3.1-2) unstable; urgency=high + + * Removed depdendency on hardening wrapper. Closes: #836661. + * Simplified rules file significantly. + + -- Ola Lundqvist Sun, 11 Sep 2016 22:08:41 +0200 + +vzquota (3.1-1) unstable; urgency=low + + * New upstream release + * Removed suggest on kernel-patch-openvz as it has been removed from the + Debian archives for a very long time. + * Added watch file. + * Updated from debhelper compatibility 4 to 9. + * Added build-arch and build-indep to debian/rules file. + * Updated to standards version 3.9.4. + * Enabled hardened build by adding hardening-wrapper to build depends + and enabled it in debian/rules file. + + -- Ola Lundqvist Sun, 11 Aug 2013 13:00:16 +0200 + +vzquota (3.0.12-3) unstable; urgency=low + + * Require the architectures strictly to be the same as vzctl. + + -- Ola Lundqvist Wed, 31 Mar 2010 07:06:56 +0200 + +vzquota (3.0.12-2) unstable; urgency=low + + * Upload for unstable. + + -- Ola Lundqvist Sun, 21 Feb 2010 13:06:10 +0100 + +vzquota (3.0.12-1) experimental; urgency=low + + * New upstream release. + * Changed copyright name in debian/copyright file because of name change + of the company providing the upstream source. + + -- Ola Lundqvist Sun, 21 Feb 2010 13:06:10 +0100 + +vzquota (3.0.11-2) unstable; urgency=low + + * Solved build problem. Closes: #552897. + * Updated standards version to 3.8.0. + * Changed clean target due to lintian complain. Now the clean can fail. + + -- Ola Lundqvist Tue, 03 Nov 2009 17:53:27 +0100 + +vzquota (3.0.11-1) unstable; urgency=low + + * New upstream release + + -- Ola Lundqvist Fri, 17 Aug 2007 07:52:07 +0200 + +vzquota (3.0.9-2) unstable; urgency=low + + * Etch has been released which means that this version can be uploaded + to unstable. + + -- Ola Lundqvist Tue, 10 Apr 2007 18:10:20 +0200 + +vzquota (3.0.9-1) experimental; urgency=low + + * New upstream release + + -- Ola Lundqvist Fri, 16 Mar 2007 18:52:35 +0100 + +vzquota (3.0.8-2) unstable; urgency=low + + * Patch to compile on s390 and powerpc, closes: #377414. + + -- Ola Lundqvist Thu, 13 Jul 2006 22:02:08 +0200 + +vzquota (3.0.8-1) unstable; urgency=low + + * Initial release, closes: #360867. + + -- Ola Lundqvist Tue, 25 Apr 2006 21:38:05 +0200 + --- vzquota-3.1.orig/debian/compat +++ vzquota-3.1/debian/compat @@ -0,0 +1 @@ +11 --- vzquota-3.1.orig/debian/control +++ vzquota-3.1/debian/control @@ -0,0 +1,21 @@ +Source: vzquota +Section: admin +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 11~) +Standards-Version: 4.2.0 + +Package: vzquota +Architecture: i386 ia64 amd64 powerpc sparc +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: vzctl +Description: server virtualization solution - quota tools + OpenVZ is an Operating System-level server virtualization solution, built + on Linux. OpenVZ creates isolated, secure virtual private servers on a single + physical server enabling better server utilization and ensuring that + applications do not conflict. Each VPS performs and executes exactly like a + stand-alone server; VPSs can be rebooted independently and have root access, + users, IP addresses, memory, processes, files, applications, system libraries + and configuration files. + . + This package contain the control tool to manipulate quota for virtual servers. --- vzquota-3.1.orig/debian/copyright +++ vzquota-3.1/debian/copyright @@ -0,0 +1,62 @@ +This package was debianized by Ola Lundqvist on +Tue, 25 Apr 2006 21:38:05 +0200. + +It was downloaded from: + http://download.openvz.org/utils/vzquota/ + http://www.openvz.org/ + +All files except for the one listed below have the following copyright +and license: + + Copyright (C) 2000-2008, Parallels, Inc. All rights reserved. + + This program is free software; you may 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, or (at your option) + any later version. + + This 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. + + A copy of the GNU General Public License is available as + /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the + World Wide Web at http://www.gnu.org/copyleft/gpl.html. You can also + obtain it by writing to the Free Software Foundation, Inc., 51 Franklin St, + Fifth Floor, Boston, MA 02110-1301, USA. + + + + +include/linux/quota.h have different copyright and license: + + Copyright (c) 1982, 1986 Regents of the University of California. + All rights reserved. + + This code is derived from software contributed to Berkeley by + Robert Elz at The University of Melbourne. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. --- vzquota-3.1.orig/debian/dirs +++ vzquota-3.1/debian/dirs @@ -0,0 +1 @@ +usr/sbin --- vzquota-3.1.orig/debian/rules +++ vzquota-3.1/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --- vzquota-3.1.orig/debian/source/format +++ vzquota-3.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- vzquota-3.1.orig/debian/watch +++ vzquota-3.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://download.openvz.org/utils/vzquota/(\d.*)/src/vzquota-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) --- vzquota-3.1.orig/man/Makefile +++ vzquota-3.1/man/Makefile @@ -1,6 +1,7 @@ MAN8 = vzdqdump.8 vzdqcheck.8 vzquota.8 MANS = $(MAN8) +INSTALL=install MANDIR=/usr/share/man MAN8DIR=$(MANDIR)/man8 @@ -12,7 +13,7 @@ install: $(MANS) $(INSTALL) -d $(DESTDIR)$(MAN8DIR) - install -m 644 $(MAN8) $(DESTDIR)$(MAN8DIR)/ + $(INSTALL) -m 644 $(MAN8) $(DESTDIR)$(MAN8DIR)/ cd $(DESTDIR)$(MANDIR)/man8; ext=`ls vzdqdump.8*`; ext=$${ext#*.}; \ ln -fs vzdqdump.$$ext vzdqload.$$ext; chmod 644 vzdqload.$$ext; cd - .PHONY: install --- vzquota-3.1.orig/man/vzquota.8.in +++ vzquota-3.1/man/vzquota.8.in @@ -187,7 +187,7 @@ quota file location will depends on path to quota accounting dir: if your quota accounting path is /path/to/\fIsomewhere\fR/ than quota file will be /path/to/quota.\fIsomewhere\fR. If this option is not specified, quota file -location is /var/vzquota/quota.\fIquota_id\fP. All commands accept this +location is /var/lib/vzquota/quota.\fIquota_id\fP. All commands accept this option. .TP .BI \-c\ quota_file --- vzquota-3.1.orig/src/Makefile +++ vzquota-3.1/src/Makefile @@ -18,11 +18,11 @@ INSTALL = install PREFIX = /usr SBINDIR = ${PREFIX}/sbin -VARDIR = /var +VARDIR = /var/lib #DEBUG = -D_DEBUG -g3 -ggdb3 -p -pg CFLAGS += -pipe -I../include -std=gnu99 \ - -g -Wall -Werror -Wformat -D_FILE_OFFSET_BITS=64 \ + -g -O2 -Wall -Werror -Wformat -D_FILE_OFFSET_BITS=64 \ -D_LINUX_QUOTA_VERSION=6 -D_LARGEFILE64_SOURCE \ -DVARDIR=\"$(VARDIR)\" $(DEBUG) # We need -m64 for ppc64 in order to get proper ioctls @@ -53,7 +53,7 @@ install: $(PROGS) $(INSTALL) -d $(DESTDIR)$(SBINDIR) - $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8 + #$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8 $(INSTALL) -d $(DESTDIR)$(VARDIR)/vzquota for file in $(PROGS); do \ $(INSTALL) -m 755 $$file $(DESTDIR)$(SBINDIR)/$$file; \ --- vzquota-3.1.orig/src/stat.c +++ vzquota-3.1/src/stat.c @@ -196,7 +196,7 @@ if (dq->obj.flags & UGID_LOADED) sprintf(status, "loaded"); if (dq->obj.flags & UGID_DIRTY) - sprintf(status, "%s%sdirty", status, (strlen(status)) ? "," : ""); + strcat(status, strlen(status) ? ",dirty" : "dirty"); } /* blocks */