[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / nagstamon

File: [cvs.NetBSD.org] / pkgsrc / net / nagstamon / Makefile (download)

Revision 1.12, Sat Feb 18 17:05:27 2012 UTC (7 years, 9 months ago) by gls
Branch: MAIN
Changes since 1.11: +14 -13 lines

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

# $NetBSD: Makefile,v 1.12 2012/02/18 17:05:27 gls Exp $
#

VERSION=	0.9.8
DISTNAME=	nagstamon_${VERSION}
PKGNAME=	${DISTNAME:S/_/-/}
CATEGORIES=	net python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=nagstamon/}

MAINTAINER=	imil@gcu.info
HOMEPAGE=	http://nagstamon.ifw-dresden.de/
COMMENT=	Nagios status monitor which takes place in systray or on desktop
LICENSE=	gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir
USE_LANGUAGES=		# none
PYDISTUTILSPKG=		yes

WRKSRC=			${WRKDIR}/Nagstamon

INSTALLATION_DIRS+=	${PKGMANDIR}/man1
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

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:
	${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"