rpms/device-mapper-multipath/devel multipath-tools-0.4.7.4-badptr.patch, NONE, 1.1 device-mapper-multipath.spec, 1.33, 1.34
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Aug 31 22:21:47 UTC 2006
- Previous message (by thread): rpms/selinux-policy/devel policy-20060829.patch, 1.4, 1.5 selinux-policy.spec, 1.266, 1.267
- Next message (by thread): rpms/anaconda/devel .cvsignore, 1.327, 1.328 anaconda.spec, 1.453, 1.454 sources, 1.450, 1.451
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pjones
Update of /cvs/dist/rpms/device-mapper-multipath/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6504
Modified Files:
device-mapper-multipath.spec
Added Files:
multipath-tools-0.4.7.4-badptr.patch
Log Message:
- Split kpartx out into its own package so dmraid can use it without
installing multipathd
- Fix a segfault in kpartx
multipath-tools-0.4.7.4-badptr.patch:
devmapper.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE multipath-tools-0.4.7.4-badptr.patch ---
--- multipath-tools-0.4.7.4/kpartx/devmapper.c.badptr 2006-08-31 22:17:19.000000000 -0400
+++ multipath-tools-0.4.7.4/kpartx/devmapper.c 2006-08-31 22:16:24.000000000 -0400
@@ -75,7 +75,7 @@
const char *params, unsigned long size, const char *uuid, int part) {
int r = 0;
struct dm_task *dmt;
- char *prefixed_uuid;
+ char *prefixed_uuid = NULL;
if (!(dmt = dm_task_create (task)))
return 0;
Index: device-mapper-multipath.spec
===================================================================
RCS file: /cvs/dist/rpms/device-mapper-multipath/devel/device-mapper-multipath.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- device-mapper-multipath.spec 17 Jul 2006 23:44:02 -0000 1.33
+++ device-mapper-multipath.spec 31 Aug 2006 22:21:44 -0000 1.34
@@ -1,17 +1,18 @@
Summary: Tools to manage multipath devices using device-mapper.
Name: device-mapper-multipath
Version: 0.4.7
-Release: 4.0
+Release: 4.1
License: GPL
Group: System Environment/Base
URL: http://christophe.varoqui.free.fr/
Source0: multipath-tools-0.4.7.4.tgz
-Obsoletes: kpartx = 0.4.4-2.4
+Requires: kpartx = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prereq: chkconfig
BuildRequires: libsysfs-devel, device-mapper >= 1.02.02-2
BuildRequires: libselinux-devel, libsepol-devel
BuildRequires: readline-devel, ncurses-devel
+Patch0: multipath-tools-0.4.7.4-badptr.patch
%description
%{name} provides tools to manage multipath devices by instructing the
@@ -19,10 +20,18 @@
The tools are :
* multipath : Scan the system for multipath devices and assemble them.
* multipathd : Detects when paths fail and execs multipath to update things.
-* kpartx : Makes multipath devices partitionable.
+
+%package -n kpartx
+Summary: Partition device manager for device-mapper devices.
+Group: System Environment/Base
+Provides: kpartx = %{version}-%{release}
+
+%description -n kpartx
+kpartx manages partition creation and removal for device-mapper devices.
%prep
%setup -q -n multipath-tools-0.4.7.4
+%patch0 -p1 -b .badptr
%build
make DESTDIR=$RPM_BUILD_ROOT
@@ -46,8 +55,6 @@
%defattr(-,root,root,-)
/sbin/multipath
/sbin/multipath.static
-/sbin/kpartx
-/sbin/kpartx.static
/sbin/multipathd
/sbin/mpath_prio_alua
/sbin/mpath_prio_emc
@@ -55,17 +62,27 @@
/sbin/mpath_prio_hds_modular
/sbin/mpath_prio_tpc
/sbin/mpath_get_name
-/sbin/kpartx_get_name
/etc/udev/rules.d/40-multipath.rules
%{_mandir}/man8/mpath_prio_alua.8.gz
-%{_mandir}/man8/kpartx.8.gz
%{_mandir}/man8/multipath.8.gz
%{_mandir}/man8/multipathd.8.gz
%config /etc/rc.d/init.d/multipathd
%config(noreplace) /etc/multipath.conf
%doc AUTHOR COPYING README* FAQ Multipath-usage.txt multipath.conf.annotated multipath.conf.defaults multipath.conf.synthetic
+%files -n kpartx
+%defattr(-,root,root,-)
+/sbin/kpartx
+/sbin/kpartx.static
+/sbin/kpartx_get_name
+%{_mandir}/man8/kpartx.8.gz
+
%changelog
+* Thu Aug 31 2006 Peter Jones <pjones at redhat.com> - 0.4.7-4.1
+- Split kpartx out into its own package so dmraid can use it without
+ installing multipathd
+- Fix a segfault in kpartx
+
* Mon Jul 17 2006 Benjamin Marzinski <bmarzins at redhat.com> 0.4.7-4.0
- Updated to latest source. Fixes bug in default multipath.conf
- Previous message (by thread): rpms/selinux-policy/devel policy-20060829.patch, 1.4, 1.5 selinux-policy.spec, 1.266, 1.267
- Next message (by thread): rpms/anaconda/devel .cvsignore, 1.327, 1.328 anaconda.spec, 1.453, 1.454 sources, 1.450, 1.451
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list