]> git.proxmox.com Git - dab.git/commitdiff
move from dpkgdeb to buildpackage and add dsc target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Mar 2019 15:24:42 +0000 (16:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Mar 2019 15:36:00 +0000 (16:36 +0100)
can surely be improved, but it's a start

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
changelog.Debian [deleted file]
control [deleted file]
copyright [deleted file]
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/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 8aed855ee4178504a05a1cd2a95da6eef6f04031..6f9421258ac4fc2381f8a70446cde05c29f52767 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ VERSION=3.0
 PACKAGE=dab
 PKGREL=11
 
+BUILDDIR ?= ${PACKAGE}-${VERSION}
 
 SCRIPTS=                                       \
        scripts/init.pl                         \
@@ -10,22 +11,24 @@ SCRIPTS=                                    \
        scripts/init_urandom                    \
        scripts/ssh_gen_host_keys               
 
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${VERSION}-${PKGREL}_all.deb
+DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc
 
 DESTDIR=
 PREFIX=/usr
-DATADIR=${PREFIX}/lib/${PACKAGE}
-SBINDIR=${PREFIX}/sbin
-MANDIR=${PREFIX}/share/man
-DOCDIR=${PREFIX}/share/doc/${PACKAGE}
-PODDIR=${DOCDIR}/pod
+DATADIR=${DESTDIR}/${PREFIX}/lib/${PACKAGE}
+SBINDIR=${DESTDIR}/${PREFIX}/sbin
+MANDIR=${DESTDIR}/${PREFIX}/share/man
+DOCDIR=${DESTDIR}/${PREFIX}/share/doc/${PACKAGE}
 
+PODDIR=${DOCDIR}/pod
 MAN1DIR=${MANDIR}/man1/
-PERLDIR=${PREFIX}/share/perl5/
+PERLDIR=${DESTDIR}/${PREFIX}/share/perl5/
 
-all: ${DEB}
+# avoid build loops, as we have nor real folder structure here
+all:
 
 .PHONY: dinstall
 dinstall: deb
@@ -33,35 +36,35 @@ dinstall: deb
 
 .PHONY: install
 install: dab dab.1 dab.1.pod DAB.pm devices.tar.gz ${SCRIPTS}
-       install -d ${DESTDIR}${SBINDIR}
-       install -m 0755 dab ${DESTDIR}${SBINDIR}
-       install -d ${DESTDIR}${MAN1DIR}
-       install -m 0644 dab.1 ${DESTDIR}${MAN1DIR}
-       gzip -n -f9 ${DESTDIR}${MAN1DIR}/dab.1
-       install -d ${DESTDIR}${PODDIR}
-       install -m 0644 dab.1.pod ${DESTDIR}${PODDIR}
-       install -D -m 0644 DAB.pm ${DESTDIR}${PERLDIR}/PVE/DAB.pm
-       install -d ${DESTDIR}${DATADIR}/scripts
-       install -m 0755 ${SCRIPTS} ${DESTDIR}${DATADIR}/scripts
-       install -m 0644 devices.tar.gz ${DESTDIR}${DATADIR}
+       install -d ${SBINDIR}
+       install -m 0755 dab ${SBINDIR}
+       install -d ${MAN1DIR}
+       install -m 0644 dab.1 ${MAN1DIR}
+       gzip -n -f9 ${MAN1DIR}/dab.1
+       install -d ${PODDIR}
+       install -m 0644 dab.1.pod ${PODDIR}
+       install -D -m 0644 DAB.pm ${PERLDIR}/PVE/DAB.pm
+       install -d ${DATADIR}/scripts
+       install -m 0755 ${SCRIPTS} ${DATADIR}/scripts
+       install -m 0644 devices.tar.gz ${DATADIR}
+
+${BUILDDIR}:
+       rm -rf ${BUILDDIR}
+       rsync -a * ${BUILDDIR}
+       echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout ${GITVERSION}" >  ${BUILDDIR}/debian/SOURCE
 
 .PHONY: deb
 deb: ${DEB}
-${DEB}: dab dab.1 DAB.pm control changelog.Debian
-       rm -rf debian
-       mkdir debian
-       make DESTDIR=debian install
-       install -d -m 0755 debian/DEBIAN
-       sed -e s/@@VERSION@@/${VERSION}/ -e s/@@PKGRELEASE@@/${PKGREL}/ <control >debian/DEBIAN/control
-       install -D -m 0644 copyright debian/${DOCDIR}/copyright
-       install -m 0644 changelog.Debian debian/${DOCDIR}
-       echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout ${GITVERSION}" >  debian/${DOCDIR}/SOURCE
-       gzip -n -9 debian/${DOCDIR}/changelog.Debian
-       fakeroot dpkg-deb --build debian        
-       mv debian.deb ${DEB}
-       rm -rf debian
+${DEB}: ${BUILDDIR}
+       cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
        lintian ${DEB}
 
+.PHONY: dsc
+dsc: ${DSC}
+${DSC}: ${BUILDDIR}
+       cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc
+       lintian ${DSC}
+
 
 dab.pdf: dab.1
        groff -man dab.1 |ps2pdf - > dab.pdf
@@ -78,7 +81,7 @@ dab.1: dab.1.pod
 
 .PHONY: clean
 clean:
-       rm -f ${DEB} dab.1 dab.1.pod dab.pdf *.tmp *~ 
+       rm -rf ${BUILDDIR} *.deb *.dsc dab_*.tar.gz dab.1 dab.1.pod dab.pdf *.tmp *.changes *.buildinfo *~
 
 .PHONY: distclean
 distclean: clean
diff --git a/changelog.Debian b/changelog.Debian
deleted file mode 100644 (file)
index bc08e77..0000000
+++ /dev/null
@@ -1,275 +0,0 @@
-dab (3.0-11) unstable; urgency=medium
-
-  * add support for Ubuntu 18.10 (Cosmic Cuttlefish)
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2018 10:15:34 +0200
-
-dab (3.0-10) unstable; urgency=medium
-
-  * add support for ubuntu 18.04 (bionic beaver)
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Apr 2018 11:07:36 +0200
-
-dab (3.0-9) unstable; urgency=medium
-
-  * use new config properties for sample lxc config
-
-  * correctly check for devuan ascii suite
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Apr 2018 10:07:19 +0200
-
-dab (3.0-8) unstable; urgency=medium
-
-  * close #1668: add support for devuan jessie and ascii
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 16 Feb 2018 05:57:53 +0100
-
-dab (3.0-7) unstable; urgency=medium
-
-  * add support for Ubuntu 17.10 (artful)
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Dec 2017 12:00:48 +0100
-
-dab (3.0-6) unstable; urgency=medium
-
-  * PVE::DAB::closure - fix package ordering
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 10:11:24 +0200
-
-dab (3.0-5) unstable; urgency=medium
-
-  * remove previous trusty hack - fixed upstream
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 07:43:00 +0200
-
-dab (3.0-4) unstable; urgency=medium
-
-  * trusty: add hack to avoid util-linux preinst bug
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 06:47:58 +0200
-
-dab (3.0-3) unstable; urgency=medium
-
-  * add support for Ubuntu 17.04 (zesty)
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 02 May 2017 06:28:24 +0200
-
-dab (3.0-2) unstable; urgency=medium
-
-  * add support for Debian stretch
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 16 Mar 2017 16:36:32 +0100
-
-dab (3.0-1) unstable; urgency=medium
-
-  * bump version for Debian Stretch
-
- -- root <root@lola.maurer-it.com>  Thu, 16 Mar 2017 11:34:16 +0100
-
-dab (2.0-7) unstable; urgency=medium
-
-  * support ubuntu 16.10 (Yakkety)
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Nov 2016 08:20:45 +0100
-
-dab (2.0-6) unstable; urgency=medium
-
-  * update to work with newer lxc >= 2.0
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 18 Aug 2016 14:06:27 +0200
-
-dab (2.0-5) unstable; urgency=medium
-
-  * depend on libuuid-perl
-
- -- Proxmox Support Team <support@proxmox.com>  Sat, 30 Apr 2016 16:54:05 +0200
-
-dab (2.0-4) unstable; urgency=medium
-
-  * add support for ubuntu xenial
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Apr 2016 11:14:30 +0200
-
-dab (2.0-3) unstable; urgency=medium
-
-  * add support for ubuntu wily
-
-  * ubuntu wily/vivid: install dhclient by default
-
- -- Proxmox Support Team <support@proxmox.com>  Sat, 31 Oct 2015 17:03:06 +0100
-
-dab (2.0-2) unstable; urgency=medium
-
-  * add support for ubuntu precise, trusty and vivid
-
-  * do not regenerate sshd host keys (instead, this needs to be done when we
-    create/clone a container).
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 30 Jun 2015 10:31:37 +0200
-
-dab (2.0-1) unstable; urgency=medium
-
-  * use LXC instead of openvz
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Jun 2015 09:51:47 +0200
-
-dab (1.2-7) unstable; urgency=low
-
-  * add support for Debian jessie
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 30 Sep 2014 10:15:57 +0200
-
-dab (1.2-6) unstable; urgency=low
-
-  * ssh_gen_host_keys: generate ecdsa keys
-  
-  * use correct openvz config directory for pve
-  
- -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Jul 2013 06:32:35 +0200
-
-dab (1.2-5) unstable; urgency=low
-
-  * include wheezy-updates
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Jan 2013 08:46:50 +0100
-
-dab (1.2-4) unstable; urgency=low
-
-  * improve init.log: start one dummy child to avoid that we get killed.
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 31 Dec 2012 10:16:16 +0100
-
-dab (1.2-3) unstable; urgency=low
-
-  * spawn getty on /dev/tty1 (use new openvz console feature)
-
-  * ln /bin/sh to bash (else bash package fails to install)
-  
- -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2012 10:00:56 +0200
-
-dab (1.2-2) unstable; urgency=low
-
-  * add wheezy support
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Jul 2012 06:44:36 +0200
-
-dab (1.2-1) unstable; urgency=low
-
-  * first release for debian squeeze
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Apr 2012 11:01:28 +0200
-
-dab (1.1-15) unstable; urgency=low
-
-  * fix typo in scripts/mysql_randompw
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 15 Aug 2011 05:56:52 +0200
-
-dab (1.1-14) unstable; urgency=low
-
-  * include SUITE-updates for squeeze
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 09 May 2011 10:57:08 +0200
-
-dab (1.1-13) unstable; urgency=low
-
-  * use insserv instead of update-rc.d (for newer versions)
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 06 May 2011 06:59:25 +0200
-
-dab (1.1-12) unstable; urgency=low
-
-  * use UPASSWD instead of PASSWD inside shell scripts (avoid problems
-    with new 'dash')
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Mar 2011 06:41:31 +0100
-
-dab (1.1-11) unstable; urgency=low
-
-  * use HNAME instead of HOSTNAME inside shell scripts (avoid problems
-    with new 'dash')
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Mar 2011 07:00:47 +0100
-
-dab (1.1-10) unstable; urgency=low
-
-  * use '=' instead of '==' to compare strings in shell scripts
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 16 Dec 2010 06:37:54 +0100
-
-dab (1.1-9) unstable; urgency=low
-
-  * correct update-rc.d invocation (add '.' after runlevel)
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 04 Oct 2010 09:27:36 +0200
-
-dab (1.1-8) unstable; urgency=low
-
-  * fix postgres startup script for squeeze
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Sep 2010 11:19:27 +0200
-
-dab (1.1-7) unstable; urgency=low
-
-  * support dependency based startup (squeeze)
-  
-  * use postgresql 8.4 for squeeze
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Sep 2010 10:37:10 +0200
-
-dab (1.1-6) unstable; urgency=low
-
-  *  use mysql-server-5.1 for squeezs
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 19 Aug 2010 08:32:57 +0200
-
-dab (1.1-5) unstable; urgency=low
-
-  * bug fix: only print a warning for packages installed directly with
-    'dpkg' (when there is no information in 'available' list)
-
-  * only mount /proc/ if not already mounted (avoid problems with vzctl
-    3.0.24)
-  
- -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Aug 2010 10:18:28 +0200
-
-dab (1.1-4) unstable; urgency=low
-
-  * add support for debian squeeze (debian 6.0)
-  
-  * ve_exec - query return status
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Jan 2010 12:22:33 +0100
-
-dab (1.1-3) unstable; urgency=low
-
-  * support intrepid and jaunty (patch from Sebastiaan Blommers) 
-
-  * apache NO_START is only used by etch
-  
- -- Proxmox Support Team <support@proxmox.com>  Tue, 19 May 2009 10:30:54 +0200
-
-dab (1.1-2) unstable; urgency=low
-
-  * DAB.pm (finalize): remove aquota.group and aquota.user
-
-  * ignore non-existent Release[.gpg] files
-
-  * __record_provides(): correct skipself implementation
-  
- -- Proxmox Support Team <support@proxmox.com>  Fri, 23 Jan 2009 15:22:02 +0100
-
-dab (1.1-1) unstable; urgency=low
-
-  * first public release
-  
-  * new manual page
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 16 Jan 2009 11:42:51 +0100
-
-dab (1.0-1) unstable; urgency=low
-
-  * first package build
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 28 Nov 2008 10:46:34 +0100
-
diff --git a/control b/control
deleted file mode 100644 (file)
index fdd0145..0000000
--- a/control
+++ /dev/null
@@ -1,10 +0,0 @@
-Package: dab
-Version: @@VERSION@@-@@PKGRELEASE@@
-Section: admin
-Priority: optional
-Architecture: all
-Depends: perl (>= 5.6.0-16), wget, make, binutils, lxc-pve, libuuid-perl
-Maintainer: Proxmox Support Team <support@proxmox.com>
-Description: Debian LXC Appliance Builder
- This package contains scripts to automate the creation of LXC
- appliances.
diff --git a/copyright b/copyright
deleted file mode 100644 (file)
index 7948586..0000000
--- a/copyright
+++ /dev/null
@@ -1,21 +0,0 @@
-
-   Copyright (C) 2007-2012 Proxmox Server Solutions GmbH
-
-   Copyright: dab is under GNU GPL, the GNU General Public License.
-
-   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; version 2 dated June, 1991.
-
-   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, write to the
-   Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
-   MA 02110-1301, USA.
-
-The complete text of the GNU General
-Public License can be found in '/usr/share/common-licenses/GPL-2'.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..bc08e77
--- /dev/null
@@ -0,0 +1,275 @@
+dab (3.0-11) unstable; urgency=medium
+
+  * add support for Ubuntu 18.10 (Cosmic Cuttlefish)
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2018 10:15:34 +0200
+
+dab (3.0-10) unstable; urgency=medium
+
+  * add support for ubuntu 18.04 (bionic beaver)
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Apr 2018 11:07:36 +0200
+
+dab (3.0-9) unstable; urgency=medium
+
+  * use new config properties for sample lxc config
+
+  * correctly check for devuan ascii suite
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Apr 2018 10:07:19 +0200
+
+dab (3.0-8) unstable; urgency=medium
+
+  * close #1668: add support for devuan jessie and ascii
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 16 Feb 2018 05:57:53 +0100
+
+dab (3.0-7) unstable; urgency=medium
+
+  * add support for Ubuntu 17.10 (artful)
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Dec 2017 12:00:48 +0100
+
+dab (3.0-6) unstable; urgency=medium
+
+  * PVE::DAB::closure - fix package ordering
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 10:11:24 +0200
+
+dab (3.0-5) unstable; urgency=medium
+
+  * remove previous trusty hack - fixed upstream
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 07:43:00 +0200
+
+dab (3.0-4) unstable; urgency=medium
+
+  * trusty: add hack to avoid util-linux preinst bug
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Jun 2017 06:47:58 +0200
+
+dab (3.0-3) unstable; urgency=medium
+
+  * add support for Ubuntu 17.04 (zesty)
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 02 May 2017 06:28:24 +0200
+
+dab (3.0-2) unstable; urgency=medium
+
+  * add support for Debian stretch
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 16 Mar 2017 16:36:32 +0100
+
+dab (3.0-1) unstable; urgency=medium
+
+  * bump version for Debian Stretch
+
+ -- root <root@lola.maurer-it.com>  Thu, 16 Mar 2017 11:34:16 +0100
+
+dab (2.0-7) unstable; urgency=medium
+
+  * support ubuntu 16.10 (Yakkety)
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Nov 2016 08:20:45 +0100
+
+dab (2.0-6) unstable; urgency=medium
+
+  * update to work with newer lxc >= 2.0
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 18 Aug 2016 14:06:27 +0200
+
+dab (2.0-5) unstable; urgency=medium
+
+  * depend on libuuid-perl
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 30 Apr 2016 16:54:05 +0200
+
+dab (2.0-4) unstable; urgency=medium
+
+  * add support for ubuntu xenial
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Apr 2016 11:14:30 +0200
+
+dab (2.0-3) unstable; urgency=medium
+
+  * add support for ubuntu wily
+
+  * ubuntu wily/vivid: install dhclient by default
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 31 Oct 2015 17:03:06 +0100
+
+dab (2.0-2) unstable; urgency=medium
+
+  * add support for ubuntu precise, trusty and vivid
+
+  * do not regenerate sshd host keys (instead, this needs to be done when we
+    create/clone a container).
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 30 Jun 2015 10:31:37 +0200
+
+dab (2.0-1) unstable; urgency=medium
+
+  * use LXC instead of openvz
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Jun 2015 09:51:47 +0200
+
+dab (1.2-7) unstable; urgency=low
+
+  * add support for Debian jessie
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 30 Sep 2014 10:15:57 +0200
+
+dab (1.2-6) unstable; urgency=low
+
+  * ssh_gen_host_keys: generate ecdsa keys
+  
+  * use correct openvz config directory for pve
+  
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Jul 2013 06:32:35 +0200
+
+dab (1.2-5) unstable; urgency=low
+
+  * include wheezy-updates
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Jan 2013 08:46:50 +0100
+
+dab (1.2-4) unstable; urgency=low
+
+  * improve init.log: start one dummy child to avoid that we get killed.
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 31 Dec 2012 10:16:16 +0100
+
+dab (1.2-3) unstable; urgency=low
+
+  * spawn getty on /dev/tty1 (use new openvz console feature)
+
+  * ln /bin/sh to bash (else bash package fails to install)
+  
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2012 10:00:56 +0200
+
+dab (1.2-2) unstable; urgency=low
+
+  * add wheezy support
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Jul 2012 06:44:36 +0200
+
+dab (1.2-1) unstable; urgency=low
+
+  * first release for debian squeeze
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Apr 2012 11:01:28 +0200
+
+dab (1.1-15) unstable; urgency=low
+
+  * fix typo in scripts/mysql_randompw
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 15 Aug 2011 05:56:52 +0200
+
+dab (1.1-14) unstable; urgency=low
+
+  * include SUITE-updates for squeeze
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 09 May 2011 10:57:08 +0200
+
+dab (1.1-13) unstable; urgency=low
+
+  * use insserv instead of update-rc.d (for newer versions)
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 06 May 2011 06:59:25 +0200
+
+dab (1.1-12) unstable; urgency=low
+
+  * use UPASSWD instead of PASSWD inside shell scripts (avoid problems
+    with new 'dash')
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Mar 2011 06:41:31 +0100
+
+dab (1.1-11) unstable; urgency=low
+
+  * use HNAME instead of HOSTNAME inside shell scripts (avoid problems
+    with new 'dash')
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Mar 2011 07:00:47 +0100
+
+dab (1.1-10) unstable; urgency=low
+
+  * use '=' instead of '==' to compare strings in shell scripts
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 16 Dec 2010 06:37:54 +0100
+
+dab (1.1-9) unstable; urgency=low
+
+  * correct update-rc.d invocation (add '.' after runlevel)
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 04 Oct 2010 09:27:36 +0200
+
+dab (1.1-8) unstable; urgency=low
+
+  * fix postgres startup script for squeeze
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Sep 2010 11:19:27 +0200
+
+dab (1.1-7) unstable; urgency=low
+
+  * support dependency based startup (squeeze)
+  
+  * use postgresql 8.4 for squeeze
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Sep 2010 10:37:10 +0200
+
+dab (1.1-6) unstable; urgency=low
+
+  *  use mysql-server-5.1 for squeezs
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 19 Aug 2010 08:32:57 +0200
+
+dab (1.1-5) unstable; urgency=low
+
+  * bug fix: only print a warning for packages installed directly with
+    'dpkg' (when there is no information in 'available' list)
+
+  * only mount /proc/ if not already mounted (avoid problems with vzctl
+    3.0.24)
+  
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Aug 2010 10:18:28 +0200
+
+dab (1.1-4) unstable; urgency=low
+
+  * add support for debian squeeze (debian 6.0)
+  
+  * ve_exec - query return status
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Jan 2010 12:22:33 +0100
+
+dab (1.1-3) unstable; urgency=low
+
+  * support intrepid and jaunty (patch from Sebastiaan Blommers) 
+
+  * apache NO_START is only used by etch
+  
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 19 May 2009 10:30:54 +0200
+
+dab (1.1-2) unstable; urgency=low
+
+  * DAB.pm (finalize): remove aquota.group and aquota.user
+
+  * ignore non-existent Release[.gpg] files
+
+  * __record_provides(): correct skipself implementation
+  
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 23 Jan 2009 15:22:02 +0100
+
+dab (1.1-1) unstable; urgency=low
+
+  * first public release
+  
+  * new manual page
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 16 Jan 2009 11:42:51 +0100
+
+dab (1.0-1) unstable; urgency=low
+
+  * first package build
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 28 Nov 2008 10:46:34 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..24045f6
--- /dev/null
@@ -0,0 +1,21 @@
+Source: dab
+Section: admin
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 10~),
+               perl,
+Standards-Version: 3.9.8
+
+Package: dab
+Architecture: all
+Depends: binutils,
+         libuuid-perl,
+         lxc,
+         make,
+         perl,
+         wget,
+         ${misc:Depends},
+         ${perl:Depends},
+Description: Debian LXC Appliance Builder
+ This package contains scripts to automate the creation of LXC
+ appliances.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..7948586
--- /dev/null
@@ -0,0 +1,21 @@
+
+   Copyright (C) 2007-2012 Proxmox Server Solutions GmbH
+
+   Copyright: dab is under GNU GPL, the GNU General Public License.
+
+   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; version 2 dated June, 1991.
+
+   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, write to the
+   Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+The complete text of the GNU General
+Public License can be found in '/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..2a6e77d
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+
+%:
+       dh $@
+