summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2005-01-13 09:50:52 +0000
committerMarinus Schraal <foser@gentoo.org>2005-01-13 09:50:52 +0000
commit8ef2411d097999f0b57312728171b77b88e825f7 (patch)
treeb04f7159e948dd2bc5b42331f00833ba8afd118e /sys-apps/hal
parentFixing install dir for the binary (Manifest recommit) (diff)
downloadgentoo-2-8ef2411d097999f0b57312728171b77b88e825f7.tar.gz
gentoo-2-8ef2411d097999f0b57312728171b77b88e825f7.tar.bz2
gentoo-2-8ef2411d097999f0b57312728171b77b88e825f7.zip
up we go
Diffstat (limited to 'sys-apps/hal')
-rw-r--r--sys-apps/hal/ChangeLog7
-rw-r--r--sys-apps/hal/Manifest2
-rw-r--r--sys-apps/hal/files/digest-hal-0.4.51
-rw-r--r--sys-apps/hal/hal-0.4.5.ebuild101
4 files changed, 110 insertions, 1 deletions
diff --git a/sys-apps/hal/ChangeLog b/sys-apps/hal/ChangeLog
index 8780d69a9e2b..455d6df26840 100644
--- a/sys-apps/hal/ChangeLog
+++ b/sys-apps/hal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/hal
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.23 2005/01/12 14:54:54 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.24 2005/01/13 09:50:52 foser Exp $
+
+*hal-0.4.5 (13 Jan 2005)
+
+ 13 Jan 2005; foser <foser@gentoo.org> hal-0.4.5.ebuild :
+ Fresh release (bugfixes)
12 Jan 2005; foser <foser@gentoo.org> hal-0.4.4-r1.ebuild :
Change the iso label patch for a somewhat cleaner one
diff --git a/sys-apps/hal/Manifest b/sys-apps/hal/Manifest
index 66dd2bde92eb..31f4838b4b6b 100644
--- a/sys-apps/hal/Manifest
+++ b/sys-apps/hal/Manifest
@@ -2,6 +2,7 @@ MD5 faaf821c60bf4b6c663caeace3e21a95 hal-0.4.2-r1.ebuild 2728
MD5 f6c71019d8f7b2dab5ef13de1abd9244 hal-0.4.1-r1.ebuild 2567
MD5 8a56df2be3b94b0e0e958c48e6c14df5 hal-0.2.98-r1.ebuild 2102
MD5 4de36bde0054e10e722225fe4ffd6c6b hal-0.4.4-r1.ebuild 2758
+MD5 703fe733bda4c86f64b29b3be633ce1e hal-0.4.5.ebuild 2509
MD5 2048e7a0ec1c8df30099a0a831d1079e ChangeLog 3480
MD5 731695e9263a5a2e1eeba290b36078d5 metadata.xml 219
MD5 192112dfb678a9795a93d3cdcc50bb95 files/hald 543
@@ -13,6 +14,7 @@ MD5 a9afa7e41b21ea5f012765a8ced6c10d files/digest-hal-0.4.2-r1 62
MD5 11d67cf37182e289664f50de3ee6172f files/digest-hal-0.4.4-r1 62
MD5 0693dbefb790150740986cce82039b82 files/hal-0.4.2-cdrom_media_check.patch 1194
MD5 399570c945e0f4bffbeb645e057e027b files/hal-0.4.1-dm_devices_tab.patch 1028
+MD5 ada3b2801b82813b4f10fd6f6caf9d6f files/digest-hal-0.4.5 62
MD5 314ebeadb0a53e448e74ad6a3eead3f8 files/hal-0.4.4-check_ide_floppy_for_zip_fdi.patch 1920
MD5 2b00af86c624d74107035a007ac3c9da files/hal-0.4.4-volume_id_fat.patch 849
MD5 eeb1838cdb78726ab674194f0d268270 files/hal-0.4.2-fstab_sync_crash.patch 468
diff --git a/sys-apps/hal/files/digest-hal-0.4.5 b/sys-apps/hal/files/digest-hal-0.4.5
new file mode 100644
index 000000000000..c4ca2b2c74d4
--- /dev/null
+++ b/sys-apps/hal/files/digest-hal-0.4.5
@@ -0,0 +1 @@
+MD5 780d0bf4849c83ea4f8ab9b4102229c2 hal-0.4.5.tar.gz 1343158
diff --git a/sys-apps/hal/hal-0.4.5.ebuild b/sys-apps/hal/hal-0.4.5.ebuild
new file mode 100644
index 000000000000..fe6df196b360
--- /dev/null
+++ b/sys-apps/hal/hal-0.4.5.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.4.5.ebuild,v 1.1 2005/01/13 09:50:52 foser Exp $
+
+inherit eutils python
+
+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="~x86 ~amd64 ~ia64 ~ppc ~ppc64"
+IUSE="debug pcmcia doc"
+
+RDEPEND=">=dev-libs/glib-2.4
+ >=sys-apps/dbus-0.22-r1
+ dev-libs/expat
+ sys-fs/udev
+ sys-apps/hotplug
+ sys-libs/libcap
+ dev-libs/popt
+ >=sys-apps/util-linux-2.12i
+ || ( >=sys-kernel/linux-headers-2.6 sys-kernel/linux26-headers )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.29
+ doc? ( app-doc/doxygen )"
+# dep on a specific util-linux version for
+# managed mount patches #70873
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ # remove pamconsole option
+ epatch ${FILESDIR}/${PN}-0.4.1-old_storage_policy.patch
+
+}
+
+src_compile() {
+
+ # FIXME : docs
+ econf \
+ `use_enable debug verbose-mode` \
+ `use_enable pcmcia pcmcia-support` \
+ --enable-fstab-sync \
+ --enable-hotplug-map \
+ --disable-docbook-docs \
+ `use_enable doc doxygen-docs` \
+ --with-pid-file=/var/run/hald/hald.pid \
+ || die
+
+ emake || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ # We install this in a seperate package to avoid gnome-python dep
+ rm ${D}/usr/bin/hal-device-manager
+
+ # initscript
+ exeinto /etc/init.d/
+ doexe ${FILESDIR}/hald
+
+ # place our pid file
+ keepdir /var/run/hald
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+
+}
+
+pkg_preinst() {
+
+ enewgroup haldaemon || die "Problem adding haldaemon group"
+ enewuser haldaemon -1 /bin/false /dev/null haldaemon || die "Problem adding haldaemon user"
+
+}
+
+pkg_postinst() {
+
+ # make sure the permissions on the pid dir are alright & after preinst
+ chown haldaemon:haldaemon /var/run/hald
+
+ ewarn "Enabled in this ebuild by default is the usage of fstab-sync"
+ ewarn "that will create mount rules for non-existing devices in"
+ ewarn "fstab if needed, mount points will be created in /media."
+ ewarn "This functionality alters /etc/fstab runtime on the filesystem"
+ ewarn "and should be considered a security risk."
+ echo
+ 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\`"
+
+}