]> git.proxmox.com Git - fence-agents-pve.git/commitdiff
initial import
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 07:50:09 +0000 (09:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 07:50:09 +0000 (09:50 +0200)
Makefile [new file with mode: 0644]
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/rules [new file with mode: 0755]
fence-agents-3.1.5.tar.xz [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 (file)
index 0000000..9d52a03
--- /dev/null
@@ -0,0 +1,6 @@
+fence-agents-pve (3.1.5-1) unstable; urgency=low
+
+  [ Proxmox Support Team ]
+  * Initial release 
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 29 Aug 2011 13:56:36 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..25df5a9
--- /dev/null
@@ -0,0 +1,12 @@
+Source: fence-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: 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 (file)
index 0000000..734218b
--- /dev/null
@@ -0,0 +1,51 @@
+This work was packaged for Debian by:
+
+    Proxmox Support Team <support@proxmox.com> on Mon, 29 Aug 2011 13:49:31 +0200
+
+It was downloaded from:
+
+    <https://fedorahosted.org/cluster/wiki/HomePage>
+
+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 (executable)
index 0000000..5d43bf4
--- /dev/null
@@ -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 (file)
index 0000000..1f9c7d1
Binary files /dev/null and b/fence-agents-3.1.5.tar.xz differ