summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2006-09-12 05:49:25 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2006-09-12 05:49:25 +0000
commitb3bf0e446e604422908cf0bab353becbacc58d70 (patch)
tree0675a06d1391fd70fc56fff933daace2b3a749e6 /sys-fs/udev
parentremove buggy 100-r1 ebuild (diff)
downloadgentoo-2-b3bf0e446e604422908cf0bab353becbacc58d70.tar.gz
gentoo-2-b3bf0e446e604422908cf0bab353becbacc58d70.tar.bz2
gentoo-2-b3bf0e446e604422908cf0bab353becbacc58d70.zip
remove buggy 100-r1 ebuild
(Portage version: 2.1.1) (Unsigned Manifest commit)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/Manifest15
-rw-r--r--sys-fs/udev/files/digest-udev-100-r13
-rw-r--r--sys-fs/udev/udev-100-r1.ebuild318
3 files changed, 4 insertions, 332 deletions
diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest
index 452feeb79b3e..c8dc79ef2783 100644
--- a/sys-fs/udev/Manifest
+++ b/sys-fs/udev/Manifest
@@ -210,10 +210,6 @@ EBUILD udev-099.ebuild 10901 RMD160 21c9d4d3d23c0e84c1c36dd14ff1fe9ab20a26a1 SHA
MD5 e3e5626663681b1a4527416195508c43 udev-099.ebuild 10901
RMD160 21c9d4d3d23c0e84c1c36dd14ff1fe9ab20a26a1 udev-099.ebuild 10901
SHA256 5edc702bc9eebf3a8fb0a171720e9be089cc433be4d5e8acadd4145727b27ce7 udev-099.ebuild 10901
-EBUILD udev-100-r1.ebuild 11300 RMD160 e8cd70c772aa7229f1189e53ece787d78905b652 SHA1 de559641193243d121f29c4d9ec23ea51e35836a SHA256 69f6e937a0daa2dc786811f014c8bd5b60710698eb98179eb34ec28a815ebf00
-MD5 ccf3de8d5cce5a5a50cf9557b4674359 udev-100-r1.ebuild 11300
-RMD160 e8cd70c772aa7229f1189e53ece787d78905b652 udev-100-r1.ebuild 11300
-SHA256 69f6e937a0daa2dc786811f014c8bd5b60710698eb98179eb34ec28a815ebf00 udev-100-r1.ebuild 11300
EBUILD udev-100-r2.ebuild 11361 RMD160 fa1610088db4a46ce3bdebb7cff4278a31814b92 SHA1 925b3549e589d3f91d224485d69bae4380e36560 SHA256 61d4f034130ac458fa400672f30fd3c0994c542ab53dfed193e20d2d99e7a1e8
MD5 54e0c027286da3e05e3e182913c71950 udev-100-r2.ebuild 11361
RMD160 fa1610088db4a46ce3bdebb7cff4278a31814b92 udev-100-r2.ebuild 11361
@@ -222,10 +218,10 @@ EBUILD udev-100.ebuild 10901 RMD160 f16e2d9278ad0fa9457e39a9687db8fbe62d9c58 SHA
MD5 faa422dda3f247b1afaa34d459eebf86 udev-100.ebuild 10901
RMD160 f16e2d9278ad0fa9457e39a9687db8fbe62d9c58 udev-100.ebuild 10901
SHA256 446afef45c28b445f9c22fd9f5452613dd4edc1a8e84a98b05cd20ce8d01ccd8 udev-100.ebuild 10901
-MISC ChangeLog 38525 RMD160 9d7962bd6b38e94476e3020c56ad1c30390bd7f5 SHA1 32ec79663504ff3a589ab4a30591075c66e749d2 SHA256 018e4df6beb5026aafc442abcd74d73a212deb87fb07a0205981b17532a06840
-MD5 a4626fcce5cda29be05c21c692e27c02 ChangeLog 38525
-RMD160 9d7962bd6b38e94476e3020c56ad1c30390bd7f5 ChangeLog 38525
-SHA256 018e4df6beb5026aafc442abcd74d73a212deb87fb07a0205981b17532a06840 ChangeLog 38525
+MISC ChangeLog 38630 RMD160 12ae1e5f57b0766b46584b8cb1b367e40691c429 SHA1 b56862edf91dbe5b34f7954ea177438acaa1040b SHA256 a13041ba23b10d84053c138076a75f310c21927bfb106e10e1e81899522bf3d3
+MD5 5ff5aa6dc69232aa822d3737ef17ff35 ChangeLog 38630
+RMD160 12ae1e5f57b0766b46584b8cb1b367e40691c429 ChangeLog 38630
+SHA256 a13041ba23b10d84053c138076a75f310c21927bfb106e10e1e81899522bf3d3 ChangeLog 38630
MISC metadata.xml 260 RMD160 f1b0916156eade656b558b7507109b69ed78d394 SHA1 3e34c50d52c32d6524b8de2d553e62a40798c043 SHA256 31722725c8bf774ad90600f7a3f50f2ca76c1396aad6888ce1cc08ce981b1552
MD5 075d5a933d6175160a02ddf15bd4f454 metadata.xml 260
RMD160 f1b0916156eade656b558b7507109b69ed78d394 metadata.xml 260
@@ -260,9 +256,6 @@ SHA256 03fe735e792bf2cfd1a1832a202cdcd8f1d3298a3373eb4ff6b69efe56766b64 files/di
MD5 1164667e6492c37edc6ce9ef2fb109ed files/digest-udev-100 229
RMD160 cf5425fc06f42ae72ad61ea195f0e64f2444ee28 files/digest-udev-100 229
SHA256 b3f9795c890f236bb5fea71fd0bb360921ad749c65c0f1163c0b9dc0f8ff098d files/digest-udev-100 229
-MD5 1164667e6492c37edc6ce9ef2fb109ed files/digest-udev-100-r1 229
-RMD160 cf5425fc06f42ae72ad61ea195f0e64f2444ee28 files/digest-udev-100-r1 229
-SHA256 b3f9795c890f236bb5fea71fd0bb360921ad749c65c0f1163c0b9dc0f8ff098d files/digest-udev-100-r1 229
MD5 1164667e6492c37edc6ce9ef2fb109ed files/digest-udev-100-r2 229
RMD160 cf5425fc06f42ae72ad61ea195f0e64f2444ee28 files/digest-udev-100-r2 229
SHA256 b3f9795c890f236bb5fea71fd0bb360921ad749c65c0f1163c0b9dc0f8ff098d files/digest-udev-100-r2 229
diff --git a/sys-fs/udev/files/digest-udev-100-r1 b/sys-fs/udev/files/digest-udev-100-r1
deleted file mode 100644
index b4022f69b57e..000000000000
--- a/sys-fs/udev/files/digest-udev-100-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f1f7e7d8f9a438b7a63d0d6443961d1c udev-100.tar.bz2 197628
-RMD160 110903eda55348131ca412c4f4a9d539e5a35bdb udev-100.tar.bz2 197628
-SHA256 ca1f83735bd9fc70b534c846e4214394f0297f6a32d1d9252e08ad796d0d94b6 udev-100.tar.bz2 197628
diff --git a/sys-fs/udev/udev-100-r1.ebuild b/sys-fs/udev/udev-100-r1.ebuild
deleted file mode 100644
index 261cef54a966..000000000000
--- a/sys-fs/udev/udev-100-r1.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-100-r1.ebuild,v 1.1 2006/09/11 16:07:20 gregkh Exp $
-
-inherit eutils flag-o-matic multilib
-
-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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-# still rely on hotplug (need to fix that), but now we implement coldplug
-
-DEPEND="sys-apps/hotplug-base"
-RDEPEND="!sys-apps/coldplug"
-RDEPEND="${DEPEND} ${RDEPEND}
- >=sys-apps/baselayout-1.11.14"
-# We need the lib/rcscripts/addon support
-PROVIDE="virtual/dev-manager"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- # patches go here...
- #epatch ${FILESDIR}/${P}-udev_volume_id.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 ...)
- MD5=`md5sum < "${S}/etc/udev/gentoo/udev.rules"`
- MD5=${MD5/ -/}
- if [ "${MD5}" != "295a9b7bdc8bdb239f8860d14af761b0" ]
- then
- echo
- eerror "gentoo/udev.rules has been updated, please validate!"
- die "gentoo/udev.rules has been updated, please validate!"
- fi
-}
-
-src_compile() {
- filter-flags -fprefetch-loop-arrays
- local myconf=
- local extras="extras/ata_id \
- extras/cdrom_id \
- extras/dasd_id \
- extras/edd_id \
- extras/firmware \
- extras/floppy \
- extras/path_id \
- extras/run_directory \
- extras/scsi_id \
- extras/usb_id \
- extras/volume_id \
- extras/rule_generator"
-
- use selinux && myconf="${myconf} USE_SELINUX=true"
-
- # Not everyone has full $CHOST-{ld,ar,etc...} yet
- local mycross=""
- type -p ${CHOST}-ar && mycross=${CHOST}-
-
- echo "get_libdir = $(get_libdir)"
- # Do not work with emake
- make \
- EXTRAS="${extras}" \
- udevdir="/dev/" \
- CROSS_COMPILE=${mycross} \
- ${myconf} || die
-}
-
-src_install() {
- # we install everything by "hand" and don't rely on the udev Makefile to do
- # it for us (why? it's easier that way...)
- dobin udevinfo || die "Required binary not installed properly"
- dobin udevtest || die "Required binary not installed properly"
- dobin udevmonitor || die "Required binary not installed properly"
- into /
- #dosbin udev || die "Required binary not installed properly"
- dosbin udevd || die "Required binary not installed properly"
- #dosbin udevsend || die "Required binary not installed properly"
- dosbin udevstart || die "Required binary not installed properly"
- dosbin udevtrigger || die "Required binary not installed properly"
- dosbin udevcontrol || die "Required binary not installed properly"
- dosbin udevsettle || die "Required binary not installed properly"
- # Helpers
- exeinto /$(get_libdir)/udev
- doexe extras/run_directory/udev_run_devd || die "Required helper not installed properly"
- doexe extras/run_directory/udev_run_hotplugd || die "Required helper not installed properly"
- doexe extras/ata_id/ata_id || die "Required helper not installed properly"
- doexe extras/volume_id/vol_id || die "Required helper not installed properly"
- doexe extras/scsi_id/scsi_id || die "Required helper not installed properly"
- doexe extras/usb_id/usb_id || die "Required helper not installed properly"
- doexe extras/path_id/path_id || die "Required helper not installed properly"
- doexe extras/cdrom_id/cdrom_id || die "Required helper not installed properly"
- doexe extras/dasd_id/dasd_id || die "Required helper not installed properly"
- doexe extras/edd_id/edd_id || die "Required helper not installed properly"
- doexe extras/rule_generator/write_cd_rules || die "Required helper not installed properly"
- doexe extras/rule_generator/write_net_rules || die "Required helper not installed properly"
- doexe extras/rule_generator/rule_generator.functions || die "Required helper not installed properly"
- keepdir /$(get_libdir)/udev/state
-
- # vol_id library (needed by mount and HAL)
- dolib extras/volume_id/lib/*.a extras/volume_id/lib/*.so*
- # move the .a files to /usr/lib
- dodir /usr/$(get_libdir)
- mv -f "${D}"/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/
-
- # handle static linking bug #4411
- gen_usr_ldscript libvolume_id.so
-
- # save pkgconfig info
- insinto /usr/$(get_libdir)/pkgconfig
- doins extras/volume_id/lib/*.pc
-
- #exeinto /etc/udev/scripts
- exeinto /lib/udev
- #doexe extras/ide-devfs.sh
- #doexe extras/scsi-devfs.sh
- #doexe extras/raid-devfs.sh
- doexe extras/floppy/create_floppy_devices || die "Required binary not installed properly"
- doexe extras/firmware/firmware.sh || die "Required binary not installed properly"
- doexe ${FILESDIR}/seq_node.sh || die "Required binary not installed properly"
-
- # Our udev config file
- insinto /etc/udev
- newins ${FILESDIR}/udev.conf.post_081 udev.conf
-
- # Our rules files
- insinto /etc/udev/rules.d/
- newins etc/udev/gentoo/udev.rules 50-udev.rules
- newins ${FILESDIR}/udev.rules-098 50-udev.rules
- newins ${FILESDIR}/05-udev-early.rules-079 05-udev-early.rules
- # Use upstream's persistent rules for devices
- doins etc/udev/rules.d/60-*.rules
- doins extras/rule_generator/75-*.rules || die "rules not installed properly"
-
- # scsi_id configuration
- insinto /etc
- doins extras/scsi_id/scsi_id.config
-
- # set up the /etc/dev.d directory tree
- dodir /etc/dev.d/default
- dodir /etc/dev.d/net
- exeinto /etc/dev.d/net
- doexe extras/run_directory/dev.d/net/hotplug.dev
-
- # all of the man pages
- doman *.7
- doman *.8
- doman extras/ata_id/ata_id.8
- doman extras/edd_id/edd_id.8
- doman extras/scsi_id/scsi_id.8
- doman extras/volume_id/vol_id.8
- doman extras/dasd_id/dasd_id.8
- doman extras/cdrom_id/cdrom_id.8
- # create a extra symlink for udevcontrol
- ln -s "${D}"/usr/share/man/man8/udevd.8.gz \
- "${D}"/usr/share/man/man8/udevcontrol.8.gz
-
- # our udev hooks into the rc system
- insinto /lib/rcscripts/addons
- newins "${FILESDIR}"/udev-start-099.sh udev-start.sh
- doins "${FILESDIR}"/udev-stop.sh
-
- # needed to compile latest Hal
- insinto /usr/include
- doins extras/volume_id/lib/libvolume_id.h
-
- dodoc ChangeLog FAQ README TODO RELEASE-NOTES
- dodoc docs/{overview,udev_vs_devfs}
- dodoc docs/writing_udev_rules/*
-
- newdoc extras/volume_id/README README_volume_id
-
-}
-
-pkg_preinst() {
- if [[ -d ${ROOT}/$(get_libdir)/udev-state ]] ; then
- mv -f "${ROOT}"/$(get_libdir)/udev-state/* "${D}"/$(get_libdir)/udev/state/
- rm -r "${ROOT}"/$(get_libdir)/udev-state
- fi
-
- 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 [ -h "${ROOT}/etc/hotplug.d/default/udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/udev.hotplug
- fi
-
- # delete the old wait_for_sysfs.hotplug symlink if it is present
- if [ -h "${ROOT}/etc/hotplug.d/default/05-wait_for_sysfs.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/05-wait_for_sysfs.hotplug
- fi
-
- # delete the old wait_for_sysfs.hotplug symlink if it is present
- if [ -h "${ROOT}/etc/hotplug.d/default/10-udev.hotplug" ]
- then
- rm -f ${ROOT}/etc/hotplug.d/default/10-udev.hotplug
- fi
-
- # is there a stale coldplug initscript? (CONFIG_PROTECT leaves it behind)
- coldplug_stale=""
- if [ -f "${ROOT}/etc/init.d/coldplug" ]
- then
- coldplug_stale="1"
- fi
-
- # Create some nodes that we know we need.
- # set the time/date so we can see in /dev which ones we copied over
- # in the udev-start.sh script
- mkdir -p ${ROOT}/lib/udev/devices
-
- if [ ! -e ${ROOT}/lib/udev/devices/null ] ; then
- mknod ${ROOT}/lib/udev/devices/null c 1 3
- fi
- chmod 666 ${ROOT}/lib/udev/devices/null
- touch -t 200010220101 ${ROOT}/lib/udev/devices/null
-
- if [ ! -e ${ROOT}/lib/udev/devices/zero ] ; then
- mknod ${ROOT}/lib/udev/devices/zero c 1 5
- fi
- chmod 666 ${ROOT}/lib/udev/devices/zero
- touch -t 200010220101 ${ROOT}/lib/udev/devices/zero
-
- if [ ! -e ${ROOT}/lib/udev/devices/console ] ; then
- mknod ${ROOT}/lib/udev/devices/console c 5 1
- fi
- chmod 600 ${ROOT}/lib/udev/devices/console
- chown root:tty ${ROOT}/lib/udev/devices/console
- touch -t 200010220101 ${ROOT}/lib/udev/devices/console
-
- if [ ! -e ${ROOT}/lib/udev/devices/urandom ] ; then
- mknod ${ROOT}/lib/udev/devices/urandom c 1 9
- fi
- chmod 666 ${ROOT}/lib/udev/devices/urandom
- touch -t 200010220101 ${ROOT}/lib/udev/devices/urandom
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" -a -n "`pidof udevd`" ]
- then
- killall -15 udevd &>/dev/null
- sleep 1
- killall -9 udevd &>/dev/null
- fi
- /sbin/udevd --daemon
-
- # people want reminders, I'll give them reminders. Odds are they will
- # just ignore them anyway...
- if has_version '<sys-fs/udev-046' ; then
- ewarn "Note: If you rely on the output of udevinfo for anything, please"
- ewarn " either run 'udevstart' now, or reboot, in order to get a"
- ewarn " up-to-date udev database."
- ewarn
- fi
- if has_version '<sys-fs/udev-050' ; then
- ewarn "Note: If you had written some custom permissions rules, please"
- ewarn " realize that the permission rules are now part of the main"
- ewarn " udev rules files and are not stand-alone anymore. This means"
- ewarn " you need to rewrite them."
- ewarn
- fi
- if has_version '<sys-fs/udev-059' ; then
- ewarn "Note: If you are upgrading from a version of udev prior to 059"
- ewarn " and you have written custom rules, and rely on the etc/dev.d/"
- ewarn " functionality, or the etc/hotplug.d functionality, or just"
- ewarn " want to write some very cool and power udev rules, please "
- ewarn " read the RELEASE-NOTES file for details on what has changed"
- ewarn " with this feature, and how to change your rules to work properly."
- ewarn
- elif has_version '<sys-fs/udev-057' ; then
- ewarn "Note: If you have written custom rules, and rely on the etc/dev.d/"
- ewarn " functionality, please read the RELEASE-NOTES file for details"
- ewarn " on what has changed with this feature, and how to change your"
- ewarn " rules to work properly."
- ewarn
- fi
- if has_version '<sys-fs/udev-063' ; then
- ewarn "Note: If you use the devfs-style names for your block devices"
- ewarn " or use devfs-style names in /etc/inittab or /etc/securetty or"
- ewarn " your GRUB or LILO kernel boot command line, you need to"
- ewarn " change them back to LSB compliant names, as the devfs names are"
- ewarn " now gone. If you wish to use some persistent names for your"
- ewarn " block devices, look at the symlinks in /dev/disk/ for the names"
- ewarn " you can use."
- ewarn
- fi
-
- if [[ ${coldplug_stale} == "1" ]] ; then
- ewarn "A stale coldplug init script found. You should run:"
- ewarn
- ewarn " rc-update del coldplug"
- ewarn " rm -f /etc/init.d/coldplug"
- ewarn
- ewarn "udev now provides its own coldplug functionality."
- fi
-
- einfo
- einfo "For more information on udev on Gentoo, writing udev rules, and"
- einfo " fixing known issues visit:"
- einfo " http://www.gentoo.org/doc/en/udev-guide.xml"
-}