1 |
idl0r 13/02/25 00:36:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nagstamon-0.9.9-r1.ebuild |
5 |
Log: |
6 |
Fix Icinga's default result limitations, https://github.com/HenriWahl/Nagstamon/issues/10 |
7 |
|
8 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key B427ABC8) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 net-analyzer/nagstamon/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 30 Oct 2012 20:20:02 -0000 1.34 |
24 |
+++ ChangeLog 25 Feb 2013 00:36:37 -0000 1.35 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-analyzer/nagstamon |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.34 2012/10/30 20:20:02 idl0r Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.35 2013/02/25 00:36:37 idl0r Exp $ |
31 |
+ |
32 |
+*nagstamon-0.9.9-r1 (25 Feb 2013) |
33 |
+ |
34 |
+ 25 Feb 2013; Christian Ruppert <idl0r@g.o> |
35 |
+ +files/nagstamon-0.9.9-icinga_results_limitations.patch, |
36 |
+ +nagstamon-0.9.9-r1.ebuild: |
37 |
+ Fix Icinga's default result limitations, |
38 |
+ https://github.com/HenriWahl/Nagstamon/issues/10 |
39 |
|
40 |
30 Oct 2012; Christian Ruppert <idl0r@g.o> -nagstamon-0.9.8.ebuild, |
41 |
-files/nagstamon-0.9.5-resources.patch: |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-analyzer/nagstamon/nagstamon-0.9.9-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.9-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.9-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: nagstamon-0.9.9-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.9-r1.ebuild,v 1.1 2013/02/25 00:36:37 idl0r Exp $ |
55 |
|
56 |
EAPI="4" |
57 |
|
58 |
PYTHON_DEPEND="2" |
59 |
SUPPORT_PYTHON_ABIS="1" |
60 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
61 |
|
62 |
inherit eutils python |
63 |
|
64 |
MY_P="${PN}_${PV/_/-}" |
65 |
MY_PN="Nagstamon" |
66 |
|
67 |
DESCRIPTION="Nagstamon is a Nagios status monitor for a systray and displays a realtime status of a Nagios box" |
68 |
HOMEPAGE="http://nagstamon.sourceforge.net" |
69 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86" |
74 |
IUSE="gnome sound" |
75 |
|
76 |
DEPEND="" |
77 |
RDEPEND="dev-python/pygtk |
78 |
dev-python/lxml |
79 |
dev-python/beautifulsoup:python-2 |
80 |
gnome? ( dev-python/egg-python ) |
81 |
sound? ( media-sound/sox )" |
82 |
|
83 |
S="${WORKDIR}/Nagstamon" |
84 |
|
85 |
src_prepare() { |
86 |
epatch "${FILESDIR}/${P}-resources.patch" |
87 |
epatch "${FILESDIR}/${P}-icinga_results_limitations.patch" |
88 |
|
89 |
python_convert_shebangs 2 nagstamon.py |
90 |
|
91 |
rm Nagstamon/resources/LICENSE |
92 |
rm Nagstamon/BeautifulSoup.py |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
# setup.py is broken |
97 |
cd Nagstamon/ |
98 |
|
99 |
doman resources/nagstamon.1 || die |
100 |
rm resources/nagstamon.1 |
101 |
|
102 |
nagstamon_install() { |
103 |
exeinto $(python_get_sitedir)/${MY_PN} |
104 |
doexe ../nagstamon.py || die |
105 |
dosym $(python_get_sitedir)/${MY_PN}/${PN}.py /usr/bin/${PN} || die |
106 |
|
107 |
insinto $(python_get_sitedir)/${MY_PN} |
108 |
doins {GUI,Config,Objects,Custom,Actions}.py || die |
109 |
touch "${D}/$(python_get_sitedir)/${MY_PN}/__init__.py" || die |
110 |
doins -r Server/ || die |
111 |
|
112 |
insinto /usr/share/${PN}/resources |
113 |
doins resources/* || die |
114 |
|
115 |
domenu "${FILESDIR}"/${PN}.desktop || die |
116 |
} |
117 |
|
118 |
python_execute_function nagstamon_install |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
python_mod_optimize ${MY_PN} |
123 |
} |
124 |
|
125 |
pkg_postrm() { |
126 |
python_mod_cleanup ${MY_PN} |
127 |
} |