summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-05-30 18:24:24 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-05-30 18:24:24 +0000
commite72aadd9a67fcca55df35defe4436b518b2ff8b0 (patch)
treea635a6466074dd106fc3bfe65eaa17571090629e /sys-apps/halevt
parentppc stable #271096 (diff)
downloadhistorical-e72aadd9a67fcca55df35defe4436b518b2ff8b0.tar.gz
historical-e72aadd9a67fcca55df35defe4436b518b2ff8b0.tar.bz2
historical-e72aadd9a67fcca55df35defe4436b518b2ff8b0.zip
Initial commit of halevt application. Fixes bug 257933
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/halevt')
-rw-r--r--sys-apps/halevt/ChangeLog12
-rw-r--r--sys-apps/halevt/Manifest5
-rw-r--r--sys-apps/halevt/files/halevt19
-rw-r--r--sys-apps/halevt/halevt-0.1.4.ebuild41
-rw-r--r--sys-apps/halevt/metadata.xml20
5 files changed, 97 insertions, 0 deletions
diff --git a/sys-apps/halevt/ChangeLog b/sys-apps/halevt/ChangeLog
new file mode 100644
index 000000000000..443e33302843
--- /dev/null
+++ b/sys-apps/halevt/ChangeLog
@@ -0,0 +1,12 @@
+# 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.1 2009/05/30 18:24:23 hwoarang Exp $
+
+*halevt-0.1.4 (30 May 2009)
+
+ 30 May 2009; Markos Chandras <hwoarang@gentoo.org> +halevt-0.1.4.ebuild,
+ +files/halevt, +metadata.xml:
+ Initial commit of halevt application. Fixes bug 257933. Thanks to
+ Mike Gualtieri <mike.gualtieri@gmail.com> for the initial ebuild. Giorgos
+ Kargiotakis <kargig@void.gr> will be proxy maintainer.
+
diff --git a/sys-apps/halevt/Manifest b/sys-apps/halevt/Manifest
new file mode 100644
index 000000000000..1e1f1197c1e8
--- /dev/null
+++ b/sys-apps/halevt/Manifest
@@ -0,0 +1,5 @@
+AUX halevt 435 RMD160 0662c9bd27eda1f92b06dcf989062f8f6f85f09f SHA1 f80972af491e990e75f6733d79f5bd9d679d1b78 SHA256 b99a8087bc9a3b379afe2a166527690a7b0ab36329c0ac07368970e8ca5b1d1a
+DIST halevt-0.1.4.tar.gz 326745 RMD160 bc85dcc4b3144cd7c7cbc943b36234a0e8bbef95 SHA1 9637af9d14dfc878bb4bf4fbb65937611d45bf2d SHA256 fae65d14456ebf8bd9f6f50568538265c5bd62e5a6016e6ff992c5fb3dbc6d9c
+EBUILD halevt-0.1.4.ebuild 1112 RMD160 ecbe6670202c4e79ff64da8c9f44f4387850c662 SHA1 0bbfd86a9d968ef31f401a417afb211755aadee2 SHA256 f8bf8ccfabe437d43b4257f1a517630e68c248f7af6030ec2e84a8f0a234d644
+MISC ChangeLog 543 RMD160 03a2fc44cc18ab4948445da7df2ac2f4987cd088 SHA1 35a33697f1f9edb6b728126c0c9cc53125044355 SHA256 f9c08945e0bd195a17c25c0892311465b6b635627c511687aa47d236e8fd80ca
+MISC metadata.xml 509 RMD160 e02c767b8e263021933a364d9322a4f18a60875f SHA1 2e7ea600d788a6ce51aaf29b9d91fb915fb2ffe6 SHA256 811906d16d19247f363cd5468d20fab269893a77909a63c6c7334dd4110b85b7
diff --git a/sys-apps/halevt/files/halevt b/sys-apps/halevt/files/halevt
new file mode 100644
index 000000000000..22226827e408
--- /dev/null
+++ b/sys-apps/halevt/files/halevt
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need hald
+}
+
+start() {
+ ebegin "Starting Automounter"
+ start-stop-daemon --start --pidfile /var/run/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
+ eend $?
+}
diff --git a/sys-apps/halevt/halevt-0.1.4.ebuild b/sys-apps/halevt/halevt-0.1.4.ebuild
new file mode 100644
index 000000000000..3af4d8e884b1
--- /dev/null
+++ b/sys-apps/halevt/halevt-0.1.4.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.ebuild,v 1.1 2009/05/30 18:24:23 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
+}
diff --git a/sys-apps/halevt/metadata.xml b/sys-apps/halevt/metadata.xml
new file mode 100644
index 000000000000..eb2eed5d3953
--- /dev/null
+++ b/sys-apps/halevt/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+</maintainer>
+<maintainer>
+ <email>kargig@void.gr</email>
+ <name>Giorgos Kargiotakis</name>
+ <description>Proxy Maintainer</description>
+</maintainer>
+<use>
+ <flag name="rpath">Hardcore runtime library paths</flag>
+</use>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+