--- /dev/null
+RELEASE=2.0
+
+QBVERSION=0.5.1
+QBRELEASE=1
+QBDIR=libqb-${QBVERSION}
+QBSRC=libqb-${QBVERSION}.orig.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS= \
+ libqb_${QBVERSION}-${QBRELEASE}_${ARCH}.deb \
+ libqb-dev_${QBVERSION}-${QBRELEASE}_${ARCH}.deb
+
+all: ${DEBS}
+ echo ${DEBS}
+
+${DEBS}: ${QBSRC}
+ rm -rf ${QBDIR}
+ tar xf ${QBSRC}
+ cp -a debian ${QBDIR}/debian
+ cd ${QBDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+
+
+download:
+ rm -rf libqb-${QBVERSION} libqb-${QBVERSION}.orig.tar.gz
+ git clone git://libqb.org/libqb.git libqb-${QBVERSION}
+ # fixme checkout correct version
+ #cd libqb-${QBVERSION}; git checkout -b local v${QBVERSION}
+ cd libqb-${QBVERSION}; ./autogen.sh
+ tar czf libqb-${QBVERSION}.orig.tar.gz libqb-${QBVERSION}/
+
+.PHONY: upload
+upload: ${DEBS}
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+ mkdir -p /pve/${RELEASE}/extra
+ rm -f /pve/${RELEASE}/extra/libqb*.deb
+ rm -f /pve/${RELEASE}/extra/Packages*
+ cp ${DEBS} /pve/${RELEASE}/extra
+ cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+.PHONY: clean
+clean:
+ rm -rf *~ debian/*~ *_${ARCH}.deb *.changes *.dsc ${QBDIR} libqb_${QBVERSION}.orig.tar.gz
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+ dpkg -i ${DEBS}
--- /dev/null
+libqb (0.5.1-1) unstable; urgency=low
+
+ * update to 0.5.1
+
+ -- Proxmox Support Team <support@proxmox.com> Tue, 19 Jul 2011 12:31:59 +0200
+
+libqb (0.5.0-1) unstable; urgency=low
+
+ * update to 0.5.0
+
+ -- Proxmox Support Team <support@proxmox.com> Mon, 20 Jun 2011 06:56:56 +0200
+
+libqb (0.3.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Proxmox Support Team <support@proxmox.com> Thu, 02 Dec 2010 13:19:14 +0100
--- /dev/null
+Source: libqb
+Priority: extra
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, doxygen, check
+Standards-Version: 3.8.4
+Section: libs
+Homepage: http://www.libqb.org
+
+Package: libqb-dev
+Section: libdevel
+Architecture: any
+Depends: pkg-config, libqb (= ${binary:Version})
+Description: The Quarterback Client Server Developer Library
+ This package contains include files and man pages used to develop using
+ The Quarterback APIs.
+ .
+
+Package: libqb
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: The Quarterback Client Server Library
+ This package contains libqb libraries.
+ .
--- /dev/null
+This work was packaged for Debian by:
+
+ Proxmox Support Team <support@proxmox.com> on
+ Thu, 02 Dec 2010 13:18:23 +0100
+
+It was downloaded from:
+
+ git://libqb.org/libqb.git
+
+Upstream Author(s):
+
+ Angus Salkeld <asalkeld@redhat.com>
+ Steven Dake <sdake@redhat.com>
+
+Copyright:
+
+ Copyright (C) 2010 Red Hat, Inc
+
+License:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser 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
+ Lesser 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 <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in "/usr/share/common-licenses/LGPL-2".
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Proxmox Support Team <support@proxmox.com>
+
+and is licensed under the GNU Lesser General Public License,
+see "/usr/share/common-licenses/LGPL-2".
+
--- /dev/null
+coding_style.txt
--- /dev/null
+usr/lib
+usr/include
--- /dev/null
+usr/include/*
+usr/lib/lib*.a
+usr/lib/pkgconfig/*
+usr/lib/*.la
+usr/share/man/man3/*
--- /dev/null
+usr/lib/lib*.so
--- /dev/null
+#!/bin/sh
+# postinst script for libqb
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/bin/sh
+# postrm script for libqb
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/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
+
+# we want to load libqb with dynamic loader with perl
+export CFLAGS=-fPIC
+
+%:
+ dh $@
--- /dev/null
+liblibqb 0.3.0 libqb (>> 0.3.0-0), libqb (<< 0.3.0-99)