--- /dev/null
+RELEASE=2.0
+
+PACKAGE=resource-agents-pve
+PKGREL=1
+RAVER=3.9.2
+RADIR=resource-agents-${RAVER}
+RASRC=${RADIR}.tar.bz2
+
+
+DEB=${PACKAGE}_${RAVER}-${PKGREL}_amd64.deb
+
+all: ${DEB}
+
+${DEB} deb: ${RASRC}
+ rm -rf ${RADIR}
+ tar xf ${RASRC}
+ cp -av debian ${RADIR}/debian
+ cat ${RADIR}/AUTHORS >>${RADIR}/debian/copyright
+ cd ${RADIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+ lintian ${DEB}
+
+.PHONY: upload
+upload: ${DEB}
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+ mkdir -p /pve/${RELEASE}/extra
+ rm -f /pve/${RELEASE}/extra/${PACKAGE}*.deb
+ rm -f /pve/${RELEASE}/extra/Packages*
+ cp ${DEB} /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
+
+distclean: clean
+
+clean:
+ rm -rf *~ debian/*~ *.deb ${RADIR} ${PACKAGE}_*
+
+.PHONY: dinstall
+dinstall: ${DEB}
+ dpkg -i ${DEB}
--- /dev/null
+resource-agents-pve (3.9.2-1) unstable; urgency=low
+
+ * Initial release for pve2
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 09 Dec 2011 07:48:21 +0100
--- /dev/null
+Source: resource-agents-pve
+Section: admin
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev
+Standards-Version: 3.8.4
+
+Package: resource-agents-pve
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: resource agents for redhat cluster suite
+ This package provides various resource agents.
--- /dev/null
+This work was packaged for Debian by:
+
+ Proxmox Support Team <support@proxmox.com> on Fri, 09 Dec 2011 07:44:49 +0100
+
+It was downloaded from:
+
+ <https://fedorahosted.org/cluster/wiki/HomePage>
+
+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, either version 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+The Debian packaging is:
+
+ Copyright (C) 2011 Proxmox Support Team <support@proxmox.com>
+
+and is licensed under the AGPL version 3
+
+Upstream Author(s):
+
+
--- /dev/null
+README
+ChangeLog.devel
--- /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
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --with-ras-set=rgmanager \
+ --sysconfdir=/etc