Accepting request 399973 from home:hreinecke:branches:Base:System

- Rework patch 'move filter_devnode under vector lock'
  (bsc#982348)

- multipathd: Fixup definition of set_unlocked_handler_callback()
- mpathcmd.h: Update Free Software Foundation address

- Do not install header file with mode 755

- Update to latest upstream version 0.6.1
  * Merge suse-specific patches
  * Drop multipath.conf.* files
  * Update to version 0.6.1
  * multipathd: move 'filter_devnode' under vector lock
  * libmultipath: use poll() in uevent_listen()
  * Increase kpartx retries
  * Merge Dell MD3XXX hardware table entries
  * multipathd: Add 'sysfs' prioritizer (bsc#927040)
  * libmultipath: call get_vpd_uid() if no uid_attribute is set
  * multipathd: update defaults

- Update to latest upstream version 0.6.0 (FATE#319406)
  * Update documentation
  * Fix memory leak and segfault in reconfigure
  * Add wwn keyword to weightedpath prioritizer
  * Use 64-bit int for command key
  * check partions unused before removing
  * print 'fail' when remove fails
  * add exclusive_pref_bi for alua prioritizer
  * kpartx: verify parition devices
  * multipathd: delay reloads during creation

OBS-URL: https://build.opensuse.org/request/show/399973
OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=93
This commit is contained in:
Marcus Meissner 2016-06-07 08:03:45 +00:00 committed by Git OBS Bridge
parent 4bf0e13640
commit 8538b4dfd0
6 changed files with 160 additions and 21 deletions

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/hreinecke/multipath-tools.git</param>
<param name="subdir"></param>
<param name="filename">multipath-tools</param>
<param name="version">0.6.1</param>
<param name="revision">sles12-sp2</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*multipath-tools*.tar</param>
<param name="compression">xz</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:235d1a6604504b9470a137eec7d0fbae70a17d650c253ce10b6804be000b178e
size 61873

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0521c2a9d48411f725a4ed62f72c61ac7bcd557f438a7364ae8b764eb3215436
size 185499

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f15d080565165861e5cfffed25ed58fa9fe500579aa692a8b844e9d9ee66afa
size 190924

View File

@ -1,7 +1,135 @@
-------------------------------------------------------------------
Mon Jul 13 10:54:56 UTC 2015 - werner@suse.de
Fri Jun 3 08:58:52 CEST 2016 - hare@suse.de
- Make it build
- Rework patch 'move filter_devnode under vector lock'
(bsc#982348)
-------------------------------------------------------------------
Mon May 30 08:52:53 CEST 2016 - hare@suse.de
- multipathd: Fixup definition of set_unlocked_handler_callback()
- mpathcmd.h: Update Free Software Foundation address
-------------------------------------------------------------------
Fri May 27 10:02:28 CEST 2016 - hare@suse.de
- Do not install header file with mode 755
-------------------------------------------------------------------
Wed May 25 17:20:32 CEST 2016 - hare@suse.de
- Update to latest upstream version 0.6.1
* Merge suse-specific patches
* Drop multipath.conf.* files
* Update to version 0.6.1
* multipathd: move 'filter_devnode' under vector lock
* libmultipath: use poll() in uevent_listen()
* Increase kpartx retries
* Merge Dell MD3XXX hardware table entries
* multipathd: Add 'sysfs' prioritizer (bsc#927040)
* libmultipath: call get_vpd_uid() if no uid_attribute is set
* multipathd: update defaults
-------------------------------------------------------------------
Fri May 6 15:18:22 CEST 2016 - hare@suse.de
- Update to latest upstream version 0.6.0 (FATE#319406)
* Update documentation
* Fix memory leak and segfault in reconfigure
* Add wwn keyword to weightedpath prioritizer
* Use 64-bit int for command key
* check partions unused before removing
* print 'fail' when remove fails
* add exclusive_pref_bi for alua prioritizer
* kpartx: verify parition devices
* multipathd: delay reloads during creation
* Cut down alua prioritizer ioctls
* Add 'ignore_new_boot_devs' option
* Add libmpathcmd library and use it internally
* retrigger uevents to try and grab uid
* Update to version 0.6.0
-------------------------------------------------------------------
Fri Apr 15 12:45:41 CEST 2016 - hare@suse.de
- Port to latest upstream version (FATE#319406, FATE#320255)
* kpartx: support device names with spaces
* add raw format multipathd commands
* make kpartx -d remove all partitions
* Add find_multipaths option
* Autodetect ALUA CLARiiON configurations
* Delayed path reintegration
* enable configuration directory
* read-only bindings
* Add deferred_remove support
* correctly set partition delimiter on rename
* Add overrides section to multipath.conf
* Add additional path wildcards
* Add force_sync option
* Misc small patches
-------------------------------------------------------------------
Thu Mar 24 09:49:45 CET 2016 - hare@suse.de
- multipathd: do not flush maps on startup
- Use find_path_by_dev() where possible (bsc#924316)
- Fixup error return in store_path() (bsc#972329)
- Do not display message 'invalid fd'
-------------------------------------------------------------------
Tue Mar 8 10:57:07 CET 2016 - hare@suse.de
- Fixup overzealous warning 'empty device number' (bsc#969857)
-------------------------------------------------------------------
Wed Feb 17 15:53:26 CET 2016 - hare@suse.de
- multipathd: fixup signal handling (again)
- Revert 'trigger all devices on startup'
- multipathd: print error message for invalid arguments
- multipathd: block checkerloop during reconfiguration (bsc#946658)
- libmultipath: correctly initialize pp->sg_id
- multipathd: don't buffer output with systemd (bsc#954726)
- multipath.rules: Do not forward partition events (bsc#954726)
- libmultipath: improve uxlsnr handling (bsc#954726)
- multipathd: do not realloc memory in uxlsnr (bsc#954726)
- libmultipath: call get_uid() for all paths (bsc#935312)
- multipathd: Do not print misleading message 'not found in pathvec'
- multipathd: Do not update the paths vec when removing paths
- multipathd: Do not switch paths on empty multipath tables (bsc#956349)
- libmultipath: remove 'get_info' argument for adopt_paths()
- libmultipath: ensure 'dev_t' is set when store paths (bsc#924316)
- libmultipath: Do not store paths with empty dev_t (bsc#924316)
- libmultipath: Do not store paths with empty device name (bsc#924316)
- libmultipath: sysfs_set_rport_tmo still wrong (bsc#926588)
- Add LIO-ORG/SUSE RBD backend hardware defaults (bsc#947845)
- multipath: Reset alias if renaming fails (bsc#943157)
-------------------------------------------------------------------
Fri Nov 6 13:35:22 CET 2015 - hare@suse.de
- Fixes for md_monitor on zFCP (FATE#319070):
* strict loop timings
* multipathd: fixup a crash when invoking CLI commands
* multipathd: implement 'show map $map format $format
-------------------------------------------------------------------
Tue Aug 25 11:58:21 CEST 2015 - hare@suse.de
- Fixup hang in 'multipath -f' (bsc#941954)
-------------------------------------------------------------------
Mon Aug 3 11:48:54 CEST 2015 - hare@suse.de
- Create package for SLE12-SP1.
* Remove multipath-tools-0.5.0-sles12.diff.bz2
* Add multipath-tools-0.5.0-sles12-sp1.diff.bz2
- kpartx: parse emulated DASD devices
- multipathd: Fixup queueing mode in 'show maps status' (bsc#933885)
- multipathd: Accept zero-sized paths in ev_add_path
- Always set DM_UDEV_DISABLE_LIBRARY_FALLBACK (bsc#933282)
- libmultipath: Fixup 'DM_DEVICE_RELOAD' handling (bsc#933282)
- libmultipath: correctly display checker status
-------------------------------------------------------------------
Wed Apr 8 11:00:43 CEST 2015 - hare@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package multipath-tools
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,23 +23,24 @@ BuildRequires: libudev-devel
BuildRequires: readline-devel
BuildRequires: systemd-devel
BuildRequires: udev
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
Url: http://christophe.varoqui.free.fr/
Requires: device-mapper >= 1.2.78
Requires: kpartx
PreReq: %insserv_prereq %fillup_prereq coreutils grep
Version: 0.5.0
Version: 0.6.1
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0
Group: System/Base
%{?systemd_requires}
%define has_systemd 1
Source: http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-%{version}.tar.bz2
Source: multipath-tools-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: %{name}-%{version}-sles12.diff.bz2
%global _sysdir %(pkg-config --variable=systemdutildir systemd | sed -r 's@/systemd$@@')
%if %suse_version > 1220
%define _sysdir usr/lib
%else
%define _sysdir lib
%endif
%description
This package provides the tools to manage multipathed devices by
@ -93,17 +94,15 @@ Authors:
%prep
%setup -q -n multipath-tools-%{version}
%patch0 -p1
echo %{_udevrulesdir}
echo %{_sysdir}
%build
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir} SYSTEMD=yes
make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%{_lib} SYSTEMDPATH=%{_sysdir}
%install
make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} install SYSTEMD=yes
make DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} SYSTEMDPATH=%{_sysdir} install
mkdir -p $RPM_BUILD_ROOT/var/cache/multipath/
rm $RPM_BUILD_ROOT/%_lib/libmpathpersist.so
rm $RPM_BUILD_ROOT/%_lib/libmpathcmd.so
mkdir -p $RPM_BUILD_ROOT/usr/sbin
ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcmultipathd
@ -144,10 +143,10 @@ exit 0
%files
%defattr(-,root,root)
%doc AUTHOR COPYING README ChangeLog
%doc multipath.conf*
%{_udevrulesdir}/11-dm-mpath.rules
%{_udevrulesdir}/56-multipath.rules
/%{_lib}/libmultipath.so.0
/%{_lib}/libmpathcmd.so.0
/%{_lib}/libmpathpersist.so.0
/%{_lib}/multipath
/sbin/multipath
@ -165,6 +164,7 @@ exit 0
%files devel
%defattr(-,root,root)
/usr/include/mpath_cmd.h
/usr/include/mpath_persist.h
%{_mandir}/man3/mpath_persistent_*