summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-12-14 19:53:43 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-12-14 19:53:43 +0000
commitc6a2bcae24c16fe77e2fbc0fca50e115cb79820a (patch)
tree4df8554ee66211573686829e6c675e4572f75edf
parentUpdate version. (diff)
downloadhistorical-c6a2bcae24c16fe77e2fbc0fca50e115cb79820a.tar.gz
historical-c6a2bcae24c16fe77e2fbc0fca50e115cb79820a.tar.bz2
historical-c6a2bcae24c16fe77e2fbc0fca50e115cb79820a.zip
Update version.
-rw-r--r--sys-fs/udev/Manifest6
-rw-r--r--sys-fs/udev/files/digest-udev-0081
-rw-r--r--sys-fs/udev/files/udev.conf26
-rw-r--r--sys-fs/udev/udev-008.ebuild92
4 files changed, 122 insertions, 3 deletions
diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest
index ff261e18d6db..9190561d7d11 100644
--- a/sys-fs/udev/Manifest
+++ b/sys-fs/udev/Manifest
@@ -1,13 +1,13 @@
MD5 142756ce2bce094bde709030a54608c5 udev-006.ebuild 2445
-MD5 ee754b448cf303c86b4ef6f13f2436b5 ChangeLog 2385
+MD5 2fad854e5a570fd1eebc77af7e4e24b2 ChangeLog 2517
MD5 bb941a13588f122cda62f71eb5639deb udev-005.ebuild 1732
-MD5 83a432ae3bb1162fe07c5dd0fa3d4fbe udev-008.ebuild 1976
-MD5 77cb5ad668cd6a014ca008394e6bf57e .udev-008.ebuild.swp 12288
+MD5 bb2f3caf9ec4cb1394ae3c94f2ee7a8c udev-008.ebuild 2063
MD5 7bcfbb3f4f8989b4124402541419d845 udev-003.ebuild 1454
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 83a432ae3bb1162fe07c5dd0fa3d4fbe udev-007.ebuild 1976
MD5 80b328009155e14e1423314abb4bd4da udev-005-r1.ebuild 1762
MD5 85e3f37acd01752bdb603e593852b74f udev-004.ebuild 1554
+MD5 499720cc5ea49dfc4e02b2f601cf4a8f files/udev.conf 902
MD5 75eb84a1c3c02f826c30771549a520ce files/udev-004-label-fixes.patch 1895
MD5 ad8f3d1f8a8ca711cb8c064a260b4541 files/digest-udev-008 61
MD5 6a2ddd6bc79a92b74b4da57f442504d4 files/digest-udev-003 61
diff --git a/sys-fs/udev/files/digest-udev-008 b/sys-fs/udev/files/digest-udev-008
new file mode 100644
index 000000000000..ef63d7bf3854
--- /dev/null
+++ b/sys-fs/udev/files/digest-udev-008
@@ -0,0 +1 @@
+MD5 3d5662c7e2f2ad4277e18e3551b85166 udev-008.tar.bz2 894999
diff --git a/sys-fs/udev/files/udev.conf b/sys-fs/udev/files/udev.conf
new file mode 100644
index 000000000000..59cbeeb0adc6
--- /dev/null
+++ b/sys-fs/udev/files/udev.conf
@@ -0,0 +1,26 @@
+# udev.conf
+# The main config file for udev
+#
+# This file can be used to override some of udev's default values
+# for where it looks for files, and where it places device nodes.
+
+
+# udev_root - where in the filesystem to place the device nodes
+udev_root="/dev/"
+
+# udev_db - The name and location of the udev database.
+udev_db="/etc/udev/udev.tdb"
+
+# udev_rules - The name and location of the udev rules file
+udev_rules="/etc/udev/udev.rules"
+
+# udev_permissions - The name and location of the udev permission file
+udev_permissions="/etc/udev/udev.permissions"
+
+# default_mode - set the default mode for all nodes that have no
+# explicit match in the permissions file
+# NOTE: do not set to anything else if you are not
+# sure you have everything needed for normal
+# user to function in the permissions file!
+default_mode="0666"
+
diff --git a/sys-fs/udev/udev-008.ebuild b/sys-fs/udev/udev-008.ebuild
new file mode 100644
index 000000000000..4c458da450c2
--- /dev/null
+++ b/sys-fs/udev/udev-008.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-008.ebuild,v 1.1 2003/12/14 19:53:29 azarah Exp $
+
+# Note: Cannot use external libsysfs with klibc ..
+USE_KLIBC="no"
+USE_EXT_LIBSYSFS="no"
+
+inherit eutils
+
+DESCRIPTION="udev - Linux dynamic device naming support (aka userspace devfs)"
+HOMEPAGE="http://www.kernel.org/"
+SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ >=sys-apps/hotplug-20030805-r1
+ >=sys-fs/sysfsutils-0.3.0"
+
+pkg_setup() {
+ [ "${USE_KLIBC}" = "yes" ] && check_KV
+
+ return 0
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # No need to clutter the logs ...
+ sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
+ # Do not use optimization flags from the package
+ sed -ie 's|$(OPTIMIZATION)||g' Makefile
+
+ # Make sure we do not build included libsysfs, but link to
+ # one in sysfsutils ...
+ if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
+ then
+ rm -rf ${S}/libsysfs
+ cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
+ fi
+
+ # Setup things for klibc
+ if [ "${USE_KLIBC}" = "yes" ]
+ then
+ ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
+ fi
+}
+
+src_compile() {
+ # Do not work with emake
+ if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
+ then
+ make udevdir="/dev/" \
+ ARCH_LIB_OBJS="-lsysfs" \
+ SYSFS="" || die
+ else
+ make udevdir="/dev/" || die
+ fi
+}
+
+src_install() {
+ into /
+ dosbin udev
+
+ insinto /etc/udev
+ doins ${FILESDIR}/udev.conf
+ doins udev.rules
+ # Our own custom udev.permissions
+ doins ${FILESDIR}/udev.permissions
+# doins udev.permissions
+
+ dodir /etc/hotplug.d/default
+ dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
+
+ doman udev.8
+
+ dodoc COPYING ChangeLog FAQ README TODO
+ dodoc docs/{overview,udev-OLS2003.pdf}
+}
+
+pkg_preinst() {
+ if [ -f "${ROOT}/etc/udev/udev.config" -a \
+ ! -f "${ROOT}/etc/udev/udev.rules" ]
+ then
+ mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
+ fi
+}
+