summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2004-12-18 06:03:34 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2004-12-18 06:03:34 +0000
commitdd6c668dce40a881ea658cf0a90ed244edf59dc6 (patch)
tree59eb73cb9cca37d891d97f34957240652211ae19 /sys-fs
parentx86. (Manifest recommit) (diff)
downloadgentoo-2-dd6c668dce40a881ea658cf0a90ed244edf59dc6.tar.gz
gentoo-2-dd6c668dce40a881ea658cf0a90ed244edf59dc6.tar.bz2
gentoo-2-dd6c668dce40a881ea658cf0a90ed244edf59dc6.zip
deleted a lot of old udev ebuilds.
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog12
-rw-r--r--sys-fs/udev/files/digest-udev-024-r11
-rw-r--r--sys-fs/udev/files/digest-udev-025-r11
-rw-r--r--sys-fs/udev/files/digest-udev-026-r11
-rw-r--r--sys-fs/udev/files/digest-udev-0271
-rw-r--r--sys-fs/udev/files/digest-udev-0281
-rw-r--r--sys-fs/udev/files/digest-udev-0291
-rw-r--r--sys-fs/udev/files/digest-udev-0311
-rw-r--r--sys-fs/udev/files/digest-udev-0321
-rw-r--r--sys-fs/udev/files/digest-udev-0331
-rw-r--r--sys-fs/udev/files/digest-udev-0341
-rw-r--r--sys-fs/udev/files/digest-udev-034-r11
-rw-r--r--sys-fs/udev/files/digest-udev-0351
-rw-r--r--sys-fs/udev/files/digest-udev-0361
-rw-r--r--sys-fs/udev/files/digest-udev-0381
-rw-r--r--sys-fs/udev/files/digest-udev-0391
-rw-r--r--sys-fs/udev/files/digest-udev-0401
-rw-r--r--sys-fs/udev/files/digest-udev-0441
-rw-r--r--sys-fs/udev/udev-024-r1.ebuild161
-rw-r--r--sys-fs/udev/udev-025-r1.ebuild156
-rw-r--r--sys-fs/udev/udev-026-r1.ebuild143
-rw-r--r--sys-fs/udev/udev-027.ebuild143
-rw-r--r--sys-fs/udev/udev-028.ebuild143
-rw-r--r--sys-fs/udev/udev-029.ebuild143
-rw-r--r--sys-fs/udev/udev-031.ebuild145
-rw-r--r--sys-fs/udev/udev-032.ebuild143
-rw-r--r--sys-fs/udev/udev-033.ebuild139
-rw-r--r--sys-fs/udev/udev-034-r1.ebuild141
-rw-r--r--sys-fs/udev/udev-034.ebuild141
-rw-r--r--sys-fs/udev/udev-035.ebuild141
-rw-r--r--sys-fs/udev/udev-036.ebuild141
-rw-r--r--sys-fs/udev/udev-038.ebuild141
-rw-r--r--sys-fs/udev/udev-039.ebuild141
-rw-r--r--sys-fs/udev/udev-040.ebuild141
-rw-r--r--sys-fs/udev/udev-044.ebuild143
35 files changed, 11 insertions, 2464 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 0ea99c5e5d0e..bd8bcd90701d 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-fs/udev
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.90 2004/12/15 22:23:02 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.91 2004/12/18 06:03:34 gregkh Exp $
+
+*udev-039 (17 Dec 2004)
+
+ 17 Dec 2004; Greg Kroah-Hartman <gregkh@gentoo.org> -udev-024-r1.ebuild,
+ -udev-025-r1.ebuild, -udev-026-r1.ebuild, -udev-027.ebuild,
+ -udev-028.ebuild, -udev-029.ebuild, -udev-031.ebuild, -udev-032.ebuild,
+ -udev-033.ebuild, -udev-034-r1.ebuild, -udev-034.ebuild, -udev-035.ebuild,
+ -udev-036.ebuild, -udev-038.ebuild, -udev-039.ebuild, -udev-040.ebuild,
+ -udev-044.ebuild:
+ removed a lot of old udev ebuilds.
15 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> udev-045.ebuild:
Stable on alpha.
diff --git a/sys-fs/udev/files/digest-udev-024-r1 b/sys-fs/udev/files/digest-udev-024-r1
deleted file mode 100644
index 0bc8b3ecc1ab..000000000000
--- a/sys-fs/udev/files/digest-udev-024-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1e9a16f35814975d55c78258f3c4a498 udev-024.tar.bz2 349272
diff --git a/sys-fs/udev/files/digest-udev-025-r1 b/sys-fs/udev/files/digest-udev-025-r1
deleted file mode 100644
index 4bfb41952d1a..000000000000
--- a/sys-fs/udev/files/digest-udev-025-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4f4c0ace4307cb1c73d9f5365fe6c946 udev-025.tar.bz2 370029
diff --git a/sys-fs/udev/files/digest-udev-026-r1 b/sys-fs/udev/files/digest-udev-026-r1
deleted file mode 100644
index 7f2f8caa9d97..000000000000
--- a/sys-fs/udev/files/digest-udev-026-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bc0abc2fab36802d557de51a29ba6d1a udev-026.tar.bz2 374831
diff --git a/sys-fs/udev/files/digest-udev-027 b/sys-fs/udev/files/digest-udev-027
deleted file mode 100644
index bd8ff5d52dd9..000000000000
--- a/sys-fs/udev/files/digest-udev-027
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2c3eb9345d839013d560992cb6cf7222 udev-027.tar.bz2 375477
diff --git a/sys-fs/udev/files/digest-udev-028 b/sys-fs/udev/files/digest-udev-028
deleted file mode 100644
index 4dbbc22a09d0..000000000000
--- a/sys-fs/udev/files/digest-udev-028
+++ /dev/null
@@ -1 +0,0 @@
-MD5 74053f6276c82d81f2a35afb64c0d178 udev-028.tar.bz2 382700
diff --git a/sys-fs/udev/files/digest-udev-029 b/sys-fs/udev/files/digest-udev-029
deleted file mode 100644
index ae8301fd35da..000000000000
--- a/sys-fs/udev/files/digest-udev-029
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ec35587f00cc688505eadedf2625a5e6 udev-029.tar.bz2 382238
diff --git a/sys-fs/udev/files/digest-udev-031 b/sys-fs/udev/files/digest-udev-031
deleted file mode 100644
index 21106cc4a3f9..000000000000
--- a/sys-fs/udev/files/digest-udev-031
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6b8ff268db0832ee68f39e411294d3ad udev-031.tar.bz2 388457
diff --git a/sys-fs/udev/files/digest-udev-032 b/sys-fs/udev/files/digest-udev-032
deleted file mode 100644
index 6da5d31891b6..000000000000
--- a/sys-fs/udev/files/digest-udev-032
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6df7392c3f5fe44d7cf261a0d2497b99 udev-032.tar.bz2 389531
diff --git a/sys-fs/udev/files/digest-udev-033 b/sys-fs/udev/files/digest-udev-033
deleted file mode 100644
index 90cda6f889be..000000000000
--- a/sys-fs/udev/files/digest-udev-033
+++ /dev/null
@@ -1 +0,0 @@
-MD5 109578b29089116598050a1af78334f5 udev-033.tar.bz2 371239
diff --git a/sys-fs/udev/files/digest-udev-034 b/sys-fs/udev/files/digest-udev-034
deleted file mode 100644
index 5b70f48d4276..000000000000
--- a/sys-fs/udev/files/digest-udev-034
+++ /dev/null
@@ -1 +0,0 @@
-MD5 38488100701063f8f567644a07fe11c4 udev-034.tar.bz2 371749
diff --git a/sys-fs/udev/files/digest-udev-034-r1 b/sys-fs/udev/files/digest-udev-034-r1
deleted file mode 100644
index 5b70f48d4276..000000000000
--- a/sys-fs/udev/files/digest-udev-034-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 38488100701063f8f567644a07fe11c4 udev-034.tar.bz2 371749
diff --git a/sys-fs/udev/files/digest-udev-035 b/sys-fs/udev/files/digest-udev-035
deleted file mode 100644
index 92ded0e64132..000000000000
--- a/sys-fs/udev/files/digest-udev-035
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b4de833f8afd0ded074bc2d389b48f24 udev-035.tar.bz2 372218
diff --git a/sys-fs/udev/files/digest-udev-036 b/sys-fs/udev/files/digest-udev-036
deleted file mode 100644
index eb12e2ade8b7..000000000000
--- a/sys-fs/udev/files/digest-udev-036
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1b29a39b4a3139449e76447a621456e4 udev-036.tar.bz2 370577
diff --git a/sys-fs/udev/files/digest-udev-038 b/sys-fs/udev/files/digest-udev-038
deleted file mode 100644
index fedb448ec5f3..000000000000
--- a/sys-fs/udev/files/digest-udev-038
+++ /dev/null
@@ -1 +0,0 @@
-MD5 39e835bc25aece2c91d6b49a8514ff5c udev-038.tar.bz2 374194
diff --git a/sys-fs/udev/files/digest-udev-039 b/sys-fs/udev/files/digest-udev-039
deleted file mode 100644
index 61d9433af873..000000000000
--- a/sys-fs/udev/files/digest-udev-039
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4c28bd5a53f2be408c8d3a66aa1bafe8 udev-039.tar.bz2 381657
diff --git a/sys-fs/udev/files/digest-udev-040 b/sys-fs/udev/files/digest-udev-040
deleted file mode 100644
index cb024bcdf2a0..000000000000
--- a/sys-fs/udev/files/digest-udev-040
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e97a5260bf9a8f23ba3a369a48804731 udev-040.tar.bz2 379246
diff --git a/sys-fs/udev/files/digest-udev-044 b/sys-fs/udev/files/digest-udev-044
deleted file mode 100644
index 4857da6f51a8..000000000000
--- a/sys-fs/udev/files/digest-udev-044
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b149f9b799bf83151fc784c7d02d8768 udev-044.tar.bz2 381263
diff --git a/sys-fs/udev/udev-024-r1.ebuild b/sys-fs/udev/udev-024-r1.ebuild
deleted file mode 100644
index 92b67a9d615c..000000000000
--- a/sys-fs/udev/udev-024-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-024-r1.ebuild,v 1.9 2004/12/10 01:38:06 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~mips ~alpha arm hppa amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "9c319a3ec523f5407e0fc12a9da4f713 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id"
-
- # DBUS support?
- # disabled for now as it's currently broken.
-# if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
-# then
-# myconf="USE_DBUS=true"
-# fi
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- newins etc/udev/udev.rules.gentoo udev.rules
- # Our own custom udev.permissions
- newins etc/udev/udev.permissions.gentoo udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # DBUS support?
-# if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
-# then
-# insinto /etc/dbus-1/system.d
-# doins etc/dbus-1/system.d/udev_sysbus_policy.conf
-# fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-
- # Blow away any old 05-wait_for_sysfs.hotplug links,
- # as the program is now gone.
- if [ -f "${ROOT}/etc/hotplug.d/default/05-wait_for_sysfs.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/05-wait_for_sysfs.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-025-r1.ebuild b/sys-fs/udev/udev-025-r1.ebuild
deleted file mode 100644
index 82fe55ba9792..000000000000
--- a/sys-fs/udev/udev-025-r1.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-025-r1.ebuild,v 1.8 2004/09/03 19:16:59 pvdabeel Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~mips ~alpha arm ~hppa amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1b240acdcf4cbfacf9b749b55271e26b -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id"
-
- # DBUS support?
- # disabled for now as it's currently broken.
-# if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
-# then
-# myconf="USE_DBUS=true"
-# fi
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # DBUS support?
-# if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
-# then
-# insinto /etc/dbus-1/system.d
-# doins etc/dbus-1/system.d/udev_sysbus_policy.conf
-# fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-026-r1.ebuild b/sys-fs/udev/udev-026-r1.ebuild
deleted file mode 100644
index 972fac030390..000000000000
--- a/sys-fs/udev/udev-026-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-026-r1.ebuild,v 1.4 2004/06/30 18:43:52 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc mips ~alpha ~arm ~hppa ~amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1b240acdcf4cbfacf9b749b55271e26b -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-027.ebuild b/sys-fs/udev/udev-027.ebuild
deleted file mode 100644
index 2e3e423be82a..000000000000
--- a/sys-fs/udev/udev-027.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-027.ebuild,v 1.3 2004/06/30 18:43:52 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1b240acdcf4cbfacf9b749b55271e26b -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-028.ebuild b/sys-fs/udev/udev-028.ebuild
deleted file mode 100644
index a57c77b0304e..000000000000
--- a/sys-fs/udev/udev-028.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-028.ebuild,v 1.2 2004/06/30 18:43:52 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1b240acdcf4cbfacf9b749b55271e26b -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-029.ebuild b/sys-fs/udev/udev-029.ebuild
deleted file mode 100644
index 5478d3fc69a5..000000000000
--- a/sys-fs/udev/udev-029.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-029.ebuild,v 1.2 2004/07/10 22:51:42 ciaranm Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc -sparc ~mips ~alpha ~arm ~hppa ~amd64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1b240acdcf4cbfacf9b749b55271e26b -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend udevstart
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-031.ebuild b/sys-fs/udev/udev-031.ebuild
deleted file mode 100644
index fecd5193b4df..000000000000
--- a/sys-fs/udev/udev-031.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-031.ebuild,v 1.1 2004/09/10 21:40:12 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "ff28abea57b791ccf798938b0c05fd5e -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
-# local extras="extras/scsi_id extras/volume_id" volume_id has build issues...
- local extras="extras/scsi_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend
- dosbin extras/scsi_id/scsi_id
- dosym /sbin/udev /sbin/udevstart
-# dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-032.ebuild b/sys-fs/udev/udev-032.ebuild
deleted file mode 100644
index e008e13d0904..000000000000
--- a/sys-fs/udev/udev-032.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-032.ebuild,v 1.2 2004/09/21 23:26:47 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "ff28abea57b791ccf798938b0c05fd5e -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
-# local extras="extras/scsi_id extras/volume_id" volume_id has build issues...
- local extras="extras/scsi_id"
-
- # Device-mapper support?
- if false
- then
- extras="${extras} extras/multipath"
- fi
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo udevtest
- into /
- dosbin udev udevd udevsend
- dosbin extras/scsi_id/scsi_id
- dosym /sbin/udev /sbin/udevstart
-# dosbin extras/volume_id/udev_volume_id
- # Device-mapper support?
- if false
- then
- dosbin extras/multipath/{multipath,devmap_name}
- exeinto /etc/hotplug.d/scsi/
- doexe extras/multipath/multipath.hotplug
- fi
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
-# doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-033.ebuild b/sys-fs/udev/udev-033.ebuild
deleted file mode 100644
index c0914dcbb4a4..000000000000
--- a/sys-fs/udev/udev-033.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-033.ebuild,v 1.1 2004/10/07 00:41:55 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- into /
- dobin udevinfo
- dobin udevtest
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
- # stupid portage handling of /etc files,
- # all I want to do is delete the old udev.hotplug file...
- exeinto /etc/hotplug.d/default
- newexe ${FILESDIR}/udev.hotplug.empty udev.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-034-r1.ebuild b/sys-fs/udev/udev-034-r1.ebuild
deleted file mode 100644
index a136d0126423..000000000000
--- a/sys-fs/udev/udev-034-r1.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-034-r1.ebuild,v 1.2 2004/10/10 04:23:34 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-034.ebuild b/sys-fs/udev/udev-034.ebuild
deleted file mode 100644
index a5420b5c51d9..000000000000
--- a/sys-fs/udev/udev-034.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-034.ebuild,v 1.2 2004/10/08 01:49:20 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- into /
- dobin udevinfo
- dobin udevtest
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-035.ebuild b/sys-fs/udev/udev-035.ebuild
deleted file mode 100644
index 976f8cc0f9c7..000000000000
--- a/sys-fs/udev/udev-035.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-035.ebuild,v 1.1 2004/10/12 00:36:38 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-036.ebuild b/sys-fs/udev/udev-036.ebuild
deleted file mode 100644
index 9ac6aee82495..000000000000
--- a/sys-fs/udev/udev-036.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-036.ebuild,v 1.1 2004/10/12 21:08:52 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-038.ebuild b/sys-fs/udev/udev-038.ebuild
deleted file mode 100644
index 7e5b2b4b7466..000000000000
--- a/sys-fs/udev/udev-038.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-038.ebuild,v 1.1 2004/10/14 00:06:01 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-039.ebuild b/sys-fs/udev/udev-039.ebuild
deleted file mode 100644
index 521a69880d3b..000000000000
--- a/sys-fs/udev/udev-039.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-039.ebuild,v 1.1 2004/10/15 22:35:01 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "2ad43ee9c7a5a0bec284725755403ee0 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-040.ebuild b/sys-fs/udev/udev-040.ebuild
deleted file mode 100644
index c0f26eed35a3..000000000000
--- a/sys-fs/udev/udev-040.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-040.ebuild,v 1.1 2004/10/19 00:38:24 gregkh Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE=""
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "1c1eb889840290d4e5556886fe666b84 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}
diff --git a/sys-fs/udev/udev-044.ebuild b/sys-fs/udev/udev-044.ebuild
deleted file mode 100644
index 1a1c466d4263..000000000000
--- a/sys-fs/udev/udev-044.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-044.ebuild,v 1.2 2004/11/15 19:04:30 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="static"
-
-DEPEND="virtual/libc
- sys-apps/hotplug-base"
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-PROVIDE="virtual/dev-manager"
-
-if use static
-then
- USE_KLIBC=true
-else
- USE_KLIBC=false
-fi
-export USE_KLIBC
-
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "true" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # patches go here...
- # epatch ${FILESDIR}/${P}-udev_add_c-gcc295-compat.patch
-
- # 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 there is no sudden changes to udev.rules.gentoo
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.gentoo"`" != \
- "bf9bc2cbf836ed9c394a394d05433709 -" ]
- then
- echo
- eerror "udev.rules.gentoo has been updated, please validate!"
- die "udev.rules.gentoo has been updated, please validate!"
- fi
-}
-
-src_compile() {
- local myconf=
- local extras="extras/scsi_id extras/volume_id"
-
- # Do not work with emake
- make EXTRAS="${extras}" \
- udevdir="/dev/" \
- ${myconf} || die
-}
-
-src_install() {
- dobin udevinfo
- dobin udevtest
- into /
- dosbin udev
- dosbin udevd
- dosbin udevsend
- dosbin wait_for_sysfs
- dosbin extras/scsi_id/scsi_id
- dosbin extras/volume_id/udev_volume_id
- dosym /sbin/udev /sbin/udevstart
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
- doexe extras/scsi-devfs.sh
- doexe extras/cdsymlinks.sh
-
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_024 udev.conf
- doins extras/cdsymlinks.conf
-
- # For devfs style layout
- insinto /etc/udev/rules.d/
- newins etc/udev/udev.rules.gentoo 50-udev.rules
-
- # Our own custom udev.permissions
- insinto /etc/udev/permissions.d/
- newins etc/udev/udev.permissions.gentoo 50-udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up symlinks in /etc/hotplug.d/default
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udevsend /etc/hotplug.d/default/10-udev.hotplug
- dosym ../../../sbin/wait_for_sysfs /etc/hotplug.d/default/05-wait_for_sysfs.hotplug
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe etc/dev.d/net/hotplug.dev
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ HOWTO-udev_for_dev README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs,RFC-dev.d}
- newdoc extras/volume_id/README README_volume_id
-}
-
-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
-
- # delete the old udev.hotplug symlink if it is present
- if [ -f "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
-}