diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-06-17 15:04:53 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-06-17 15:04:53 +0000 |
commit | f0fc63031409b38d57fd78f80d5d90da5be5378d (patch) | |
tree | 4a35e63b41f211fbc57e5b67a633d1f8d00c827a /sys-apps/halevt | |
parent | Fix proxy maintainers' e-mail (diff) | |
download | gentoo-2-f0fc63031409b38d57fd78f80d5d90da5be5378d.tar.gz gentoo-2-f0fc63031409b38d57fd78f80d5d90da5be5378d.tar.bz2 gentoo-2-f0fc63031409b38d57fd78f80d5d90da5be5378d.zip |
Init script fixed. Bug 274484
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/halevt')
-rw-r--r-- | sys-apps/halevt/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/halevt/files/halevt | 4 | ||||
-rw-r--r-- | sys-apps/halevt/halevt-0.1.4-r1.ebuild | 41 |
3 files changed, 52 insertions, 3 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/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 +} |