diff options
author | 2003-03-02 22:29:06 +0000 | |
---|---|---|
committer | 2003-03-02 22:29:06 +0000 | |
commit | 62686b155d68c82dd2f2be04ef8452dba9ee8905 (patch) | |
tree | be2b8b60118cbe6446d463937b71f2600242a7cc /sys-apps/devfsd | |
parent | Fixed bug #16692 (diff) | |
download | historical-62686b155d68c82dd2f2be04ef8452dba9ee8905.tar.gz historical-62686b155d68c82dd2f2be04ef8452dba9ee8905.tar.bz2 historical-62686b155d68c82dd2f2be04ef8452dba9ee8905.zip |
call modprobe with -q
Diffstat (limited to 'sys-apps/devfsd')
-rw-r--r-- | sys-apps/devfsd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/devfsd/devfsd-1.3.25-r1.ebuild | 47 | ||||
-rw-r--r-- | sys-apps/devfsd/files/devfsd-1.3.25-shutup-modprobe.patch | 27 | ||||
-rw-r--r-- | sys-apps/devfsd/files/digest-devfsd-1.3.25-r1 | 1 |
4 files changed, 82 insertions, 1 deletions
diff --git a/sys-apps/devfsd/ChangeLog b/sys-apps/devfsd/ChangeLog index 2d2eb62e6b52..d450cc8e2641 100644 --- a/sys-apps/devfsd/ChangeLog +++ b/sys-apps/devfsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/devfsd # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/devfsd/ChangeLog,v 1.9 2003/02/12 08:56:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/devfsd/ChangeLog,v 1.10 2003/03/02 22:29:06 azarah Exp $ + +*devfsd-1.3.25-r1 (02 March 2003) + + 02 March 2003; Martin Schlemmer <azarah@gentoo.org> devfsd-1.3.25-r1.ebuild : + Call modprobe with -q to minimize errors to stderr ... many stuff comes from + /etc/*.devfs anyhow, so very possible that no module present ... 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> devfsd-1.3.25.ebuild : Added hppa to keywords. diff --git a/sys-apps/devfsd/devfsd-1.3.25-r1.ebuild b/sys-apps/devfsd/devfsd-1.3.25-r1.ebuild new file mode 100644 index 000000000000..f02fdfa15ad1 --- /dev/null +++ b/sys-apps/devfsd/devfsd-1.3.25-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/devfsd/devfsd-1.3.25-r1.ebuild,v 1.1 2003/03/02 22:29:06 azarah Exp $ + +IUSE="" + +inherit eutils + +S="${WORKDIR}/${PN}" +DESCRIPTION="Daemon for the Linux Device Filesystem" +SRC_URI="ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v${PV}.tar.gz" +HOMEPAGE="http://www.atnf.csiro.au/~rgooch/linux/" + +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + + cd ${S} + cp GNUmakefile GNUmakefile.orig + sed -e "s:-O2:${CFLAGS}:g" \ + -e 's:/usr/man:/usr/share/man:' \ + -e '29,31d;11,16d' -e '6c\' \ + -e 'DEFINES := -DLIBNSL="\\"/lib/libnsl.so.1\\""' \ + GNUmakefile.orig > GNUmakefile + + # Get modprobe from module-init-tools to shutup + epatch ${FILESDIR}/${P}-shutup-modprobe.patch +} + +src_compile() { + make || die +} + +src_install() { + dodir /sbin /usr/share/man /etc + make PREFIX=${D} install || die + + #config file is handled in baselayout + rm -f ${D}/etc/devfsd.conf + + dodoc devfsd.conf COPYING* INSTALL +} diff --git a/sys-apps/devfsd/files/devfsd-1.3.25-shutup-modprobe.patch b/sys-apps/devfsd/files/devfsd-1.3.25-shutup-modprobe.patch new file mode 100644 index 000000000000..13e6f35bda41 --- /dev/null +++ b/sys-apps/devfsd/files/devfsd-1.3.25-shutup-modprobe.patch @@ -0,0 +1,27 @@ +--- devfsd/devfsd.c.orig 2003-02-22 15:21:43.000000000 +0200 ++++ devfsd/devfsd.c 2003-02-22 15:23:08.000000000 +0200 +@@ -1217,7 +1217,7 @@ + [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}; +@@ -1239,10 +1239,11 @@ + } + argv[0] = "/sbin/modprobe"; + argv[1] = "-k"; +- argv[2] = "-C"; +- argv[3] = "/etc/modules.devfs"; +- argv[4] = device; +- argv[5] = NULL; ++ argv[2] = "-q"; ++ argv[3] = "-C"; ++ argv[4] = "/etc/modules.devfs"; ++ argv[5] = device; ++ 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-apps/devfsd/files/digest-devfsd-1.3.25-r1 b/sys-apps/devfsd/files/digest-devfsd-1.3.25-r1 new file mode 100644 index 000000000000..afd58fffff28 --- /dev/null +++ b/sys-apps/devfsd/files/digest-devfsd-1.3.25-r1 @@ -0,0 +1 @@ +MD5 44c6394b8e2e8feaf453aeddc8a3ee69 devfsd-v1.3.25.tar.gz 42645 |