Package multipath-tools: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | %define _sbindir /sbin %define _libdir /%_lib %define _libmpathdir %_libdir/multipath Name: multipath-tools Version: 0.4.9 Release: alt4.M70C.1 Summary: Tools to manage multipath devices with device-mapper License: GPLv2+ Group: System/Configuration/Hardware Url: http://christophe.varoqui.free.fr Source: %name-%version.tar # http://git.opensvc.com/multipath-tools/.git Packager: Konstantin Pavlov <thresh@altlinux.org> Requires: libmultipath = %version-%release Requires: kpartx = %version-%release Requires: dmsetup BuildRequires: libaio-devel libdevmapper-devel libreadline-devel libudev-devel %description This package provides the tools to manage multipath devices by instructing the device-mapper multipath module what to do. The tools are: - multipath: lists and configures multipath devices. - multipathd: monitors paths; as paths fail and come back, it may initiate path group switches. %package -n libmultipath Summary: The %name modules and shared library License: GPL+ Group: System/Libraries %description -n libmultipath The libmultipath provides the path checker and prioritizer modules. It also contains the multipath shared library, libmultipath. %package -n kpartx Summary: Partition device manager for device-mapper devices Group: System/Configuration/Hardware %description -n kpartx kpartx manages partition creation and removal for device-mapper devices. %prep %setup %build # non-SMP build make LIB=%_lib %install mkdir -p %buildroot{%_sbindir,%_libdir,%_man8dir,%_initdir,%_unitdir} make install \ DESTDIR=%buildroot \ bindir=%_sbindir \ syslibdir=%_libdir \ libdir=%_libmpathdir \ rcdir=%_initrddir \ unitdir=%_unitdir install -pm755 multipathd/multipathd.init.alt %buildroot%_initdir/multipathd cp multipath.conf.defaults %buildroot%_sysconfdir/multipath.conf mkdir -p %buildroot%_sysconfdir/multipath %post %post_service multipathd %preun %preun_service multipathd %files %doc AUTHOR README FAQ TODO ChangeLog multipath.conf.annotated multipath.conf.synthetic %_sbindir/multipath %_sbindir/multipathd %_sbindir/mpathconf %_sbindir/mpathpersist /lib/udev/rules.d/62-multipath.rules %config(noreplace) %attr(644,root,root) %_sysconfdir/multipath.conf %dir %_sysconfdir/multipath %_initdir/multipathd %_unitdir/multipathd.service %_man5dir/* %_man8dir/* %exclude %_man8dir/kpartx.8.* %files -n libmultipath %_libdir/libmultipath.so.* %_libdir/libmpathpersist.so.* %dir %_libdir/multipath %_libdir/multipath/* %files -n kpartx /sbin/kpartx /lib/udev/kpartx_id %_man8dir/kpartx.8.* %changelog * Fri Mar 31 2017 Valery Inozemtsev <shrek@altlinux.ru> 0.4.9-alt4.M70C.1 - installed default multipath.conf * Fri Nov 16 2012 Alexey Shabalin <shaba@altlinux.ru> 0.4.9-alt4 - upstream snapshot 2012-10-01 - update udev rules - add systemd unit file - split packages libmultipath and kpartx - Apply fedora patches: 0025-RH-fix-systemd-start-order.patch 0024-RH-start-multipathd-service-before-lvm.patch 0023-RHBZ-866291-update-documentation.patch 0022-RHBZ-864368-disable-libdm-failback.patch 0021-RH-fix-oom-adj.patch 0020-RH-netapp-config.patch 0019-RH-detect-prio.patch 0018-RH-remove-config-dups.patch 0016-RH-retain_hwhandler.patch 0015-RH-selector_change.patch 0014-RH-dm_reassign.patch 0013-RH-kpartx-msg.patch 0012-RH-change-configs.patch 0011-RH-use-sync-support.patch 0009-RH-dont-remove-map-on-enomem.patch 0007-RH-add-hp_tur-checker.patch 0006-RH-add-find-multipaths.patch 0005-RH-add-mpathconf.patch 0004-RH-multipathd-blacklist-all-by-default.patch 0002-RH-multipath.rules.patch 0001-RH-dont_start_with_no_config.patch * Tue Feb 15 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.4.9-alt3 - rebuild with new libdevmapper versioning * Mon Mar 01 2010 Konstantin Pavlov <thresh@altlinux.org> 0.4.9-alt2 - Rebase to 0.4.9 b68400c7. - Apply 0012-RH-udev-sync-support.patch from Fedora devel (fixes #23041). - Apply 0022-RHBZ-557845-RHEL5-style-partitions.patch from Fedora devel. - Install udev rules to /lib/udev/rules.d instead of /etc/udev/rules.d. * Wed Oct 14 2009 Pavlov Konstantin <thresh@altlinux.ru> 0.4.9-alt1 - Rebase to 0.4.9 aa0a885e1. - Remove devmap_name (redundant with dmsetup, following upstream). - Blacklist all devices by default (closes #21769). * Thu Sep 24 2009 Pavlov Konstantin <thresh@altlinux.ru> 0.4.8-alt3 - Fix another wrong scsi_id invocation in libmultipath. * Wed Aug 26 2009 Pavlov Konstantin <thresh@altlinux.ru> 0.4.8-alt2 - Apply a bunch of Fedora patches, notable changes are: + kpartx now works with logical partitions + fix for CVE-2009-0115 + support for newer scsi_id invocation scheme. - Some cosmetic spec file changes (spelling, descriptions rewrite). - Added cciss_id utility. - Added default configuration file. - Added init script for multipathd. * Tue Apr 07 2009 Michael Shigorin <mike@altlinux.org> 0.4.8-alt1 - 0.4.8: please see the site for changes that may require you altering your config file - built with libaio - added kpartx to main package - buildreq - NB: I don't have multipath-capable hardware, maintainer wanted * Tue Sep 02 2008 Michael Shigorin <mike@altlinux.org> 0.4.7-alt4 - BR: glibc-kernheaders instead - exclude devmap_name from main subpackage * Mon Sep 01 2008 Michael Shigorin <mike@altlinux.org> 0.4.7-alt3 - BR: kernel-headers-std-def (provides broke?) * Mon Apr 09 2007 Michael Shigorin <mike@altlinux.org> 0.4.7-alt2 - fixed build - spec cleanup - added %_sysconfdir/udev/rules.d/multipath.rules * Thu Mar 30 2006 Eugene Prokopiev <enp@altlinux.ru> 0.4.7-alt1 - build with new version and without external patches * Wed Aug 31 2005 Nick S. Grechukh <gns@altlinux.ru> 0.4.4-alt0.18 - initial build for ALT Linux Sisyphus * Thu Jun 16 2005 - lmb@suse.de - Remove stray newline character from /dev/disk/by-name/ entries (#85798, #86763) - Clear /dev/disk/by-name/ on boot. (#85978) - scsi_id now handles EMC Symmetrix; remove work-around for #86760. * Tue Jun 07 2005 - lmb@suse.de - Import fixes from upstream. - Hardware table updates for IBM ESS and EMC CX (#81688). - Reinstate paths correctly after failure/restore cycle (#85781, [#86444]). - Create map names again and fix segfault in devmap_name (#85798). * Tue May 24 2005 - hare@suse.de - Fix segmentation fault with EMC Symmetrix (#85614). - Update EMC Symmetrix entry in hwtable. * Mon May 23 2005 - hare@suse.de - Add hwtable entry for IBM DS6000. (#63903) - Do a rescan for devices if multipath command line option is set. * Fri May 20 2005 - hare@suse.de - Fix devmap_name to use mapname and return proper status (#84748). * Thu May 12 2005 - lmb@suse.de - Don't complain about default prio callout command (#81695). - Reflect recent changes in boot.multipath as well as multipathd init scripts. - Actually fail paths when they are detected to be failed by multipathd (#81679). - killproc/startproc/checkproc can't be used with multipathd because of the way the daemon switches to its own namespace (#80443). * Mon May 09 2005 - hare@suse.de - Use proper path checker for SGI TPC arrays. - Update hwtable entries for SGI TP9400 and SGI TP9500. - Write correct PID file (#80443). * Mon Apr 25 2005 - lmb@suse.de - Update to 0.4.4: pp_alua now licensed as GPL (#78628). - multipath-tools-oom-adj.patch: oom_adj to a valid value. * Thu Apr 21 2005 - lmb@suse.de - Update to 0.4.4-pre18 which fixes the multipathd to initialize correctly in the absence of a configuration file (79239). * Wed Apr 20 2005 - lmb@suse.de - Put multipath cache back into /dev because /var might not be mounted. - Correct hwtable entry SGI TP9400, TP9500 and IBM 3542. * Wed Apr 20 2005 - lmb@suse.de - Update to 0.4.4-pre16 - Build against device-mapper.1.01.xx correctly. * Tue Apr 19 2005 - lmb@suse.de - Build w/o device-mapper update again. * Mon Apr 18 2005 - lmb@suse.de - Update to 0.4.4-pre14 - Build versus device-mapper-1.01.01 to prevent deadlocks in kernel-space. - Fix devmap_name to work with udev. - Fix startup of multipathd w/o configuration file present. * Fri Apr 15 2005 - lmb@suse.de - Add path priority checker for EMC CLARiiON and make necessary adjustments so that it gets called by default (#62491). - Set the default udev dir to '/dev' * Fri Apr 15 2005 - hare@suse.de - Fix to allocate default strings (#78056) - Fix default entry for TPC9500. * Wed Apr 13 2005 - hare@suse.de - Added pp_alua path priority checker. - Update to multipath-tools-0.4.4-pre12. * Mon Apr 11 2005 - hare@suse.de - Update to multipath-tools-0.4.4-pre10. * Fri Apr 08 2005 - hare@suse.de - Update multipath to handle only true multipath devices (#62491). - Update kpartx to use the device mapper target name if available. - Add boot.multipath script for early set up of multipath targets. * Thu Mar 31 2005 - hare@suse.de - Update devmap_name to select targets by table type (#62493). * Tue Jan 25 2005 - lmb@suse.de - Update to 0.4.2 and fix some bugs + add support for the extended DM multipath kernel module. (#47491) * Thu Nov 11 2004 - hare@suse.de - Fix bugs to make it work on S/390 (#47491). * Fri Nov 05 2004 - hare@suse.de - Update to version 0.3.6 (#47491). - Fix multipath init script - Install configuration file example. - Install multipathd in /sbin instead of /usr/bin. * Tue Jul 20 2004 - fehr@suse.de - updated README mp-tools-issues.pdf (see #40640) * Wed Jun 09 2004 - fehr@suse.de - added pdf with README to package (see #40640) * Thu Jun 03 2004 - fehr@suse.de - updated to version 0.2.1 - removed patches zero-currpath.patch and rm-newline-in-name.patch already contained in 0.2.1 * Thu Jun 03 2004 - fehr@suse.de - added patch zero-currpath.patch (see bugzilla #40640) * Wed May 26 2004 - uli@suse.de - fixed to build on s390x * Wed May 26 2004 - fehr@suse.de - added patch rm-newline-in-name.patch (see bugzilla #40640) * Tue May 25 2004 - fehr@suse.de - created initial version of a SuSE package from version 0.2.0 of multipath tools |