Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/devfsd/files/, sys-fs/devfsd/, profiles/
Date: Tue, 11 Dec 2018 13:16:20
Message-Id: 1544534156.507f6846fcb1e180224b3575b68cf9b6e935d804.mgorny@gentoo
1 commit: 507f6846fcb1e180224b3575b68cf9b6e935d804
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 13:14:40 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 13:15:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507f6846
7
8 sys-fs/devfsd: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/664680
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 4 -
14 sys-fs/devfsd/Manifest | 1 -
15 sys-fs/devfsd/devfsd-1.3.25-r9.ebuild | 59 ---------
16 sys-fs/devfsd/files/devfs-start.sh | 28 -----
17 sys-fs/devfsd/files/devfs-stop.sh | 16 ---
18 sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch | 131 -------------------
19 sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch | 69 -----------
20 sys-fs/devfsd/files/devfsd-1.3.25-pic.patch | 16 ---
21 sys-fs/devfsd/files/devfsd.conf | 138 ---------------------
22 sys-fs/devfsd/metadata.xml | 8 --
23 10 files changed, 470 deletions(-)
24
25 diff --git a/profiles/package.mask b/profiles/package.mask
26 index e9278149e9b..64dca6f1b7c 100644
27 --- a/profiles/package.mask
28 +++ b/profiles/package.mask
29 @@ -259,10 +259,6 @@ app-text/chm2pdf
30 # Unmaintained, security issues (#630796, #663164). Removal in a month.
31 dev-db/couchdb
32
33 -# Pacho Ramos <pacho@g.o> (11 Nov 2018)
34 -# Unkeyworded since 2008, non-installable (#664680). Removal in a month.
35 -sys-fs/devfsd
36 -
37 # Mike Gilbert <floppym@g.o> (10 Nov 2018)
38 # Open bugs and no Gentoo maintainer.
39 # Removal in 30 days.
40
41 diff --git a/sys-fs/devfsd/Manifest b/sys-fs/devfsd/Manifest
42 deleted file mode 100644
43 index fd808182782..00000000000
44 --- a/sys-fs/devfsd/Manifest
45 +++ /dev/null
46 @@ -1 +0,0 @@
47 -DIST devfsd-v1.3.25.tar.gz 42645 BLAKE2B 9c004dc01ab1d8c1b14091e33216c4603bf0752c9cea610ea639a285eda7ba2b2e9b030de16b277bf53bf1021d88044ed3ff557cd66619709e3bc0c7637292b3 SHA512 3bf18edb0fc823b96b938b22fc0f978823acfd37708d24d9fec8a25dfdaced165be6162fd5a20bdf30bfc615699faea8239fc77b99c30f035fd7c6b40e7c8c2c
48
49 diff --git a/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild b/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild
50 deleted file mode 100644
51 index 16647cbdbf8..00000000000
52 --- a/sys-fs/devfsd/devfsd-1.3.25-r9.ebuild
53 +++ /dev/null
54 @@ -1,59 +0,0 @@
55 -# Copyright 1999-2015 Gentoo Foundation
56 -# Distributed under the terms of the GNU General Public License v2
57 -
58 -EAPI="5"
59 -
60 -inherit eutils flag-o-matic toolchain-funcs
61 -
62 -DESCRIPTION="Daemon for the Linux Device Filesystem"
63 -HOMEPAGE="http://www.atnf.csiro.au/~rgooch/linux/"
64 -SRC_URI="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v${PV}.tar.gz"
65 -
66 -LICENSE="GPL-2"
67 -SLOT="0"
68 -KEYWORDS=""
69 -IUSE=""
70 -
71 -DEPEND="<sys-kernel/linux-headers-2.6.18"
72 -RDEPEND=""
73 -
74 -S=${WORKDIR}/${PN}
75 -
76 -src_prepare() {
77 - epatch "${FILESDIR}"/${P}-kernel-2.5.patch
78 - epatch "${FILESDIR}"/${P}-pic.patch
79 - epatch "${FILESDIR}"/${P}-no-nis.patch
80 -
81 - use elibc_uclibc || append-cppflags -DHAVE_NIS
82 - sed -i \
83 - -e "s:-O2:${CFLAGS}:g" \
84 - -e 's:/usr/man:/usr/share/man:' \
85 - -e 's:/usr/src/linux:.:' \
86 - -e '32,34d;11,16d' -e '6c\' \
87 - -e 'DEFINES := -DLIBNSL="\\"/lib/libnsl.so.1\\""' \
88 - -e 's:install -s:install:' \
89 - GNUmakefile
90 - use elibc_uclibc && sed -e 's|libnsl.so.1|libnsl.so.0|' -i GNUmakefile
91 - tc-export CC
92 -}
93 -
94 -src_install() {
95 - dodir /sbin /usr/share/man /etc
96 - emake PREFIX="${D}" install
97 - dodoc devfsd.conf INSTALL
98 -
99 - keepdir /etc/devfs.d
100 - insinto /etc
101 - doins "${FILESDIR}"/devfsd.conf
102 -
103 - insinto /lib/rcscripts/addons
104 - doins "${FILESDIR}"/devfs-{start,stop}.sh
105 -}
106 -
107 -pkg_postinst() {
108 - echo
109 - einfo "You may wish to read the Gentoo Linux Device Filesystem Guide,"
110 - einfo "which can be found online at:"
111 - einfo " https://wwwold.gentoo.org/doc/en/devfs-guide.xml"
112 - echo
113 -}
114
115 diff --git a/sys-fs/devfsd/files/devfs-start.sh b/sys-fs/devfsd/files/devfs-start.sh
116 deleted file mode 100644
117 index b8d832494e9..00000000000
118 --- a/sys-fs/devfsd/files/devfs-start.sh
119 +++ /dev/null
120 @@ -1,28 +0,0 @@
121 -# Copyright 1999-2005 Gentoo Foundation
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -main() {
125 - local mymounts=$(awk '($2 == "devfs") { print "yes"; exit 0 }' /proc/filesystems)
126 -
127 - # Is devfs support compiled in?
128 - if [[ ${mymounts} == "yes" ]] ; then
129 - if [[ ${devfs_automounted} == "no" ]] ; then
130 - ebegin "Mounting devfs at /dev"
131 - try mount -n -t devfs devfs /dev
132 - eend $?
133 - else
134 - ebegin "Kernel automatically mounted devfs at /dev"
135 - eend 0
136 - fi
137 - ebegin "Starting devfsd"
138 - /sbin/devfsd /dev >/dev/null
139 - eend $? "Could not start /sbin/devfsd"
140 - else
141 - devfs="no"
142 - fi
143 -}
144 -
145 -main
146 -
147 -
148 -# vim:ts=4
149
150 diff --git a/sys-fs/devfsd/files/devfs-stop.sh b/sys-fs/devfsd/files/devfs-stop.sh
151 deleted file mode 100644
152 index 0b4856bc82c..00000000000
153 --- a/sys-fs/devfsd/files/devfs-stop.sh
154 +++ /dev/null
155 @@ -1,16 +0,0 @@
156 -# Copyright 1999-2005 Gentoo Foundation
157 -# Distributed under the terms of the GNU General Public License v2
158 -
159 -main() {
160 - # We need to properly terminate devfsd to save the permissions
161 - if [[ -n $(ps --no-heading -C 'devfsd') ]]; then
162 - ebegin "Stopping devfsd"
163 - killall -15 devfsd &>/dev/null
164 - eend $?
165 - fi
166 -}
167 -
168 -main
169 -
170 -
171 -# vim:ts=4
172
173 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
174 deleted file mode 100644
175 index bafa600c31c..00000000000
176 --- a/sys-fs/devfsd/files/devfsd-1.3.25-kernel-2.5.patch
177 +++ /dev/null
178 @@ -1,131 +0,0 @@
179 -diff -urpN devfsd/GNUmakefile devfsd.kernel25/GNUmakefile
180 ---- devfsd/GNUmakefile 2003-09-21 02:09:45.082973960 +0200
181 -+++ devfsd.kernel25/GNUmakefile 2003-09-21 02:10:23.317161480 +0200
182 -@@ -12,13 +12,16 @@ endif
183 - all: devfsd rpm.spec
184 -
185 -
186 --OBJECTS = devfsd.o expression.o compat_name.o
187 -+OBJECTS = devfsd.o expression.o compat_name.o check_kernel.o
188 -
189 - CFLAGS = -O2 -I. -I$(KERNEL_DIR)/include -Wall $(CEXTRAS) $(DEFINES)
190 -
191 - devfsd: $(OBJECTS)
192 - $(CC) -O2 -o devfsd $(OBJECTS) $(LDFLAGS) -export-dynamic -ldl
193 -
194 -+check_kernel.o: check_kernel.c
195 -+ $(CC) -fomit-frame-pointer -O2 -c $<
196 -+
197 - install: devfsd
198 - if [ ! -e $(SBINDIR) ]; then mkdir -p $(SBINDIR); fi
199 - rm -f $(SBINDIR)/devfsd
200 -diff -urpN devfsd/check_kernel.c devfsd.kernel25/check_kernel.c
201 ---- devfsd/check_kernel.c 1970-01-01 02:00:00.000000000 +0200
202 -+++ devfsd.kernel25/check_kernel.c 2003-09-21 01:59:56.645430064 +0200
203 -@@ -0,0 +1,44 @@
204 -+#include <sys/types.h>
205 -+#include <stdio.h>
206 -+#include <unistd.h>
207 -+#include <errno.h>
208 -+#include <asm/unistd.h>
209 -+
210 -+extern char *modules_devfs;
211 -+
212 -+/* copied over from module-init-tools backward_compat.c */
213 -+#ifndef __ia64 /* breaks ia64. */
214 -+static _syscall2(long, create_module, const char *, name, size_t, size);
215 -+#else
216 -+#define create_module(name, size) \
217 -+ syscall(__NR_create_module, (name), (size))
218 -+#endif
219 -+
220 -+/* returns true if we have a 2.5.48+ kernel */
221 -+int check_kernel_version (int verbose)
222 -+{
223 -+ int k25 = 1;
224 -+
225 -+ errno = 0;
226 -+ if (create_module(NULL, 0) >= 0 /* Uh oh, what have I just done? */
227 -+ || errno != ENOSYS)
228 -+ k25 = 0;
229 -+
230 -+ if (verbose)
231 -+ fprintf (stderr, "devfsd: kernel %s detected\n",
232 -+ k25 ? "2.5.48+" : "2.4");
233 -+
234 -+ return k25;
235 -+}
236 -+
237 -+void update_config_file (int verbose)
238 -+{
239 -+ int k25 = check_kernel_version (verbose);
240 -+
241 -+ if (k25)
242 -+ modules_devfs = "/etc/modules.devfs";
243 -+
244 -+ if (verbose)
245 -+ fprintf (stderr, "devfsd: using %s for MODLOAD\n", modules_devfs);
246 -+}
247 -+
248 -diff -urpN devfsd/devfsd.c devfsd.kernel25/devfsd.c
249 ---- devfsd/devfsd.c 2003-09-21 02:06:10.763555464 +0200
250 -+++ devfsd.kernel25/devfsd.c 2003-09-21 02:12:17.482805664 +0200
251 -@@ -396,10 +396,16 @@ EXTERN_FUNCTION (flag st_expr_expand,
252 - EXTERN_FUNCTION (const char *get_old_name,
253 - (const char *devname, unsigned int namelen,
254 - char *buffer, unsigned int major, unsigned int minor) );
255 --
256 -+EXTERN_FUNCTION (int check_kernel_version,
257 -+ (int) );
258 -+EXTERN_FUNCTION (void update_config_file,
259 -+ (int) );
260 -
261 - /* Public data */
262 - flag syslog_is_open = FALSE;
263 -+/* set to new style, runtime test will override it later */
264 -+char *modules_devfs = "/etc/modules.devfs";
265 -+
266 -
267 -
268 - /* Public functions */
269 -@@ -507,7 +513,6 @@ static struct event_type
270 - {0xffffffff, NULL, NULL}
271 - };
272 -
273 --
274 - /* Public functions follow */
275 -
276 - int main (int argc, char **argv)
277 -@@ -651,6 +656,7 @@ int main (int argc, char **argv)
278 - /* Set umask so that mknod(2), open(2) and mkdir(2) have complete control
279 - over permissions */
280 - umask (0);
281 -+ update_config_file (trace_level);
282 - read_config (CONFIG_FILE, FALSE, &event_mask);
283 - /* Do the scan before forking, so that boot scripts see the finished
284 - product */
285 -@@ -1217,7 +1223,7 @@ static void action_modload (const struct
286 - [RETURNS] Nothing.
287 - */
288 - {
289 -- char *argv[6];
290 -+ char *argv[7];
291 - char device[STRING_LENGTH];
292 - char *env[4] = {"HOME=/", "TERM=linux", /* Safe mode environment */
293 - "PATH=/sbin:/usr/sbin:/bin:/usr/bin", NULL};
294 -@@ -1240,9 +1246,13 @@ static void action_modload (const struct
295 - argv[0] = "/sbin/modprobe";
296 - argv[1] = "-k";
297 - argv[2] = "-C";
298 -- argv[3] = "/etc/modules.devfs";
299 -+ argv[3] = modules_devfs;
300 - argv[4] = device;
301 -- argv[5] = NULL;
302 -+ if (check_kernel_version (trace_level))
303 -+ argv[5] = "-q";
304 -+ else
305 -+ argv[5] = NULL;
306 -+ argv[6] = NULL;
307 - snprintf (device, sizeof (device), "/dev/%s", info->devname);
308 - if (trace_level > 1)
309 - fprintf (stderr, "%s modprobe with name: \"%s\"\n",
310
311 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
312 deleted file mode 100644
313 index c676b7e980c..00000000000
314 --- a/sys-fs/devfsd/files/devfsd-1.3.25-no-nis.patch
315 +++ /dev/null
316 @@ -1,69 +0,0 @@
317 ---- devfsd/devfsd.c.mps 2003-12-04 15:54:03.000000000 +0100
318 -+++ devfsd/devfsd.c 2003-12-04 16:05:32.000000000 +0100
319 -@@ -283,8 +283,10 @@
320 - #include <regex.h>
321 - #include <errno.h>
322 - #include <dlfcn.h>
323 -+#ifdef HAVE_NIS
324 - #include <rpcsvc/ypclnt.h>
325 - #include <rpcsvc/yp_prot.h>
326 -+#endif
327 - #include <karma.h>
328 - #include "devfsd.h"
329 - #include "version.h"
330 -@@ -414,9 +416,11 @@
331 - unsigned long *event_mask);
332 - static void process_config_line (CONST char *line, unsigned long *event_mask);
333 - static void *dlsym_nofail (const char *file, void *handle, char *symbol);
334 -+#ifdef HAVE_NIS
335 - static int process_yp_line (int instatus, char *inkey, int inkeylen,
336 - char *inval, int invallen, char *indata);
337 - static void load_libnsl (void);
338 -+#endif
339 - static flag do_servicing (int fd, unsigned long event_mask);
340 - static void service_name (const struct devfsd_notify_struct *info);
341 - static void action_permissions (const struct devfsd_notify_struct *info,
342 -@@ -486,9 +490,11 @@
343 - {"fd/2", "stderr"},
344 - {NULL, NULL},
345 - };
346 -+#ifdef HAVE_NIS
347 - static int (*my_yp_all) (char *domain, char *map,
348 - struct ypall_callback *callback); /* = NULL */
349 - static int (*my_yp_get_default_domain) (char **domainptr); /* = NULL */
350 -+#endif
351 - static struct event_type
352 - {
353 - unsigned int type; /* The DEVFSD_NOTIFY_* value */
354 -@@ -714,6 +720,7 @@
355 - [RETURNS] Nothing.
356 - */
357 - {
358 -+#ifdef HAVE_NIS
359 - if (location[0] == '+')
360 - {
361 - /* It's a YP map */
362 -@@ -736,6 +743,7 @@
363 - SYSLOG (LOG_ERR, "error reading map: \"%s\"\n", location + 1);
364 - exit (1);
365 - }
366 -+#endif
367 - read_config_file (location, optional, event_mask);
368 - } /* End Function read_config */
369 -
370 -@@ -1006,6 +1014,7 @@
371 - return (result);
372 - } /* End Function dlsym_nofail */
373 -
374 -+#ifdef HAVE_NIS
375 - static void load_libnsl (void)
376 - {
377 - #ifdef LIBNSL /* It comes from a shared object */
378 -@@ -1034,6 +1043,7 @@
379 - if (invallen > 0) process_config_line (inval, (unsigned long *) indata);
380 - return (0);
381 - } /* End Function process_yp_line */
382 -+#endif
383 -
384 - static flag do_servicing (int fd, unsigned long event_mask)
385 - /* [SUMMARY] Service devfs changes until a signal is received.
386
387 diff --git a/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch b/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch
388 deleted file mode 100644
389 index 67e325333c0..00000000000
390 --- a/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch
391 +++ /dev/null
392 @@ -1,16 +0,0 @@
393 ---- check_kernel.c.orig 2004-02-06 16:41:32.000000000 -0500
394 -+++ check_kernel.c 2004-02-06 16:41:55.000000000 -0500
395 -@@ -6,13 +6,8 @@
396 -
397 - extern char *modules_devfs;
398 -
399 --/* copied over from module-init-tools backward_compat.c */
400 --#ifndef __ia64 /* breaks ia64. */
401 --static _syscall2(long, create_module, const char *, name, size_t, size);
402 --#else
403 - #define create_module(name, size) \
404 - syscall(__NR_create_module, (name), (size))
405 --#endif
406 -
407 - /* returns true if we have a 2.5.48+ kernel */
408 - int check_kernel_version (int verbose)
409
410 diff --git a/sys-fs/devfsd/files/devfsd.conf b/sys-fs/devfsd/files/devfsd.conf
411 deleted file mode 100644
412 index e3b7ee473d8..00000000000
413 --- a/sys-fs/devfsd/files/devfsd.conf
414 +++ /dev/null
415 @@ -1,138 +0,0 @@
416 -# Sample /etc/devfsd.conf configuration file.
417 -# Richard Gooch <rgooch@××××××××××.au> 17-FEB-2002
418 -#
419 -# The Gentoo Linux Team - http://www.gentoo.org/
420 -# - Many fixes, etc
421 -#
422 -
423 -# Enable full compatibility mode for old device names. You may comment these
424 -# out if you don't use the old device names. Make sure you know what you're
425 -# doing!
426 -REGISTER .* MKOLDCOMPAT
427 -UNREGISTER .* RMOLDCOMPAT
428 -
429 -# You may comment out the above and uncomment the following if you've
430 -# configured your system to use the original "new" devfs names or the really
431 -# new names
432 -#REGISTER ^vc/.* MKOLDCOMPAT
433 -#UNREGISTER ^vc/.* RMOLDCOMPAT
434 -#REGISTER ^pty/.* MKOLDCOMPAT
435 -#UNREGISTER ^pty/.* RMOLDCOMPAT
436 -#REGISTER ^misc MKOLDCOMPAT
437 -#UNREGISTER ^misc RMOLDCOMPAT
438 -
439 -# You may comment these out if you don't use the original "new" names
440 -REGISTER .* MKNEWCOMPAT
441 -UNREGISTER .* RMNEWCOMPAT
442 -
443 -# Enable module autoloading. You may comment this out if you don't use
444 -# autoloading
445 -LOOKUP .* MODLOAD
446 -
447 -# Uncomment the following if you want to set the group to "tty" for the
448 -# pseudo-tty devices. This is necessary so that mesg(1) can later be used to
449 -# enable/disable talk requests and wall(1) messages.
450 -REGISTER ^pty/s.* PERMISSIONS -1.tty 0600
451 -REGISTER ^pts/.* PERMISSIONS -1.tty 0600
452 -
453 -# Uncomment this if you want permissions to be saved and restored
454 -# NB: Do NOT change the following!
455 -# Do not do this for pseudo-terminal devices
456 -REGISTER ^pt[sy]/.* IGNORE
457 -CHANGE ^pt[sy]/.* IGNORE
458 -CREATE ^pt[sy]/.* IGNORE
459 -DELETE ^pt[sy] IGNORE
460 -REGISTER ^log IGNORE
461 -CHANGE ^log IGNORE
462 -CREATE ^log IGNORE
463 -DELETE ^log IGNORE
464 -REGISTER .* COPY /lib/dev-state/$devname $devpath
465 -CHANGE .* COPY $devpath /lib/dev-state/$devname
466 -CREATE .* COPY $devpath /lib/dev-state/$devname
467 -DELETE .* CFUNCTION GLOBAL unlink /lib/dev-state/$devname
468 -RESTORE /lib/dev-state
469 -
470 -# You can force default like this :
471 -# PERMISSIONS owner_and_group access_mode
472 -
473 -# ALSA/OSS stuff
474 -# Comment/change these if you want to change the permissions on
475 -# the audio devices
476 -LOOKUP snd MODLOAD ACTION snd
477 -LOOKUP dsp MODLOAD
478 -LOOKUP mixer MODLOAD
479 -LOOKUP midi MODLOAD
480 -REGISTER sound/.* PERMISSIONS root.audio 660
481 -REGISTER snd/.* PERMISSIONS root.audio 660
482 -
483 -# Uncomment this to let PAM manage devfs
484 -#REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so pam_console_apply_single $devpath
485 -
486 -# Autoload the sg module if generic scsi driver compiled as module.
487 -#LOOKUP ^sg$ MODLOAD ACTION sg
488 -
489 -# Give the cdrom group access to /dev/sg0
490 -REGISTER ^scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS root.cdrom 660
491 -
492 -# Give the cdrom group access to the cdrom devices
493 -REGISTER ^scsi/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
494 -REGISTER ^ide/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
495 -
496 -# Give the floppy group access to the floppy devices
497 -REGISTER ^floppy/.* PERMISSIONS root.floppy 660
498 -
499 -# Give the usb group access to the usb devices
500 -REGISTER ^usb/.* PERMISSIONS root.usb 660
501 -REGISTER ^tts/USB.* PERMISSIONS root.usb 660
502 -REGISTER ^usb/tts/(.*)$ CFUNCTION GLOBAL mksymlink $devname ttyUSB\1
503 -UNREGISTER ^usb/tts/(.*)$ CFUNCTION GLOBAL unlink ttyUSB\1
504 -
505 -# Video devices
506 -REGISTER ^v4l/.* PERMISSIONS root.video 660
507 -REGISTER ^dri/.* PERMISSIONS root.video 660
508 -REGISTER ^nvidia.* PERMISSIONS root.video 660
509 -
510 -# General note for the following auto creation of symlinks:
511 -#
512 -# If you change the device that the symlink points to,
513 -# you should also remove the symlink before restarting
514 -# devfsd
515 -
516 -# Create /dev/cdrom for the first cdrom drive
517 -LOOKUP ^cdrom$ CFUNCTION GLOBAL mksymlink cdroms/cdrom0 cdrom
518 -REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
519 -UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
520 -
521 -# Create /dev/dvd for the second cdrom drive
522 -# (change 'cdroms/cdrom1' to suite your setup)
523 -# NOTE: We add the fully qualified path here, else some apps
524 -# have problems to resolve the true device (drip comes to mind)
525 -#LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom1 dvd
526 -#REGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL mksymlink ${devpath} dvd
527 -#UNREGISTER ^cdroms/cdrom1$ CFUNCTION GLOBAL unlink dvd
528 -
529 -# Create /dev/cdrw for the first cdrom on the scsi bus
530 -# (change 'sr0' to suite your setup)
531 -#LOOKUP ^cdrw$ CFUNCTION GLOBAL mksymlink sr0 cdrw
532 -#REGISTER ^sr0$ CFUNCTION GLOBAL mksymlink $devname cdrw
533 -#UNREGISTER ^sr0$ CFUNCTION GLOBAL unlink cdrw
534 -
535 -# Create /dev/mouse
536 -LOOKUP ^mouse$ CFUNCTION GLOBAL mksymlink misc/psaux mouse
537 -REGISTER ^misc/psaux$ CFUNCTION GLOBAL mksymlink $devname mouse
538 -UNREGISTER ^misc/psaux$ CFUNCTION GLOBAL unlink mouse
539 -
540 -# Manage USB mouse
541 -REGISTER ^input/mouse0$ CFUNCTION GLOBAL mksymlink $devname usbmouse
542 -UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse
543 -REGISTER ^input/mice$ CFUNCTION GLOBAL mksymlink $devname usbmouse
544 -UNREGISTER ^input/mice$ CFUNCTION GLOBAL unlink usbmouse
545 -
546 -# Create compatibility link for broken misc/net/tun driver
547 -REGISTER ^misc/net/tun$ CFUNCTION GLOBAL unlink net/tun
548 -REGISTER ^misc/net/tun$ CFUNCTION GLOBAL symlink /dev/$devname net/tun
549 -
550 -# Support additional config installed by packages ...
551 -INCLUDE /etc/devfs.d
552 -
553 -# devfsd.conf ends here
554
555 diff --git a/sys-fs/devfsd/metadata.xml b/sys-fs/devfsd/metadata.xml
556 deleted file mode 100644
557 index 56c12441305..00000000000
558 --- a/sys-fs/devfsd/metadata.xml
559 +++ /dev/null
560 @@ -1,8 +0,0 @@
561 -<?xml version="1.0" encoding="UTF-8"?>
562 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
563 -<pkgmetadata>
564 -<maintainer type="project">
565 - <email>base-system@g.o</email>
566 - <name>Gentoo Base System</name>
567 -</maintainer>
568 -</pkgmetadata>