[Lunar-commits] <moonbase> lvm2: 2.02.45 scripts rewritten device-mapper now part of lvm2 so depends->conflicts all configure options which are default removed from build script.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Mar 28 00:21:43 CET 2009


commit a4b02639f886ed7bb06fd4df30fe71121c22ecbe
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Mar 28 00:21:43 2009 +0100

    lvm2: 2.02.45 scripts rewritten
    device-mapper now part of lvm2 so depends->conflicts
    all configure options which are default removed from build script.
---
 filesys/lvm2/BUILD     |   23 +++++++++--------------
 filesys/lvm2/CONFLICTS |    1 +
 filesys/lvm2/DEPENDS   |    1 -
 filesys/lvm2/DETAILS   |    6 +++---
 4 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/filesys/lvm2/BUILD b/filesys/lvm2/BUILD
index f477bc3..384e1fd 100644
--- a/filesys/lvm2/BUILD
+++ b/filesys/lvm2/BUILD
@@ -1,18 +1,13 @@
 (
-  # This is a fugly work around for now
-  cp -f /usr/include/libdevmapper.h $SOURCE_DIRECTORY/include/ &&
-  ./configure  --build=$BUILD            \
-               --prefix=/usr             \
-               --sbindir=/sbin           \
-               --with-staticdir=/sbin    \
-               --libdir=/lib             \
-               --mandir=/usr/share/man   \
-               --sysconfdir=/etc         \
-               --enable-readline         \
-               --enable-cmdlib           \
-               --with-mirrors=internal   \
-               --with-snapshots=internal \
-               $OPTS                    &&
+
+  ./configure  --sbindir=/sbin               \
+               --libdir=/lib                 \
+               --enable-cmdlib               \
+               --enable-pkgconfig            \
+               --with-optimisation="$CFLAGS" \
+               --enable-fsadm                \
+               --enable-dmeventd             \
+               $OPTS                        &&
   default_make
 
 ) > $C_FIFO 2>&1
diff --git a/filesys/lvm2/CONFLICTS b/filesys/lvm2/CONFLICTS
index 669808f..01fa33c 100644
--- a/filesys/lvm2/CONFLICTS
+++ b/filesys/lvm2/CONFLICTS
@@ -1 +1,2 @@
 conflicts lvm
+conflicts device-mapper
diff --git a/filesys/lvm2/DEPENDS b/filesys/lvm2/DEPENDS
index 5a37c5d..965a081 100644
--- a/filesys/lvm2/DEPENDS
+++ b/filesys/lvm2/DEPENDS
@@ -1,2 +1 @@
-depends device-mapper  &&
 depends readline
diff --git a/filesys/lvm2/DETAILS b/filesys/lvm2/DETAILS
index 5e819e8..2a5c412 100644
--- a/filesys/lvm2/DETAILS
+++ b/filesys/lvm2/DETAILS
@@ -1,13 +1,13 @@
           MODULE=lvm2
-         VERSION=2.02.38
+         VERSION=2.02.45
           SOURCE=LVM2.$VERSION.tgz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/LVM2.$VERSION
    SOURCE_URL[0]=ftp://sources.redhat.com/pub/lvm2
    SOURCE_URL[1]=ftp://sources.redhat.com/pub/lvm2/old
-      SOURCE_VFY=sha1:a9c1a62ce78a35bca4c7ea1e692e7ea8839374d7
+      SOURCE_VFY=sha1:d2b167198e7a4efea743fefaa84c3a43715341eb
         WEB_SITE=http://sources.redhat.com/lvm2/
          ENTERED=20040511
-         UPDATED=20080613
+         UPDATED=20090327
            SHORT="Logical volume manager"
 
 cat << EOF


More information about the Lunar-commits mailing list