summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-06-17 15:04:53 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-06-17 15:04:53 +0000
commit7ad4d12b4c9eba56dba5ddd9401afece457594e7 (patch)
treeeecfc7e031ada8ebd21cb27f2e6f30ad71b7a11c /sys-apps
parentFix proxy maintainers' e-mail (diff)
downloadhistorical-7ad4d12b4c9eba56dba5ddd9401afece457594e7.tar.gz
historical-7ad4d12b4c9eba56dba5ddd9401afece457594e7.tar.bz2
historical-7ad4d12b4c9eba56dba5ddd9401afece457594e7.zip
Init script fixed. Bug 274484
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/halevt/ChangeLog10
-rw-r--r--sys-apps/halevt/Manifest5
-rw-r--r--sys-apps/halevt/files/halevt4
-rw-r--r--sys-apps/halevt/halevt-0.1.4-r1.ebuild41
4 files changed, 55 insertions, 5 deletions
diff --git a/sys-apps/halevt/ChangeLog b/sys-apps/halevt/ChangeLog
index 5f5ff36030d9..00c66236425a 100644
--- a/sys-apps/halevt/ChangeLog
+++ b/sys-apps/halevt/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/halevt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/ChangeLog,v 1.3 2009/06/17 14:55:20 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/ChangeLog,v 1.4 2009/06/17 15:04:53 hwoarang Exp $
+
+*halevt-0.1.4-r1 (17 Jun 2009)
+
+ 17 Jun 2009; Markos Chandras <hwoarang@gentoo.org>
+ +halevt-0.1.4-r1.ebuild, files/halevt:
+ Init script fixed. Bug 274484 . Thanks to Laurence <loz.hurst@gmail.com>
+ for
+ the proposed patch
17 Jun 2009; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Fix proxy maintainers' e-mail
diff --git a/sys-apps/halevt/Manifest b/sys-apps/halevt/Manifest
index e5158133f596..ed760ab418c5 100644
--- a/sys-apps/halevt/Manifest
+++ b/sys-apps/halevt/Manifest
@@ -1,5 +1,6 @@
-AUX halevt 435 RMD160 0662c9bd27eda1f92b06dcf989062f8f6f85f09f SHA1 f80972af491e990e75f6733d79f5bd9d679d1b78 SHA256 b99a8087bc9a3b379afe2a166527690a7b0ab36329c0ac07368970e8ca5b1d1a
+AUX halevt 457 RMD160 660576640efa7c88456fabb8bae7d78d8e52f6f9 SHA1 3656a6e40e819b8371ce878cd68e0fcf3ff99933 SHA256 5323e4107d27a015a27063b2b241d26318dc438adb3c101072379113e5d410c3
DIST halevt-0.1.4.tar.gz 326745 RMD160 bc85dcc4b3144cd7c7cbc943b36234a0e8bbef95 SHA1 9637af9d14dfc878bb4bf4fbb65937611d45bf2d SHA256 fae65d14456ebf8bd9f6f50568538265c5bd62e5a6016e6ff992c5fb3dbc6d9c
+EBUILD halevt-0.1.4-r1.ebuild 1115 RMD160 ab6e2764b844db7614bf3965c4eb854be2bb1c26 SHA1 6b51685b99dd9435b727e87c9c8d3da78a60b71e SHA256 6229e9505678852d96efdd854143119b24a1a7cf901f60085a782e3e1dbff991
EBUILD halevt-0.1.4.ebuild 1112 RMD160 ecbe6670202c4e79ff64da8c9f44f4387850c662 SHA1 0bbfd86a9d968ef31f401a417afb211755aadee2 SHA256 f8bf8ccfabe437d43b4257f1a517630e68c248f7af6030ec2e84a8f0a234d644
-MISC ChangeLog 722 RMD160 fb00a94d2a0a2fd81ca4f06e7a73cb6905f15222 SHA1 2a5e3d0a198f6fc15f9656a296c35fd92163d7a5 SHA256 a7aab3e617e362852bff409a9e0972543de7f337dc20c36c74327f21a94992e9
+MISC ChangeLog 951 RMD160 f9b680d96ec8d6ef49d961cea9fdaeeb8ae6f0e2 SHA1 0733c78c757b532ea02518012cfb1c930a896df3 SHA256 02b63719737e34eda4d7f99822eb9adf2b600b5ec41294846005cd821a235628
MISC metadata.xml 517 RMD160 dc4071219c77d19280137a778789f7fc76922e97 SHA1 15144780e3a4fc8a904be4134fdd643f55d8fb6e SHA256 a7253ddce51da786384cf99b04af648ec5ff42a713f6ec8c9c19f5105dbbd670
diff --git a/sys-apps/halevt/files/halevt b/sys-apps/halevt/files/halevt
index 22226827e408..2e62ed50b0d3 100644
--- a/sys-apps/halevt/files/halevt
+++ b/sys-apps/halevt/files/halevt
@@ -8,12 +8,12 @@ depend() {
start() {
ebegin "Starting Automounter"
- start-stop-daemon --start --pidfile /var/run/halevt.pid --exec /usr/bin/halevt -- -u root -g plugdev > /dev/null
+ start-stop-daemon --start --pidfile /var/lib/run/halevt/halevt.pid --exec /usr/bin/halevt -- -u root -g plugdev > /dev/null
eend $?
}
stop() {
ebegin "Stopping Automounter"
- start-stop-daemon --stop --pidfile /var/run/halevt.pid
+ start-stop-daemon --stop --pidfile /var/lib/run/halevt/halevt.pid
eend $?
}
diff --git a/sys-apps/halevt/halevt-0.1.4-r1.ebuild b/sys-apps/halevt/halevt-0.1.4-r1.ebuild
new file mode 100644
index 000000000000..bd47dd17b19e
--- /dev/null
+++ b/sys-apps/halevt/halevt-0.1.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/halevt-0.1.4-r1.ebuild,v 1.1 2009/06/17 15:04:53 hwoarang Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A daemon built on ivman that executes arbitrary commands on HAL events"
+HOMEPAGE="http://www.environnement.ens.fr/perso/dumas/halevt.html"
+SRC_URI="http://www.environnement.ens.fr/perso/dumas/halevt-download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls rpath"
+
+DEPEND=">=sys-apps/hal-0.5.11-r1
+ >=sys-apps/dbus-1.2.3-r1
+ >=dev-libs/dbus-glib-0.76
+ >=dev-libs/boolstuff-0.1.12"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_enable nls) $(use_enable rpath)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+ doinitd "${FILESDIR}"/${PN} || die "failed to install init script"
+ dodoc AUTHORS NEWS README || die "dodoc failed"
+
+ insinto /etc/${PN}/
+ doins ${PN}.xml || die "doins ${PN}.xml failed"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Default config file resides at /etc/halevt/halevt.xml."
+ einfo
+}