From 6bb258e1a78d575b43588e237f772cb021702a5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 9 Dec 2008 14:27:52 +0000 Subject: [PATCH] - die, obsolete crap Changed files: devfsd-drzewo.patch -> 1.2 devfsd-include.patch -> 1.2 devfsd-kernel2.5.patch -> 1.2 devfsd-lirc.patch -> 1.3 devfsd-optflags.patch -> 1.2 devfsd.conf -> 1.11 devfsd.spec -> 1.56 --- devfsd-drzewo.patch | 10 ---- devfsd-include.patch | 11 ----- devfsd-kernel2.5.patch | 24 ---------- devfsd-lirc.patch | 11 ----- devfsd-optflags.patch | 15 ------ devfsd.conf | 61 ------------------------ devfsd.spec | 103 ----------------------------------------- 7 files changed, 235 deletions(-) delete mode 100644 devfsd-drzewo.patch delete mode 100644 devfsd-include.patch delete mode 100644 devfsd-kernel2.5.patch delete mode 100644 devfsd-lirc.patch delete mode 100644 devfsd-optflags.patch delete mode 100644 devfsd.conf delete mode 100644 devfsd.spec diff --git a/devfsd-drzewo.patch b/devfsd-drzewo.patch deleted file mode 100644 index 5ed639f..0000000 --- a/devfsd-drzewo.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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} - }; - diff --git a/devfsd-include.patch b/devfsd-include.patch deleted file mode 100644 index 05d7cf7..0000000 --- a/devfsd-include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 diff --git a/devfsd-kernel2.5.patch b/devfsd-kernel2.5.patch deleted file mode 100644 index 5fecaa1..0000000 --- a/devfsd-kernel2.5.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- 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; - } diff --git a/devfsd-lirc.patch b/devfsd-lirc.patch deleted file mode 100644 index 9bb19bf..0000000 --- a/devfsd-lirc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 diff --git a/devfsd-optflags.patch b/devfsd-optflags.patch deleted file mode 100644 index bcb2880..0000000 --- a/devfsd-optflags.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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\ diff --git a/devfsd.conf b/devfsd.conf deleted file mode 100644 index 967eb79..0000000 --- a/devfsd.conf +++ /dev/null @@ -1,61 +0,0 @@ -# $Id$ -# Sample /etc/devfsd.conf configuration file. -# Richard Gooch 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 diff --git a/devfsd.spec b/devfsd.spec deleted file mode 100644 index ab79134..0000000 --- a/devfsd.spec +++ /dev/null @@ -1,103 +0,0 @@ -%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?/* -- 2.44.0