pkgsrc/net/nagstamon/Makefile

47 lines
1.4 KiB
Makefile
Raw Normal View History

2013-02-16 12:18:58 +01:00
# $NetBSD: Makefile,v 1.24 2013/02/16 11:23:57 wiz Exp $
#
VERSION= 0.9.9
DISTNAME= nagstamon_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}
2013-02-16 12:18:58 +01:00
PKGREVISION= 6
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagstamon/}
MAINTAINER= imil@gcu.info
2012-01-20 05:44:49 +01:00
HOMEPAGE= http://nagstamon.ifw-dresden.de/
COMMENT= Nagios status monitor which takes place in systray or on desktop
LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
Update net/nagstamon to 0.9.8 pkgsrc changes: - Add a patch to install manpage in the proper place. - To preserve compatibility with the previous versions of the package, link installed script nagstamon.py to nagstamon. Upstream changes: 2011-10-25: Version 0.9.8 added customizable acknowledge/downtime/submit-result defaults added regexp filter for status information column added option to connect to hosts via its monitor hostname without HTTP overhead added ability to keep status detail popup open despite hovering away added option to change offset between popup window and systray icon to avoid partly hidden popup fixed some popup artefacts fixed various bugs with acknowledgement flags (persistent/sticky/notification), now they are actually working fixed some issues when running on MacOS X 2011-05-30: Version 0.9.7.1 fixed sf.net bug 3309166 which broke Centreon support 2011-05-30: Version 0.9.7 on some servers now context menu allows submitting check results for hosts and services added filter for services on acknowledged hosts added icons for "passiveonly" and "flapping" hosts and services fix for uneditable text entry fields in settings dialog - sf.net bug 3300873 fix for not working filter "services on hosts in maintenance" - sf.net bug 3299790 fix for soft state detection in Centreon - sf.net bug 3303861 fix for not filtered services which should have been filtered - sf.net bug 3308008 2011-05-06: Version 0.9.6.1 fixed sf.net bug 3298321 which raised an error if everything was OK on monitor 2011-05-06: Version 0.9.6 improved, full Ninja support rewritten filtering mechanism allows new features displaying icons in status overview popup indicating states "acknowledged" and "scheduled downtime" added option to play notification sounds more than once small UI improvements uses BeautifulSoup instead of lxml uses GTK UI Builder instead of glade as always: bugfixes 2011-04-08: Version 0.9.5 added op5 Ninja support added Check_MK Multisite support improved Icinga support (compatibility with Icinga 1.3) improved Centreon support (compatible with Centreon 2.1) added sortable columns in status overview added customizable colors better debugging and error messages password has not necessarily to be stored in config file major memory leak closed various bugs fixed 2010-06-15: Version 0.9.4 added initial support for Centreon servers (beta) added Nagios 1.x support fixed serious pango crash bug (Debian bug 582977) fixed not-playing-sound bug (sf.net bug 2998035) 2010-04-26: Version 0.9.3 added ability to connect to Opsview monitoring servers added "Recheck all" button to recheck all failing hosts and services by one click added ability to toggle notifications by state added HTTP Digest authentication added recognition of customized host IP information (see bug 2967416) increased GUI responsiveness fixed bugs in update interval mechanism fixed minor bugs
2012-02-18 18:05:27 +01:00
WRKSRC= ${WRKDIR}/Nagstamon
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
Update net/nagstamon to 0.9.8 pkgsrc changes: - Add a patch to install manpage in the proper place. - To preserve compatibility with the previous versions of the package, link installed script nagstamon.py to nagstamon. Upstream changes: 2011-10-25: Version 0.9.8 added customizable acknowledge/downtime/submit-result defaults added regexp filter for status information column added option to connect to hosts via its monitor hostname without HTTP overhead added ability to keep status detail popup open despite hovering away added option to change offset between popup window and systray icon to avoid partly hidden popup fixed some popup artefacts fixed various bugs with acknowledgement flags (persistent/sticky/notification), now they are actually working fixed some issues when running on MacOS X 2011-05-30: Version 0.9.7.1 fixed sf.net bug 3309166 which broke Centreon support 2011-05-30: Version 0.9.7 on some servers now context menu allows submitting check results for hosts and services added filter for services on acknowledged hosts added icons for "passiveonly" and "flapping" hosts and services fix for uneditable text entry fields in settings dialog - sf.net bug 3300873 fix for not working filter "services on hosts in maintenance" - sf.net bug 3299790 fix for soft state detection in Centreon - sf.net bug 3303861 fix for not filtered services which should have been filtered - sf.net bug 3308008 2011-05-06: Version 0.9.6.1 fixed sf.net bug 3298321 which raised an error if everything was OK on monitor 2011-05-06: Version 0.9.6 improved, full Ninja support rewritten filtering mechanism allows new features displaying icons in status overview popup indicating states "acknowledged" and "scheduled downtime" added option to play notification sounds more than once small UI improvements uses BeautifulSoup instead of lxml uses GTK UI Builder instead of glade as always: bugfixes 2011-04-08: Version 0.9.5 added op5 Ninja support added Check_MK Multisite support improved Icinga support (compatibility with Icinga 1.3) improved Centreon support (compatible with Centreon 2.1) added sortable columns in status overview added customizable colors better debugging and error messages password has not necessarily to be stored in config file major memory leak closed various bugs fixed 2010-06-15: Version 0.9.4 added initial support for Centreon servers (beta) added Nagios 1.x support fixed serious pango crash bug (Debian bug 582977) fixed not-playing-sound bug (sf.net bug 2998035) 2010-04-26: Version 0.9.3 added ability to connect to Opsview monitoring servers added "Recheck all" button to recheck all failing hosts and services by one click added ability to toggle notifications by state added HTTP Digest authentication added recognition of customized host IP information (see bug 2967416) increased GUI responsiveness fixed bugs in update interval mechanism fixed minor bugs
2012-02-18 18:05:27 +01:00
REPLACE_PYTHON= ${WRKSRC}/*.py
REPLACE_PYTHON+= ${WRKSRC}/Nagstamon/Server/Multisite.py
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.2.4:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.24:../../textproc/py-libxslt
DEPENDS+= sox>=14.0.1:../../audio/sox
Update net/nagstamon to 0.9.8 pkgsrc changes: - Add a patch to install manpage in the proper place. - To preserve compatibility with the previous versions of the package, link installed script nagstamon.py to nagstamon. Upstream changes: 2011-10-25: Version 0.9.8 added customizable acknowledge/downtime/submit-result defaults added regexp filter for status information column added option to connect to hosts via its monitor hostname without HTTP overhead added ability to keep status detail popup open despite hovering away added option to change offset between popup window and systray icon to avoid partly hidden popup fixed some popup artefacts fixed various bugs with acknowledgement flags (persistent/sticky/notification), now they are actually working fixed some issues when running on MacOS X 2011-05-30: Version 0.9.7.1 fixed sf.net bug 3309166 which broke Centreon support 2011-05-30: Version 0.9.7 on some servers now context menu allows submitting check results for hosts and services added filter for services on acknowledged hosts added icons for "passiveonly" and "flapping" hosts and services fix for uneditable text entry fields in settings dialog - sf.net bug 3300873 fix for not working filter "services on hosts in maintenance" - sf.net bug 3299790 fix for soft state detection in Centreon - sf.net bug 3303861 fix for not filtered services which should have been filtered - sf.net bug 3308008 2011-05-06: Version 0.9.6.1 fixed sf.net bug 3298321 which raised an error if everything was OK on monitor 2011-05-06: Version 0.9.6 improved, full Ninja support rewritten filtering mechanism allows new features displaying icons in status overview popup indicating states "acknowledged" and "scheduled downtime" added option to play notification sounds more than once small UI improvements uses BeautifulSoup instead of lxml uses GTK UI Builder instead of glade as always: bugfixes 2011-04-08: Version 0.9.5 added op5 Ninja support added Check_MK Multisite support improved Icinga support (compatibility with Icinga 1.3) improved Centreon support (compatible with Centreon 2.1) added sortable columns in status overview added customizable colors better debugging and error messages password has not necessarily to be stored in config file major memory leak closed various bugs fixed 2010-06-15: Version 0.9.4 added initial support for Centreon servers (beta) added Nagios 1.x support fixed serious pango crash bug (Debian bug 582977) fixed not-playing-sound bug (sf.net bug 2998035) 2010-04-26: Version 0.9.3 added ability to connect to Opsview monitoring servers added "Recheck all" button to recheck all failing hosts and services by one click added ability to toggle notifications by state added HTTP Digest authentication added recognition of customized host IP information (see bug 2967416) increased GUI responsiveness fixed bugs in update interval mechanism fixed minor bugs
2012-02-18 18:05:27 +01:00
SUBST_CLASSES+= mandir
SUBST_STAGE.mandir= pre-configure
SUBST_SED.mandir= -e s,@PKGMANDIR@,${PKGMANDIR},g
SUBST_FILES.mandir= setup.py
# Upstream renamed script from nagstamon to nagstamon.py
# Preserve compatibility with previous version of the package
post-install:
Update net/nagstamon to 0.9.8 pkgsrc changes: - Add a patch to install manpage in the proper place. - To preserve compatibility with the previous versions of the package, link installed script nagstamon.py to nagstamon. Upstream changes: 2011-10-25: Version 0.9.8 added customizable acknowledge/downtime/submit-result defaults added regexp filter for status information column added option to connect to hosts via its monitor hostname without HTTP overhead added ability to keep status detail popup open despite hovering away added option to change offset between popup window and systray icon to avoid partly hidden popup fixed some popup artefacts fixed various bugs with acknowledgement flags (persistent/sticky/notification), now they are actually working fixed some issues when running on MacOS X 2011-05-30: Version 0.9.7.1 fixed sf.net bug 3309166 which broke Centreon support 2011-05-30: Version 0.9.7 on some servers now context menu allows submitting check results for hosts and services added filter for services on acknowledged hosts added icons for "passiveonly" and "flapping" hosts and services fix for uneditable text entry fields in settings dialog - sf.net bug 3300873 fix for not working filter "services on hosts in maintenance" - sf.net bug 3299790 fix for soft state detection in Centreon - sf.net bug 3303861 fix for not filtered services which should have been filtered - sf.net bug 3308008 2011-05-06: Version 0.9.6.1 fixed sf.net bug 3298321 which raised an error if everything was OK on monitor 2011-05-06: Version 0.9.6 improved, full Ninja support rewritten filtering mechanism allows new features displaying icons in status overview popup indicating states "acknowledged" and "scheduled downtime" added option to play notification sounds more than once small UI improvements uses BeautifulSoup instead of lxml uses GTK UI Builder instead of glade as always: bugfixes 2011-04-08: Version 0.9.5 added op5 Ninja support added Check_MK Multisite support improved Icinga support (compatibility with Icinga 1.3) improved Centreon support (compatible with Centreon 2.1) added sortable columns in status overview added customizable colors better debugging and error messages password has not necessarily to be stored in config file major memory leak closed various bugs fixed 2010-06-15: Version 0.9.4 added initial support for Centreon servers (beta) added Nagios 1.x support fixed serious pango crash bug (Debian bug 582977) fixed not-playing-sound bug (sf.net bug 2998035) 2010-04-26: Version 0.9.3 added ability to connect to Opsview monitoring servers added "Recheck all" button to recheck all failing hosts and services by one click added ability to toggle notifications by state added HTTP Digest authentication added recognition of customized host IP information (see bug 2967416) increased GUI responsiveness fixed bugs in update interval mechanism fixed minor bugs
2012-02-18 18:05:27 +01:00
${LN} -s ${DESTDIR}${PREFIX}/bin/nagstamon.py \
${DESTDIR}${PREFIX}/bin/nagstamon
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../textproc/py-libxml2/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../x11/py-gnome2-extras/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"