+++ /dev/null
---- devfsd/compat_name.c~ Mon Jul 7 01:12:18 2003
-+++ devfsd/compat_name.c Mon Jul 7 01:12:18 2003
-@@ -126,6 +126,7 @@
- {"tts/", "ttyS%s"}, /* Generic serial: must be after others */
- {"cua/", "cua%s"}, /* Generic serial: must be after others */
- {"input/js", "js%s"}, /* Joystick driver */
-+ {"null", "drzewo"},
- {NULL, NULL}
- };
-
+++ /dev/null
---- devfsd/GNUmakefile.org 2004-07-02 10:59:33.400598184 +0000
-+++ devfsd/GNUmakefile 2004-07-02 10:59:41.154419424 +0000
-@@ -20,7 +20,7 @@
-
- OBJECTS = devfsd.o expression.o compat_name.o
-
--CFLAGS = -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) $(DEFINES)
-+CFLAGS = -I. -Wall $(CEXTRAS) $(DEFINES)
-
- devfsd: $(OBJECTS)
- $(CC) -o devfsd $(OBJECTS) $(LDFLAGS) -export-dynamic -ldl
+++ /dev/null
---- devfsd/devfsd.c.wiget 2003-06-12 16:56:19.676686669 +0200
-+++ devfsd/devfsd.c 2003-06-12 16:57:11.930779628 +0200
-@@ -1239,10 +1239,8 @@
- }
- argv[0] = "/sbin/modprobe";
- argv[1] = "-k";
-- argv[2] = "-C";
-- argv[3] = "/etc/modules.devfs";
-- argv[4] = device;
-- argv[5] = NULL;
-+ argv[2] = device;
-+ argv[3] = NULL;
- snprintf (device, sizeof (device), "/dev/%s", info->devname);
- if (trace_level > 1)
- fprintf (stderr, "%s modprobe with name: \"%s\"\n",
-@@ -1252,7 +1250,7 @@
- char **oldenv = environ;
-
- environ = env;
-- (*modprobe) (5, argv);
-+ (*modprobe) (3, argv);
- environ = oldenv;
- return;
- }
+++ /dev/null
---- devfsd/modules.devfs.orig Mon Mar 25 01:00:33 2002
-+++ devfsd/modules.devfs Sat Sep 14 17:50:34 2002
-@@ -128,6 +128,8 @@
- # Raw I/O devices
- alias /dev/rawctl /dev/raw
-
-+# lirc
-+probeall /dev/lirc lirc
-
- # Pull in the configuration file. Do this last because modprobe(8) processes in
- # per^H^H^Hreverse order and the sysadmin may want to over-ride what is in the
+++ /dev/null
---- devfsd/GNUmakefile.orig Mon May 26 21:18:17 2003
-+++ devfsd/GNUmakefile Mon May 26 21:18:37 2003
-@@ -20,10 +20,10 @@
-
- OBJECTS = devfsd.o expression.o compat_name.o
-
--CFLAGS = -O2 -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) $(DEFINES)
-+CFLAGS = -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) $(DEFINES)
-
- devfsd: $(OBJECTS)
-- $(CC) -O2 -o devfsd $(OBJECTS) $(LDFLAGS) -export-dynamic -ldl
-+ $(CC) -o devfsd $(OBJECTS) $(LDFLAGS) -export-dynamic -ldl
-
- install: devfsd
- @if fgrep -q "Generic section: do not change" /etc/modules.conf ; then\
+++ /dev/null
-# $Id$
-# Sample /etc/devfsd.conf configuration file.
-# Richard Gooch <rgooch@atnf.csiro.au> 3-FEB-2000
-#
-# Enable full compatibility mode for old device names. You may comment these
-# out if you don't use the old device names. Make sure you know what you're
-# doing!
-REGISTER .* MKOLDCOMPAT
-UNREGISTER .* RMOLDCOMPAT
-
-# You may comment out the above and uncomment the following if you've
-# configured your system to use the original "new" devfs names or the really
-# new names
-#REGISTER vc/.* MKOLDCOMPAT
-#UNREGISTER vc/.* RMOLDCOMPAT
-#REGISTER pty/.* MKOLDCOMPAT
-#UNREGISTER pty/.* RMOLDCOMPAT
-#REGISTER misc MKOLDCOMPAT
-#UNREGISTER misc RMOLDCOMPAT
-
-# You may comment these out if you don't use the original "new" names
-REGISTER .* MKNEWCOMPAT
-UNREGISTER .* RMNEWCOMPAT
-
-# Permissions settings
-REGISTER ^printers/.* PERMISSIONS root.lp 660
-REGISTER ^ide/host.*/bus.*/target.*/lun.*/par.* PERMISSIONS root.disk 660
-REGISTER ^ide/host.*/bus.*/target.*/lun.*/disc PERMISSIONS root.disk 660
-REGISTER ^scsi/host.*/bus.*/target.*/lun.*/par.* PERMISSIONS root.disk 660
-REGISTER ^scsi/host.*/bus.*/target.*/lun.*/disc PERMISSIONS root.disk 660
-REGISTER ^rd/[0-9].* PERMISSIONS root.disk 660
-REGISTER ^rd/disc.* PERMISSIONS root.disk 755
-REGISTER ^rd/disc.*/.* PERMISSIONS root.disk 660
-REGISTER ^vc/.* PERMISSIONS root.tty 600
-REGISTER ^tts/.* PERMISSIONS root.ttyS 600
-REGISTER ^v4l/.* PERMISSIONS root.video 660
-REGISTER ^floppy/.* PERMISSIONS root.floppy 660
-
-# Autoload modules
-LOOKUP .* MODLOAD
-
-# Setup your links here:
-#LOOKUP ^mouse$ CFUNCTION GLOBAL symlink ${mntpnt}/tts/0 $devpath
-#LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
-#LOOKUP ^dvd$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath
-
-# ALSA example
-#LOOKUP snd MODLOAD ACTION snd
-#REGISTER sound/.* PERMISSIONS root.audio 660
-#REGISTER snd/.* PERMISSIONS root.audio 660
-#LOOKUP dsp MODLOAD
-#REGISTER dsp PERMISSIONS root.audio 660
-
-# CPU Microcode
-LOOKUP cpu/* MODLOAD
-
-# LIRC
-LOOKUP ^lirc EXECUTE /bin/mknod /dev/lirc c 61 0*
-
-# PPP
-LOOKUP ^ppp EXECUTE /bin/mknod /dev/ppp c 108 0*
\ No newline at end of file
+++ /dev/null
-%bcond_without kernel25
-Summary: DevFS Daemon
-Summary(pl.UTF-8): Demon DevFS
-Name: devfsd
-Version: 1.3.25
-Release: 6
-License: GPL
-Group: Base
-Source0: ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
-# Source0-md5: 44c6394b8e2e8feaf453aeddc8a3ee69
-Source1: %{name}.conf
-Patch0: %{name}-lirc.patch
-Patch1: %{name}-optflags.patch
-Patch2: %{name}-kernel2.5.patch
-Patch3: %{name}-drzewo.patch
-Patch4: %{name}-include.patch
-URL: http://www.atnf.csiro.au/~rgooch/linux/
-Conflicts: kernel =< 2.2
-Requires: devfs
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define _exec_prefix /
-%define _sbindir /sbin
-
-%description
-The devfsd programme is a daemon, run by the system boot scripts which
-can provide for intelligent management of device entries in the Device
-Filesystem (devfs).
-
-As part of its setup phase devfsd creates certain symbolic links which
-are compiled into the code. These links are required by
-/usr/src/linux/Documentation/devices.txt. This behaviour may change in
-future revisions.
-
-devfsd will read the special control file .devfsd in a mounted devfs,
-listening for the creation and removal of device entries (this is
-termed a change operation). For each change operation, devfsd can take
-many actions. The daemon will normally run itself in the background
-and send messages to syslog.
-
-The opening of the syslog service is automatically delayed until
-/dev/log is created.
-
-At startup, before switching to daemon mode, devfsd will scan the
-mounted device tree and will generate synthetic REGISTER events for
-each leaf node.
-
-%description -l pl.UTF-8
-Devfsd jest demonem startowanym ze skryptów startowych systemu, który
-daje możliwość inteligentnego zarządzania wpisami w Device Filesystem
-(devfs). Jako część fazy ustawień devfsd tworzy linki symboliczne,
-które są wkompilowane w kod. Te linki są wymagane zgodnie z
-/usr/src/linux/Documentation/devices.txt. To zachowanie może się
-zmienić w przyszłości.
-
-devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
-devfs i czeka na na tworzenie i usuwanie wpisów urządzeń (nazywa się
-to operacją zmiany). Dla każdej zmiany devfsd może podjąć wiele
-działań. Demon normalnie uruchamia sam siebie i wysyła komunikat do
-syslog'a.
-
-Otwarcie syslog'a jest normalnie automatycznie opóźnione do czasu, gdy
-/dev/log nie zostanie utworzony.
-
-Demon systemu plików urządzeń. Pozwala na używanie "tradycyjnych" nazw
-urządzeń.
-
-%prep
-%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
-%if %{with kernel25}
-%patch2 -p1
-%endif
-%patch3 -p1
-%patch4 -p1
-
-%build
-%{__make} \
- CC="%{__cc}" \
- CEXTRAS="%{rpmcflags} -I." \
- nsl_libs=`echo /%{_lib}/libnsl.so.*` \
- LIBNSL=`echo /%{_lib}/libnsl.so.*`
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
-
-install devfsd $RPM_BUILD_ROOT%{_sbindir}
-install devfsd.8 $RPM_BUILD_ROOT%{_mandir}/man8
-install devfsd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
-install modules.devfs $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/devfsd.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modules.devfs
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*