packages: mdadm/mdadm.spec, mdadm/mdadm-segv.patch (NEW)=?UTF-8?Q?=20?=- rel 2; fix segv ...

arekm arekm at pld-linux.org
Thu Feb 16 06:40:51 CET 2012


Author: arekm                        Date: Thu Feb 16 05:40:51 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; fix segv at assemble (sometimes only)

---- Files affected:
packages/mdadm:
   mdadm.spec (1.114 -> 1.115) , mdadm-segv.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mdadm/mdadm.spec
diff -u packages/mdadm/mdadm.spec:1.114 packages/mdadm/mdadm.spec:1.115
--- packages/mdadm/mdadm.spec:1.114	Wed Dec 28 21:35:29 2011
+++ packages/mdadm/mdadm.spec	Thu Feb 16 06:40:45 2012
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Narzędzie do tworzenia i obsługi programowych macierzy RAID
 Name:		mdadm
 Version:	3.2.3
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Base
 Source0:	http://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.bz2
@@ -20,6 +20,7 @@
 Source4:	%{name}-checkarray
 Source5:	%{name}-initramfs-hook
 Source6:	%{name}-initramfs-local-top
+Patch0:		%{name}-segv.patch
 URL:		http://www.kernel.org/pub/linux/utils/raid/mdadm/
 BuildRequires:	groff
 BuildRequires:	rpmbuild(macros) >= 1.213
@@ -78,6 +79,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with initrd}
@@ -193,6 +195,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2012/02/16 05:40:45  arekm
+- rel 2; fix segv at assemble (sometimes only)
+
 Revision 1.114  2011/12/28 20:35:29  arekm
 - up to 3.2.3
 

================================================================
Index: packages/mdadm/mdadm-segv.patch
diff -u /dev/null packages/mdadm/mdadm-segv.patch:1.1
--- /dev/null	Thu Feb 16 06:40:51 2012
+++ packages/mdadm/mdadm-segv.patch	Thu Feb 16 06:40:45 2012
@@ -0,0 +1,11 @@
+--- mdadm-3.2.3/config.c~	2011-12-15 05:13:08.000000000 +0100
++++ mdadm-3.2.3/config.c	2012-02-16 06:39:36.563902053 +0100
+@@ -1045,7 +1045,7 @@
+ 					array_list->devname);
+ 			continue;
+ 		}
+-		if (array_list->devices &&
++		if (array_list->devices && devname &&
+ 		    !match_oneof(array_list->devices, devname)) {
+ 			if (verbose >= 2 && array_list->devname)
+ 				fprintf(stderr, Name
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mdadm/mdadm.spec?r1=1.114&r2=1.115&f=u



More information about the pld-cvs-commit mailing list