]> git.proxmox.com Git - vzquota.git/commitdiff
Initial commit
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Sep 2012 06:30:20 +0000 (08:30 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Sep 2012 06:30:20 +0000 (08:30 +0200)
Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/patches/fix-empty-man8-dir.patch [new file with mode: 0644]
debian/patches/fix-var-lib-path.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
vzquota-3.1.tar.bz2 [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..d5e7157
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+RELEASE=2.2
+
+# wget http://download.openvz.org/utils/vzquota/3.1/src/vzquota-3.1.tar.bz2
+
+PACKAGE=vzquota
+PKGVER=3.1
+PACKAGERELEASE=1
+
+ARCH=amd64
+DEB=${PACKAGE}_${PKGVER}-${PACKAGERELEASE}_${ARCH}.deb
+
+SRCDIR=vzquota-${PKGVER}
+SRC=${SRCDIR}.tar.bz2
+
+all: ${DEB}
+
+${DEB}: ${SRC}
+       rm -rf ${SRCDIR}
+       tar xf ${SRC}
+       cp -a debian ${SRCDIR}
+       cd ${SRCDIR}; dpkg-buildpackage -b -rfakeroot -us -uc
+       lintian ${DEB}
+
+
+clean:
+       rm -rf *~ debian/*~ ${SRCDIR} ${PACKAGE}_*.deb ${PACKAGE}_*.changes
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..964244d
--- /dev/null
@@ -0,0 +1,5 @@
+vzquota (3.1-1) unstable; urgency=low
+
+  * updated package for PVE 
+  
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 28 Sep 2012 07:57:21 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b875f23
--- /dev/null
@@ -0,0 +1,22 @@
+Source: vzquota
+Section: admin
+Priority: extra
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: vzquota
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+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.
+ .
+ Homepage: http://www.openvz.org/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f4c3a0a
--- /dev/null
@@ -0,0 +1,30 @@
+This package was debianized by Proxmox Support Team <support@proxmox.com> on
+Fri, 28 Sep 2012.
+
+It was downloaded from:
+   http://download.openvz.org/utils/vzquota/
+
+Copyright Holder:
+   Copyright (C) 2000-2008, Parallels, Inc. All rights reserved.
+
+License:
+
+   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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2012, Proxmox Support Team
+<support@proxmox.com> and is licensed under the GPL, see above.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..818a25a
--- /dev/null
@@ -0,0 +1 @@
+usr/share/man/man8/
diff --git a/debian/patches/fix-empty-man8-dir.patch b/debian/patches/fix-empty-man8-dir.patch
new file mode 100644 (file)
index 0000000..1f460f1
--- /dev/null
@@ -0,0 +1,12 @@
+Index: new/src/Makefile
+===================================================================
+--- new.orig/src/Makefile      2012-09-28 08:21:35.000000000 +0200
++++ new/src/Makefile   2012-09-28 08:21:45.000000000 +0200
+@@ -53,7 +53,6 @@
+ install: $(PROGS)
+       $(INSTALL) -d $(DESTDIR)$(SBINDIR)
+-      $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
+       $(INSTALL) -d $(DESTDIR)$(VARDIR)/vzquota
+       for file in $(PROGS); do \
+               $(INSTALL) -m 755 $$file $(DESTDIR)$(SBINDIR)/$$file; \
diff --git a/debian/patches/fix-var-lib-path.patch b/debian/patches/fix-var-lib-path.patch
new file mode 100644 (file)
index 0000000..b091d48
--- /dev/null
@@ -0,0 +1,13 @@
+Index: new/src/Makefile
+===================================================================
+--- new.orig/src/Makefile      2012-09-28 08:13:13.000000000 +0200
++++ new/src/Makefile   2012-09-28 08:13:35.000000000 +0200
+@@ -18,7 +18,7 @@
+ 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 \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..d98b26d
--- /dev/null
@@ -0,0 +1,2 @@
+fix-var-lib-path.patch
+fix-empty-man8-dir.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..e1dce11
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh $@ --with quilt
+
diff --git a/vzquota-3.1.tar.bz2 b/vzquota-3.1.tar.bz2
new file mode 100644 (file)
index 0000000..3cb3607
Binary files /dev/null and b/vzquota-3.1.tar.bz2 differ