rpms/device-mapper-multipath/devel makefiles_fix.patch, NONE, 1.1 uevent_debug.patch, NONE, 1.1 device-mapper-multipath.spec, 1.46, 1.47
Benjamin Marzinski (bmarzins)
fedora-extras-commits at redhat.com
Tue May 20 04:43:23 UTC 2008
- Previous message (by thread): rpms/moreutils/F-9 .cvsignore, 1.5, 1.6 moreutils.spec, 1.6, 1.7 sources, 1.5, 1.6
- Next message (by thread): rpms/device-mapper-multipath/devel device-mapper-multipath.spec, 1.47, 1.48 linking_change.patch, 1.1, 1.2 makefiles_fix.patch, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bmarzins
Update of /cvs/pkgs/rpms/device-mapper-multipath/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15409
Modified Files:
device-mapper-multipath.spec
Added Files:
makefiles_fix.patch uevent_debug.patch
Log Message:
Forgot to commit some patches.
makefiles_fix.patch:
--- NEW FILE makefiles_fix.patch ---
Index: multipath-tools-080519/libmultipath/Makefile
===================================================================
--- multipath-tools-080519.orig/libmultipath/Makefile
+++ multipath-tools-080519/libmultipath/Makefile
@@ -26,11 +26,11 @@ $(LIBS): $(OBJS)
$(CC) $(SHARED_FLAGS) $(CFLAGS) -o $@ $(OBJS)
install:
- $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(libdir)
- $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(libdir)/$(LIBS)
+ $(INSTALL_PROGRAM) -o root -g root -m 755 -d $(DESTDIR)$(libdir)
+ $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(libdir)/$(LIBS)
uninstall:
- rm -f $(libdir)/$(LIBS)
+ rm -f $(DESTDIR)$(libdir)/$(LIBS)
clean:
rm -f core *.a *.o *.gz *.so
Index: multipath-tools-080519/libmultipath/checkers/Makefile
===================================================================
--- multipath-tools-080519.orig/libmultipath/checkers/Makefile
+++ multipath-tools-080519/libmultipath/checkers/Makefile
@@ -21,10 +21,10 @@ libcheck%.so: libsg.o %.o
$(CC) $(SHARED_FLAGS) -o $@ $^
install:
- $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(libdir)
+ $(INSTALL_PROGRAM) -o root -g root -m 755 $(LIBS) $(DESTDIR)$(libdir)
uninstall:
- rm -f $(libdir)/$(LIBS)
+ rm -f $(DESTDIR)$(libdir)/$(LIBS)
clean:
rm -f core *.a *.o *.gz *.so
Index: multipath-tools-080519/libmultipath/prioritizers/Makefile
===================================================================
--- multipath-tools-080519.orig/libmultipath/prioritizers/Makefile
+++ multipath-tools-080519/libmultipath/prioritizers/Makefile
@@ -25,10 +25,10 @@ libprio%.so: %.o
$(CC) $(SHARED_FLAGS) -o $@ $^
install: $(LIBS)
- install -m 755 libprio*.so $(libdir)
+ $(INSTALL_PROGRAM) -m 755 libprio*.so $(DESTDIR)$(libdir)
uninstall:
- rm -f $(libdir)/libprio*.so
+ rm -f $(DESTDIR)$(libdir)/libprio*.so
clean:
rm -f core *.a *.o *.gz *.so
uevent_debug.patch:
--- NEW FILE uevent_debug.patch ---
Index: multipath-tools-080515/multipathd/main.c
===================================================================
--- multipath-tools-080515.orig/multipathd/main.c
+++ multipath-tools-080515/multipathd/main.c
@@ -619,14 +619,20 @@ uxsock_trigger (char * str, char ** repl
static int
uev_discard(char * devpath)
{
+ char *tmp;
char a[10], b[10];
/*
* keep only block devices, discard partitions
*/
- if (sscanf(devpath, "/block/%10s", a) != 1 ||
- sscanf(devpath, "/block/%10[^/]/%10s", a, b) == 2) {
- condlog(4, "discard event on %s", devpath);
+ tmp = strstr(devpath, "/block/");
+ if (tmp == NULL){
+ condlog(0, "no /block/ in '%s'", devpath);
+ return 1;
+ }
+ if (sscanf(tmp, "/block/%10s", a) != 1 ||
+ sscanf(tmp, "/block/%10[^/]/%10s", a, b) == 2) {
+ condlog(0, "discard event on %s", devpath);
return 1;
}
return 0;
Index: device-mapper-multipath.spec
===================================================================
RCS file: /cvs/pkgs/rpms/device-mapper-multipath/devel/device-mapper-multipath.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- device-mapper-multipath.spec 20 May 2008 04:37:41 -0000 1.46
+++ device-mapper-multipath.spec 20 May 2008 04:42:36 -0000 1.47
@@ -1,7 +1,7 @@
Summary: Tools to manage multipath devices using device-mapper
Name: device-mapper-multipath
Version: 0.4.8
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+
Group: System Environment/Base
URL: http://christophe.varoqui.free.fr/
@@ -103,6 +103,9 @@
%{_mandir}/man8/kpartx.8.gz
%changelog
+* Mon May 19 2008 Benjamin Marzinksi <bmarzins at redhat.com> 0.4.8-2
+- Forgot to commit some patches.
+
* Mon May 19 2008 Benjamin Marzinski <bmarzins at redhat.com> 0.4.8-1
- Updated to latest Upstream 0.4.8 code: multipath-tools-080519.tgz
(git commit id: 42704728855376d2f7da2de1967d7bc71bc54a2f)
- Previous message (by thread): rpms/moreutils/F-9 .cvsignore, 1.5, 1.6 moreutils.spec, 1.6, 1.7 sources, 1.5, 1.6
- Next message (by thread): rpms/device-mapper-multipath/devel device-mapper-multipath.spec, 1.47, 1.48 linking_change.patch, 1.1, 1.2 makefiles_fix.patch, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list