From: Doug Goldstein Date: Fri, 30 Mar 2007 14:37:01 +0000 (+0000) Subject: remove old version. metadata fixes. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e729669937d8176414c961c634bbcc7c7a16caaf;p=gentoo.git remove old version. metadata fixes. Package-Manager: portage-2.1.2.2 --- diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog index 8a623012feb8..c0f5e5b6cd90 100644 --- a/sys-apps/hal/ChangeLog +++ b/sys-apps/hal/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/hal # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.135 2007/03/30 05:46:53 steev Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.136 2007/03/30 14:37:01 cardoe Exp $ + + 30 Mar 2007; Doug Goldstein metadata.xml, + -hal-0.5.7-r3.ebuild, -hal-0.5.7.1-r4.ebuild: + remove old version. metadata fixes. *hal-0.5.9_rc2 (30 Mar 2007) diff --git a/sys-apps/hal/Manifest b/sys-apps/hal/Manifest index 96dbf5878a7f..dfe36c41947e 100644 --- a/sys-apps/hal/Manifest +++ b/sys-apps/hal/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 0.5-hald.rc 681 RMD160 f94d4a6e4ffb3beb84eeeb8e25564fa566ecc493 SHA1 fe413a84ee58cefa923cbc922a1c961fbdb17aa6 SHA256 802f83998c50a3e030d1db2f5a8364e4bb10eebecd464683445d63cf56702161 MD5 facf81eeca7ebddff5d030acb36de31d files/0.5-hald.rc 681 RMD160 f94d4a6e4ffb3beb84eeeb8e25564fa566ecc493 files/0.5-hald.rc 681 @@ -103,20 +106,11 @@ MD5 35750516d24e67c9f24f5f1e0da22ca0 files/hald 522 RMD160 3d15723862416de29b6e2d18c53aec05b05216c3 files/hald 522 SHA256 92f584b631026307485faa9ba386353b6d833349999e052fae0e8e9f82f83b6e files/hald 522 DIST hal-0.5.7.1.tar.gz 1503156 RMD160 2861818b29546bd3628b1bda3d41238cf644c644 SHA1 233b67e724e68f41ec3f53adcfb7d139328c5813 SHA256 f15320c1ec3e5c89307fc0a6fbf75b6619de12c15ce8cc1a689e7bc3f2c0831b -DIST hal-0.5.7.tar.gz 1528632 RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 SHA1 f3962b29f3dad65fdaf708f680b5ba752a26227f SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5 DIST hal-0.5.9.rc2.tar.gz 1543333 RMD160 e3c788d9ef8778034f92b35e250e15eb034bf31c SHA1 863d4d06251a90bb53824dad78f46b4dcf43083f SHA256 107bd9e76de2ac7fc086dd545e08580a5aa75b1f979fdb55b3a686a1e833b166 -EBUILD hal-0.5.7-r3.ebuild 5770 RMD160 cad0f030042f5fc4a0953fc2fdccfd1e48bd78a9 SHA1 a451108d7f2c88619f54bb74f8aa39196cd44fc0 SHA256 b2f8275c56ed75e6645ad891f183b6359ec99b3e03d7f3c5f36f3c2cca8ee501 -MD5 ee0bb11c71fafebd0ed733d11eb9485b hal-0.5.7-r3.ebuild 5770 -RMD160 cad0f030042f5fc4a0953fc2fdccfd1e48bd78a9 hal-0.5.7-r3.ebuild 5770 -SHA256 b2f8275c56ed75e6645ad891f183b6359ec99b3e03d7f3c5f36f3c2cca8ee501 hal-0.5.7-r3.ebuild 5770 EBUILD hal-0.5.7.1-r3.ebuild 6222 RMD160 5b7c01c492988a99e04b1e5516982bbe62fa8182 SHA1 6028da543a35928eb8ba9681f9c188c203842b11 SHA256 0ecad9d4f734c2deeaa1b1d14642ee148a0a9808584e7fde02a2633113f67ad0 MD5 516e7380bdf23063008d943c55a02c85 hal-0.5.7.1-r3.ebuild 6222 RMD160 5b7c01c492988a99e04b1e5516982bbe62fa8182 hal-0.5.7.1-r3.ebuild 6222 SHA256 0ecad9d4f734c2deeaa1b1d14642ee148a0a9808584e7fde02a2633113f67ad0 hal-0.5.7.1-r3.ebuild 6222 -EBUILD hal-0.5.7.1-r4.ebuild 6214 RMD160 dbc2befe87613fde41bacd74f087ded5fea10bab SHA1 16dd091f802797f02e9e69c1f03a5749f1b55d0d SHA256 159d5ef840125742c6b1f2880ee9ad50d77a77cb29b42a9b46a0094920835199 -MD5 848426833518e6fc7e093821e75f25a2 hal-0.5.7.1-r4.ebuild 6214 -RMD160 dbc2befe87613fde41bacd74f087ded5fea10bab hal-0.5.7.1-r4.ebuild 6214 -SHA256 159d5ef840125742c6b1f2880ee9ad50d77a77cb29b42a9b46a0094920835199 hal-0.5.7.1-r4.ebuild 6214 EBUILD hal-0.5.7.1-r5.ebuild 6426 RMD160 ba28bce7126639c77de28ac2fc8d233475bb498e SHA1 2cf3547d002a80e225a8446d7b06b3b2a588fb82 SHA256 6e020d3a29d82b993984f58ab8ef3659d837c11bce25f3ad25df6f4748e11207 MD5 709ca20b11819f2e13e381be47e19535 hal-0.5.7.1-r5.ebuild 6426 RMD160 ba28bce7126639c77de28ac2fc8d233475bb498e hal-0.5.7.1-r5.ebuild 6426 @@ -125,26 +119,27 @@ EBUILD hal-0.5.9_rc2.ebuild 5195 RMD160 e0e1e1cd12c64102e528f390c291530e6280131d MD5 4ed743184af0b3303b3cd6c8987f483a hal-0.5.9_rc2.ebuild 5195 RMD160 e0e1e1cd12c64102e528f390c291530e6280131d hal-0.5.9_rc2.ebuild 5195 SHA256 a8d52c6d4e07b162655490369d25f5fa2dc2d6403a03a612bbed4a61602b5e9a hal-0.5.9_rc2.ebuild 5195 -MISC ChangeLog 20625 RMD160 39bafa6afa85214fbbbe96a4955c757f2ca6d2dd SHA1 e36c2ba87901e69ede8c9dcab1e1a671d5567287 SHA256 f5acebccea70e12023fbc8862dc4381bac61ae63af5aff650f8d930177c4c27e -MD5 b68c00bc22fbc10a9172b10be136392d ChangeLog 20625 -RMD160 39bafa6afa85214fbbbe96a4955c757f2ca6d2dd ChangeLog 20625 -SHA256 f5acebccea70e12023fbc8862dc4381bac61ae63af5aff650f8d930177c4c27e ChangeLog 20625 -MISC metadata.xml 223 RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb SHA1 28aa498172fa4c6f437adb79913ae16f4deb0c0c SHA256 49dd14861ed993df9f3509f82bb7f77e524b4b6c0e137677bb9f873d9cd8541d -MD5 885e3073744523eaf2450514a311758b metadata.xml 223 -RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb metadata.xml 223 -SHA256 49dd14861ed993df9f3509f82bb7f77e524b4b6c0e137677bb9f873d9cd8541d metadata.xml 223 -MD5 2cab9d9e3415f54f6368f796cf3df8ff files/digest-hal-0.5.7-r3 232 -RMD160 a3f08885fb362e481bd884a8f2192d3dc995fbee files/digest-hal-0.5.7-r3 232 -SHA256 1d79783e98c3e4f937148d5fb93916927d2484d85501a1f9a53b75c2080c15c2 files/digest-hal-0.5.7-r3 232 +MISC ChangeLog 20777 RMD160 d35166a50e4cff52afcbd621d2a6928f9796df65 SHA1 59e98b0de2615686f627cf994c2b509b5d8d8f52 SHA256 f8fb48aeec7b7d87dac80a87bca172f9969b15a77b9e546e758a7bad7ca65b41 +MD5 2bd40b7a88cec6afaf108e6d973e6280 ChangeLog 20777 +RMD160 d35166a50e4cff52afcbd621d2a6928f9796df65 ChangeLog 20777 +SHA256 f8fb48aeec7b7d87dac80a87bca172f9969b15a77b9e546e758a7bad7ca65b41 ChangeLog 20777 +MISC metadata.xml 345 RMD160 aa6e810e9546542453ebe5d6ca46804e99f447f2 SHA1 fef829210e8555807f9b69ba5afedffb8af8d02c SHA256 0c9aeabf473a6836c25a5db2ca86b880dec1efa9e52310725e08d1e0df93447d +MD5 3317c4000387b670183d305ef9937b75 metadata.xml 345 +RMD160 aa6e810e9546542453ebe5d6ca46804e99f447f2 metadata.xml 345 +SHA256 0c9aeabf473a6836c25a5db2ca86b880dec1efa9e52310725e08d1e0df93447d metadata.xml 345 MD5 f6986582ab2d32e615cb3dbce02614cd files/digest-hal-0.5.7.1-r3 238 RMD160 dafbac18b72d6d7d879ccb37200ce33a870bb8a1 files/digest-hal-0.5.7.1-r3 238 SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/digest-hal-0.5.7.1-r3 238 -MD5 f6986582ab2d32e615cb3dbce02614cd files/digest-hal-0.5.7.1-r4 238 -RMD160 dafbac18b72d6d7d879ccb37200ce33a870bb8a1 files/digest-hal-0.5.7.1-r4 238 -SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/digest-hal-0.5.7.1-r4 238 MD5 f6986582ab2d32e615cb3dbce02614cd files/digest-hal-0.5.7.1-r5 238 RMD160 dafbac18b72d6d7d879ccb37200ce33a870bb8a1 files/digest-hal-0.5.7.1-r5 238 SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/digest-hal-0.5.7.1-r5 238 MD5 39710d0d56c5beb18d67b2845c19cc0a files/digest-hal-0.5.9_rc2 244 RMD160 f540b0fa0b03dcb17a1cf39caa83e3d67c1fabf1 files/digest-hal-0.5.9_rc2 244 SHA256 15c93494f0692b662024325758c82c96451ab4255eaa77ae67b5417457effda3 files/digest-hal-0.5.9_rc2 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGDSBcoeSe8B0zEfwRAkxnAJ0RpviIga2LcOGadTxDg5+nsB+NPgCfSLzU +863cgoTQsSmhYKWkdDfF1Y0= +=XdPp +-----END PGP SIGNATURE----- diff --git a/sys-apps/hal/files/digest-hal-0.5.7-r3 b/sys-apps/hal/files/digest-hal-0.5.7-r3 deleted file mode 100644 index 5c84accce85a..000000000000 --- a/sys-apps/hal/files/digest-hal-0.5.7-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4163afb8285db64e00e7b1392b401d92 hal-0.5.7.tar.gz 1528632 -RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 hal-0.5.7.tar.gz 1528632 -SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5 hal-0.5.7.tar.gz 1528632 diff --git a/sys-apps/hal/files/digest-hal-0.5.7.1-r4 b/sys-apps/hal/files/digest-hal-0.5.7.1-r4 deleted file mode 100644 index 3042516ecf0a..000000000000 --- a/sys-apps/hal/files/digest-hal-0.5.7.1-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d7a7741808ba130f8aff3f5d3b5689e4 hal-0.5.7.1.tar.gz 1503156 -RMD160 2861818b29546bd3628b1bda3d41238cf644c644 hal-0.5.7.1.tar.gz 1503156 -SHA256 f15320c1ec3e5c89307fc0a6fbf75b6619de12c15ce8cc1a689e7bc3f2c0831b hal-0.5.7.1.tar.gz 1503156 diff --git a/sys-apps/hal/hal-0.5.7-r3.ebuild b/sys-apps/hal/hal-0.5.7-r3.ebuild deleted file mode 100644 index 747255a98415..000000000000 --- a/sys-apps/hal/hal-0.5.7-r3.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.7-r3.ebuild,v 1.14 2007/01/05 04:41:12 flameeyes Exp $ - -inherit eutils linux-info - -DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" -SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz" - -LICENSE="|| ( GPL-2 AFL-2.0 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86" -IUSE="acpi crypt debug doc dmi pcmcia selinux" - -RDEPEND=">=dev-libs/glib-2.6 - >=sys-fs/udev-078 - >=sys-apps/util-linux-2.12r - || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 ) - dev-libs/expat - sys-libs/libcap - sys-apps/pciutils - dev-libs/libusb - sys-apps/hotplug - || ( - >=dev-libs/dbus-glib-0.71 - ( =sys-apps/dbus-0.60 ) - ) - dmi? ( >=sys-apps/dmidecode-2.7 ) - crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 ) - selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=dev-util/intltool-0.29 - doc? ( app-doc/doxygen app-text/docbook-sgml-utils )" - -## HAL Daemon drops privledges so we need group access to read disks -HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb" - -function notify_uevent() { - eerror - eerror "You must enable Kernel Userspace Events in your kernel." - eerror "This can be set under 'General Setup'. It is marked as" - eerror "CONFIG_KOBJECT_UEVENT in the config file." - eerror - ebeep 5 -} - -function notify_uevent_2_6_16() { - eerror - eerror "You must enable Kernel Userspace Events in your kernel." - eerror "For this you need to enable 'Hotplug' under 'General Setup' and" - eerror "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET" - eerror "in the config file." - eerror - ebeep 5 -} - -function notify_procfs() { - eerror - eerror "You must enable the proc filesystem in your kernel." - eerror "For this you need to enable '/proc file system support' under" - eerror "'Pseudo filesystems' in 'File systems'. It is marked" - eerror "CONFIG_PROC_FS in the config file." - eerror - ebeep 5 -} - -pkg_setup() { - get_version || eerror "Unable to calculate Linux Kernel version" - - kernel_is ge 2 6 15 || eerror "HAL requires a kernel version 2.6.15 or newer" - - if kernel_is lt 2 6 16 ; then - linux_chkconfig_present KOBJECT_UEVENT || notify_uevent - else - (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \ - || notify_uevent_2_6_16 - fi - - if use acpi ; then - linux_chkconfig_present PROC_FS || notify_procfs - fi - - if [ -d ${ROOT}/etc/hal/device.d ]; then - eerror "HAL 0.5.x will not run with the HAL 0.4.x series of" - eerror "/etc/hal/device.d/ so please remove this directory" - eerror "with rm -rf /etc/hal/device.d/ and then re-emerge." - eerror "This is due to configuration protection of /etc/" - die "remove /etc/hal/device.d/" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # sony screen brightness patch -# epatch "${FILESDIR}"/${PN}-0.5.7-sony-brightness.patch - - # handle ignored volumes properly - epatch "${FILESDIR}"/${PN}-0.5.7-ignored-volumes.patch - - # Fix bash in hald scripts - epatch "${FILESDIR}"/${PN}-0.5.7-hald-scripts.patch - - # probe partition table - epatch "${FILESDIR}"/${PN}-0.5.7-part-table.patch - - # fix pmu support crash - epatch "${FILESDIR}"/${PN}-0.5.7-pmu-fix.patch - - # unclean unmount - epatch "${FILESDIR}"/${PN}-0.5.7-unclean-unmount-r1.patch - - # allow plugdev group people to mount - epatch "${FILESDIR}"/${PN}-0.5.7-plugdev-allow-send.patch - - # rescan devices on resume - epatch "${FILESDIR}"/${PN}-0.5.7-rescan-on-resume.patch - - # detect hibernate-ram script as well - epatch "${FILESDIR}"/${PN}-0.5.7-hibernate.patch -} - -src_compile() { - econf \ - --with-doc-dir=/usr/share/doc/${PF} \ - --with-os-type=gentoo \ - --with-pid-file=/var/run/hald.pid \ - --enable-hotplug-map \ - $(use_enable debug verbose-mode) \ - $(use_enable pcmcia pcmcia-support) \ - $(use_enable acpi acpi-proc) \ - $(use_enable doc docbook-docs) \ - $(use_enable doc doxygen-docs) \ - $(use_enable selinux) \ - || die "configure failed" - - emake || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README - - # remove dep on gnome-python - mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/ - - # hal umount for unclean unmounts - exeinto /lib/udev/ - newexe "${FILESDIR}"/hal-unmount.dev hal_unmount - - # initscript - newinitd "${FILESDIR}"/0.5-hald.rc hald - - # Script to unmount devices if they are yanked out (from upstream) - exeinto /etc/dev.d/default - doexe "${FILESDIR}"/hal-unmount.dev - - # We now create and keep /media here as both gnome-mount and pmount - # use these directories, to avoid collision. - dodir /media - keepdir /media -} - -pkg_postinst() { - # Despite what people keep changing this location. Either one works.. it doesn't matter - # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/ - - # Create groups for hotplugging and HAL - enewgroup haldaemon || die "Problem adding haldaemon group" - enewgroup plugdev || die "Problem adding plugdev group" - - # HAL drops priviledges by default now ... - # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups) - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS} || die "Problem adding haldaemon user" - - # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS} - # If users have a problem with this, let them file a bug - usermod -G ${HALDAEMON_GROUPS} haldaemon - - einfo "The HAL daemon needs to be running for certain applications to" - einfo "work. Suggested is to add the init script to your start-up" - einfo "scripts, this should be done like this :" - einfo "\`rc-update add hald default\`" - echo - einfo "Looking for automounting support? Add yourself to the plugdev group" -} diff --git a/sys-apps/hal/hal-0.5.7.1-r4.ebuild b/sys-apps/hal/hal-0.5.7.1-r4.ebuild deleted file mode 100644 index 9d9f32af2731..000000000000 --- a/sys-apps/hal/hal-0.5.7.1-r4.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.7.1-r4.ebuild,v 1.2 2007/01/30 19:43:04 cardoe Exp $ - -inherit eutils linux-info - -DESCRIPTION="Hardware Abstraction Layer" -HOMEPAGE="http://www.freedesktop.org/Software/hal" -SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz" - -LICENSE="|| ( GPL-2 AFL-2.0 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" -IUSE="acpi crypt debug doc dmi pcmcia selinux" - -RDEPEND=">=dev-libs/glib-2.6 - || ( >=dev-libs/dbus-glib-0.71 - ( =sys-apps/dbus-0.60 ) ) - >=sys-fs/udev-083 - >=sys-apps/util-linux-2.12r - || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 ) - dev-libs/expat - sys-libs/libcap - sys-apps/pciutils - dev-libs/libusb - virtual/eject - dmi? ( >=sys-apps/dmidecode-2.7 ) - crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 ) - selinux? ( sys-libs/libselinux )" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=dev-util/intltool-0.29 - doc? ( app-doc/doxygen app-text/docbook-sgml-utils )" - -## HAL Daemon drops privledges so we need group access to read disks -HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb" - -function notify_uevent() { - eerror - eerror "You must enable Kernel Userspace Events in your kernel." - eerror "This can be set under 'General Setup'. It is marked as" - eerror "CONFIG_KOBJECT_UEVENT in the config file." - eerror - ebeep 5 -} - -function notify_uevent_2_6_16() { - eerror - eerror "You must enable Kernel Userspace Events in your kernel." - eerror "For this you need to enable 'Hotplug' under 'General Setup' and" - eerror "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET" - eerror "in the config file." - eerror - ebeep 5 -} - -function notify_procfs() { - eerror - eerror "You must enable the proc filesystem in your kernel." - eerror "For this you need to enable '/proc file system support' under" - eerror "'Pseudo filesystems' in 'File systems'. It is marked" - eerror "CONFIG_PROC_FS in the config file." - eerror - ebeep 5 -} - -pkg_setup() { - get_version || eerror "Unable to calculate Linux Kernel version" - - kernel_is ge 2 6 15 || eerror "HAL requires a kernel version 2.6.15 or newer" - - if kernel_is lt 2 6 16 ; then - linux_chkconfig_present KOBJECT_UEVENT || notify_uevent - else - (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \ - || notify_uevent_2_6_16 - fi - - if use acpi ; then - linux_chkconfig_present PROC_FS || notify_procfs - fi - - if [ -d ${ROOT}/etc/hal/device.d ]; then - eerror "HAL 0.5.x will not run with the HAL 0.4.x series of" - eerror "/etc/hal/device.d/ so please remove this directory" - eerror "with rm -rf /etc/hal/device.d/ and then re-emerge." - eerror "This is due to configuration protection of /etc/" - die "remove /etc/hal/device.d/" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # handle ignored volumes properly - epatch "${FILESDIR}"/${PN}-0.5.7.1-ignored-volumes.patch - - # Fix bash in hald scripts - epatch "${FILESDIR}"/${PN}-0.5.7.1-hald-scripts.patch - - # probe partition table - epatch "${FILESDIR}"/${PN}-0.5.7-part-table.patch - - # fix pmu support crash - epatch "${FILESDIR}"/${PN}-0.5.7-pmu-fix.patch - - # unclean unmount - epatch "${FILESDIR}"/${PN}-0.5.7-unclean-unmount-r1.patch - - # allow plugdev group people to mount - epatch "${FILESDIR}"/${PN}-0.5.7-plugdev-allow-send.patch - - # rescan devices on resume - epatch "${FILESDIR}"/${PN}-0.5.7-rescan-on-resume.patch - - # dbus deprecated dbus_connection_disconnect - epatch "${FILESDIR}"/${PN}-0.5.7.1-dbus-close.patch - - # sr driver fix - epatch "${FILESDIR}"/${PN}-0.5.7.1-sr-driver.patch - - # mounting autofs & subfs fixes - epatch "${FILESDIR}"/${PN}-0.5.7.1-autofs-subfs.patch - - # iPod Nano detected as RAID fix - epatch "${FILESDIR}"/${PN}-0.5.7.1-ipod-nano.patch - - # Floppies mounting fix - epatch "${FILESDIR}"/${PN}-0.5.7.1-floppies-fix.patch - - # fix undeclared ctype.h so everyone can stop getting their panties in a - # bundle - epatch "${FILESDIR}"/${PN}-0.5.7.1-ctype-fix.patch -} - -src_compile() { - if [ -r "${ROOT}/usr/share/misc/pci.ids.gz" ] ; then - hwdata="${ROOT}/usr/share/misc/pci.ids.gz" - elif [ -r "${ROOT}/usr/share/misc/pci.ids" ] ; then - hwdata="${ROOT}/usr/share/misc/pci.ids" - else - die "pci.ids file not found. please file a bug @ bugs.gentoo.org" - fi - - econf \ - --with-doc-dir=/usr/share/doc/${PF} \ - --with-os-type=gentoo \ - --with-pid-file=/var/run/hald.pid \ - --with-hwdata=${hwdata} \ - --enable-hotplug-map \ - $(use_enable debug verbose-mode) \ - $(use_enable pcmcia pcmcia-support) \ - $(use_enable acpi acpi-proc) \ - $(use_enable doc docbook-docs) \ - $(use_enable doc doxygen-docs) \ - $(use_enable selinux) \ - || die "configure failed" - - emake || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README - - # remove dep on gnome-python - mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/ - - # initscript - newinitd "${FILESDIR}"/0.5-hald.rc hald - - # We now create and keep /media here as both gnome-mount and pmount - # use these directories, to avoid collision. - dodir /media - keepdir /media -} - -pkg_postinst() { - # Despite what people keep changing this location. Either one works.. it doesn't matter - # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/ - - # Create groups for hotplugging and HAL - enewgroup haldaemon || die "Problem adding haldaemon group" - enewgroup plugdev || die "Problem adding plugdev group" - - # HAL drops priviledges by default now ... - # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups) - enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS} || die "Problem adding haldaemon user" - - # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS} - # If users have a problem with this, let them file a bug - usermod -G ${HALDAEMON_GROUPS} haldaemon - - elog "The HAL daemon needs to be running for certain applications to" - elog "work. Suggested is to add the init script to your start-up" - elog "scripts, this should be done like this :" - elog "\`rc-update add hald default\`" - echo - elog "Looking for automounting support? Add yourself to the plugdev group" -} diff --git a/sys-apps/hal/metadata.xml b/sys-apps/hal/metadata.xml index c9a2849e775f..c900869f70c2 100644 --- a/sys-apps/hal/metadata.xml +++ b/sys-apps/hal/metadata.xml @@ -3,6 +3,12 @@ gentopia - cardoe@gentoo.org + cardoe@gentoo.org + + + steev@gentoo.org + + + compnerd@gentoo.org