Author: sls                          Date: Fri Oct  7 23:24:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added pldize_lvm2_monitor.patch (lvm2_monitor still need some work)
- rel. 0.2

---- Files affected:
packages/lvm2:
   lvm2.spec (1.179 -> 1.180) , pldize_lvm2_monitor.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.179 packages/lvm2/lvm2.spec:1.180
--- packages/lvm2/lvm2.spec:1.179       Tue Jul 19 23:30:45 2011
+++ packages/lvm2/lvm2.spec     Sat Oct  8 01:24:13 2011
@@ -38,7 +38,7 @@
 Summary(pl.UTF-8):     Nowa wersja Logical Volume Managera dla Linuksa
 Name:          lvm2
 Version:       2.02.85
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Applications/System
 Source0:       ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
@@ -50,6 +50,7 @@
 Patch2:                device-mapper-dmsetup-export.patch
 Patch3:                %{name}-clvmd_init.patch
 Patch4:                dl-dlsym.patch
+Patch5:                pldize_lvm2_monitor.patch
 URL:           http://sources.redhat.com/lvm2/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -245,6 +246,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 # do not force --export-symbol linker option for e.g. statically linked 
executables
 # -rdynamic compiler option drives linker in the right way.
@@ -444,6 +446,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.180  2011/10/07 23:24:13  sls
+- added pldize_lvm2_monitor.patch (lvm2_monitor still need some work)
+- rel. 0.2
+
 Revision 1.179  2011/07/19 21:30:45  glen
 - fix ccache compile (again)
 

================================================================
Index: packages/lvm2/pldize_lvm2_monitor.patch
diff -u /dev/null packages/lvm2/pldize_lvm2_monitor.patch:1.1
--- /dev/null   Sat Oct  8 01:24:18 2011
+++ packages/lvm2/pldize_lvm2_monitor.patch     Sat Oct  8 01:24:13 2011
@@ -0,0 +1,27 @@
+--- LVM2.2.02.85/scripts/lvm2_monitoring_init_red_hat.in.orig  2011-10-05 
21:33:09.165296447 +0200
++++ LVM2.2.02.85/scripts/lvm2_monitoring_init_red_hat.in       2011-10-05 
21:36:47.152774996 +0200
+@@ -1,3 +1,3 @@
+-#!/bin/bash
++#!/bin/sh
+ #
+ # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
+@@ -50,7 +50,8 @@ start()
+       VGSLIST=`$VGS --noheadings -o name 2> /dev/null`
+       for vg in $VGSLIST
+       do
+-          action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y 
--poll y $vg || ret=$?
++              msg_starting "Starting monitoring for VG $vg"
++              daemon $VGCHANGE --monitor y --poll y $vg || return $?
+       done
+ 
+       return $ret
+@@ -68,7 +71,8 @@ stop()
+       VGSLIST=`$VGS --noheadings -o name 2> /dev/null`
+       for vg in $VGSLIST
+       do
+-          action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n $vg 
|| ret=$?
++              msg_stopping "Stopping monitoring for VG $vg"
++              $VGCHANGE --monitor n $vg || return $?
+       done
+       return $ret
+ }
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.179&r2=1.180&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to