diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /sys-fs/devfsd | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'sys-fs/devfsd')
-rw-r--r-- | sys-fs/devfsd/Manifest | 9 | ||||
-rw-r--r-- | sys-fs/devfsd/devfsd-1.3.25-r9.ebuild | 59 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfs-start.sh | 28 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfs-stop.sh | 16 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch | 131 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch | 69 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfsd-1.3.25-pic.patch | 16 | ||||
-rw-r--r-- | sys-fs/devfsd/files/devfsd.conf | 138 | ||||
-rw-r--r-- | sys-fs/devfsd/metadata.xml | 8 |
9 files changed, 0 insertions, 474 deletions
diff --git a/sys-fs/devfsd/Manifest b/sys-fs/devfsd/Manifest deleted file mode 100644 index 9b2fab987985..000000000000 --- a/sys-fs/devfsd/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX devfs-start.sh 622 BLAKE2B 1a632f27f0f105e5b4530d68d47504dd83ee23c6ecc851a9fef17f5020a323e5450a4331036b7f7cae2d69ac4a337aff11cf960a76741b33f46cfeab5d708f08 SHA512 9087c774a3fdabae1216c6a96e522d09efcc19c6739554d9ae4d7e14b231577bdad0904a3a9a177321c288ea572e252621b0be4bc4cd61962ff6a692531f8003 -AUX devfs-stop.sh 326 BLAKE2B d467e3346fe0d83ab53373e1a9a1a5caa5d1668368af3c4d7157c8e1d254d9aa82619fa74e1e196e0fe309bad60588e461a7f3cacd413ed8f11ff232ef85e70e SHA512 0f2784a83e49c39b574a8db137b9ab95947f2946c0f6d2a0d64b4ff6d6bd28fefc7a8049b58a7bf672bdaeea616d32dd3a0eff829f7fa67f715db97b06a2aa19 -AUX devfsd-1.3.25-kernel-2.5.patch 3929 BLAKE2B 2971ae81465e682c5842700efae7cd1e86d20cf0b2e1de43d93842877241f6ac5ccd2a455f27229225d068da37ff67f8613b10f3712f97468d8b7c5b4ba4894d SHA512 fce2254b23be6bc85592874ad3c80582dcbc03b114a16eea86d1c087571c34db366c09fb04d0e1565ac4fd52fbcea411bad7965474f84e8b1df194db9cdff082 -AUX devfsd-1.3.25-no-nis.patch 2142 BLAKE2B f4a9614524869835d5cd81b0127b8457ff75f6fc4350d8b46389a6e24e671a3e61b089be6655c5528f6aba838a1ff164a78dc7241a68233b48bebedb9c201a1f SHA512 17cce86a687e03abc310c8aa886758b26d5a9ddc183f07375d5d9282c303f9a1472af11c441345e49cd7341a2dbad4d87a1b032b340d8ea9d922a7b389513d42 -AUX devfsd-1.3.25-pic.patch 529 BLAKE2B d6884825c21e2a65def8ac1e23a1dd09748e4eb2bc6543a32ba7cd7640d545206ab6cc5dd8032c0b0ae3e996421b170a6a3553b3fc12b7148d20d88b1f1b7c3f SHA512 1f40e3f043cd96a1055b96088cb523fcabb67ab4e9ceca3ea4c9f963964003c3fa67fa050b9189d295a7ffdecc68d2161c49d2e78fe38b51c9faeff94681cd39 -AUX devfsd.conf 5886 BLAKE2B ee4765b3374ba6bb3fd1dc165e0164e999d24683d737a610977212b267071e7696db48b1742c1cc17c38abbffdaa7981bcc5d9ecdbcd86d3432db3cc2c9a413f SHA512 95717275ffe39d9c99fbdf8b562278ec8756aba572aac1d789aa3a089f44138158c882399443ef42a97fd1a7a0500d2ab6e271323b52e4e25e83d2ac96408d15 -DIST devfsd-v1.3.25.tar.gz 42645 BLAKE2B 9c004dc01ab1d8c1b14091e33216c4603bf0752c9cea610ea639a285eda7ba2b2e9b030de16b277bf53bf1021d88044ed3ff557cd66619709e3bc0c7637292b3 SHA512 3bf18edb0fc823b96b938b22fc0f978823acfd37708d24d9fec8a25dfdaced165be6162fd5a20bdf30bfc615699faea8239fc77b99c30f035fd7c6b40e7c8c2c -EBUILD devfsd-1.3.25-r9.ebuild 1447 BLAKE2B c30630492480a673a90e0be653390bfae5b13909dde4d783071abd9ae83e6590b0dd47891f0de044897a14938bd3f15c34211a2f879593e564876d87709a4210 SHA512 874f858953089cea254a24c566437db5e6397d5cddd069752aa9552a17d0e55d4ca6e52a59c7d5b3a4dfc9c9a86e39c319b1f32f34bf8aa1ba273a72f6c1c7a5 -MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild b/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild deleted file mode 100644 index 16647cbdbf8b..000000000000 --- a/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Daemon for the Linux Device Filesystem" -HOMEPAGE="http://www.atnf.csiro.au/~rgooch/linux/" -SRC_URI="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="<sys-kernel/linux-headers-2.6.18" -RDEPEND="" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}"/${P}-kernel-2.5.patch - epatch "${FILESDIR}"/${P}-pic.patch - epatch "${FILESDIR}"/${P}-no-nis.patch - - use elibc_uclibc || append-cppflags -DHAVE_NIS - sed -i \ - -e "s:-O2:${CFLAGS}:g" \ - -e 's:/usr/man:/usr/share/man:' \ - -e 's:/usr/src/linux:.:' \ - -e '32,34d;11,16d' -e '6c\' \ - -e 'DEFINES := -DLIBNSL="\\"/lib/libnsl.so.1\\""' \ - -e 's:install -s:install:' \ - GNUmakefile - use elibc_uclibc && sed -e 's|libnsl.so.1|libnsl.so.0|' -i GNUmakefile - tc-export CC -} - -src_install() { - dodir /sbin /usr/share/man /etc - emake PREFIX="${D}" install - dodoc devfsd.conf INSTALL - - keepdir /etc/devfs.d - insinto /etc - doins "${FILESDIR}"/devfsd.conf - - insinto /lib/rcscripts/addons - doins "${FILESDIR}"/devfs-{start,stop}.sh -} - -pkg_postinst() { - echo - einfo "You may wish to read the Gentoo Linux Device Filesystem Guide," - einfo "which can be found online at:" - einfo " https://wwwold.gentoo.org/doc/en/devfs-guide.xml" - echo -} diff --git a/sys-fs/devfsd/files/devfs-start.sh b/sys-fs/devfsd/files/devfs-start.sh deleted file mode 100644 index b8d832494e95..000000000000 --- a/sys-fs/devfsd/files/devfs-start.sh +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -main() { - local mymounts=$(awk '($2 == "devfs") { print "yes"; exit 0 }' /proc/filesystems) - - # Is devfs support compiled in? - if [[ ${mymounts} == "yes" ]] ; then - if [[ ${devfs_automounted} == "no" ]] ; then - ebegin "Mounting devfs at /dev" - try mount -n -t devfs devfs /dev - eend $? - else - ebegin "Kernel automatically mounted devfs at /dev" - eend 0 - fi - ebegin "Starting devfsd" - /sbin/devfsd /dev >/dev/null - eend $? "Could not start /sbin/devfsd" - else - devfs="no" - fi -} - -main - - -# vim:ts=4 diff --git a/sys-fs/devfsd/files/devfs-stop.sh b/sys-fs/devfsd/files/devfs-stop.sh deleted file mode 100644 index 0b4856bc82c7..000000000000 --- a/sys-fs/devfsd/files/devfs-stop.sh +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -main() { - # We need to properly terminate devfsd to save the permissions - if [[ -n $(ps --no-heading -C 'devfsd') ]]; then - ebegin "Stopping devfsd" - killall -15 devfsd &>/dev/null - eend $? - fi -} - -main - - -# vim:ts=4 diff --git a/sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch b/sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch deleted file mode 100644 index bafa600c31ce..000000000000 --- a/sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch +++ /dev/null @@ -1,131 +0,0 @@ -diff -urpN devfsd/GNUmakefile devfsd.kernel25/GNUmakefile ---- devfsd/GNUmakefile 2003-09-21 02:09:45.082973960 +0200 -+++ devfsd.kernel25/GNUmakefile 2003-09-21 02:10:23.317161480 +0200 -@@ -12,13 +12,16 @@ endif - all: devfsd rpm.spec - - --OBJECTS = devfsd.o expression.o compat_name.o -+OBJECTS = devfsd.o expression.o compat_name.o check_kernel.o - - CFLAGS = -O2 -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) $(DEFINES) - - devfsd: $(OBJECTS) - $(CC) -O2 -o devfsd $(OBJECTS) $(LDFLAGS) -export-dynamic -ldl - -+check_kernel.o: check_kernel.c -+ $(CC) -fomit-frame-pointer -O2 -c $< -+ - install: devfsd - if [ ! -e $(SBINDIR) ]; then mkdir -p $(SBINDIR); fi - rm -f $(SBINDIR)/devfsd -diff -urpN devfsd/check_kernel.c devfsd.kernel25/check_kernel.c ---- devfsd/check_kernel.c 1970-01-01 02:00:00.000000000 +0200 -+++ devfsd.kernel25/check_kernel.c 2003-09-21 01:59:56.645430064 +0200 -@@ -0,0 +1,44 @@ -+#include <sys/types.h> -+#include <stdio.h> -+#include <unistd.h> -+#include <errno.h> -+#include <asm/unistd.h> -+ -+extern char *modules_devfs; -+ -+/* copied over from module-init-tools backward_compat.c */ -+#ifndef __ia64 /* breaks ia64. */ -+static _syscall2(long, create_module, const char *, name, size_t, size); -+#else -+#define create_module(name, size) \ -+ syscall(__NR_create_module, (name), (size)) -+#endif -+ -+/* returns true if we have a 2.5.48+ kernel */ -+int check_kernel_version (int verbose) -+{ -+ int k25 = 1; -+ -+ errno = 0; -+ if (create_module(NULL, 0) >= 0 /* Uh oh, what have I just done? */ -+ || errno != ENOSYS) -+ k25 = 0; -+ -+ if (verbose) -+ fprintf (stderr, "devfsd: kernel %s detected\n", -+ k25 ? "2.5.48+" : "2.4"); -+ -+ return k25; -+} -+ -+void update_config_file (int verbose) -+{ -+ int k25 = check_kernel_version (verbose); -+ -+ if (k25) -+ modules_devfs = "/etc/modules.devfs"; -+ -+ if (verbose) -+ fprintf (stderr, "devfsd: using %s for MODLOAD\n", modules_devfs); -+} -+ -diff -urpN devfsd/devfsd.c devfsd.kernel25/devfsd.c ---- devfsd/devfsd.c 2003-09-21 02:06:10.763555464 +0200 -+++ devfsd.kernel25/devfsd.c 2003-09-21 02:12:17.482805664 +0200 -@@ -396,10 +396,16 @@ EXTERN_FUNCTION (flag st_expr_expand, - EXTERN_FUNCTION (const char *get_old_name, - (const char *devname, unsigned int namelen, - char *buffer, unsigned int major, unsigned int minor) ); -- -+EXTERN_FUNCTION (int check_kernel_version, -+ (int) ); -+EXTERN_FUNCTION (void update_config_file, -+ (int) ); - - /* Public data */ - flag syslog_is_open = FALSE; -+/* set to new style, runtime test will override it later */ -+char *modules_devfs = "/etc/modules.devfs"; -+ - - - /* Public functions */ -@@ -507,7 +513,6 @@ static struct event_type - {0xffffffff, NULL, NULL} - }; - -- - /* Public functions follow */ - - int main (int argc, char **argv) -@@ -651,6 +656,7 @@ int main (int argc, char **argv) - /* Set umask so that mknod(2), open(2) and mkdir(2) have complete control - over permissions */ - umask (0); -+ update_config_file (trace_level); - read_config (CONFIG_FILE, FALSE, &event_mask); - /* Do the scan before forking, so that boot scripts see the finished - product */ -@@ -1217,7 +1223,7 @@ static void action_modload (const struct - [RETURNS] Nothing. - */ - { -- char *argv[6]; -+ char *argv[7]; - char device[STRING_LENGTH]; - char *env[4] = {"HOME=/", "TERM=linux", /* Safe mode environment */ - "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL}; -@@ -1240,9 +1246,13 @@ static void action_modload (const struct - argv[0] = "/sbin/modprobe"; - argv[1] = "-k"; - argv[2] = "-C"; -- argv[3] = "/etc/modules.devfs"; -+ argv[3] = modules_devfs; - argv[4] = device; -- argv[5] = NULL; -+ if (check_kernel_version (trace_level)) -+ argv[5] = "-q"; -+ else -+ argv[5] = NULL; -+ argv[6] = NULL; - snprintf (device, sizeof (device), "/dev/%s", info->devname); - if (trace_level > 1) - fprintf (stderr, "%s modprobe with name: \"%s\"\n", diff --git a/sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch b/sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch deleted file mode 100644 index c676b7e980c9..000000000000 --- a/sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- devfsd/devfsd.c.mps 2003-12-04 15:54:03.000000000 +0100 -+++ devfsd/devfsd.c 2003-12-04 16:05:32.000000000 +0100 -@@ -283,8 +283,10 @@ - #include <regex.h> - #include <errno.h> - #include <dlfcn.h> -+#ifdef HAVE_NIS - #include <rpcsvc/ypclnt.h> - #include <rpcsvc/yp_prot.h> -+#endif - #include <karma.h> - #include "devfsd.h" - #include "version.h" -@@ -414,9 +416,11 @@ - unsigned long *event_mask); - static void process_config_line (CONST char *line, unsigned long *event_mask); - static void *dlsym_nofail (const char *file, void *handle, char *symbol); -+#ifdef HAVE_NIS - static int process_yp_line (int instatus, char *inkey, int inkeylen, - char *inval, int invallen, char *indata); - static void load_libnsl (void); -+#endif - static flag do_servicing (int fd, unsigned long event_mask); - static void service_name (const struct devfsd_notify_struct *info); - static void action_permissions (const struct devfsd_notify_struct *info, -@@ -486,9 +490,11 @@ - {"fd/2", "stderr"}, - {NULL, NULL}, - }; -+#ifdef HAVE_NIS - static int (*my_yp_all) (char *domain, char *map, - struct ypall_callback *callback); /* = NULL */ - static int (*my_yp_get_default_domain) (char **domainptr); /* = NULL */ -+#endif - static struct event_type - { - unsigned int type; /* The DEVFSD_NOTIFY_* value */ -@@ -714,6 +720,7 @@ - [RETURNS] Nothing. - */ - { -+#ifdef HAVE_NIS - if (location[0] == '+') - { - /* It's a YP map */ -@@ -736,6 +743,7 @@ - SYSLOG (LOG_ERR, "error reading map: \"%s\"\n", location + 1); - exit (1); - } -+#endif - read_config_file (location, optional, event_mask); - } /* End Function read_config */ - -@@ -1006,6 +1014,7 @@ - return (result); - } /* End Function dlsym_nofail */ - -+#ifdef HAVE_NIS - static void load_libnsl (void) - { - #ifdef LIBNSL /* It comes from a shared object */ -@@ -1034,6 +1043,7 @@ - if (invallen > 0) process_config_line (inval, (unsigned long *) indata); - return (0); - } /* End Function process_yp_line */ -+#endif - - static flag do_servicing (int fd, unsigned long event_mask) - /* [SUMMARY] Service devfs changes until a signal is received. diff --git a/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch b/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch deleted file mode 100644 index 67e325333c07..000000000000 --- a/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- check_kernel.c.orig 2004-02-06 16:41:32.000000000 -0500 -+++ check_kernel.c 2004-02-06 16:41:55.000000000 -0500 -@@ -6,13 +6,8 @@ - - extern char *modules_devfs; - --/* copied over from module-init-tools backward_compat.c */ --#ifndef __ia64 /* breaks ia64. */ --static _syscall2(long, create_module, const char *, name, size_t, size); --#else - #define create_module(name, size) \ - syscall(__NR_create_module, (name), (size)) --#endif - - /* returns true if we have a 2.5.48+ kernel */ - int check_kernel_version (int verbose) diff --git a/sys-fs/devfsd/files/devfsd.conf b/sys-fs/devfsd/files/devfsd.conf deleted file mode 100644 index e3b7ee473d86..000000000000 --- a/sys-fs/devfsd/files/devfsd.conf +++ /dev/null @@ -1,138 +0,0 @@ -# Sample /etc/devfsd.conf configuration file. -# Richard Gooch <rgooch@atnf.csiro.au> 17-FEB-2002 -# -# 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 - -# 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 the following if you want to set the group to "tty" for the -# pseudo-tty devices. This is necessary so that mesg(1) can later be used to -# enable/disable talk requests and wall(1) messages. -REGISTER ^pty/s.* PERMISSIONS -1.tty 0600 -REGISTER ^pts/.* PERMISSIONS -1.tty 0600 - -# Uncomment this if you want permissions to be saved and restored -# NB: Do NOT change the following! -# Do not do this for pseudo-terminal devices -REGISTER ^pt[sy]/.* IGNORE -CHANGE ^pt[sy]/.* IGNORE -CREATE ^pt[sy]/.* IGNORE -DELETE ^pt[sy] IGNORE -REGISTER ^log IGNORE -CHANGE ^log IGNORE -CREATE ^log IGNORE -DELETE ^log IGNORE -REGISTER .* COPY /lib/dev-state/$devname $devpath -CHANGE .* COPY $devpath /lib/dev-state/$devname -CREATE .* COPY $devpath /lib/dev-state/$devname -DELETE .* CFUNCTION GLOBAL unlink /lib/dev-state/$devname -RESTORE /lib/dev-state - -# You can force default like this : -# PERMISSIONS owner_and_group access_mode - -# ALSA/OSS stuff -# Comment/change these if you want to change the permissions on -# the audio devices -LOOKUP snd MODLOAD ACTION snd -LOOKUP dsp MODLOAD -LOOKUP mixer MODLOAD -LOOKUP midi MODLOAD -REGISTER sound/.* PERMISSIONS root.audio 660 -REGISTER snd/.* PERMISSIONS root.audio 660 - -# Uncomment this to let PAM manage devfs -#REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so pam_console_apply_single $devpath - -# Autoload the sg module if generic scsi driver compiled as module. -#LOOKUP ^sg$ MODLOAD ACTION sg - -# Give the cdrom group access to /dev/sg0 -REGISTER ^scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS root.cdrom 660 - -# Give the cdrom group access to the cdrom devices -REGISTER ^scsi/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660 -REGISTER ^ide/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660 - -# Give the floppy group access to the floppy devices -REGISTER ^floppy/.* PERMISSIONS root.floppy 660 - -# Give the usb group access to the usb devices -REGISTER ^usb/.* PERMISSIONS root.usb 660 -REGISTER ^tts/USB.* PERMISSIONS root.usb 660 -REGISTER ^usb/tts/(.*)$ CFUNCTION GLOBAL mksymlink $devname ttyUSB\1 -UNREGISTER ^usb/tts/(.*)$ CFUNCTION GLOBAL unlink ttyUSB\1 - -# Video devices -REGISTER ^v4l/.* PERMISSIONS root.video 660 -REGISTER ^dri/.* PERMISSIONS root.video 660 -REGISTER ^nvidia.* PERMISSIONS root.video 660 - -# General note for the following auto creation of symlinks: -# -# If you change the device that the symlink points to, -# you should also remove the symlink before restarting -# devfsd - -# Create /dev/cdrom for the first cdrom drive -LOOKUP ^cdrom$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdrom -REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom -UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom - -# Create /dev/dvd for the second cdrom drive -# (change 'cdroms/cdrom1' to suite your setup) -# NOTE: We add the fully qualified path here, else some apps -# have problems to resolve the true device (drip comes to mind) -#LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom1 dvd -#REGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL mksymlink ${devpath} 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) -#LOOKUP ^cdrw$ CFUNCTION GLOBAL mksymlink sr0 cdrw -#REGISTER ^sr0$ CFUNCTION GLOBAL mksymlink $devname cdrw -#UNREGISTER ^sr0$ CFUNCTION GLOBAL unlink cdrw - -# Create /dev/mouse -LOOKUP ^mouse$ CFUNCTION GLOBAL mksymlink misc/psaux mouse -REGISTER ^misc/psaux$ CFUNCTION GLOBAL mksymlink $devname mouse -UNREGISTER ^misc/psaux$ CFUNCTION GLOBAL unlink mouse - -# Manage USB mouse -REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname usbmouse -UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse -REGISTER ^input/mice$ CFUNCTION GLOBAL mksymlink $devname usbmouse -UNREGISTER ^input/mice$ CFUNCTION GLOBAL unlink usbmouse - -# Create compatibility link for broken misc/net/tun driver -REGISTER ^misc/net/tun$ CFUNCTION GLOBAL unlink net/tun -REGISTER ^misc/net/tun$ CFUNCTION GLOBAL symlink /dev/$devname net/tun - -# Support additional config installed by packages ... -INCLUDE /etc/devfs.d - -# devfsd.conf ends here diff --git a/sys-fs/devfsd/metadata.xml b/sys-fs/devfsd/metadata.xml deleted file mode 100644 index 56c124413057..000000000000 --- a/sys-fs/devfsd/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>base-system@gentoo.org</email> - <name>Gentoo Base System</name> -</maintainer> -</pkgmetadata> |