SOURCES: multipath-tools-selinux.patch (NEW) - added

aredridel aredridel at pld-linux.org
Sat Jul 29 20:20:02 CEST 2006


Author: aredridel                    Date: Sat Jul 29 18:20:02 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added

---- Files affected:
SOURCES:
   multipath-tools-selinux.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/multipath-tools-selinux.patch
diff -u /dev/null SOURCES/multipath-tools-selinux.patch:1.1
--- /dev/null	Sat Jul 29 20:20:02 2006
+++ SOURCES/multipath-tools-selinux.patch	Sat Jul 29 20:19:57 2006
@@ -0,0 +1,63 @@
+Only in multipath-tools-0.4.7-o/: README.kpartx
+diff -ur multipath-tools-0.4.7-o/devmap_name/Makefile multipath-tools-0.4.7/devmap_name/Makefile
+--- multipath-tools-0.4.7-o/devmap_name/Makefile	2006-03-13 04:07:45.000000000 -0700
++++ multipath-tools-0.4.7/devmap_name/Makefile	2006-07-29 04:11:48.000000000 -0600
+@@ -10,7 +10,7 @@
+ ifeq ($(strip $(BUILD)),klibc)
+ 	OBJS += $(libdm)
+ else
+-	LDFLAGS = -ldevmapper
++	LDFLAGS = -ldevmapper -lselinux -lsepol
+ endif
+ 
+ EXEC = devmap_name
+diff -ur multipath-tools-0.4.7-o/kpartx/Makefile multipath-tools-0.4.7/kpartx/Makefile
+--- multipath-tools-0.4.7-o/kpartx/Makefile	2006-03-13 04:07:45.000000000 -0700
++++ multipath-tools-0.4.7/kpartx/Makefile	2006-07-29 04:11:48.000000000 -0600
+@@ -13,7 +13,7 @@
+ 	       lopart.o xstrncpy.o devmapper.o dasd.o mac.o \
+ 	       $(MULTIPATHLIB)-$(BUILD).a $(libdm)
+ else
+-	LDFLAGS = -ldevmapper
++	LDFLAGS = -ldevmapper -lselinux -lsepol
+ 	OBJS = bsd.o dos.o kpartx.o solaris.o unixware.o dasd.o \
+ 	       gpt.o mac.o crc32.o lopart.o xstrncpy.o devmapper.o
+ endif
+Only in multipath-tools-0.4.7/kpartx: README
+Only in multipath-tools-0.4.7: l
+diff -ur multipath-tools-0.4.7-o/multipath/Makefile multipath-tools-0.4.7/multipath/Makefile
+--- multipath-tools-0.4.7-o/multipath/Makefile	2006-03-13 04:07:45.000000000 -0700
++++ multipath-tools-0.4.7/multipath/Makefile	2006-07-29 04:11:48.000000000 -0600
+@@ -12,7 +12,7 @@
+ ifeq ($(strip $(BUILD)),klibc)
+ 	OBJS += $(libdm) $(libsysfs)
+ else
+-	LDFLAGS += -ldevmapper -lsysfs
++	LDFLAGS += -ldevmapper -lselinux -lsepol -lsysfs
+ endif
+ 
+ EXEC = multipath
+diff -ur multipath-tools-0.4.7-o/multipathd/Makefile multipath-tools-0.4.7/multipathd/Makefile
+--- multipath-tools-0.4.7-o/multipathd/Makefile	2006-03-13 04:07:45.000000000 -0700
++++ multipath-tools-0.4.7/multipathd/Makefile	2006-07-29 04:11:48.000000000 -0600
+@@ -7,7 +7,7 @@
+ # basic flags setting
+ #
+ CFLAGS += -DDAEMON -I$(multipathdir) -I$(checkersdir)
+-LDFLAGS = -lpthread -ldevmapper -lsysfs -lreadline -lncurses
++LDFLAGS = -lpthread -ldevmapper -lselinux -lsepol -lsysfs -lreadline -lncurses
+ 
+ #
+ # debuging stuff
+diff -ur multipath-tools-0.4.7-o/path_priority/pp_balance_units/Makefile multipath-tools-0.4.7/path_priority/pp_balance_units/Makefile
+--- multipath-tools-0.4.7-o/path_priority/pp_balance_units/Makefile	2006-03-13 04:07:45.000000000 -0700
++++ multipath-tools-0.4.7/path_priority/pp_balance_units/Makefile	2006-07-29 04:11:48.000000000 -0600
+@@ -13,7 +13,7 @@
+ 	OBJS = pp_balance_units.o $(MULTIPATHLIB)-$(BUILD).a
+ else
+ 	CFLAGS += -I$(multipathdir) -DDEBUG=$(DEBUG)
+-	LDFLAGS = -ldevmapper
++	LDFLAGS = -ldevmapper -lselinux -lsepol
+ 	OBJS = pp_balance_units.o $(MULTIPATHLIB)-$(BUILD).a
+ endif
+ 
================================================================


More information about the pld-cvs-commit mailing list