From: Dietmar Maurer Date: Fri, 9 Dec 2011 07:08:43 +0000 (+0100) Subject: create the debian package files X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=60d3f066462fc23bb0baf35611c3ba9f90bb6d59;p=resource-agents-pve.git create the debian package files --- 60d3f066462fc23bb0baf35611c3ba9f90bb6d59 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d7124dd --- /dev/null +++ b/Makefile @@ -0,0 +1,39 @@ +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} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5950149 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +resource-agents-pve (3.9.2-1) unstable; urgency=low + + * Initial release for pve2 + + -- Proxmox Support Team Fri, 09 Dec 2011 07:48:21 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..52c6163 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: resource-agents-pve +Section: admin +Priority: optional +Maintainer: Proxmox Support Team +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2fae8e5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +This work was packaged for Debian by: + + Proxmox Support Team on Fri, 09 Dec 2011 07:44:49 +0100 + +It was downloaded from: + + + +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 . + +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 + +and is licensed under the AGPL version 3 + +Upstream Author(s): + + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..a2d0214 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README +ChangeLog.devel diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ccb1a85 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/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 diff --git a/resource-agents-3.9.2.tar.bz2 b/resource-agents-3.9.2.tar.bz2 new file mode 100644 index 0000000..ec3a9bf Binary files /dev/null and b/resource-agents-3.9.2.tar.bz2 differ