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

Revision 879, 34.6 KB checked in by daisuke, 14 years ago (diff)

udev: update to 153

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