]> git.proxmox.com Git - lvm.git/commitdiff
initial release
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Sep 2011 10:38:49 +0000 (12:38 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Sep 2011 10:38:49 +0000 (12:38 +0200)
This is a backport from debian testing. This package has fixed
dependencies for Proxmox VE.

Makefile [new file with mode: 0644]
lvm2_2.02.86-1.debian.tar.gz [new file with mode: 0644]
lvm2_2.02.86.orig.tar.gz [new file with mode: 0644]
patchdir/fix-build-dependencies.patch [new file with mode: 0644]
patchdir/fix-clvm-init-script.patch [new file with mode: 0644]
patchdir/series [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..c1ebbb7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,29 @@
+
+
+LVMVERSION=2.02.86
+LVMRELEASE=1
+LVMDIR=lvm2-${LVMVERSION}
+LVMSRC=lvm2_${LVMVERSION}.orig.tar.gz
+LVMDEBSRC=lvm2_${LVMVERSION}-${LVMRELEASE}.debian.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+all: ${LVMSRC} ${LVMDEBSRC}
+       rm -rf ${LVMDIR} tmpdeb
+       mkdir tmpdeb
+       cd tmpdeb; tar xvf ../${LVMDEBSRC}
+       mv tmpdeb/debian/clvm.defaults tmpdeb/debian/clvm.default
+       cd tmpdeb; ln -s ../patchdir patches; quilt push -a     
+       tar xf ${LVMSRC}
+       cp -av tmpdeb/debian ${LVMDIR}
+       cd ${LVMDIR}; dpkg-buildpackage -b -uc -us
+
+.PHONY: download
+download:
+       rm -f ${LVMSRC} ${LVMDEBSRC}
+       wget http://ftp.de.debian.org/debian/pool/main/l/lvm2/${LVMSRC}
+       wget http://ftp.de.debian.org/debian/pool/main/l/lvm2/${LVMDEBSRC}
+
+.PHONY: clean
+clean:
+       rm -rf *~ tmpdeb debian/*~ *_${ARCH}.deb *_${ARCH}.udeb *.changes *.dsc ${LVMDIR}
diff --git a/lvm2_2.02.86-1.debian.tar.gz b/lvm2_2.02.86-1.debian.tar.gz
new file mode 100644 (file)
index 0000000..a46d82e
Binary files /dev/null and b/lvm2_2.02.86-1.debian.tar.gz differ
diff --git a/lvm2_2.02.86.orig.tar.gz b/lvm2_2.02.86.orig.tar.gz
new file mode 100644 (file)
index 0000000..55c1cc6
Binary files /dev/null and b/lvm2_2.02.86.orig.tar.gz differ
diff --git a/patchdir/fix-build-dependencies.patch b/patchdir/fix-build-dependencies.patch
new file mode 100644 (file)
index 0000000..10d1d1a
--- /dev/null
@@ -0,0 +1,22 @@
+Index: lvm2new/debian/control
+===================================================================
+--- lvm2new.orig/debian/control        2011-09-20 09:30:56.000000000 +0200
++++ lvm2new/debian/control     2011-09-20 10:14:57.000000000 +0200
+@@ -3,7 +3,7 @@
+ Priority: optional
+ Maintainer: Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>
+ Uploaders: Bastian Blank <waldi@debian.org>
+-Build-Depends: debhelper (>> 7), automake, libcman-dev (>> 2), libdlm-dev (>> 2), libreadline-gplv2-dev, libselinux1-dev, libudev-dev, pkg-config, quilt
++Build-Depends: debhelper (>> 7), automake, redhat-cluster-pve-dev, libreadline6-dev, libselinux1-dev, libudev-dev, pkg-config, quilt
+ Standards-Version: 3.9.1
+ Homepage: http://sources.redhat.com/lvm2/
+ Vcs-Svn: svn://svn.debian.org/pkg-lvm/lvm2/trunk/
+@@ -39,7 +39,7 @@
+ Package: clvm
+ Priority: extra
+ Architecture: any
+-Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base, cman
++Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base, redhat-cluster-pve
+ Description: Cluster LVM Daemon for lvm2
+  This package provides the clustering interface for lvm2, when used with 
+  Red Hat's "cman" cluster infrastructure. It allows logical volumes to
diff --git a/patchdir/fix-clvm-init-script.patch b/patchdir/fix-clvm-init-script.patch
new file mode 100644 (file)
index 0000000..93af5cf
--- /dev/null
@@ -0,0 +1,28 @@
+Index: lvm2new/debian/clvm.init
+===================================================================
+--- lvm2new.orig/debian/clvm.init      2011-09-20 10:42:31.000000000 +0200
++++ lvm2new/debian/clvm.init   2011-09-20 10:43:21.000000000 +0200
+@@ -4,8 +4,8 @@
+ # Provides:          clvm
+ # Required-Start:    $remote_fs lvm2 cman
+ # Required-Stop:     $remote_fs lvm2 cman
+-# Default-Start:     S
+-# Default-Stop:      0 6
++# Default-Start:     2 3 4 5
++# Default-Stop:      0 1 6
+ # Short-Description: start and stop the lvm cluster locking daemon
+ ### END INIT INFO
+ #
+Index: lvm2new/debian/rules
+===================================================================
+--- lvm2new.orig/debian/rules  2011-09-20 10:52:11.000000000 +0200
++++ lvm2new/debian/rules       2011-09-20 10:52:32.000000000 +0200
+@@ -160,7 +160,7 @@
+ install_clvm: DIR = $(BUILD_DIR)/install_deb
+ install_clvm: $(STAMPS_DIR)/install_deb
+       +$(MAKE_SELF) install-base-prep INSTALL_DIR='$(DIR)'
+-      dh_installinit --no-start -- start 63 S . start 51 0 6 .
++      dh_installinit --no-start -- start 63 2 3 4 5 . start 51 0 1 6 .
+       +$(MAKE_SELF) install-base
+ install_dmsetup: export DH_OPTIONS = -pdmsetup
diff --git a/patchdir/series b/patchdir/series
new file mode 100644 (file)
index 0000000..54abfe9
--- /dev/null
@@ -0,0 +1,2 @@
+fix-build-dependencies.patch
+fix-clvm-init-script.patch