From: Dietmar Maurer Date: Tue, 30 Aug 2011 07:50:09 +0000 (+0200) Subject: initial import X-Git-Url: https://git.proxmox.com/?p=fence-agents-pve.git;a=commitdiff_plain;h=24b72ae8cd6f0ebe9218645cd6223603f115136b initial import --- 24b72ae8cd6f0ebe9218645cd6223603f115136b diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..14f784b --- /dev/null +++ b/Makefile @@ -0,0 +1,39 @@ +RELEASE=2.0 + +PACKAGE=fence-agents-pve +PKGREL=1 +FAVER=3.1.5 +FADIR=fence-agents-${FAVER} +FASRC=${FADIR}.tar.xz + + +DEB=${PACKAGE}_${FAVER}-${PKGREL}_amd64.deb + +all: ${DEB} + +${DEB} deb: ${FASRC} + rm -rf ${FADIR} + tar xf ${FASRC} + cp -av debian ${FADIR}/debian + cat ${FADIR}/doc/COPYRIGHT >>${FADIR}/debian/copyright + cd ${FADIR}; 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 ${FADIR} ${PACKAGE}_* + +.PHONY: dinstall +dinstall: ${DEB} + dpkg -i ${DEB} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9d52a03 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +fence-agents-pve (3.1.5-1) unstable; urgency=low + + [ Proxmox Support Team ] + * Initial release + + -- Proxmox Support Team Mon, 29 Aug 2011 13:56:36 +0200 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..25df5a9 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: fence-agents-pve +Section: admin +Priority: optional +Maintainer: Proxmox Support Team +Build-Depends: debhelper (>= 7.0.50~), autotools-dev +Standards-Version: 3.8.4 + +Package: fence-agents-pve +Architecture: any +Depends: ${perl:Depends}, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: fence agents for redhat cluster suite + This package provides various fence agents. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..734218b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,51 @@ +This work was packaged for Debian by: + + Proxmox Support Team on Mon, 29 Aug 2011 13:49:31 +0200 + +It was downloaded from: + + + +Upstream Author(s): + + See Copyright section below. + +License: + + Libraries: + + You can redistribute them and/or modify them under the terms of + the GNU Lesser General Public License as published by the Free + Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + + The libraries are distributed in the hope that they 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. + + Applications: + + You can redistribute them and/or modify them 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. + + The applications are distributed in the hope that they 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. + + A copy of each license is included for your convenience in: + /usr/share/common-licenses/LGPL-2.1 + /usr/share/common-licenses/GPL-2 + + +The Debian packaging is: + + Copyright (C) 2011 Proxmox Server Solutions GmbH + +and is licensed under the AGPL version 3 + +Copyright: + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5d43bf4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +AGENTS= \ +alom \ +apc \ +apc_snmp \ +baytech \ +bladecenter \ +brocade \ +bullpap \ +cisco_mds \ +cisco_ucs \ +cpint \ +drac \ +drac5 \ +eaton_snmp \ +egenera \ +eps \ +ibmblade \ +ifmib \ +ilo \ +ilo_mp \ +intelmodular \ +ipmilan \ +ldom \ +lib \ +lpar \ +manual \ +mcdata \ +node_assassin \ +nss_wrapper \ +rackswitch \ +rsa \ +rsb \ +sanbox2 \ +scsi \ +vixel \ +wti \ +xcat \ +zvm + +DESTDIR=debian/fence-agents-pve/ + +%: + dh $@ + +override_dh_auto_configure: + ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --docdir=/usr/share/doc/fence-agents-pve \ + --with-agents="${AGENTS}" + + +override_dh_install: + dh_install + rmdir ${DESTDIR}/var/run/cluster + rmdir ${DESTDIR}/var/run + rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.applications + rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYING.libraries + rm ${DESTDIR}/usr/share/doc/fence-agents-pve/README.licence + rm ${DESTDIR}/usr/share/doc/fence-agents-pve/COPYRIGHT \ No newline at end of file diff --git a/fence-agents-3.1.5.tar.xz b/fence-agents-3.1.5.tar.xz new file mode 100644 index 0000000..1f9c7d1 Binary files /dev/null and b/fence-agents-3.1.5.tar.xz differ