671 lines
22 KiB
RPMSpec
671 lines
22 KiB
RPMSpec
%define udev_kernel_includes 2.6.6
|
|
|
|
%define debug false
|
|
|
|
%define with_persistent 0
|
|
|
|
Summary: A userspace implementation of devfs
|
|
Name: udev
|
|
Version: 050
|
|
Release: 9
|
|
License: GPL
|
|
Group: System Environment/Base
|
|
%if !%{with_persistent}
|
|
Provides: udev-persistent = 0:%{version}-%{release}
|
|
Obsoletes: udev-persistent < 0:030-5
|
|
%endif
|
|
Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
|
|
Source1: udev.rules
|
|
Source2: udev.permissions
|
|
Source3: udev.conf
|
|
Source4: pam_console.dev
|
|
Source5: MAKEDEV.dev
|
|
|
|
Source11: ata_identify.c
|
|
Source12: ata_identify-Makefile
|
|
|
|
Source13: udev.get_persistent_device_name.sh
|
|
Source14: udev.get_unique_hardware_path.sh
|
|
Source15: udev.get_unique_drive_id.sh
|
|
Source16: udev.rules.persistent
|
|
|
|
Source17: check-cdrom.sh
|
|
Source18: ide-media.sh
|
|
Source19: dvb.sh
|
|
|
|
Source20: start_udev
|
|
Source21: udev.html
|
|
Source22: udev.nodes
|
|
|
|
Patch1: udev-039-static.patch
|
|
Patch4: udev-048-selinux.patch
|
|
|
|
ExclusiveOS: Linux
|
|
URL: http://kernel.org/pub/linux/utils/kernel/hotplug/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Prereq: /bin/sh fileutils hotplug
|
|
Prereq: MAKEDEV >= 0:3.11
|
|
BuildRequires: sed libselinux-devel >= 0:1.17.9-2 flex
|
|
Requires: libselinux >= 0:1.17.9-2 MAKEDEV
|
|
Conflicts: kernel < 0:2.6 mkinitrd <= 0:4.1.11-1 initscripts < 7.84
|
|
Obsoletes: dev
|
|
Provides: dev = 0:3.12-1
|
|
|
|
BuildRequires: pam-devel glib2-devel bison
|
|
Requires: pam
|
|
|
|
%description
|
|
udev is a implementation of devfs in userspace using sysfs and
|
|
/sbin/hotplug. It requires a 2.6 kernel to run properly.
|
|
|
|
%if %{with_persistent}
|
|
%package -n udev-persistent
|
|
Summary: Persistent device naming with udev
|
|
Group: Utilities/System
|
|
PreReq: udev = 0:%{version}-%{release}
|
|
Requires: sed
|
|
|
|
%description -n udev-persistent
|
|
udev-persistent enables persistent device naming with udev.
|
|
%endif
|
|
|
|
%define add %{nil}
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%patch1 -p1 -b .glibcstatic
|
|
%patch4 -p1 -b .selinux
|
|
|
|
touch etc/init.d/udev.debian
|
|
|
|
%if %{with_persistent}
|
|
mkdir ata_identify
|
|
cp %{SOURCE11} ata_identify
|
|
cp %{SOURCE12} ata_identify/Makefile
|
|
%endif
|
|
|
|
cp %{SOURCE21} .
|
|
|
|
%build
|
|
|
|
# Do not USE_LOG in udev.static, cause it causes segfaults on openlog (bug 136005)
|
|
make CC="gcc $RPM_OPT_FLAGS -DUDEV_STATIC" LD="gcc $RPM_OPT_FLAGS -static" \
|
|
USE_KLIBC=false \
|
|
USE_SELINUX=true \
|
|
udevdir="/dev" \
|
|
USE_LOG=false DEBUG=%{debug} \
|
|
EXTRAS="" udev
|
|
|
|
mv udev udev.static
|
|
make clean
|
|
|
|
make CC="gcc $RPM_OPT_FLAGS" \
|
|
USE_KLIBC=false \
|
|
USE_SELINUX=true \
|
|
udevdir="/dev" \
|
|
USE_LOG=true \
|
|
DEBUG=%{debug} \
|
|
EXTRAS=" \
|
|
extras/scsi_id \
|
|
extras/chassis_id \
|
|
%if %{with_persistent}
|
|
ata_identify"
|
|
%else
|
|
"
|
|
%endif
|
|
#extras/volume_id
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install \
|
|
EXTRAS=" \
|
|
extras/scsi_id \
|
|
extras/chassis_id \
|
|
%if %{with_persistent}
|
|
ata_identify"
|
|
%else
|
|
"
|
|
%endif
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.rules
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.permissions
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init.d/udev
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/{rules.d,permissions.d,scripts,devices,makedev.d}
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/{default,block}
|
|
|
|
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/50-udev.rules
|
|
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/udev/permissions.d/50-udev.permissions
|
|
|
|
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.conf
|
|
|
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/net/hotplug.dev $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
ln -s ../../udev/scripts/hotplug.dev $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/net/
|
|
# obsoleted by selinux patch
|
|
#install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/default
|
|
install -m 0755 udev.static $RPM_BUILD_ROOT/sbin/udev.static
|
|
ln -s udev.static $RPM_BUILD_ROOT/sbin/udevstart.static
|
|
|
|
%if %{with_persistent}
|
|
#persistent
|
|
install -m 0755 %{SOURCE13} $RPM_BUILD_ROOT/sbin
|
|
install -m 0755 %{SOURCE14} $RPM_BUILD_ROOT/sbin
|
|
install -m 0755 %{SOURCE15} $RPM_BUILD_ROOT/sbin
|
|
install -m 0644 %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/51-udev-persistent.rules
|
|
#install -m 0644 extras/volume_id/s390-dasd.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/52-udev-s390-persistent.rules
|
|
%endif
|
|
|
|
install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
ln -s ../../udev/scripts/pam_console.dev $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/default/05-pam_console.dev
|
|
|
|
install -m 0755 %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
install -m 0755 %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
install -m 0755 %{SOURCE19} $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
|
|
install -m 0755 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/udev/makedev.d/50-udev.nodes
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/udev
|
|
install -m 0644 %{SOURCE20} $RPM_BUILD_ROOT/sbin/start_udev
|
|
|
|
# floppy madness
|
|
for i in 0 1 2 3;do
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/fd$i
|
|
ln -s ../../udev/scripts/MAKEDEV.dev $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/fd$i/10-MAKEDEV.dev
|
|
done
|
|
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
|
|
|
|
|
|
|
|
%preun
|
|
if [ $1 = 0 -a -f %{_initrddir}/udev ]; then
|
|
/sbin/chkconfig --del udev
|
|
fi
|
|
exit 0
|
|
|
|
%post
|
|
if [ "$1" -ge "1" -a -x /sbin/pidof ]; then
|
|
pid=`/sbin/pidof -x udevd`
|
|
[ -n "$pid" ] && kill $pid
|
|
fi
|
|
exit 0
|
|
|
|
%triggerpostun -- dev <= 0:3.12-1
|
|
if [ $2 = 0 ]; then
|
|
if [ -x /sbin/MAKEDEV ]; then
|
|
/sbin/MAKEDEV null
|
|
else
|
|
/bin/mknod /dev/null c 1 3
|
|
fi
|
|
/sbin/start_udev >/dev/null 2>&1
|
|
if [ -e /dev/mapper/control -a -x /sbin/lvm ]; then
|
|
/sbin/lvm vgmknodes >/dev/null 2>&1
|
|
fi
|
|
fi
|
|
exit 0
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README TODO ChangeLog HOWTO* docs/* udev.html
|
|
%doc etc/udev/redhat/udev.rules
|
|
%doc etc/udev/redhat/udev.permissions
|
|
|
|
%attr(0755,root,root) /sbin/udev
|
|
%attr(0755,root,root) /sbin/udev.static
|
|
%attr(0755,root,root) /sbin/udevsend
|
|
%attr(0755,root,root) /sbin/udevd
|
|
%attr(0755,root,root) /sbin/udevstart
|
|
%attr(0755,root,root) /sbin/udevstart.static
|
|
%attr(0755,root,root) /sbin/start_udev
|
|
%if %{with_persistent}
|
|
%attr(755,root,root) /sbin/ata_identify
|
|
%endif
|
|
|
|
%attr(0755,root,root) %{_bindir}/udevtest
|
|
%attr(0755,root,root) %{_bindir}/udevinfo
|
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/rules.d/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/permissions.d/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/scripts/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/devices/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/makedev.d/
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/pam_console.dev
|
|
%config(missingok) %{_sysconfdir}/dev.d/default/05-pam_console.dev
|
|
|
|
%config(missingok) %{_sysconfdir}/dev.d/net/hotplug.dev
|
|
|
|
# floppy madness
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd0
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd1
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd2
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd3
|
|
%config(missingok) %{_sysconfdir}/dev.d/fd?/*
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/MAKEDEV.dev
|
|
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/hotplug.dev
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/check-cdrom.sh
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/ide-media.sh
|
|
%attr(0755,root,root) %{_sysconfdir}/udev/scripts/dvb.sh
|
|
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/udev.conf
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/rules.d/50-udev.rules
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/permissions.d/50-udev.permissions
|
|
%config %attr(0644,root,root) %dir %{_sysconfdir}/udev/makedev.d/50-udev.nodes
|
|
|
|
|
|
%config(missingok) %{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
|
|
%attr(0644,root,root) %{_mandir}/man8/udev*.8*
|
|
|
|
|
|
%attr(755,root,root) /sbin/scsi_id
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/scsi_id.config
|
|
%attr(0644,root,root) %{_mandir}/man8/scsi_id*.8*
|
|
#%attr(755,root,root) /sbin/udev_volume_id
|
|
%attr(755,root,root) /sbin/chassis_id
|
|
|
|
%if %{with_persistent}
|
|
%files -n udev-persistent
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/rules.d/51-udev-persistent.rules
|
|
%attr(0755,root,root) /sbin/udev.get_persistent_device_name.sh
|
|
%attr(0755,root,root) /sbin/udev.get_unique_hardware_path.sh
|
|
%attr(0755,root,root) /sbin/udev.get_unique_drive_id.sh
|
|
%attr(0644,root,root) %{_sysconfdir}/udev/rules.d/52-udev-s390-persistent.rules
|
|
|
|
%endif
|
|
|
|
%changelog
|
|
* Mon Mar 07 2005 Warren Togami <wtogami@redhat.com> - 050-9
|
|
- fixed rh#150462 (udev DRI permissions)
|
|
|
|
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 050-8
|
|
- fixed rh#144598
|
|
|
|
* Fri Feb 18 2005 Harald Hoyer <harald@redhat.com> - 050-6
|
|
- introducing /etc/udev/makedev.d/50-udev.nodes
|
|
- glibcstatic patch modified to let gcc4 compile udev
|
|
|
|
* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-5
|
|
- doh, reverted the start_udev devel version, which slipped in
|
|
|
|
* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-3
|
|
- fixed forgotten " in udev.rules
|
|
|
|
* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-2
|
|
- removed /dev/microcode, /dev/cpu/microcode is now the real node
|
|
- cleaned up start_udev
|
|
|
|
* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-1
|
|
- version 050
|
|
- /dev/cpu/0/microcode -> /dev/cpu/microcode
|
|
|
|
* Tue Dec 21 2004 Dan Walsh <dwalsh@redhat.com> - 048-4
|
|
- Call selinux_restore to fix labeling problem in selinux
|
|
- Fixes rh#142817
|
|
|
|
* Tue Dec 21 2004 Harald Hoyer <harald@redhat.com> - 048-3
|
|
- maybe fixed bug rh#143367
|
|
|
|
* Thu Dec 16 2004 Harald Hoyer <harald@redhat.com> - 048-2
|
|
- fixed a case where reading /proc/ide/hd?/media returns EIO
|
|
(bug rh#142713)
|
|
- changed all device node permissions of group "disk" to 0640
|
|
(bug rh#110197)
|
|
- remove $udev_db with -fr in case of a directory (bug rh#142962)
|
|
|
|
* Mon Dec 13 2004 Harald Hoyer <harald@redhat.com> - 048-1
|
|
- version 048
|
|
- major specfile cleanup
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 042-1
|
|
- version 042
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-10
|
|
- speed improvement, scripts in rules are now executed only once,
|
|
instead of four times
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-9
|
|
- removed wrong SIG_IGN for SIGCHLD
|
|
- moved ide media check to script to wait for the procfs
|
|
|
|
* Wed Nov 3 2004 Jeremy Katz <katzj@redhat.com> - 039-8.FC3
|
|
- recreate lvm device nodes if needed in the trigger (#137807)
|
|
|
|
* Wed Nov 03 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.2
|
|
- replace udev.conf by default
|
|
- LANG=C for fgrep in start_udev; turn grep into fgrep
|
|
|
|
* Tue Nov 02 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.1
|
|
- speed up pam_console.dev
|
|
- mount pts and shm, in case of the dev trigger
|
|
- increased timeout for udevstart
|
|
- removed syslog() from signal handler (caused vmware locks)
|
|
- turned off logging, which speeds up the boot process
|
|
|
|
* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-6
|
|
- fixed typo
|
|
|
|
* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-5
|
|
- added udev-039-norm.patch, which prevents removal of hd* devices,
|
|
because the kernel sends remove/add events, if an IDE removable device
|
|
is close(2)ed. mke2fs, e.g. would fail in this case.
|
|
|
|
* Wed Oct 20 2004 Harald Hoyer <harald@redhat.com> - 039-4
|
|
- do not call dev.d scripts, if network interface hasn't changed
|
|
the name
|
|
- correct wait for dummy network devices
|
|
- removed NONBLOCK from volume-id
|
|
- do not log in udev.static, which should fix bug 136005
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-3
|
|
- refined wait_for_sysfs for udev.static
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-2
|
|
- improved wait_for_sysfs for virtual consoles with Kay Siever's patch
|
|
- wait for ppp class
|
|
- wait for LVM dm- devices
|
|
- integrate wait_for_sys in udev.static for the initrd
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-1
|
|
- version 039, fixes also manpage bug 135996
|
|
- fixed glibc issue for static version (getgrnam, getpwnam) (bug 136005)
|
|
- close the syslog in every app
|
|
|
|
* Fri Oct 15 2004 Harald Hoyer <harald@redhat.com> - 038-2
|
|
- par[0-9] is now a symlink to lp
|
|
- MAKEDEV the parport devices
|
|
- now conflicts with older initscripts
|
|
|
|
* Thu Oct 14 2004 Harald Hoyer <harald@redhat.com> - 038-1
|
|
- raw device nodes are now created in directory raw
|
|
- version 038
|
|
|
|
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 036-1
|
|
- better wait_for_sysfs warning messages
|
|
|
|
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 035-2
|
|
- fixed double bug in start_udev (bug 135405)
|
|
|
|
* Tue Oct 12 2004 Harald Hoyer <harald@redhat.com> - 035-1
|
|
- version 035, which only improves wait_for_sysfs
|
|
- load ide modules in start_udev, until a hotplug script is available
|
|
(bug 135260)
|
|
|
|
* Mon Oct 11 2004 Harald Hoyer <harald@redhat.com> - 034-3
|
|
- removed scary error messages from wait_for_sysfs
|
|
- symlink from nst? -> tape?
|
|
- kill udevd on update
|
|
|
|
* Fri Oct 8 2004 Harald Hoyer <harald@redhat.com> - 034-2
|
|
- check for /proc/sys/dev/cdrom/info existence in check-cdrom.sh
|
|
|
|
* Fri Oct 8 2004 Harald Hoyer <harald@redhat.com> - 034-1
|
|
- new version udev-034
|
|
- removed patches, which went upstream
|
|
- pam_console.dev link renamed to 05-pam_console.dev
|
|
- MAKEDEV.dev links renamed to 10-MAKEDEV.dev
|
|
|
|
* Thu Oct 07 2004 Harald Hoyer <harald@redhat.com> - 032-10
|
|
- added floppy madness (bug 134830)
|
|
- replay scsi events in start_udev for the devices on the adapter (bug 130746)
|
|
|
|
* Wed Oct 06 2004 Harald Hoyer <harald@redhat.com> - 032-9
|
|
- obsoleted $UDEV_LOG, use udev_log
|
|
- correct SYMLINK handling in pam_console.dev
|
|
- specfile cleanup
|
|
- added check-cdrom.sh for nice cdrom symlinks
|
|
|
|
* Mon Oct 04 2004 Harald Hoyer <harald@redhat.com> - 032-8
|
|
- added patches from Féliciano Matias for multiple symlinks (bug 134477 and 134478)
|
|
- corrected some permissions with a missing leading 0
|
|
- added z90crypt to the permissions file (bug 134448)
|
|
- corrected requires and conflicts tags
|
|
- removed /dev/log from MAKEDEV creation
|
|
|
|
* Fri Oct 01 2004 Harald Hoyer <harald@redhat.com> - 032-7
|
|
- more device nodes for those without initrd
|
|
|
|
* Thu Sep 30 2004 Harald Hoyer <harald@redhat.com> - 032-6
|
|
- prevent error message from device copying
|
|
- use already translated starting strings
|
|
|
|
* Wed Sep 29 2004 Harald Hoyer <harald@redhat.com> - 032-5
|
|
- add "fi" to start_udev
|
|
- do not create floppy devices manually (bug 133838)
|
|
|
|
* Tue Sep 28 2004 Harald Hoyer <harald@redhat.com> - 032-4
|
|
- made /etc/udev/devices/ for manual device nodes
|
|
- refined SELINUX check, if /dev is not yet mounted in start_dev
|
|
|
|
* Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 032-3
|
|
- corrected permissions for /dev/rtc (bug 133636)
|
|
- renamed device-mapper to mapper/control (bug 133688)
|
|
|
|
* Wed Sep 22 2004 Harald Hoyer <harald@redhat.com> - 032-2
|
|
- removed option to turn off udev
|
|
- udevstart.static now symling to udev.static
|
|
|
|
* Tue Sep 21 2004 Harald Hoyer <harald@redhat.com> - 032-1
|
|
- version 032
|
|
|
|
* Mon Sep 20 2004 Harald Hoyer <harald@redhat.com> - 030-27
|
|
- simplified udev.conf
|
|
- refined close_on_exec patch
|
|
- added pam_console supply for symlinks, now gives correct permissions,
|
|
for e.g. later plugged in cdroms
|
|
- renamed sr? to scd? (see devices.txt; k3b likes that :)
|
|
|
|
* Mon Sep 13 2004 Jeremy Katz <katzj@redhat.com> - 030-26
|
|
- require a 2.6 kernel
|
|
- prereq instead of requires MAKEDEV
|
|
- obsolete and provide dev
|
|
- add a trigger for the removal of /dev so that we set things up
|
|
|
|
* Fri Sep 10 2004 Dan Walsh <dwalsh@redhat.com> - 030-25
|
|
- Use matchmediacon
|
|
|
|
* Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 030-24
|
|
- check if SELINUX is not disabled before executing setfiles (bug 132099)
|
|
|
|
* Wed Sep 8 2004 Harald Hoyer <harald@redhat.com> - 030-23
|
|
- mount tmpfs with mode 0755 in start_udev
|
|
|
|
* Tue Sep 7 2004 Harald Hoyer <harald@redhat.com> - 030-22
|
|
- applied rules from David Zeuthen which read /proc directly without
|
|
shellscript
|
|
|
|
* Tue Sep 7 2004 Harald Hoyer <harald@redhat.com> - 030-21
|
|
- applied enumeration patch from David Zeuthen for cdrom symlinks (bug 131532)
|
|
- create /dev/ppp in start_udev (bug 131114)
|
|
- removed nvidia devices from start_udev
|
|
- check for restorecon presence in start_udev (bug 131904)
|
|
|
|
* Fri Sep 3 2004 Harald Hoyer <harald@redhat.com> - 030-20
|
|
- due to -x added to MAKEDEV specify the par and lp numbers
|
|
|
|
* Fri Sep 3 2004 Harald Hoyer <harald@redhat.com> - 030-19
|
|
- added udev-030-rhsec.patch (bug 130351)
|
|
|
|
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 030-18
|
|
- make the exact device in start_udev (and thus, require new MAKEDEV)
|
|
|
|
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 030-17
|
|
- make sure file contexts of everything in the tmpfs /dev are set right
|
|
when start_udev runs
|
|
|
|
* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-16
|
|
- moved %{_sysconfdir}/hotplug.d/default/udev.hotplug to %{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
|
|
* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-15
|
|
- added nvidia devices to start_udev
|
|
- added UDEV_RAMFS for backwards compat to udev.conf
|
|
- changed Group (bug 131488)
|
|
- added libselinux-devel to build requirements
|
|
|
|
* Wed Sep 1 2004 Jeremy Katz <katzj@redhat.com> - 030-14
|
|
- require MAKEDEV
|
|
|
|
* Wed Sep 1 2004 Dan Walsh <dwalsh@redhat.com> - 030-13
|
|
- Change to setfilecon if directory exists.
|
|
|
|
* Wed Sep 01 2004 Harald Hoyer <harald@redhat.com> - 030-12
|
|
- fixed start_udev
|
|
|
|
* Tue Aug 31 2004 Jeremy Katz <katzj@redhat.com> - 030-11
|
|
- use tmpfs instead of ramfs (it has xattr support now)
|
|
- change variables appropriately to TMPFS intead of RAMFS in udev.conf
|
|
- create loopN, not just loop in start_udev
|
|
|
|
* Fri Aug 27 2004 Dan Walsh <dwalsh@redhat.com> - 030-10
|
|
- Fix Patch
|
|
|
|
* Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> - 030-9
|
|
- Cleaned up selinux patch
|
|
|
|
* Tue Aug 24 2004 Harald Hoyer <harald@redhat.com> - 030-8
|
|
- changed defaults not to remove device nodes
|
|
- added rule for net/tun
|
|
- extended start_udev to create devices, which can trigger module autoloading
|
|
- refined cloexec patch, to redirect stdin,out,err of /dev.d execed apps to /dev/null
|
|
|
|
* Mon Aug 23 2004 Harald Hoyer <harald@redhat.com> - 030-7
|
|
- removed usage of /usr/bin/seq in start_udev
|
|
- set correct permissions in start_udev
|
|
- extended the cloexec patch
|
|
- removed udev-persistent package (define with_persistent==0)
|
|
- check for /var/run/console/console.lock before calling /sbin/pam_console_setowner
|
|
- linked pam_console_setowner statically against libglib-2.0.a
|
|
|
|
* Fri Aug 20 2004 Harald Hoyer <harald@redhat.com> - 030-5
|
|
- use correct console.lock file now in pam_console_setowner
|
|
|
|
* Wed Aug 18 2004 Harald Hoyer <harald@redhat.com> - 030-4
|
|
- added the selinux patch
|
|
|
|
* Fri Jul 23 2004 Harald Hoyer <harald@redhat.com> - 030-3
|
|
- extended the cloexec patch
|
|
|
|
* Wed Jul 21 2004 Dan Walsh <dwalsh@redhat.com> - 030-2
|
|
- Close Database fd in exec processes using FD_CLOSEXEC
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 030-1
|
|
- version 030
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-4
|
|
- added udevstart.static
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-3
|
|
- put /etc/sysconfig/udev in /etc/udev/udev.conf and removed it
|
|
- made only udev.static static
|
|
- make our defaults the default values
|
|
- removed /udev
|
|
|
|
* Tue Jul 6 2004 Harald Hoyer <harald@redhat.com> - 029-1
|
|
- version 029, added udev_remove and udev_owner to udev.conf
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Jun 8 2004 Harald Hoyer <harald@redhat.com> - 026-3
|
|
- fixed UDEV_REMOVE=no
|
|
|
|
* Tue Jun 8 2004 Harald Hoyer <harald@redhat.com> - 026-2
|
|
- udev-026
|
|
- preserve ownership of device nodes, which already exist
|
|
- do not remove device nodes if UDEV_REMOVE="no"
|
|
- added volume_id
|
|
- build with klibc
|
|
|
|
* Wed May 26 2004 Harald Hoyer <harald@redhat.com> - 025-1
|
|
- udev-025
|
|
- added ata_identify
|
|
- build nearly all with dietlibc
|
|
|
|
* Mon May 10 2004 Elliot Lee <sopwith@redhat.com> 024-6
|
|
- Turn off udevd by default for FC2
|
|
|
|
* Tue Apr 20 2004 Harald Hoyer <harald@redhat.com> - 024-5
|
|
- fixed permission for /dev/tty (FC2)
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-4
|
|
- moved the 00- files to 50-, to let the use place his files in front
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-3
|
|
- set UDEV_SELINUX to yes
|
|
- added UDEV_LOG
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-2
|
|
- added /udev to filelist
|
|
|
|
* Wed Apr 14 2004 Harald Hoyer <harald@redhat.com> - 024-1
|
|
- update to 024
|
|
- added /etc/sysconfig/udev
|
|
- added selinux, pam_console, dbus support
|
|
|
|
* Fri Mar 26 2004 Harald Hoyer <harald@redhat.com> - 023-1
|
|
- update to 023
|
|
|
|
* Wed Mar 24 2004 Bill Nottingham <notting@redhat.com> 022-1
|
|
- update to 022
|
|
|
|
* Sun Mar 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
- really move initscript
|
|
|
|
* Sun Feb 29 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
- move chkconv to preun
|
|
- nicer url
|
|
|
|
* Wed Feb 25 2004 Harald Hoyer <harald@redhat.com> - 018-1
|
|
- changes permissions and rules
|
|
|
|
* Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com>
|
|
- Add selinux support
|
|
|
|
* Thu Feb 19 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add some more files to the documentation directory
|
|
- add ability to build scsi_id and make it the default
|
|
|
|
* Mon Feb 16 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- fix up udevd build, as it's no longer needed to be build seperatly
|
|
- add udevtest to list of files
|
|
- more Red Hat sync ups.
|
|
|
|
* Thu Feb 12 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add some changes from the latest Fedora udev release.
|
|
|
|
* Mon Feb 2 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add udevsend, and udevd to the files
|
|
- add ability to build udevd with glibc after the rest is build with klibc
|
|
|
|
* Mon Jan 26 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- added udevinfo to rpm
|
|
- added URL to spec file
|
|
- added udevinfo's man page
|
|
|
|
* Mon Jan 05 2004 Rolf Eike Beer <eike-hotplug@sf-tec.de>
|
|
- add defines to choose the init script (Redhat or LSB)
|
|
|
|
* Tue Dec 16 2003 Robert Love <rml@ximian.com>
|
|
- install the initscript and run chkconfig on it
|
|
|
|
* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
|
|
- changes due to config file name changes
|
|
|
|
* Fri Oct 17 2003 Robert Love <rml@tech9.net>
|
|
- Make work without a build root
|
|
- Correctly install the right files
|
|
- Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
|
|
- Put some prereqs in
|
|
- Install the hotplug symlink to udev
|
|
|
|
* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
|
|
- Initial spec file for udev-0.2.
|