From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/syslog-notify: metadata.xml ChangeLog syslog-notify-0.1.ebuild |
Date: | Tue, 02 Mar 2010 16:43:36 |
Message-Id: | E1NmVC1-0006y0-Uu@stork.gentoo.org |
1 | hwoarang 10/03/02 16:43:33 |
2 | |
3 | Added: metadata.xml ChangeLog syslog-notify-0.1.ebuild |
4 | Log: |
5 | Initial commit of syslog-notify application. Fixes bug #304159 |
6 | (Portage version: 2.2_rc63/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/syslog-notify/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>no-herd</herd> |
20 | <maintainer> |
21 | <email>hwoarang@g.o</email> |
22 | <name>Markos Chandras</name> |
23 | </maintainer> |
24 | <longdescription lang="en"> |
25 | </longdescription> |
26 | </pkgmetadata> |
27 | |
28 | |
29 | |
30 | |
31 | 1.1 sys-apps/syslog-notify/ChangeLog |
32 | |
33 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/ChangeLog?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/ChangeLog?rev=1.1&content-type=text/plain |
35 | |
36 | Index: ChangeLog |
37 | =================================================================== |
38 | # ChangeLog for sys-apps/syslog-notify |
39 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
40 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/syslog-notify/ChangeLog,v 1.1 2010/03/02 16:43:32 hwoarang Exp $ |
41 | |
42 | *syslog-notify-0.1 (02 Mar 2010) |
43 | |
44 | 02 Mar 2010; Markos Chandras <hwoarang@g.o> |
45 | +syslog-notify-0.1.ebuild, +metadata.xml: |
46 | Initial commit of syslog-notify application. Fixes bug #304159. Thanks to |
47 | dfrkp <bugzilla@××××.de> for the initial ebuild |
48 | |
49 | |
50 | |
51 | |
52 | 1.1 sys-apps/syslog-notify/syslog-notify-0.1.ebuild |
53 | |
54 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/syslog-notify-0.1.ebuild?rev=1.1&view=markup |
55 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/syslog-notify/syslog-notify-0.1.ebuild?rev=1.1&content-type=text/plain |
56 | |
57 | Index: syslog-notify-0.1.ebuild |
58 | =================================================================== |
59 | # Copyright 1999-2010 Gentoo Foundation |
60 | # Distributed under the terms of the GNU General Public License v2 |
61 | # $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 $ |
62 | |
63 | EAPI="2" |
64 | |
65 | DESCRIPTION="Notifications for syslog entries via libnotify" |
66 | HOMEPAGE="http://jtniehof.github.com/syslog-notify/" |
67 | SRC_URI="http://cloud.github.com/downloads/jtniehof/${PN}/${P}.tar.bz2" |
68 | |
69 | KEYWORDS="~amd64 ~x86" |
70 | SLOT="0" |
71 | LICENSE="GPL-2" |
72 | IUSE="" |
73 | |
74 | DEPEND="x11-libs/libnotify" |
75 | RDEPEND="${DEPEND} |
76 | app-admin/syslog-ng" |
77 | |
78 | src_install() { |
79 | dosbin src/syslog-notify || die "install failed" |
80 | ebegin "Creating /var/spool/syslog-notify FIFO" |
81 | dodir /var/spool/ || die "dodir failed" |
82 | mkfifo "${D}"var/spool/syslog-notify || die "mkfifo failed" |
83 | eend $? |
84 | dodoc AUTHORS INSTALL README || die "dodoc failed" |
85 | } |
86 | |
87 | pkg_postinst() { |
88 | elog "Add the following options on your" |
89 | elog "/etc/syslog-ng/syslog-ng.conf file:" |
90 | elog " # destination notify { pipe("/var/spool/syslog-notify"); };" |
91 | elog " # log { source(src); destination(notify);};" |
92 | elog "Remember to restart syslog-ng before starting syslog-notify." |
93 | } |