diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-11-07 21:44:15 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-11-07 21:44:15 +0000 |
commit | 05110bd5f19dcd9c8c9b307e53b46abdacd0be07 (patch) | |
tree | 694172b08365c03b2b77f9baf3729aa04a0b2a9f /sys-fs | |
parent | Update to build against external libsysfs. (diff) | |
download | gentoo-2-05110bd5f19dcd9c8c9b307e53b46abdacd0be07.tar.gz gentoo-2-05110bd5f19dcd9c8c9b307e53b46abdacd0be07.tar.bz2 gentoo-2-05110bd5f19dcd9c8c9b307e53b46abdacd0be07.zip |
Update to build against external libsysfs.
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/udev/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/udev/files/digest-udev-005-r1 | 1 | ||||
-rw-r--r-- | sys-fs/udev/udev-005-r1.ebuild | 72 |
4 files changed, 81 insertions, 3 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 1ced0cdbb5a7..875a37358841 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/udev # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.7 2003/10/23 20:23:09 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.8 2003/11/07 21:44:07 azarah Exp $ + +*udev-005-r1 (07 Nov 2003) + + 07 Nov 2003; Martin Schlemmer <azarah@gentoo.org> udev-005-r1.ebuild: + FUpdate to build against external libsysfs. *udev-005 (23 Oct 2003) diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest index 3337a0fc7fc2..db04055f44f1 100644 --- a/sys-fs/udev/Manifest +++ b/sys-fs/udev/Manifest @@ -1,7 +1,7 @@ -MD5 72510b2f59dc1fd002ba8ce63abbdcad ChangeLog 1535 +MD5 d946528b5d2a5ed7e7ca558f7efa0c7d ChangeLog 1683 MD5 bb941a13588f122cda62f71eb5639deb udev-005.ebuild 1732 MD5 7bcfbb3f4f8989b4124402541419d845 udev-003.ebuild 1454 -MD5 94b1f0d41e49848c8afc879df8e58c5f udev-005-r1.ebuild 1750 +MD5 80b328009155e14e1423314abb4bd4da udev-005-r1.ebuild 1762 MD5 85e3f37acd01752bdb603e593852b74f udev-004.ebuild 1554 MD5 75eb84a1c3c02f826c30771549a520ce files/udev-004-label-fixes.patch 1895 MD5 6a2ddd6bc79a92b74b4da57f442504d4 files/digest-udev-003 61 diff --git a/sys-fs/udev/files/digest-udev-005-r1 b/sys-fs/udev/files/digest-udev-005-r1 new file mode 100644 index 000000000000..c9673a4e57d8 --- /dev/null +++ b/sys-fs/udev/files/digest-udev-005-r1 @@ -0,0 +1 @@ +MD5 66fabb537fc4c844b66eb0146cd8bf08 udev-005.tar.bz2 206007 diff --git a/sys-fs/udev/udev-005-r1.ebuild b/sys-fs/udev/udev-005-r1.ebuild new file mode 100644 index 000000000000..3c5760874e1a --- /dev/null +++ b/sys-fs/udev/udev-005-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-005-r1.ebuild,v 1.1 2003/11/07 21:44:07 azarah Exp $ + +DESCRIPTION="udev - Linux dynamic device naming support (aka userspace devfs)" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/glibc + >=sys-apps/hotplug-20030805-r1 + >=sys-fs/sysfsutils-0.3.0" + +src_unpack() { + unpack ${A} + + cd ${S} + # No need to clutter the logs ... + sed -ie '/^DEBUG/ c\DEBUG = false' Makefile + # Do not use optimization flags from the package + sed -ie 's|$(OPTIMIZATION)||g' Makefile + + # Make sure we do not build included libsysfs, but link to + # one in sysfsutils ... + rm -rf ${S}/libsysfs + cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs +} + +src_compile() { + # Do not work with emake + make udevdir="/dev/" \ + ARCH_LIB_OBJS="-lsysfs" \ + SYSFS="" || die +} + +src_install() { + into / + dosbin udev + + insinto /etc/udev + doins udev.config +# doins ${FILESDIR}/namedev.permissions + doins udev.permissions + + dodir /etc/hotplug.d/default + dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug + + doman udev.8 + + dodoc COPYING ChangeLog FAQ README TODO + dodoc docs/{overview,udev-OLS2003.pdf} +} + +pkg_postinst() { + # There changed names ... + if [ -f "${ROOT}/etc/udev/namedev.config" -a \ + ! -f "${ROOT}/etc/udev/udev.config" ] + then + mv -f ${ROOT}/etc/udev/namedev.config \ + ${ROOT}/etc/udev/udev.config + fi + if [ -f "${ROOT}/etc/udev/namedev.permissions" -a \ + ! -f "${ROOT}/etc/udev/udev.permissions" ] + then + mv -f ${ROOT}/etc/udev/namedev.permissions \ + ${ROOT}/etc/udev/udev.permissions + fi +} + |