source: projects/specs/trunk/u/udev/udev-vl.spec @ 1006

Revision 1006, 34.9 KB checked in by daisuke, 14 years ago (diff)

udev: update to 154, add patch to fix rules

Line 
1%define debug false
2%define udev_scriptdir /lib/udev
3%define firmwaredir /lib/firmware
4
5Summary: A userspace implementation of devfs
6Summary(ja): ユーザスペース実装のデバイスファイルシステム
7Name: udev
8Version: 154
9Release: 1%{?_dist_release}
10License: GPL
11Group: System Environment/Base
12URL: http://kernel.org/pub/linux/utils/kernel/hotplug/
13
14Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
15Source1: start_udev
16Source3: udev-post.init
17Source4: fw_unit_symlinks.sh
18Source5: udev.sysconfig
19
20#
21Patch101: udev-151-rules.patch
22
23# vine patch
24
25
26ExclusiveOS: Linux
27
28BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
29BuildRequires: sed, flex
30BuildRequires: pam-devel, glib2-devel, bison
31BuildRequires: findutils
32BuildRequires: hwdata
33BuildRequires: gobject-introspection-devel >= 0.6.2
34BuildRequires: gtk-doc
35BuildRequires: usbutils >= 0.82
36Requires(pre): /bin/sh fileutils
37Requires(pre): MAKEDEV >= 3.21
38Requires: MAKEDEV >= 3.21
39Requires: util-linux-ng >= 2.16
40Obsoletes: dev < 3.22
41Conflicts: dev < 3.22
42Provides: dev = 3.22
43Obsoletes: murasaki, usbmgr, hotplug
44Provides: murasaki
45
46Requires: pam
47
48Vendor: Project Vine
49Distribution: Vine Linux
50Packager: daisuke
51
52
53%description
54The udev package contains an implementation of devfs in
55userspace using sysfs and netlink.
56
57%package -n libudev
58Summary: Dynamic library to access udev device information
59Group: System Environment/Libraries
60Obsoletes: libudev0 <= 142
61Provides: libudev0 = 143
62
63%description -n libudev
64This package contains the dynamic library libudev, which provides access
65to udev device information, and an interface to search devices in sysfs.
66
67%package -n libudev-devel
68Summary: Development files for libudev
69Group: Development/Libraries
70Requires: udev = %{version}-%{release}
71Requires: libudev = %{version}-%{release}
72
73%description -n libudev-devel
74This package contains the development files for the library libudev, a
75dynamic library, which provides access to udev device information.
76
77%package -n libgudev1
78Summary: Libraries for adding libudev support to applications that use glib
79Group: Development/Libraries
80Requires: libudev >= 142
81# remove the following lines for libgudev so major 1
82Provides: libgudev = 20090518
83Obsoletes: libgudev <= 20090517
84
85%description -n libgudev1
86This package contains the libraries that make it easier to use libudev
87functionality from applications that use glib.
88
89%package -n libgudev1-devel
90Summary: Header files for adding libudev support to applications that use glib
91Group: Development/Libraries
92Requires: libudev-devel >= 142
93Provides: libgudev-devel = 20090518
94Obsoletes: libgudev-devel <= 20090517
95
96Requires: libgudev1 = %{version}-%{release}
97
98%description -n libgudev1-devel
99This package contains the header and pkg-config files for developing
100glib-based applications using libudev functionality.
101
102
103%prep
104%setup -q 
105%patch101 -p1
106
107
108%build
109autoreconf -f -i
110%configure \
111  --without-selinux \
112  --prefix=%{_prefix} --exec-prefix="" \
113  --sysconfdir=%{_sysconfdir} --with-libdir-name=%{_lib} \
114  --sbindir="/sbin" --libexecdir=%{udev_scriptdir} \
115  --with-rootlibdir=/%{_lib} --enable-introspection \
116  --enable-debug
117
118make %{?_smp_mflags}
119
120%install
121rm -rf $RPM_BUILD_ROOT
122
123mkdir -p $RPM_BUILD_ROOT%{_sbindir}
124
125make DESTDIR=$RPM_BUILD_ROOT install
126
127rm -fr $RPM_BUILD_ROOT%{_docdir}/udev
128rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
129
130rm -f $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.rules
131rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init.d/udev
132rm -f $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d/default/10-udev.hotplug
133
134mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/{rules.d,makedev.d,scripts,devices}
135mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dev.d
136mkdir -p $RPM_BUILD_ROOT%{_bindir}
137touch $RPM_BUILD_ROOT%{_sysconfdir}/scsi_id.config
138
139# force relative symlinks
140ln -sf ..%{udev_scriptdir}/scsi_id $RPM_BUILD_ROOT/sbin/scsi_id
141
142ln -sf ../../sbin/udevadm $RPM_BUILD_ROOT%{_bindir}/udevinfo
143ln -sf ../../sbin/udevadm $RPM_BUILD_ROOT%{_bindir}/udevtest
144ln -sf ../../sbin/udevadm $RPM_BUILD_ROOT%{_sbindir}/udevmonitor
145
146ln -sf udevadm $RPM_BUILD_ROOT/sbin/udevtrigger
147ln -sf udevadm $RPM_BUILD_ROOT/sbin/udevsettle
148ln -sf udevadm $RPM_BUILD_ROOT/sbin/udevcontrol
149
150mkdir -p $RPM_BUILD_ROOT%{udev_scriptdir}/{,devices}
151
152for i in \
153        rules/redhat/*.rules \
154%ifarch ppc ppc64
155        rules/packages/40-ppc.rules \
156%endif
157        ; do
158        install -m 0644 "$i"  "$RPM_BUILD_ROOT%{udev_scriptdir}/rules.d/${i##*/}"
159done
160
161mkdir -p $RPM_BUILD_ROOT%{udev_scriptdir}/{,devices}
162
163install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{udev_scriptdir}/fw_unit_symlinks.sh
164
165mkdir -p $RPM_BUILD_ROOT%{_datadir}/udev
166install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/start_udev
167
168mkdir -p -m 0755 $RPM_BUILD_ROOT%{firmwaredir}
169
170mkdir -p -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d
171cat > $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/floppy-pnp.conf <<EOF
172alias pnp:dPNP0700 floppy
173alias acpi:PNP0700: floppy
174EOF
175
176mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
177install -m 0755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/udev-post
178
179mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
180install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/udev
181
182mkdir -p $RPM_BUILD_ROOT/var/lib/udev/makedev.d
183
184%pre
185getent group video >/dev/null || /usr/sbin/groupadd -g 39 video || :
186getent group audio >/dev/null || /usr/sbin/groupadd -g 63 audio || :
187getent group cdrom >/dev/null || /usr/sbin/groupadd -g 11 cdrom || :
188getent group tape >/dev/null || /usr/sbin/groupadd -g 33 tape || :
189getent group dialout >/dev/null || /usr/sbin/groupadd -g 18 dialout || :
190
191%preun
192if [ $1 = 0 -a -f %{_initrddir}/udev ]; then
193        if [ -x /sbin/pidof ]; then
194                pid=$(/sbin/pidof udevd)
195                if [ -n "$pid" ]; then
196                        kill $pid
197                fi
198        fi
199        /sbin/chkconfig --del udev
200fi
201if [ "$1" = 0 ]; then
202        /sbin/chkconfig --del udev-post
203fi
204exit 0
205
206%post
207if [ "$1" -ge "1" -a -x /sbin/pidof ]; then
208        pid=$(/sbin/pidof udevd)
209        if [ -n "$pid" ]; then
210                kill $pid
211                /sbin/udevd -d
212        fi
213fi
214/sbin/ldconfig
215/sbin/chkconfig --add udev-post
216exit 0
217
218%postun -p /sbin/ldconfig
219
220%triggerpostun -- dev <= 0:3.21-1vl1
221if [ $2 = 0 ]; then
222    if [ -x /sbin/MAKEDEV ]; then
223        /sbin/MAKEDEV null
224        /sbin/MAKEDEV console
225    else
226        /bin/mknod /dev/null c 1 3
227        /bin/mknod /dev/console c 5 1
228    fi
229    if [ "$(/sbin/kernelversion)" == "2.6" ] &&
230       [ $(($(uname -r |cut -f1 -d-|cut -f3 -d.))) -gt 15 ]
231    then
232        /sbin/start_udev >/dev/null 2>&1
233        if [ -e /dev/mapper/control -a -x /sbin/lvm ]; then
234                /sbin/lvm vgmknodes >/dev/null 2>&1
235        fi
236    fi
237fi
238exit 0
239
240%clean
241rm -rf $RPM_BUILD_ROOT
242
243%files
244%defattr(-,root,root)
245%doc COPYING README TODO ChangeLog
246%attr(0755,root,root) /sbin/udevadm
247%attr(0755,root,root) /sbin/udevcontrol
248%attr(0755,root,root) /sbin/udevtrigger
249%attr(0755,root,root) /sbin/udevsettle
250%attr(0755,root,root) /sbin/udevd
251%attr(0755,root,root) /sbin/start_udev
252%attr(0755,root,root) /sbin/scsi_id
253%attr(0755,root,root) %{udev_scriptdir}/scsi_id
254%attr(0755,root,root) %{udev_scriptdir}/ata_id
255%attr(0755,root,root) %{udev_scriptdir}/collect
256%attr(0755,root,root) %{udev_scriptdir}/edd_id
257%attr(0755,root,root) %{udev_scriptdir}/usb_id
258%attr(0755,root,root) %{udev_scriptdir}/cdrom_id
259%attr(0755,root,root) %{udev_scriptdir}/path_id
260%attr(0755,root,root) %{udev_scriptdir}/hid2hci
261%attr(0755,root,root) %{udev_scriptdir}/create_floppy_devices
262%attr(0755,root,root) %{udev_scriptdir}/fw_unit_symlinks.sh
263%attr(0755,root,root) %{udev_scriptdir}/firmware
264%attr(0755,root,root) %{udev_scriptdir}/fstab_import
265%attr(0644,root,root) %{udev_scriptdir}/rule_generator.functions
266%attr(0755,root,root) %{udev_scriptdir}/write_cd_rules
267%attr(0755,root,root) %{udev_scriptdir}/write_net_rules
268%attr(0755,root,root) %{udev_scriptdir}/input_id
269%attr(0755,root,root) %{udev_scriptdir}/keyboard-force-release.sh
270%attr(0755,root,root) %{udev_scriptdir}/mobile-action-modeswitch
271%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/udev-post
272%attr(0755,root,root) %{_bindir}/udevtest
273%attr(0755,root,root) %{_bindir}/udevinfo
274%attr(0755,root,root) %{_sbindir}/udevmonitor
275%attr(0755,root,root) %dir %{_sysconfdir}/udev/
276%attr(0755,root,root) %dir %{_sysconfdir}/udev/rules.d/
277%attr(0755,root,root) %dir %{udev_scriptdir}/
278%attr(0755,root,root) %dir %{udev_scriptdir}/rules.d/
279%attr(0755,root,root) %dir %{udev_scriptdir}/devices/
280%attr(0755,root,root) %dir %{_sysconfdir}/udev/makedev.d/
281
282%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/udev
283
284%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/udev/udev.conf
285%attr(0644,root,root) %{udev_scriptdir}/rules.d/*.rules
286
287%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/scsi_id.config
288
289%config %attr(0644,root,root) %{_sysconfdir}/modprobe.d/floppy-pnp.conf
290
291%dir %attr(0755,root,root) %{firmwaredir}
292%attr(0644,root,root) %{_mandir}/man8/udev*.8*
293%attr(0644,root,root) %{_mandir}/man7/udev*.7*
294%attr(0644,root,root) %{_mandir}/man8/scsi_id*.8*
295
296%dir %attr(0755,root,root) /var/lib/udev
297%dir %attr(0755,root,root) /var/lib/udev/makedev.d
298
299# Deprecated, but keep the ownership
300%ghost %dir %{_sysconfdir}/udev/scripts/
301%ghost %dir %{_sysconfdir}/udev/devices/
302%ghost %dir %{_sysconfdir}/dev.d/
303
304%attr(0755,root,root) %{udev_scriptdir}/pci-db
305%attr(0755,root,root) %{udev_scriptdir}/usb-db
306%attr(0755,root,root) %{udev_scriptdir}/keymap
307%attr(0755,root,root) %{udev_scriptdir}/udev-acl
308%attr(0755,root,root) %{udev_scriptdir}/v4l_id
309%attr(0755,root,root) %{udev_scriptdir}/findkeyboards
310%attr(0644,root,root) %{udev_scriptdir}/keymaps/*
311%attr(0644,root,root) %{_prefix}/lib/ConsoleKit/run-seat.d/udev-acl.ck
312
313%files -n libudev
314%attr(0755,root,root) /%{_lib}/libudev.so.*
315
316%files -n libudev-devel
317%defattr(0644,root,root,0755)
318%doc COPYING
319%{_includedir}/libudev.h
320%{_libdir}/libudev.so
321%{_libdir}/pkgconfig/libudev.pc
322%{_datadir}/pkgconfig/udev.pc
323%{_datadir}/gtk-doc/html/libudev/*
324
325%files -n libgudev1
326%defattr(0644, root, root, 0755)
327%doc COPYING
328%attr(0755,root,root) %{_libdir}/libgudev-1.0.so.*
329%attr(0644,root,root) %{_libdir}/girepository-1.0/GUdev-1.0.typelib
330
331%files -n libgudev1-devel
332%defattr(0644, root, root, 0755)
333%doc COPYING
334%attr(0755,root,root) %{_libdir}/libgudev-1.0.so
335%attr(0644,root,root) %{_includedir}/gudev-1.0/gudev/*.h
336%attr(0644,root,root) %{_datadir}/gir-1.0/GUdev-1.0.gir
337%dir %{_datadir}/gtk-doc/html/gudev
338%attr(0644,root,root) %{_datadir}/gtk-doc/html/gudev/*
339%attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
340
341
342%changelog
343* Fri May 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 154-1
344- new upstream release
345- add patch101 to fix rules
346
347* Thu Apr 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 153-1
348- new upstream release
349
350* Sun Feb 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 151-1
351- new upstream release
352- drop obsolete patches
353
354* Wed Feb 10 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 145-2
355- rebuilt with new toolchain
356
357* Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 145-1
358- new upstream release
359- split libudev/libgudev1 to subpackage
360- disable static linked binary
361
362* Sat Aug 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 141-8
363- cleanup start_udev script
364
365* Fri Jul 24 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 141-7
366- add retrigger of fail events in udev-post.init
367
368* Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 141-5
369- rename floppy-pnp to floppy-pnp.conf
370
371* Fri May 01 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 141-4
372- include usb_id man page
373
374* Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 141-3
375- move system udev rules to /lib/udev/rules.d
376
377* Mon Apr 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 141-2
378- modified start_udev to ensure /dev/{null,console} created
379  before udevd actually starts
380
381* Sun Apr 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 141-1
382- new upstream release with security fix
383  (CVE-2009-1185, CVE-2009-1186)
384
385* Sat Mar 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 140-2
386- update start_udev
387- add video, audio, cdrom, tape and dialout to groups
388
389* Sat Mar 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 140-1
390- new upstream release
391
392* Sun Jan 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 136-1
393- new upstream release
394
395* Thu Dec 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 135-4
396- drop patch1000
397
398* Sat Dec 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 135-3
399- use udevadm instead of udevsettle
400- fix selinux stuff
401
402* Mon Dec 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 135-2
403- update start_udev/udev-post.init scripts
404- remove udev.nodes from makedev.d
405
406* Wed Dec 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 135-1
407- new upstream release
408
409* Wed Sep 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 127-1
410- new upstream release
411
412* Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 125-1
413- new upstream release
414- remove udevcontrol and udevtrigger (we use udevadm now)
415- update start_udev
416
417* Thu Apr 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 120-1
418- new upstream release
419
420* Thu Mar 20 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 118-1
421- add Patch1000 to prevent creating symlink for rtc.
422- apply new versioning policy.
423
424* Thu Mar 06 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 118-0vl1
425- new upstream release
426- sync with fedora development 118-5.fc9
427
428* Tue Aug 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-0vl3
429- use MAKEDEV to create devices in %%post
430
431* Tue Aug 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-0vl2
432- make console and null device in %%post in first installation.
433
434* Mon Aug 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-0vl1
435- new upstream release
436
437* Wed Jul 19 2006 Shu KONNO <owa@bg.wakwak.com> 096-0vl2
438- rebuild for x86_64
439- changed libdir, usrlibdir with /%%{_lib}, %%{_libdir} in make install
440- changed libdir=/lib to /lib64 in libvolume_id.pc
441
442* Wed Jul 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 096-0vl1
443- new upstream release
444
445* Sun Jul 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 095-0vl1
446- new upstream release
447
448* Tue Jun 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 094-0vl1
449- new upstream release
450
451* Fri Jun 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 093-0vl1
452- new upstream release
453
454* Sun May 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 092-0vl4
455- make null/console device in triggerpostun scripts
456
457* Sat May 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 092-0vl3
458- Obsoletes: dev < 3.22
459  dev>=3.22 does not conflict with udev, it provides statically
460  generated device files for older kernel.
461
462* Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 092-0vl2
463- update 95-pam-console.rules to fix invalid rules. (Patch10)
464  (thanks to KANEKO Seiji)
465
466* Mon May 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 092-0vl1
467- new upstream release
468
469* Sun Apr 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 091-0vl3
470- fix errors in 50-udev.rules (Patch10)
471
472* Thu Apr 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 091-0vl2
473- import start_udev script from FC
474- update {50-udev,51-hotplug}.rules (Patch10)
475
476* Wed Apr 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 091-0vl1
477- new upstream release
478
479* Mon Apr 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 090-0vl1
480- new upstream release
481
482* Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 089-0vl2
483- fix firemware_helper path in 05-udev-early.rules
484
485* Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 089-0vl1
486- new upstream release
487- move *_id helper programs from /sbin to /lib/udev
488
489* Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 088-0vl1
490- new upstream release
491- add udev.7 again. (#15)
492
493* Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl5
494- update udev.rules(Patch10) to replace deprecated format.
495
496* Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl4
497- update udev.rules(Patch10) to make compat symlink(/dev/mouse)
498
499* Fri Mar 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl3
500- update udev.rules(Patch10)
501- merge Patch20 to Patch10
502
503* Fri Mar 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl2
504- add 95-pam-console.rules to call pam_console_apply
505
506* Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl1
507- add Patch20 to fix obsolete style rules
508
509* Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 087-0vl1
510- new upstream release
511- add Requires:/PreReq: MAKEDEV >= 3.21
512- add Obsoletes:/Provides: dev
513
514* Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 086-0vl1
515- new upstream release
516- add Patch0 for compatibility devices for Vine Linux
517
518* Fri Jan 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 078-0vl1
519- merged with FC package
520  * Sun Jun 12 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 058-1vl1
521  - initial build for Vine Linux
522
523* Tue Jan 24 2006 Harald Hoyer <harald@redhat.com> - 078-7
524- put WAIT_FOR_SYSFS rules in 05-udev-early.rules
525
526* Mon Jan 23 2006 Harald Hoyer <harald@redhat.com> - 078-6
527- added some WAIT_FOR_SYSFS rules
528- removed warning message, if udev_db is not available
529
530* Sun Jan 22 2006 Kristian H淡gsberg <krh@redhat.com> 078-5
531- Drop udev dependency (#178621).
532
533* Tue Jan 11 2006 Harald Hoyer <harald@redhat.com> - 078-4
534- removed group "video" from the rules
535- fixed specfile
536- load nvram, floppy, parport and lp modules in
537  /etc/sysconfig/modules/udev-stw.modules until there
538  is a better solution
539- fixed more floppy module loading
540
541* Fri Dec 23 2005 Harald Hoyer <harald@redhat.com> - 078-3
542- fixed floppy module loading
543- added monitor socket
544- fixed typo in dvb rule
545
546* Wed Dec 21 2005 Bill Nottingham <notting@redhat.com> - 078-2
547- udevstart change: allow greylisting of certain modaliases (usb, firewire)
548
549* Wed Dec 21 2005 Harald Hoyer <harald@redhat.com> - 078-1
550- version 078
551- fixed symlink to pam_console.dev
552
553* Thu Dec 15 2005 Harald Hoyer <harald@redhat.com> - 077-2
554- switched back to udevstart and use active /dev/.udev/queue waiting
555  in start_udev
556- removed support for old kernels
557- refined some udev.rules
558
559* Mon Dec 13 2005 Harald Hoyer <harald@redhat.com> - 077-1
560- version 077
561- patch to include udevstart2 in udevd and delay daemonize until queue is empty
562
563* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
564- rebuilt
565
566* Tue Dec 06 2005 Harald Hoyer <harald@redhat.com> - 076-1
567- speedup udevd with selinux by calling matchpathcon_init_prefix()
568- version 076
569
570* Mon Nov 21 2005 Harald Hoyer <harald@redhat.com> - 075-4
571- speedup udev event replay with udevstart2
572
573* Fri Nov 18 2005 Harald Hoyer <harald@redhat.com> - 075-3
574- refined start_udev for old kernels
575
576* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 075-2
577- moved /etc/udev/scripts to /lib/udev
578- moved /etc/udev/devices to /lib/udev/devices
579- added new event replay for kernel >= 2.6.15
580- added usb devices
581- renamed cpu device to cpuid (bug #161538)
582- changed vendor string "Onstream" to "On[sS]tream" (bug #173043)
583- compiled all *_id programs statically
584
585* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 075-1
586- version 075
587
588* Tue Oct 25 2005 Harald Hoyer <harald@redhat.com> - 071-1
589- version 071
590
591* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-10
592- removed group usb
593
594* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-9
595- added libsepol-devel BuildReq
596- refined persistent rules
597
598* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-8
599- corrected c&p edd_id rule, symlink for js devices
600- added -lsepol
601
602* Thu Oct 06 2005 Harald Hoyer <harald@redhat.com> - 069-7
603- added edd_id
604
605* Fri Sep 30 2005 Harald Hoyer <harald@redhat.com> - 069-6
606- special handling of IEEE1394 firewire devices (bug #168093)
607
608* Fri Sep 23 2005 Harald Hoyer <harald@redhat.com> - 069-5
609- added missing path_id
610
611* Wed Sep 21 2005 Harald Hoyer <harald@redhat.com> - 069-4
612- readded volume_id now known as vol_id, bug #168883
613
614* Thu Sep 15 2005 Bill Nottingham <notting@redhat.com> - 069-3
615- fix firmware loading
616
617* Wed Sep 14 2005 Bill Nottingham <notting@redhat.com> - 069-2
618- own /lib/firmware (#167016)
619
620* Wed Sep 14 2005 Harald Hoyer <harald@redhat.com> - 069-1
621- version 069
622
623* Thu Aug 04 2005 Harald Hoyer <harald@redhat.com> - 063-6
624- compile with pie .. again... (#158935)
625- fixed typo in echo (#138509)
626
627* Tue Aug 02 2005 Harald Hoyer <harald@redhat.com> - 063-5
628- fixed scsi hotplug replay
629
630* Tue Aug 02 2005 Bill Nottingham <notting@redhat.com> - 063-5
631- add rule to allow function id matching for pcmcia after loading
632  modules (#164665)
633
634* Tue Aug 02 2005 Harald Hoyer <harald@redhat.com> - 063-4
635- fixed typo for tape devices and changed mode to 0660
636
637* Thu Jul 28 2005 Harald Hoyer <harald@redhat.com> - 063-3
638- changed "SYMLINK=" to "SYMLINK+="
639
640* Sun Jul 24 2005 Bill Nottingham <notting@redhat.com> - 063-2
641- don't set SEQNUM for scsi replay events (#163729)
642
643* Tue Jul 19 2005 Bill Nottingham <notting@redhat.com> - 063-1
644- update to 063
645- handle the hotplug events for ieee1394, scsi, firmware
646
647* Fri Jul 08 2005 Bill Nottingham <notting@redhat.com> - 062-2
648- update to 062
649- use included ata_id, build usb_id
650- load modules for pci, usb, pcmcia
651- ship RELEASE-NOTES in %%doc
652
653* Thu Jul 07 2005 Harald Hoyer <harald@redhat.com> - 058-2
654- compile with pie
655
656* Fri May 20 2005 Bill Nottingham <notting@redhat.com> - 058-1
657- update to 058, fixes conflict with newer kernels (#158371)
658
659* Thu May 12 2005 Harald Hoyer <harald@redhat.com> - 057-6
660- polished persistent scripts
661
662* Thu May  5 2005 Bill Nottingham <notting@redhat.com> - 057-5
663- rebuild
664
665* Thu May  5 2005 Bill Nottingham <notting@redhat.com> - 057-4
666- better check for mounted tmpfs on /dev (#156862)
667
668* Wed Apr 27 2005 Peter Jones <pjones@redhat.com> - 057-3
669- use udevstart rather than udev for udevstart.static
670
671* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 057-2
672- added Inifiniband devices (bug #147035)
673- fixed pam_console.dev (bug #153250)
674
675* Mon Apr 18 2005 Harald Hoyer <harald@redhat.com> - 057-1
676- version 057
677
678* Fri Apr 15 2005 Dan Walsh <dwalsh@redhat.com> - 056-2
679- Fix SELinux during creation of Symlinks
680
681* Mon Apr 11 2005 Harald Hoyer <harald@redhat.com> - 056-1
682- updated to version 056
683- merged permissions in the rules file
684- added udevpermconv.sh to convert old permission files
685
686* Mon Mar 28 2005 Warren Togami <wtogami@redhat.com> - 050-10
687- own default and net dirs (#151368 Hans de Goede)
688
689* Mon Mar 07 2005 Warren Togami <wtogami@redhat.com> - 050-9
690- fixed rh#150462 (udev DRI permissions)
691
692* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 050-8
693- fixed rh#144598
694
695* Fri Feb 18 2005 Harald Hoyer <harald@redhat.com> - 050-6
696- introducing /etc/udev/makedev.d/50-udev.nodes
697- glibcstatic patch modified to let gcc4 compile udev
698
699* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-5
700- doh, reverted the start_udev devel version, which slipped in
701
702* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-3
703- fixed forgotten " in udev.rules
704
705* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-2
706- removed /dev/microcode, /dev/cpu/microcode is now the real node
707- cleaned up start_udev
708
709* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-1
710- version 050
711- /dev/cpu/0/microcode -> /dev/cpu/microcode
712
713* Tue Dec 21 2004 Dan Walsh <dwalsh@redhat.com> - 048-4
714- Call selinux_restore to fix labeling problem in selinux
715- Fixes rh#142817
716
717* Tue Dec 21 2004 Harald Hoyer <harald@redhat.com> - 048-3
718- maybe fixed bug rh#143367
719
720* Thu Dec 16 2004 Harald Hoyer <harald@redhat.com> - 048-2
721- fixed a case where reading /proc/ide/hd?/media returns EIO
722  (bug rh#142713)
723- changed all device node permissions of group "disk" to 0640
724  (bug rh#110197)
725- remove $udev_db with -fr in case of a directory (bug rh#142962)
726
727* Mon Dec 13 2004 Harald Hoyer <harald@redhat.com> - 048-1
728- version 048
729- major specfile cleanup
730
731* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 042-1
732- version 042
733
734* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-10
735- speed improvement, scripts in rules are now executed only once,
736  instead of four times
737
738* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-9
739- removed wrong SIG_IGN for SIGCHLD
740- moved ide media check to script to wait for the procfs
741
742* Wed Nov  3 2004 Jeremy Katz <katzj@redhat.com> - 039-8.FC3
743- recreate lvm device nodes if needed in the trigger (#137807)
744
745* Wed Nov 03 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.2
746- replace udev.conf by default
747- LANG=C for fgrep in start_udev; turn grep into fgrep
748
749* Tue Nov 02 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.1
750- speed up pam_console.dev
751- mount pts and shm, in case of the dev trigger
752- increased timeout for udevstart
753- removed syslog() from signal handler (caused vmware locks)
754- turned off logging, which speeds up the boot process
755
756* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-6
757- fixed typo
758
759* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-5
760- added udev-039-norm.patch, which prevents removal of hd* devices,
761  because the kernel sends remove/add events, if an IDE removable device
762  is close(2)ed. mke2fs, e.g. would fail in this case.
763
764* Wed Oct 20 2004 Harald Hoyer <harald@redhat.com> - 039-4
765- do not call dev.d scripts, if network interface hasn't changed
766  the name
767- correct wait for dummy network devices
768- removed NONBLOCK from volume-id
769- do not log in udev.static, which should fix bug 136005
770
771* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-3
772- refined wait_for_sysfs for udev.static
773
774* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-2
775- improved wait_for_sysfs for virtual consoles with Kay Siever's patch
776- wait for ppp class
777- wait for LVM dm- devices
778- integrate wait_for_sys in udev.static for the initrd
779
780* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-1
781- version 039, fixes also manpage bug 135996
782- fixed glibc issue for static version (getgrnam, getpwnam) (bug 136005)
783- close the syslog in every app
784
785* Fri Oct 15 2004 Harald Hoyer <harald@redhat.com> - 038-2
786- par[0-9] is now a symlink to lp
787- MAKEDEV the parport devices
788- now conflicts with older initscripts
789
790* Thu Oct 14 2004 Harald Hoyer <harald@redhat.com> - 038-1
791- raw device nodes are now created in directory raw
792- version 038
793
794* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 036-1
795- better wait_for_sysfs warning messages
796
797* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 035-2
798- fixed double bug in start_udev (bug 135405)
799
800* Tue Oct 12 2004 Harald Hoyer <harald@redhat.com> - 035-1
801- version 035, which only improves wait_for_sysfs
802- load ide modules in start_udev, until a hotplug script is available
803  (bug 135260)
804
805* Mon Oct 11 2004 Harald Hoyer <harald@redhat.com> - 034-3
806- removed scary error messages from wait_for_sysfs
807- symlink from nst? -> tape?
808- kill udevd on update
809
810* Fri Oct  8 2004 Harald Hoyer <harald@redhat.com> - 034-2
811- check for /proc/sys/dev/cdrom/info existence in check-cdrom.sh
812
813* Fri Oct  8 2004 Harald Hoyer <harald@redhat.com> - 034-1
814- new version udev-034
815- removed patches, which went upstream
816- pam_console.dev link renamed to 05-pam_console.dev
817- MAKEDEV.dev links renamed to 10-MAKEDEV.dev
818
819* Thu Oct 07 2004 Harald Hoyer <harald@redhat.com> - 032-10
820- added floppy madness (bug 134830)
821- replay scsi events in start_udev for the devices on the adapter (bug 130746)
822
823* Wed Oct 06 2004 Harald Hoyer <harald@redhat.com> - 032-9
824- obsoleted $UDEV_LOG, use udev_log
825- correct SYMLINK handling in pam_console.dev
826- specfile cleanup
827- added check-cdrom.sh for nice cdrom symlinks
828
829* Mon Oct 04 2004 Harald Hoyer <harald@redhat.com> - 032-8
830- added patches from F辿liciano Matias for multiple symlinks (bug 134477 and 134478)
831- corrected some permissions with a missing leading 0
832- added z90crypt to the permissions file (bug 134448)
833- corrected requires and conflicts tags
834- removed /dev/log from MAKEDEV creation
835
836* Fri Oct 01 2004 Harald Hoyer <harald@redhat.com> - 032-7
837- more device nodes for those without initrd
838
839* Thu Sep 30 2004 Harald Hoyer <harald@redhat.com> - 032-6
840- prevent error message from device copying
841- use already translated starting strings
842
843* Wed Sep 29 2004 Harald Hoyer <harald@redhat.com> - 032-5
844- add "fi" to start_udev
845- do not create floppy devices manually (bug 133838)
846
847* Tue Sep 28 2004 Harald Hoyer <harald@redhat.com> - 032-4
848- made /etc/udev/devices/ for manual device nodes
849- refined SELINUX check, if /dev is not yet mounted in start_dev
850
851* Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 032-3
852- corrected permissions for /dev/rtc (bug 133636)
853- renamed device-mapper to mapper/control (bug 133688)
854
855* Wed Sep 22 2004 Harald Hoyer <harald@redhat.com> - 032-2
856- removed option to turn off udev
857- udevstart.static now symling to udev.static
858
859* Tue Sep 21 2004 Harald Hoyer <harald@redhat.com> - 032-1
860- version 032
861
862* Mon Sep 20 2004 Harald Hoyer <harald@redhat.com> - 030-27
863- simplified udev.conf
864- refined close_on_exec patch
865- added pam_console supply for symlinks, now gives correct permissions,
866  for e.g. later plugged in cdroms
867- renamed sr? to scd? (see devices.txt; k3b likes that :)
868
869* Mon Sep 13 2004 Jeremy Katz <katzj@redhat.com> - 030-26
870- require a 2.6 kernel
871- prereq instead of requires MAKEDEV
872- obsolete and provide dev
873- add a trigger for the removal of /dev so that we set things up
874
875* Fri Sep 10 2004 Dan Walsh <dwalsh@redhat.com> - 030-25
876- Use matchmediacon
877
878* Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 030-24
879- check if SELINUX is not disabled before executing setfiles (bug 132099)
880
881* Wed Sep  8 2004 Harald Hoyer <harald@redhat.com> - 030-23
882- mount tmpfs with mode 0755 in start_udev
883
884* Tue Sep  7 2004 Harald Hoyer <harald@redhat.com> - 030-22
885- applied rules from David Zeuthen which read /proc directly without
886  shellscript
887
888* Tue Sep  7 2004 Harald Hoyer <harald@redhat.com> - 030-21
889- applied enumeration patch from David Zeuthen for cdrom symlinks (bug 131532)
890- create /dev/ppp in start_udev (bug 131114)
891- removed nvidia devices from start_udev
892- check for restorecon presence in start_udev (bug 131904)
893
894* Fri Sep  3 2004 Harald Hoyer <harald@redhat.com> - 030-20
895- due to -x added to MAKEDEV specify the par and lp numbers
896
897* Fri Sep  3 2004 Harald Hoyer <harald@redhat.com> - 030-19
898- added udev-030-rhsec.patch (bug 130351)
899
900* Thu Sep  2 2004 Jeremy Katz <katzj@redhat.com> - 030-18
901- make the exact device in start_udev (and thus, require new MAKEDEV)
902
903* Thu Sep  2 2004 Jeremy Katz <katzj@redhat.com> - 030-17
904- make sure file contexts of everything in the tmpfs /dev are set right
905  when start_udev runs
906
907* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-16
908- moved %{_sysconfdir}/hotplug.d/default/udev.hotplug to %{_sysconfdir}/hotplug.d/default/10-udev.hotplug
909
910* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-15
911- added nvidia devices to start_udev
912- added UDEV_RAMFS for backwards compat to udev.conf
913- changed Group (bug 131488)
914- added libselinux-devel to build requirements
915
916* Wed Sep  1 2004 Jeremy Katz <katzj@redhat.com> - 030-14
917- require MAKEDEV
918
919* Wed Sep 1 2004 Dan Walsh <dwalsh@redhat.com> - 030-13
920- Change to setfilecon if directory exists.
921
922* Wed Sep 01 2004 Harald Hoyer <harald@redhat.com> - 030-12
923- fixed start_udev
924
925* Tue Aug 31 2004 Jeremy Katz <katzj@redhat.com> - 030-11
926- use tmpfs instead of ramfs (it has xattr support now)
927- change variables appropriately to TMPFS intead of RAMFS in udev.conf
928- create loopN, not just loop in start_udev
929
930* Fri Aug 27 2004 Dan Walsh <dwalsh@redhat.com> - 030-10
931- Fix Patch
932
933* Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> - 030-9
934- Cleaned up selinux patch
935
936* Tue Aug 24 2004 Harald Hoyer <harald@redhat.com> - 030-8
937- changed defaults not to remove device nodes
938- added rule for net/tun
939- extended start_udev to create devices, which can trigger module autoloading
940- refined cloexec patch, to redirect stdin,out,err of /dev.d execed apps to /dev/null
941
942* Mon Aug 23 2004 Harald Hoyer <harald@redhat.com> - 030-7
943- removed usage of /usr/bin/seq in start_udev
944- set correct permissions in start_udev
945- extended the cloexec patch
946- removed udev-persistent package (define with_persistent==0)
947- check for /var/run/console/console.lock before calling /sbin/pam_console_setowner
948- linked pam_console_setowner statically against libglib-2.0.a
949
950* Fri Aug 20 2004 Harald Hoyer <harald@redhat.com> - 030-5
951- use correct console.lock file now in pam_console_setowner
952
953* Wed Aug 18 2004 Harald Hoyer <harald@redhat.com> - 030-4
954- added the selinux patch
955
956* Fri Jul 23 2004 Harald Hoyer <harald@redhat.com> - 030-3
957- extended the cloexec patch
958
959* Wed Jul 21 2004 Dan Walsh <dwalsh@redhat.com> - 030-2
960- Close Database fd in exec processes using FD_CLOSEXEC
961
962* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 030-1
963- version 030
964
965* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-4
966- added udevstart.static
967
968* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-3
969- put /etc/sysconfig/udev in /etc/udev/udev.conf and removed it
970- made only udev.static static
971- make our defaults the default values
972- removed /udev
973
974* Tue Jul  6 2004 Harald Hoyer <harald@redhat.com> - 029-1
975- version 029, added udev_remove and udev_owner to udev.conf
976
977* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
978- rebuilt
979
980* Tue Jun  8 2004 Harald Hoyer <harald@redhat.com> - 026-3
981- fixed UDEV_REMOVE=no
982
983* Tue Jun  8 2004 Harald Hoyer <harald@redhat.com> - 026-2
984- udev-026
985- preserve ownership of device nodes, which already exist
986- do not remove device nodes if UDEV_REMOVE="no"
987- added volume_id
988- build with klibc
989
990* Wed May 26 2004 Harald Hoyer <harald@redhat.com> - 025-1
991- udev-025
992- added ata_identify
993- build nearly all with dietlibc
994
995* Mon May 10 2004 Elliot Lee <sopwith@redhat.com> 024-6
996- Turn off udevd by default for FC2
997
998* Tue Apr 20 2004 Harald Hoyer <harald@redhat.com> - 024-5
999- fixed permission for /dev/tty (FC2)
1000
1001* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-4
1002- moved the 00- files to 50-, to let the use place his files in front
1003
1004* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-3
1005- set UDEV_SELINUX to yes
1006- added UDEV_LOG
1007
1008* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-2
1009- added /udev to filelist
1010
1011* Wed Apr 14 2004 Harald Hoyer <harald@redhat.com> - 024-1
1012- update to 024
1013- added /etc/sysconfig/udev
1014- added selinux, pam_console, dbus support
1015
1016* Fri Mar 26 2004 Harald Hoyer <harald@redhat.com> - 023-1
1017- update to 023
1018
1019* Wed Mar 24 2004 Bill Nottingham <notting@redhat.com> 022-1
1020- update to 022
1021
1022* Sun Mar 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
1023- really move initscript
1024
1025* Sun Feb 29 2004 Florian La Roche <Florian.LaRoche@redhat.de>
1026- move chkconv to preun
1027- nicer url
1028
1029* Wed Feb 25 2004 Harald Hoyer <harald@redhat.com> - 018-1
1030- changes permissions and rules
1031
1032* Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com>
1033- Add selinux support
1034
1035* Thu Feb 19 2004 Greg Kroah-Hartman <greg@kroah.com>
1036- add some more files to the documentation directory
1037- add ability to build scsi_id and make it the default
1038
1039* Mon Feb 16 2004 Greg Kroah-Hartman <greg@kroah.com>
1040- fix up udevd build, as it's no longer needed to be build seperatly
1041- add udevtest to list of files
1042- more Red Hat sync ups.
1043
1044* Thu Feb 12 2004 Greg Kroah-Hartman <greg@kroah.com>
1045- add some changes from the latest Fedora udev release.
1046
1047* Mon Feb 2 2004 Greg Kroah-Hartman <greg@kroah.com>
1048- add udevsend, and udevd to the files
1049- add ability to build udevd with glibc after the rest is build with klibc
1050
1051* Mon Jan 26 2004 Greg Kroah-Hartman <greg@kroah.com>
1052- added udevinfo to rpm
1053- added URL to spec file
1054- added udevinfo's man page
1055
1056* Mon Jan 05 2004 Rolf Eike Beer <eike-hotplug@sf-tec.de>
1057- add defines to choose the init script (Redhat or LSB)
1058
1059* Tue Dec 16 2003 Robert Love <rml@ximian.com>
1060- install the initscript and run chkconfig on it
1061
1062* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
1063- changes due to config file name changes
1064
1065* Fri Oct 17 2003 Robert Love <rml@tech9.net>
1066- Make work without a build root
1067- Correctly install the right files
1068- Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
1069- Put some prereqs in
1070- Install the hotplug symlink to udev
1071
1072* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
1073- Initial spec file for udev-0.2.
Note: See TracBrowser for help on using the repository browser.