1d3f69ca9c
fixes message size computation that is easily exceeded on -current and causes symon to err out on startup in these cases (symon: data.c:364: maxlen too small) note that on systems showing that error the symux they send to must be >= 2.77 since it has the same check for received messages.
46 lines
964 B
Makefile
46 lines
964 B
Makefile
# $OpenBSD: Makefile,v 1.32 2007/12/06 13:22:07 henning Exp $
|
|
|
|
COMMENT-main= active monitoring tool
|
|
V= 2.77
|
|
DISTNAME= symon-${V}
|
|
PKGNAME-main= ${DISTNAME}
|
|
CATEGORIES= sysutils net
|
|
|
|
HOMEPAGE= http://www.xs4all.nl/~wpd/symon
|
|
MAINTAINER= Willem Dijkstra <wpd@xs4all.nl>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/philes/
|
|
|
|
MULTI_PACKAGES= -main -mon -mux
|
|
|
|
WANTLIB-main= ${WANTLIB} fontconfig
|
|
|
|
# client only package
|
|
FULLPKGNAME-mon= symon-mon-${V}
|
|
COMMENT-mon= active host monitor
|
|
LIB_DEPENDS-mon=
|
|
# gatherer only package
|
|
FULLPKGNAME-mux= symon-mux-${V}
|
|
COMMENT-mux= symon data gatherer
|
|
LIB_DEPENDS-mux= rrd:rrdtool-*:net/rrdtool
|
|
WANTLIB-mux= ${WANTLIB} fontconfig
|
|
|
|
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
|
|
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/symon
|
|
SUBST_VARS= V
|
|
|
|
MAKE_ENV= LIBS="-L${X11BASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|