]> git.proxmox.com Git - resource-agents-pve.git/commitdiff
create the debian package files
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 9 Dec 2011 07:08:43 +0000 (08:08 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 9 Dec 2011 07:08:43 +0000 (08:08 +0100)
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/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
resource-agents-3.9.2.tar.bz2 [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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 (file)
index 0000000..5950149
--- /dev/null
@@ -0,0 +1,5 @@
+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
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..52c6163
--- /dev/null
@@ -0,0 +1,12 @@
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..2fae8e5
--- /dev/null
@@ -0,0 +1,35 @@
+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):
+
+
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..a2d0214
--- /dev/null
@@ -0,0 +1,2 @@
+README
+ChangeLog.devel
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..ccb1a85
--- /dev/null
@@ -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 (file)
index 0000000..ec3a9bf
Binary files /dev/null and b/resource-agents-3.9.2.tar.bz2 differ