diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2013-08-09 08:25:29 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2013-08-09 08:25:29 +0000 |
commit | e1277fef726e971c53d09ebbd199246206b206bd (patch) | |
tree | 3914e2da125f61221b2a09f8824abd0565d51f36 /net-analyzer/nagstamon | |
parent | Version bump for additional CVEs: CVE-2013-4206, CVE-2013-4207, CVE-2013-4208 (diff) | |
download | gentoo-2-e1277fef726e971c53d09ebbd199246206b206bd.tar.gz gentoo-2-e1277fef726e971c53d09ebbd199246206b206bd.tar.bz2 gentoo-2-e1277fef726e971c53d09ebbd199246206b206bd.zip |
Version bump
(Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key B427ABC8)
Diffstat (limited to 'net-analyzer/nagstamon')
-rw-r--r-- | net-analyzer/nagstamon/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/nagstamon/files/nagstamon-0.9.11_rc1-resources.patch | 13 | ||||
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-0.9.11_rc1.ebuild | 77 |
3 files changed, 97 insertions, 1 deletions
diff --git a/net-analyzer/nagstamon/ChangeLog b/net-analyzer/nagstamon/ChangeLog index 970369f8ddbb..ae056819e4b5 100644 --- a/net-analyzer/nagstamon/ChangeLog +++ b/net-analyzer/nagstamon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/nagstamon # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.39 2013/04/04 19:46:37 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.40 2013/08/09 08:25:29 idl0r Exp $ + +*nagstamon-0.9.11_rc1 (09 Aug 2013) + + 09 Aug 2013; Christian Ruppert <idl0r@gentoo.org> + +nagstamon-0.9.11_rc1.ebuild, +files/nagstamon-0.9.11_rc1-resources.patch: + Version bump 04 Apr 2013; Agostino Sarubbo <ago@gentoo.org> nagstamon-0.9.9-r1.ebuild: Stable for x86, wrt bug #464462 diff --git a/net-analyzer/nagstamon/files/nagstamon-0.9.11_rc1-resources.patch b/net-analyzer/nagstamon/files/nagstamon-0.9.11_rc1-resources.patch new file mode 100644 index 000000000000..9d8941d3832c --- /dev/null +++ b/net-analyzer/nagstamon/files/nagstamon-0.9.11_rc1-resources.patch @@ -0,0 +1,13 @@ +diff --git a/Nagstamon/nagstamon.py b/Nagstamon/nagstamon.py +index 0e016ef..7dca409 100755 +--- a/Nagstamon/nagstamon.py ++++ b/Nagstamon/nagstamon.py +@@ -86,6 +86,8 @@ except Exception, err: + Resources = path + break + ++Resources = "/usr/share/nagstamon/resources" ++ + # initialize GUI and actions + # if modules are not available from central python install try the ones in the same directory + from Nagstamon import GUI diff --git a/net-analyzer/nagstamon/nagstamon-0.9.11_rc1.ebuild b/net-analyzer/nagstamon/nagstamon-0.9.11_rc1.ebuild new file mode 100644 index 000000000000..bc78c2458b70 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-0.9.11_rc1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.11_rc1.ebuild,v 1.1 2013/08/09 08:25:29 idl0r Exp $ + +EAPI="5" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit eutils python + +MY_PN="Nagstamon" +MY_P="${MY_PN}-${PV/_/}-20130729" + +DESCRIPTION="Nagstamon is a Nagios status monitor for a systray and displays a realtime status of a Nagios box" +HOMEPAGE="http://nagstamon.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome sound" + +DEPEND="" +RDEPEND="dev-python/pygobject:2 + dev-python/pygtk + dev-python/lxml + dev-python/beautifulsoup:python-2 + gnome-base/librsvg + gnome? ( dev-python/egg-python ) + sound? ( media-sound/sox )" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + epatch "${FILESDIR}/nagstamon-0.9.11_rc1-resources.patch" + + python_convert_shebangs 2 nagstamon.py + + rm Nagstamon/resources/LICENSE + rm Nagstamon/BeautifulSoup.py +} + +src_install() { + # setup.py is broken + cd Nagstamon/ + + doman resources/nagstamon.1 || die + rm resources/nagstamon.1 + + nagstamon_install() { + exeinto $(python_get_sitedir)/${MY_PN} + doexe ../nagstamon.py || die + dosym $(python_get_sitedir)/${MY_PN}/${PN}.py /usr/bin/${PN} || die + + insinto $(python_get_sitedir)/${MY_PN} + doins {GUI,Config,Objects,Custom,Actions}.py || die + touch "${D}/$(python_get_sitedir)/${MY_PN}/__init__.py" || die + doins -r Server/ || die + + insinto /usr/share/${PN}/resources + doins resources/* || die + + domenu "${FILESDIR}"/${PN}.desktop || die + } + + python_execute_function nagstamon_install +} + +pkg_postinst() { + python_mod_optimize ${MY_PN} +} + +pkg_postrm() { + python_mod_cleanup ${MY_PN} +} |