diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-12-02 07:57:06 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-12-02 07:57:06 +0000 |
commit | c04bcb7f51926a1634882625e4c188cc454f9273 (patch) | |
tree | 0803a28fe1f10c1315b9ba9457af6ce9e294f186 /sys-apps/devfsd/files | |
parent | depend fixup (diff) | |
download | gentoo-2-c04bcb7f51926a1634882625e4c188cc454f9273.tar.gz gentoo-2-c04bcb7f51926a1634882625e4c188cc454f9273.tar.bz2 gentoo-2-c04bcb7f51926a1634882625e4c188cc454f9273.zip |
clean and devfsd gets started by /sbin/init, so a rc-script not needed
Diffstat (limited to 'sys-apps/devfsd/files')
-rw-r--r-- | sys-apps/devfsd/files/devfsd-1.3.11-GNUmakefile-gentoo.diff | 44 | ||||
-rw-r--r-- | sys-apps/devfsd/files/devfsd.conf | 78 | ||||
-rw-r--r-- | sys-apps/devfsd/files/devfsd.conf.old | 41 | ||||
-rw-r--r-- | sys-apps/devfsd/files/devfsd.h | 34 | ||||
-rw-r--r-- | sys-apps/devfsd/files/digest-devfsd-1.3.11-r1 | 1 | ||||
-rw-r--r-- | sys-apps/devfsd/files/digest-devfsd-1.3.11-r2 | 1 | ||||
-rw-r--r-- | sys-apps/devfsd/files/digest-devfsd-1.3.16 | 1 |
7 files changed, 22 insertions, 178 deletions
diff --git a/sys-apps/devfsd/files/devfsd-1.3.11-GNUmakefile-gentoo.diff b/sys-apps/devfsd/files/devfsd-1.3.11-GNUmakefile-gentoo.diff deleted file mode 100644 index e992148bc674..000000000000 --- a/sys-apps/devfsd/files/devfsd-1.3.11-GNUmakefile-gentoo.diff +++ /dev/null @@ -1,44 +0,0 @@ ---- GNUmakefile.orig Tue Feb 27 16:53:23 2001 -+++ GNUmakefile Tue Feb 27 16:53:43 2001 -@@ -1,4 +1,5 @@ - SBINDIR = /sbin -+MANDIR = /usr/share/man/man8 - CONFIG_FILE = /etc/devfsd.conf - - nsl_libs := $(wildcard /lib/libnsl.*) -@@ -12,25 +13,23 @@ - OBJECTS = devfsd.o expression.o compat_name.o - - ifdef KERNEL_DIR --CFLAGS = -O2 -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) -+CFLAGS += -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) - else --CFLAGS = -O2 -I. -Wall $(CEXTRAS) -+CFLAGS += -I. -Wall $(CEXTRAS) - endif - - devfsd: $(OBJECTS) -- cc -O2 -o devfsd $(OBJECTS) $(CFLAGS) -export-dynamic -ldl $(LIBS) -+ cc -o devfsd $(OBJECTS) $(CFLAGS) -export-dynamic -ldl $(LIBS) - - install: devfsd -- @if fgrep -q "Generic section: do not change" /etc/modules.conf ; then\ -- echo "First remove the generic devfs entries from /etc/modules.conf"; exit 1; \ -- fi -- rm -f $(SBINDIR)/devfsd -- install -s devfsd $(SBINDIR)/devfsd -- -rm -f /usr/man/*/devfsd.* -- cp -p devfsd.8 /usr/man/man8 -- if [ ! -e $(CONFIG_FILE) ]; then cp -p devfsd.conf $(CONFIG_FILE); fi -+ install -d $(DESTDIR)$(SBINDIR) -+ install -d $(DESTDIR)$(MANDIR) -+ install -d $(DESTDIR)/etc -+ install -s devfsd $(DESTDIR)$(SBINDIR)/devfsd -+ cp -p devfsd.8 $(DESTDIR)$(MANDIR) -+ cp -p devfsd.conf $(DESTDIR)$(CONFIG_FILE) - @echo "Installing /etc/modules.devfs" -- @sed "s/DEVFSD-VERSION/`grep '#define DEVFSD_VERSION' version.h | cut -d'"' -f 2`/" modules.devfs > /etc/modules.devfs -+ @sed "s/DEVFSD-VERSION/`grep '#define DEVFSD_VERSION' version.h | cut -d'"' -f 2`/" modules.devfs > $(DESTDIR)etc/modules.devfs - - clean: - -rm -f *~ *.o *.orig diff --git a/sys-apps/devfsd/files/devfsd.conf b/sys-apps/devfsd/files/devfsd.conf index f4f2162efec9..beb691a4e834 100644 --- a/sys-apps/devfsd/files/devfsd.conf +++ b/sys-apps/devfsd/files/devfsd.conf @@ -1,75 +1,41 @@ # Sample /etc/devfsd.conf configuration file. # Richard Gooch <rgooch@atnf.csiro.au> 3-JUL-2000 -# The Gentoo Linux Team - http://www.gentoo.org/ -# Many fixes, etc - +# # 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 +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 +#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 +REGISTER .* MKNEWCOMPAT +UNREGISTER .* RMNEWCOMPAT # Enable module autoloading. You may comment this out if you don't use # autoloading -LOOKUP ^.* MODLOAD +LOOKUP .* MODLOAD -# # Uncomment this if you want permissions to be saved and restored -REGISTER ^.* COPY /dev-state/$devname $devpath -CHANGE ^.* COPY $devpath /dev-state/$devname -CREATE ^.* COPY $devpath /dev-state/$devname +REGISTER ^pt[sy]/.* IGNORE +CHANGE ^pt[sy]/.* IGNORE +REGISTER .* COPY /dev-state/$devname $devpath +CHANGE .* COPY $devpath /dev-state/$devname +CREATE .* COPY $devpath /dev-state/$devname +LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath +REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom +UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink cdrom -# You can force default like this : -# PERMISSIONS owner_and_group access_mode - -# ALSA stuff LOOKUP snd MODLOAD ACTION snd -REGISTER ^sound/.* PERMISSIONS root.audio 660 -REGISTER ^sound/* PERMISSIONS root.audio 660 -REGISTER ^snd/.* PERMISSIONS root.audio 660 -REGISTER ^snd/* PERMISSIONS root.audio 660 - -# Give the cdrw group write permissions to /dev/sg0 -# This is done to have non root user use the burner (scan the scsi bus) -#REGISTER ^sg0$ PERMISSIONS root.cdrw 660 - -# Auto{load,save} of permissions & ownerships by devfsd is not compatible -# with Unix98 ptys (/dev/pts) -# The fix is : -REGISTER ^pt[sy]/.* IGNORE -CHANGE ^pt[sy]/.* IGNORE -CREATE ^pt[sy]/.* IGNORE - -# Create /dev/cdrom for the first cdrom drive -REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL symlink $mntpnt/cdroms/cdrom0 cdrom -UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom - -# Create /dev/dvd for the second cdrom drive -# (change '^cdroms/cdrom1$' to suite your setup) -#REGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL symlink $mntpnt/cdroms/cdrom1 dvd -#UNREGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL unlink dvd - -# Create /dev/cdrw for the first cdrom on the scsi bus -# (change '^sr0$' to suite your setup) -#REGISTER ^sr0$ CFUNCTION GLOBAL symlink $mntpnt/sr0 cdrw -#UNREGISTER ^sr0$ CFUNCTION GLOBAL unlink cdrw - -# Create /dev/mouse so that dumb rc-script for gpm can work -REGISTER ^misc/psaux$ CFUNCTION GLOBAL symlink $mntpnt/misc/psaux mouse -UNREGISTER ^misc/psaux$ CFUNCTION GLOBAL unlink mouse - +REGISTER sound/.* PERMISSIONS root.audio 660 +REGISTER snd/.* PERMISSIONS root.audio 660 diff --git a/sys-apps/devfsd/files/devfsd.conf.old b/sys-apps/devfsd/files/devfsd.conf.old deleted file mode 100644 index beb691a4e834..000000000000 --- a/sys-apps/devfsd/files/devfsd.conf.old +++ /dev/null @@ -1,41 +0,0 @@ -# Sample /etc/devfsd.conf configuration file. -# Richard Gooch <rgooch@atnf.csiro.au> 3-JUL-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 - -# Enable module autoloading. You may comment this out if you don't use -# autoloading -LOOKUP .* MODLOAD - -# Uncomment this if you want permissions to be saved and restored -REGISTER ^pt[sy]/.* IGNORE -CHANGE ^pt[sy]/.* IGNORE -REGISTER .* COPY /dev-state/$devname $devpath -CHANGE .* COPY $devpath /dev-state/$devname -CREATE .* COPY $devpath /dev-state/$devname - -LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink ${mntpnt}/cdroms/cdrom0 $devpath -REGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom -UNREGISTER ^cdrom/cdrom0$ CFUNCTION GLOBAL unlink cdrom - -LOOKUP snd MODLOAD ACTION snd -REGISTER sound/.* PERMISSIONS root.audio 660 -REGISTER snd/.* PERMISSIONS root.audio 660 diff --git a/sys-apps/devfsd/files/devfsd.h b/sys-apps/devfsd/files/devfsd.h deleted file mode 100644 index 129f367d8d73..000000000000 --- a/sys-apps/devfsd/files/devfsd.h +++ /dev/null @@ -1,34 +0,0 @@ -/* devfsd.h - - Header file for devfsd (devfs daemon for Linux). - - Copyright (C) 1998-2000 Richard Gooch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - Richard Gooch may be reached by email at rgooch@atnf.csiro.au - The postal address is: - Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. -*/ - -#define SYSLOG(level, format, args...) \ - {if (syslog_is_open) syslog (level, format, ##args); \ - else fprintf (stderr, format, ## args);} - - -/* Public data */ -extern flag syslog_is_open; /* File: devfsd.c */ - -#define RTLD_NEXT ((void *) -1l)
\ No newline at end of file diff --git a/sys-apps/devfsd/files/digest-devfsd-1.3.11-r1 b/sys-apps/devfsd/files/digest-devfsd-1.3.11-r1 deleted file mode 100644 index 5928a744aa1b..000000000000 --- a/sys-apps/devfsd/files/digest-devfsd-1.3.11-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 8bbd8558ee83a625a404c6069b66d4e0 devfsd-v1.3.11.tar.gz 28672 diff --git a/sys-apps/devfsd/files/digest-devfsd-1.3.11-r2 b/sys-apps/devfsd/files/digest-devfsd-1.3.11-r2 deleted file mode 100644 index 5928a744aa1b..000000000000 --- a/sys-apps/devfsd/files/digest-devfsd-1.3.11-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 8bbd8558ee83a625a404c6069b66d4e0 devfsd-v1.3.11.tar.gz 28672 diff --git a/sys-apps/devfsd/files/digest-devfsd-1.3.16 b/sys-apps/devfsd/files/digest-devfsd-1.3.16 deleted file mode 100644 index 810496d986be..000000000000 --- a/sys-apps/devfsd/files/digest-devfsd-1.3.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 97cee5d52bc6c20f73c39d392d85a5a5 devfsd-v1.3.16.tar.gz 40960 |