diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-03-02 16:43:32 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-03-02 16:43:32 +0000 |
commit | ccf7c1c91277e78136ee78c9985239904c5e2629 (patch) | |
tree | 7e22a32218a02c4da1bee57d6e0261cbb8e9a2f1 /sys-apps/syslog-notify | |
parent | Version bump KDE 4.4.1 (diff) | |
download | gentoo-2-ccf7c1c91277e78136ee78c9985239904c5e2629.tar.gz gentoo-2-ccf7c1c91277e78136ee78c9985239904c5e2629.tar.bz2 gentoo-2-ccf7c1c91277e78136ee78c9985239904c5e2629.zip |
Initial commit of syslog-notify application. Fixes bug #304159
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/syslog-notify')
-rw-r--r-- | sys-apps/syslog-notify/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/syslog-notify/metadata.xml | 12 | ||||
-rw-r--r-- | sys-apps/syslog-notify/syslog-notify-0.1.ebuild | 35 |
3 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/syslog-notify/ChangeLog b/sys-apps/syslog-notify/ChangeLog new file mode 100644 index 000000000000..b59399e2f6d3 --- /dev/null +++ b/sys-apps/syslog-notify/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-apps/syslog-notify +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/syslog-notify/ChangeLog,v 1.1 2010/03/02 16:43:32 hwoarang Exp $ + +*syslog-notify-0.1 (02 Mar 2010) + + 02 Mar 2010; Markos Chandras <hwoarang@gentoo.org> + +syslog-notify-0.1.ebuild, +metadata.xml: + Initial commit of syslog-notify application. Fixes bug #304159. Thanks to + dfrkp <bugzilla@mhhs.de> for the initial ebuild + diff --git a/sys-apps/syslog-notify/metadata.xml b/sys-apps/syslog-notify/metadata.xml new file mode 100644 index 000000000000..87afd6e36004 --- /dev/null +++ b/sys-apps/syslog-notify/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/sys-apps/syslog-notify/syslog-notify-0.1.ebuild b/sys-apps/syslog-notify/syslog-notify-0.1.ebuild new file mode 100644 index 000000000000..3c98fe7ac9ab --- /dev/null +++ b/sys-apps/syslog-notify/syslog-notify-0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/syslog-notify/syslog-notify-0.1.ebuild,v 1.1 2010/03/02 16:43:32 hwoarang Exp $ + +EAPI="2" + +DESCRIPTION="Notifications for syslog entries via libnotify" +HOMEPAGE="http://jtniehof.github.com/syslog-notify/" +SRC_URI="http://cloud.github.com/downloads/jtniehof/${PN}/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="x11-libs/libnotify" +RDEPEND="${DEPEND} + app-admin/syslog-ng" + +src_install() { + dosbin src/syslog-notify || die "install failed" + ebegin "Creating /var/spool/syslog-notify FIFO" + dodir /var/spool/ || die "dodir failed" + mkfifo "${D}"var/spool/syslog-notify || die "mkfifo failed" + eend $? + dodoc AUTHORS INSTALL README || die "dodoc failed" +} + +pkg_postinst() { + elog "Add the following options on your" + elog "/etc/syslog-ng/syslog-ng.conf file:" + elog " # destination notify { pipe("/var/spool/syslog-notify"); };" + elog " # log { source(src); destination(notify);};" + elog "Remember to restart syslog-ng before starting syslog-notify." +} |