# 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.
+++ /dev/null
-MD5 1e9a16f35814975d55c78258f3c4a498 udev-024.tar.bz2 349272
+++ /dev/null
-MD5 4f4c0ace4307cb1c73d9f5365fe6c946 udev-025.tar.bz2 370029
+++ /dev/null
-MD5 bc0abc2fab36802d557de51a29ba6d1a udev-026.tar.bz2 374831
+++ /dev/null
-MD5 2c3eb9345d839013d560992cb6cf7222 udev-027.tar.bz2 375477
+++ /dev/null
-MD5 74053f6276c82d81f2a35afb64c0d178 udev-028.tar.bz2 382700
+++ /dev/null
-MD5 ec35587f00cc688505eadedf2625a5e6 udev-029.tar.bz2 382238
+++ /dev/null
-MD5 6b8ff268db0832ee68f39e411294d3ad udev-031.tar.bz2 388457
+++ /dev/null
-MD5 6df7392c3f5fe44d7cf261a0d2497b99 udev-032.tar.bz2 389531
+++ /dev/null
-MD5 109578b29089116598050a1af78334f5 udev-033.tar.bz2 371239
+++ /dev/null
-MD5 38488100701063f8f567644a07fe11c4 udev-034.tar.bz2 371749
+++ /dev/null
-MD5 38488100701063f8f567644a07fe11c4 udev-034.tar.bz2 371749
+++ /dev/null
-MD5 b4de833f8afd0ded074bc2d389b48f24 udev-035.tar.bz2 372218
+++ /dev/null
-MD5 1b29a39b4a3139449e76447a621456e4 udev-036.tar.bz2 370577
+++ /dev/null
-MD5 39e835bc25aece2c91d6b49a8514ff5c udev-038.tar.bz2 374194
+++ /dev/null
-MD5 4c28bd5a53f2be408c8d3a66aa1bafe8 udev-039.tar.bz2 381657
+++ /dev/null
-MD5 e97a5260bf9a8f23ba3a369a48804731 udev-040.tar.bz2 379246
+++ /dev/null
-MD5 b149f9b799bf83151fc784c7d02d8768 udev-044.tar.bz2 381263
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}