diff options
author | Greg Kroah-Hartman <gregkh@gentoo.org> | 2004-03-25 00:51:24 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@gentoo.org> | 2004-03-25 00:51:24 +0000 |
commit | 07bae7c52c7a77856e8902ab13460c95c39cd28d (patch) | |
tree | 17e7f1c29cffc7fed58707dcde95fa46707ebe7c | |
parent | use cp instead of dohtml (selfhtml does not only contain dohtml-related filet... (diff) | |
download | gentoo-2-07bae7c52c7a77856e8902ab13460c95c39cd28d.tar.gz gentoo-2-07bae7c52c7a77856e8902ab13460c95c39cd28d.tar.bz2 gentoo-2-07bae7c52c7a77856e8902ab13460c95c39cd28d.zip |
udev 023 bump
-rw-r--r-- | sys-fs/udev/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/udev/Manifest | 12 | ||||
-rw-r--r-- | sys-fs/udev/files/digest-udev-023-r1 | 1 | ||||
-rw-r--r-- | sys-fs/udev/udev-023-r1.ebuild | 148 |
4 files changed, 163 insertions, 6 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 213dbab59ae6..174c607c8f82 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/udev # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.40 2004/03/23 02:10:18 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.41 2004/03/25 00:51:24 gregkh Exp $ + + 24 Mar 2004; Greg Kroah-Hartman <gregkh@gentoo.org> : + Took k the sysfsutils dependancy off, as it is onot needed. + + Bump to 023 release + Remove DBUS support as it is currently broken in 023 22 Mar 2004; Joshua Kinard <kumba@gentoo.org> udev-022-r1.ebuild: Added ~mips to KEYWORDS. diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest index c8ae0465b843..c2314a944d66 100644 --- a/sys-fs/udev/Manifest +++ b/sys-fs/udev/Manifest @@ -9,6 +9,7 @@ MD5 d6a005716788def549504def5d79adf7 udev-019-r2.ebuild 3784 MD5 747ac68ee7604c5c96bb33f6e189b1d1 udev-019-r3.ebuild 3884 MD5 0a5fd647aa0c1cff0dda9c68d75c5a29 udev-021-r1.ebuild 3844 MD5 2b332e1c8a1b9d64b37278ff1019e065 udev-022-r1.ebuild 3866 +MD5 12f67cbff65b19cef0a6fcbb6c36b71d udev-023-r1.ebuild 3541 MD5 a6c3a71920f59dc127d418d7ba3c6a77 files/digest-udev-016-r2 62 MD5 c7b3c31e1f8d7843d2b3672cf5f120c1 files/digest-udev-017-r1 61 MD5 6cf3f436068259264e186080dbdf6640 files/digest-udev-018-r3 61 @@ -17,15 +18,16 @@ MD5 6cf3f436068259264e186080dbdf6640 files/digest-udev-018-r5 61 MD5 91f1152f7d02618431a13385f361049e files/digest-udev-019-r2 61 MD5 91f1152f7d02618431a13385f361049e files/digest-udev-019-r3 61 MD5 c646cc33c71e70ad05cc630273712533 files/digest-udev-021-r1 61 -MD5 2307973356422a7496eea98636a8d667 files/digest-udev-022-r1 61 MD5 cf9750c462c35531234ccb5f59b02e6b files/udev-015-no-wait-for-sleep.patch 1617 MD5 61060bbdbb2d023f1b3ed90beabd89de files/udev-016-logging-config-option.patch 4070 -MD5 ab89de7957a7c7e6435203022d1db98a files/udev.conf 1184 -MD5 aba24cfb26a8f0b604a44a0d9ca7f830 files/udev.permissions 3550 -MD5 4c26691abc7f47b0329203056cbcbebc files/udev.rules 3554 -MD5 5a1604faa5c8a1b5cf7a6a66f13fe226 files/udev.rules.post_012 4185 MD5 d0a7b64f76b612bef576c02a48e83caf files/udev-017-no-wait-for-sleep.patch 1673 MD5 073a6bdccda0208ab0e443dd3cb6561a files/udev-018-sysfs-build-fix.patch 3265 MD5 7c0242bfd86f0e0cb928dfb9f7f6edf3 files/udev-019-unlink-existing.patch 1963 MD5 f00e3e0d3382e93cbd0c64fcef99f826 files/udev-021-udev_add_c-gcc295-compat.patch 493 +MD5 ab89de7957a7c7e6435203022d1db98a files/udev.conf 1184 +MD5 aba24cfb26a8f0b604a44a0d9ca7f830 files/udev.permissions 3550 +MD5 4c26691abc7f47b0329203056cbcbebc files/udev.rules 3554 MD5 ba39120cb35ab65a5b77b9036cc83beb files/udev.rules-018 4366 +MD5 5a1604faa5c8a1b5cf7a6a66f13fe226 files/udev.rules.post_012 4185 +MD5 2307973356422a7496eea98636a8d667 files/digest-udev-022-r1 61 +MD5 3163c259f50298207d2bf5b80c92eab1 files/digest-udev-023-r1 61 diff --git a/sys-fs/udev/files/digest-udev-023-r1 b/sys-fs/udev/files/digest-udev-023-r1 new file mode 100644 index 000000000000..9013b530b0bd --- /dev/null +++ b/sys-fs/udev/files/digest-udev-023-r1 @@ -0,0 +1 @@ +MD5 1f900275d2b61196209ca35ea7ae2def udev-023.tar.bz2 334478 diff --git a/sys-fs/udev/udev-023-r1.ebuild b/sys-fs/udev/udev-023-r1.ebuild new file mode 100644 index 000000000000..affddc129041 --- /dev/null +++ b/sys-fs/udev/udev-023-r1.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-023-r1.ebuild,v 1.1 2004/03/25 00:51: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-FAQ" +SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~mips" + +DEPEND="virtual/glibc + >=sys-apps/hotplug-20030805-r1" + +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.devfs + # (more for my own needs than anything else ...) + if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \ + "6cac1f863e51de110aef311301f6d58c -" ] + then + echo + eerror "udev.rules.devfs has been updated, please validate!" + die "udev.rules.devfs 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 ${FILESDIR}/udev.rules-018 udev.rules + # Our own custom 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 + + dodir /etc/dev.d/default + + 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 +} |