blkdevalias-0.10
[blkdevalias.git] / blkdevalias.spec
1 Name: blkdevalias
2 Version: 0.10
3 Release: 1%{?dist}
4 Summary: blkdevalias is a tool to manage persistent storage device aliases and permissions
5 BuildArch: noarch
6
7 Group: System Environment/Base
8 License: GPL
9 Source0: blkdevalias-%{version}.tar.bz2
10
11 Requires: bash udev util-linux coreutils
12
13 %description
14 blkdevalias is a tool to manage persistent storage device aliases and permissions. It manages a table of device name to WWID mappings that are used by a set of udev rules to name devices and apply configured ownership and permissions.
15
16 %prep
17 %setup -q
18
19
20 %build
21 make
22
23 %install
24 make ROOT=$RPM_BUILD_ROOT mandir=%{_mandir} install
25
26 %files
27 %defattr(-,root,root)
28 %dir /etc/blkdevalias
29 %config(noreplace) /etc/blkdevalias/blkdevalias.conf
30 %config(noreplace) /etc/blkdevalias/blkdevalias.map
31 %config /etc/udev/rules.d/99-blkdevalias.rules
32 /sbin/blkdevalias
33 /sbin/mpath-parent
34 %{_mandir}/man8/blkdevalias.8.gz
35 %{_mandir}/man5/blkdevalias.conf.5.gz
36 %{_mandir}/man5/blkdevalias.map.5.gz
37 %doc ChangeLog README COPYING
38
39 %changelog
40 * Wed Feb 6 2013 Bryn M. Reeves bmr@redhat.com = 0.10-1
41 - blkdevalias-0.10
42 - Fix parameter validation and error reporting in ba_map()
43 - Clean up function ordering
44 - Fixes to blkdevalias.8
45 - Fix warning message when adding alias
46 - Make sure lock file is owned by blkdevalias user and group
47 - Fix blkdevalias configure output
48 - Fix date format in RPM spec file %changelog
49
50 * Fri Feb 1 2013 Bryn M. Reeves bmr@redhat.com = 0.09-1
51 - blkevalias-0.09
52 - Fix warning message when adding aliases
53 - Make locking errors immediately fatal
54 - Fix locking and command status output
55
56 * Wed Jan 23 2013 Bryn M. Reeves bmr@redhat.com
57 - Add flock(2) locking for the map
58 - Debug logging improvements
59
60 * Tue Jan 22 2013 Bryn M. Reeves bmr@redhat.com
61 - Clean up global variables
62 - Fix readlink usage
63 - Partitioned device fixes
64 - Store BA_MODE during config file writes
65 - Document scan and refresh commands
66 - Add refresh command
67 - Add device refresh capability to scandisks command
68 - Fix local variable usage in ba_configure()
69 - Add comment headers to configuration and map files
70
71 * Mon Jan 21 2013 Bryn M. Reeves bmr@redhat.com
72 - Add scandisks implementation
73 - Fix long lines
74 - Add missing comments in blkdevalias
75 - Fix typo in blkdevalias.conf.5 ('permissins')
76 - blkdevalias-0.08
77 - Add manual pages to spec file and update ChangeLog
78 - Add Makefile support for manual pages
79 - Add blkdevalias.map.5
80 - Add blkdevalias.conf.5
81 - Document debugging and configuration in manual page
82 - Add blkdevalias.8 man page
83
84 Fri Jan 18 2013 Bryn M. Reeves <bmr@redhat.com>
85 - Add device mode support
86 - Do not print debug messages by default
87 - Make listdisks output more verbose
88 - Improve createdisks debug output
89 - Update README
90
91 Tue Nov 20 2012 Bryn M. Reeves <bmr@redhat.com>
92 - Fix ba_querydisks -> ba_querydisk
93
94 Fri Nov 16 2012 Bryn M. Reeves <bmr@redhat.com>
95 - Fix spec file typo to allow 0.07 to build
96 - Update spec file for 0.07 release
97 - Update readme for configuration file renames
98 - Update spec file for 0.06 release
99
100 Thu Nov 15 2012 Bryn M. Reeves <bmr@redhat.com>
101 - Deal with duplicate WWIDs and aliases correctly
102 - Add missing partition map unset in ba_del_wwid_mapping()
103 - Remove unused debug function
104 - Fix WM->BA in default blkdevalias.conf
105 - Fix help message to include 'listdisks'
106 - Update spec file for 0.05 release
107 - Add proper partition and type support
108 - Don't keep ChangeLog in git
109 - Rename configuration and map files
110
111 Wed Nov 14 2012 Bryn M. Reeves <bmr@redhat.com>
112 - Update ChangeLog and blkdevalias.spec for 0.04 release
113 - Fix ba_scsi_id() for partition device arguments
114 - Add mpath-parent to Makefile and fix strings
115 - Add ChangeLog to version control
116 - Add mkchangelog.sh script
117 - Add Makefile
118 - Drop git hash from version and bump to 0.04
119 - Prefix logging functions with '_'
120 - Add GPL license header to blkdevalias
121 - Change {nick,}name to alias in all comments and messages
122 - Handle empty lines in map file
123
124 Thu Nov 8 2012 Bryn M. Reeves <bmr@redhat.com>
125 - Specfile fixes
126 - Truncate default map file to zero entries
127 - Fix typo (missing ' ') in querydisk output
128
129 Thu Nov 1 2012 Bryn M. Reeves <bmr@redhat.com>
130 - Allow abbreviated commands
131 - Install mpath-parent in rpm spec file
132 - Work around to get WWID for mpath partitions
133
134 Wed Oct 31 2012 Bryn M. Reeves <bmr@redhat.com>
135 - Rename NNAME (nickname) -> ALIAS
136 - Update configure message for name change
137 - Rename wwid add/del functions to match ba_ prefix
138 - Rename WM_ and wm_ prefixes to BA_ and ba_
139 - Fix quoting in string comparisons
140 - Add udev rule file to RPM file list
141 - Fix packaging of udev rules file
142 - Fix udev rules to use new command name
143 - Install empty map from tarball instead of touching
144 - Add usage information and examples to README
145 - Add RPM spec file to version control
146 - Update udev rules file
147 - Add empty map file templatet to version control
148 - Rename wwidmap -> blkdevalias
149
150 Tue Oct 30 2012 Bryn M. Reeves <bmr@redhat.com>
151 - Add COPYING and README
152 - Fix querydisk -d output
153 - Add wm_querydisk implementation
154 - Load map for all commands
155 - Tidy up debug output
156 - Add traling newline to configure message
157 - Initial commit