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

Revision 521, 34.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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