Package: clvm
Version: 2.02.54-1
Severity: wishlist
Tags: patch

As of LVM2 version 2.02.51 or so, clvmd gained support for changing
the clustering library at runtime, instead of build time, making it
possible to build a clvmd that supports cman, openais, or corosync
without necessitating a rebuild.

It would be great of the clvmd daemon in Debian supported all of these
clustering mechanisms. Adding the appropriate build-deps
(libcorosync-dev and libopenais-dev) and passing --with-clvmd=all at
build-time should be sufficient.
diff -u lvm2-2.02.54/debian/rules lvm2-2.02.54/debian/rules
--- lvm2-2.02.54/debian/rules
+++ lvm2-2.02.54/debian/rules
@@ -66,7 +66,7 @@
 	./configure CFLAGS="$(CFLAGS)" \
 		$(CONFIGURE_FLAGS) \
 		--with-optimisation="" \
-		--with-clvmd=cman \
+		--with-clvmd=all \
 		--with-device-uid=0 \
 		--with-device-gid=6 \
 		--with-device-mode=0660 \
diff -u lvm2-2.02.54/debian/changelog lvm2-2.02.54/debian/changelog
--- lvm2-2.02.54/debian/changelog
+++ lvm2-2.02.54/debian/changelog
@@ -1,3 +1,9 @@
+lvm2 (2.02.54-2) unstable; urgency=low
+
+  * Build clvmd with support for openais and corosync.
+
+ -- Evan Broder <bro...@mit.edu>  Fri, 01 Jan 2010 17:02:14 -0500
+
 lvm2 (2.02.54-1) unstable; urgency=low
 
   * New upstream version.
diff -u lvm2-2.02.54/debian/control lvm2-2.02.54/debian/control
--- lvm2-2.02.54/debian/control
+++ lvm2-2.02.54/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org>
 Uploaders: Bastian Blank <wa...@debian.org>
-Build-Depends: debhelper (>> 4.2), automake, libcman-dev (>> 2), libdlm-dev (>> 2), libreadline5-dev, libselinux1-dev, pkg-config, quilt
+Build-Depends: debhelper (>> 4.2), automake, libcman-dev (>> 2), libdlm-dev (>> 2), libopenais-dev, libcorosync-dev, libreadline5-dev, libselinux1-dev, pkg-config, quilt
 Standards-Version: 3.7.3
 Homepage: http://sources.redhat.com/lvm2/
 Vcs-Svn: svn://svn.debian.org/pkg-lvm/lvm2/trunk/

Reply via email to