summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/hal/ChangeLog8
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.93
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.9_rc23
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.9_rc33
-rw-r--r--sys-apps/hal/hal-0.5.9.ebuild (renamed from sys-apps/hal/hal-0.5.9_rc3.ebuild)9
-rw-r--r--sys-apps/hal/hal-0.5.9_rc2.ebuild164
6 files changed, 12 insertions, 178 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog
index 8b24a02b8c11..cc006a0bb9cf 100644
--- a/sys-apps/hal/ChangeLog
+++ b/sys-apps/hal/ChangeLog
@@ -1,6 +1,12 @@
# 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.142 2007/04/02 17:06:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.143 2007/04/03 13:30:41 steev Exp $
+
+*hal-0.5.9 (03 Apr 2007)
+
+ 03 Apr 2007; Steev Klimaszewski <steev@gentoo.org> -hal-0.5.9_rc2.ebuild,
+ -hal-0.5.9_rc3.ebuild, +hal-0.5.9.ebuild:
+ Hal 0.5.9 release. remove the release candidates.
02 Apr 2007; Doug Goldstein <cardoe@gentoo.org> hal-0.5.9_rc3.ebuild:
Change linux-headers depend to 2.6.17 or higher. Remove mips-headers since
diff --git a/sys-apps/hal/files/digest-hal-0.5.9 b/sys-apps/hal/files/digest-hal-0.5.9
new file mode 100644
index 000000000000..bf095eb8f645
--- /dev/null
+++ b/sys-apps/hal/files/digest-hal-0.5.9
@@ -0,0 +1,3 @@
+MD5 a6f532770cf9286e1de38d6570cbc6bc hal-0.5.9.tar.gz 1587364
+RMD160 bc97bf63e35d36bdb5731c3447036425dc7adeb9 hal-0.5.9.tar.gz 1587364
+SHA256 65d8f8eeb61e7609a8c5001b6660d90e7a482c4b74b4e226d09b433dc1a80c9d hal-0.5.9.tar.gz 1587364
diff --git a/sys-apps/hal/files/digest-hal-0.5.9_rc2 b/sys-apps/hal/files/digest-hal-0.5.9_rc2
deleted file mode 100644
index 3951456d8851..000000000000
--- a/sys-apps/hal/files/digest-hal-0.5.9_rc2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d3e2d565d019f626d96632d2034d9b05 hal-0.5.9.rc2.tar.gz 1543333
-RMD160 e3c788d9ef8778034f92b35e250e15eb034bf31c hal-0.5.9.rc2.tar.gz 1543333
-SHA256 107bd9e76de2ac7fc086dd545e08580a5aa75b1f979fdb55b3a686a1e833b166 hal-0.5.9.rc2.tar.gz 1543333
diff --git a/sys-apps/hal/files/digest-hal-0.5.9_rc3 b/sys-apps/hal/files/digest-hal-0.5.9_rc3
deleted file mode 100644
index 7c3772a75e31..000000000000
--- a/sys-apps/hal/files/digest-hal-0.5.9_rc3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 47c6922e514abff92c9723ef822ed4c4 hal-0.5.9.rc3.tar.gz 1579447
-RMD160 433b91056263cba4e0a65f829b10d9845ba2e735 hal-0.5.9.rc3.tar.gz 1579447
-SHA256 59fff487a63a1dcd79e9ebf9d3d1393df10386a1c5ebfffc63ddd03334b379ef hal-0.5.9.rc3.tar.gz 1579447
diff --git a/sys-apps/hal/hal-0.5.9_rc3.ebuild b/sys-apps/hal/hal-0.5.9.ebuild
index 62168b08ebec..8dbf5b5e8a5b 100644
--- a/sys-apps/hal/hal-0.5.9_rc3.ebuild
+++ b/sys-apps/hal/hal-0.5.9.ebuild
@@ -1,14 +1,12 @@
# 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.9_rc3.ebuild,v 1.5 2007/04/02 17:06:31 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.9.ebuild,v 1.1 2007/04/03 13:30:41 steev Exp $
inherit eutils linux-info autotools flag-o-matic
-MY_PV=${PV/_/.}
-
DESCRIPTION="Hardware Abstraction Layer"
HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://people.freedesktop.org/~david/dist/${PN}-${MY_PV}.tar.gz"
+SRC_URI="http://people.freedesktop.org/~david/dist/${P}.tar.gz"
LICENSE="|| ( GPL-2 AFL-2.0 )"
SLOT="0"
@@ -39,8 +37,6 @@ DEPEND="${RDEPEND}
PDEPEND="app-misc/hal-info"
-S="${WORKDIR}"/${PN}-${PV%%_*}
-
## HAL Daemon drops privledges so we need group access to read disks
HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
@@ -89,7 +85,6 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-0.5.7-plugdev-allow-send.patch
- epatch ${FILESDIR}/${PN}-0.5.9-update_dtd.patch
}
src_compile() {
diff --git a/sys-apps/hal/hal-0.5.9_rc2.ebuild b/sys-apps/hal/hal-0.5.9_rc2.ebuild
deleted file mode 100644
index 667333fbcc82..000000000000
--- a/sys-apps/hal/hal-0.5.9_rc2.ebuild
+++ /dev/null
@@ -1,164 +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.9_rc2.ebuild,v 1.2 2007/03/30 23:25:44 steev Exp $
-
-inherit eutils linux-info autotools flag-o-matic
-
-MY_PV=${PV/_/.}
-
-DESCRIPTION="Hardware Abstraction Layer"
-HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://people.freedesktop.org/~david/dist/${PN}-${MY_PV}.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 dell disk-partition doc mactel pcmcia selinux"
-
-RDEPEND=">=dev-libs/glib-2.6
- >=dev-libs/dbus-glib-0.61
- >=sys-fs/udev-104
- >=sys-apps/util-linux-2.12r-r1
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- >=dev-libs/expat-1.95.8
- >=sys-apps/pciutils-2.2.3
- >=dev-libs/libusb-0.1.10a
- virtual/eject
- amd64? ( >=sys-apps/dmidecode-2.7 )
- x86? ( >=sys-apps/dmidecode-2.7 )
- ia64? ( >=sys-apps/dmidecode-2.7 )
- dell? ( >=sys-libs/libsmbios-0.13.4 )
- disk-partition? ( >=sys-apps/parted-1.7.1 )
- crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 )
- selinux? ( sys-libs/libselinux )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.35
- doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
-
-PDEPEND="app-misc/hal-info"
-
-S="${WORKDIR}"/${PN}-${PV%%_*}
-
-## HAL Daemon drops privledges so we need group access to read disks
-HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
-
-function notify_uevent() {
- ewarn
- ewarn "You must enable Kernel Userspace Events in your kernel."
- ewarn "For this you need to enable 'Hotplug' under 'General Setup' and"
- ewarn "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET"
- ewarn "in the config file."
- ewarn
- ebeep 5
-}
-
-function notify_procfs() {
- ewarn
- ewarn "You must enable the proc filesystem in your kernel."
- ewarn "For this you need to enable '/proc file system support' under"
- ewarn "'Pseudo filesystems' in 'File systems'. It is marked"
- ewarn "CONFIG_PROC_FS in the config file."
- ewarn
- ebeep 5
-}
-
-pkg_setup() {
- kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer"
-
- if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET )
- then
- notify_uevent
- 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}
- epatch ${FILESDIR}/${PN}-0.5.7-plugdev-allow-send.patch
- epatch ${FILESDIR}/fix-scsi-fake-host-event.patch
-}
-
-src_compile() {
- # TODO :: policykit should have a pam useflag
- append-flags -rdynamic
-
- econf --disable-policy-kit \
- --with-doc-dir=/usr/share/doc/${PF} \
- --with-os-type=gentoo \
- --with-pid-file=/var/run/hald.pid \
- --with-hwdata=/usr/share/misc \
- --enable-hotplug-map \
- $(use_enable debug verbose-mode) \
- $(use_enable disk-partition parted) \
- $(use_enable pcmcia pcmcia-support) \
- $(use_enable acpi acpi-proc) \
- $(use_enable doc docbook-docs) \
- $(use_enable doc doxygen-docs) \
- $(use_with mactel macbookpro) \
- $(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
-
- # We now create and keep /media here as both gnome-mount and pmount
- # use these directories, to avoid collision.
- dodir /media
- keepdir /media
- # We also need to create and keep /etc/fdi/{information,policy,preprobe}
- # or else hal bombs.
- dodir /etc/hal/fdi/{information,policy,preprobe}
- keepdir /etc/hal/fdi/{information,policy,preprobe}
-}
-
-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"
-}