Sun Feb 14 22:58:58 2010 UTC ()
xymon is the successor to hobbit. This is the server package.
It's a beta, so handle with care.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(spz)
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/DESCR
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/Makefile
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/PLIST
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/distinfo
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/INSTALL
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/DEINSTALL
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/files/xymon.sh
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-ad
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-aa
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-ae
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-af
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-ab
diff -r0 -r1.1.1.1 pkgsrc/net/xymon/patches/patch-ac
Xymon is the successor to (rename of) Hobbit which was the successor
to the bbgen toolkit, which had been available as an add-on to Big Brother
since late 2002.
Xymon monitors your hosts, your network services, and anything else
you configure it to do via extensions. Xymon will
periodically generate requests to network services - http, ftp,
smtp and so on - and record if the service is responding as
expected. Through the use of agents installed on the servers,
you can also monitor local disk utilisation, logfiles and processes.
# $NetBSD: Makefile,v 1.1.1.1 2010/02/14 22:58:57 spz Exp $
#
DISTNAME= xymon-4.3.0-beta2
PKGNAME= xymon-4.3.0b2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hobbitmon/}
MAINTAINER= spz@NetBSD.org
HOMEPAGE= http://hobbitmon.sourceforge.net/
COMMENT= Network services monitor a la Big Brother
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= hobbitmon-[0-9]*
CONFLICTS+= hobbitclient-[0-9]*
DEPENDS+= fping>2:../../net/fping
# xymonclient ought to be the same version as the server, modulo nbN
DEPENDS+= xymonclient>=4.3.0b2:../../net/xymonclient
HAS_CONFIGURE= YES
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
# xymons user/group
BBUSER?= xymon
BBGROUP?= xymon
PKG_GROUPS= ${BBGROUP}
PKG_USERS= ${BBUSER:Q}:${BBGROUP:Q}
PKG_GECOS.${BBUSER}= Xymon monitor
PKG_HOME.${BBUSER}= ${BBHOME}
PKG_GROUPS_VARS+= BBGROUP
PKG_USERS_VARS+= BBUSER
# startup and config
RCD_SCRIPTS+= xymon
PKG_SYSCONFDIR.xymon= ${PREFIX}/etc/xymon
EXAMPLEDIR= ${PREFIX}/share/examples/xymon
INSTALLATION_DIRS+= ${EXAMPLEDIR}
INSTALLATION_DIRS+= ${PKG_SYSCONFDIR.xymon}
BBHOME?= ${PREFIX}/share/xymon/bbhome
BBTOPDIR?= ${PREFIX}/libexec/xymon
BBHOSTURL?= /
CGIDIR?= ${BBTOPDIR}/cgi-bin
BBCGIURL?= /cgi-bin
SECCGIDIR?= ${BBTOPDIR}/cgi-secure
SECUREBBCGIURL?= /xymon-seccgi
BBSERVERNAME?= "`uname -n`"
BBSERVERIP?= 127.0.0.1
BBLOGDIR?= ${VARBASE}/log/xymon
BBVAR?= ${VARBASE}/xymon
XYBINDIR?= ${BBTOPDIR}
XYETCDIR?= ${PKG_SYSCONFDIR.xymon}
XYEXTDIR?= ${BBTOPDIR}/ext
XYTMPDIR?= ${VARBASE}/xymon/tmp
XYWEBDIR?= ${PREFIX}/share/xymon/web
XYWWWDIR?= ${VARBASE}/xymon/www
BUILD_DEFS+= VARBASE
BUILD_DEFS+= BBHOSTURL
BUILD_DEFS+= BBSERVERNAME
BUILD_DEFS+= BBSERVERIP
BUILD_DEFS+= APACHE_GROUP
FILES_SUBST+= EXAMPLEDIR=${EXAMPLEDIR:Q}
FILES_SUBST+= BBHOME=${BBHOME:Q}
FILES_SUBST+= BBLOGDIR=${BBLOGDIR:Q}
FILES_SUBST+= BBVAR=${BBVAR:Q}
FILES_SUBST+= XYBINDIR=${XYBINDIR:Q}
FILES_SUBST+= XYETCDIR=${XYETCDIR:Q}
FILES_SUBST+= XYEXTDIR=${XYEXTDIR:Q}
FILES_SUBST+= XYTMPDIR=${XYTMPDIR:Q}
FILES_SUBST+= XYWEBDIR=${XYWEBDIR:Q}
FILES_SUBST+= XYWWWDIR=${XYWWWDIR:Q}
EVAL_PREFIX+= PREFIX.fping=fping
CONFIGURE_ARGS+= "--server"
CONFIGURE_ENV+= USERFPING=${PREFIX.fping}/sbin/fping
CONFIGURE_ENV+= USEHOBBITPING=n
CONFIGURE_ENV+= RRDINC=${BUILDLINK_PREFIX.rrdtool}/include
CONFIGURE_ENV+= RRDLIB=${BUILDLINK_PREFIX.rrdtool}/lib/librrd.a
CONFIGURE_ENV+= PNGLIB=${BUILDLINK_PREFIX.png}/lib/libpng.a
CONFIGURE_ENV+= ENABLESSL=y
CONFIGURE_ENV+= OSSLINC=${BUILDLINK_PREFIX.openssl}/include
CONFIGURE_ENV+= OSSLLIB=${BUILDLINK_PREFIX.openssl}/lib
CONFIGURE_ENV+= ENABLELDAP=y
CONFIGURE_ENV+= ENABLELDAPSSL=y
CONFIGURE_ENV+= LDAPINC=${BUILDLINK_PREFIX.openldap-client}/include
CONFIGURE_ENV+= LDAPLIB=${BUILDLINK_PREFIX.openldap-client}/lib
CONFIGURE_ENV+= PCREINC=${BUILDLINK_PREFIX.pcre}/include
CONFIGURE_ENV+= PCRELIB=${BUILDLINK_PREFIX.pcre}/lib
CONFIGURE_ENV+= BBHOSTNAME=${BBSERVERNAME:Q}
CONFIGURE_ENV+= BBHOSTIP=${BBSERVERIP:Q}
CONFIGURE_ENV+= BBUSER=${BBUSER:Q}
CONFIGURE_ENV+= BBHOME=${BBHOME:Q}
CONFIGURE_ENV+= BBTOPDIR=${BBTOPDIR:Q}
CONFIGURE_ENV+= BBHOSTURL=${BBHOSTURL:Q}
CONFIGURE_ENV+= CGIDIR=${CGIDIR:Q}
CONFIGURE_ENV+= BBCGIURL=${BBCGIURL:Q}
CONFIGURE_ENV+= SECURECGIDIR=${SECCGIDIR:Q}
CONFIGURE_ENV+= SECUREBBCGIURL=${SECUREBBCGIURL:Q}
CONFIGURE_ENV+= HTTPDGID=${APACHE_GROUP:Q}
CONFIGURE_ENV+= BBLOGDIR=${BBLOGDIR:Q}
CONFIGURE_ENV+= BBVAR=${BBVAR:Q}
CONFIGURE_ENV+= INSTALLROOT=${DESTDIR}
CONFIGURE_ENV+= INSTALLBINDIR=${XYBINDIR:Q}
CONFIGURE_ENV+= INSTALLETCDIR=${XYETCDIR:Q}
CONFIGURE_ENV+= INSTALLEXADIR=${EXAMPLEDIR:Q}
CONFIGURE_ENV+= INSTALLEXTDIR=${XYEXTDIR:Q}
CONFIGURE_ENV+= INSTALLTMPDIR=${XYTMPDIR:Q}
CONFIGURE_ENV+= INSTALLWEBDIR=${XYWEBDIR:Q}
CONFIGURE_ENV+= INSTALLWWWDIR=${XYWWWDIR:Q}
CONFIGURE_ENV+= MANROOT=${PREFIX}/${PKGMANDIR}/
SUBST_CLASSES+= bashpath
SUBST_FILES.bashpath= hobbitd/hobbitreports.sh.DIST
SUBST_SED.bashpath= -e 's,/bin/bash,'${BASH}','
SUBST_STAGE.bashpath= post-patch
USE_TOOLS+= awk:run cat:run cp:run
USE_TOOLS+= cut:run date:run egrep:run
USE_TOOLS+= expr:run find:run grep:run
USE_TOOLS+= head:run id:run ls:run
USE_TOOLS+= mv:run rm:run sed:run
USE_TOOLS+= sort:run tail:run touch:run
USE_TOOLS+= tr:run wc:run bash:run
MAKE_DIRS+= ${BBTOPDIR}
MAKE_DIRS+= ${BBHOME}
OWN_DIRS_PERMS+= ${XYEXTDIR} ${BBUSER} ${BBGROUP} 0755
OWN_DIRS_PERMS+= ${BBLOGDIR} ${BBUSER} ${BBGROUP} 0755
OWN_DIRS_PERMS+= ${XYTMPDIR} ${BBUSER} ${BBGROUP} 0755
OWN_DIRS_PERMS+= ${BBVAR} ${BBUSER} ${BBGROUP} 0755
VAR_SUBDIRS= acks data disabled download hist histlogs hostdata rrd
.for dir in ${VAR_SUBDIRS}
OWN_DIRS_PERMS+= ${BBVAR}/${dir} ${BBUSER} ${BBGROUP} 0755
.endfor
OWN_DIRS_PERMS+= ${XYWWWDIR} ${BBUSER} ${BBGROUP} 0755
WWW_SUBDIRS= gifs help html menu notes wml
.for dir in ${WWW_SUBDIRS}
OWN_DIRS_PERMS+= ${XYWWWDIR}/${dir} ${BBUSER} ${BBGROUP} 0755
.endfor
OWN_DIRS_PERMS+= ${XYWWWDIR}/rep ${BBUSER} ${APACHE_GROUP} 0755
OWN_DIRS_PERMS+= ${XYWWWDIR}/snap ${BBUSER} ${APACHE_GROUP} 0755
MAKE_DIRS_PERMS+= ${SECCGIDIR} root ${BBGROUP} 0000
# actual config files
CFILES= bb-hosts bb-services bbcombotest.cfg client-local.cfg
CFILES+= columndoc.csv hobbit-alerts.cfg hobbit-apache.conf
CFILES+= hobbit-clients.cfg hobbit-nkview.cfg hobbitcgi.cfg
CFILES+= hobbitgraph.cfg hobbitlaunch.cfg hobbitserver.cfg
.for file in ${CFILES}
CONF_FILES_PERMS+= ${EXAMPLEDIR}/${file} ${PKG_SYSCONFDIR.xymon}/${file} ${BBUSER} ${BBGROUP} 0644
.endfor
MAKE_ENV+= MAKE=${MAKE_PROGRAM:Q}
MAKE_ENV+= PKGDIR=${PREFIX:Q}
MAKE_ENV+= INSTALLROOT=${DESTDIR}
MAKE_ENV+= PKGBUILD=y
MAKE_ENV+= ${TOOLS_ENV}
.include "../../databases/rrdtool/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/14 22:58:57 spz Exp $
libexec/xymon/bb
libexec/xymon/bb-ack.cgi
libexec/xymon/bb-csvinfo.cgi
libexec/xymon/bb-datepage.cgi
libexec/xymon/bb-eventlog.cgi
libexec/xymon/bb-findhost.cgi
libexec/xymon/bb-hist.cgi
libexec/xymon/bb-rep.cgi
libexec/xymon/bb-replog.cgi
libexec/xymon/bb-snapshot.cgi
libexec/xymon/bb-webpage
libexec/xymon/bbcmd
libexec/xymon/bbcombotest
libexec/xymon/bbdigest
libexec/xymon/bbgen
libexec/xymon/bbhostgrep
libexec/xymon/bbhostshow
libexec/xymon/bbmessage.cgi
libexec/xymon/bbproxy
libexec/xymon/bbtest-net
libexec/xymon/beastat
libexec/xymon/boilerplate.cgi
libexec/xymon/cgi-bin/bb-csvinfo.sh
libexec/xymon/cgi-bin/bb-datepage.sh
libexec/xymon/cgi-bin/bb-eventlog.sh
libexec/xymon/cgi-bin/bb-findhost.sh
libexec/xymon/cgi-bin/bb-hist.sh
libexec/xymon/cgi-bin/bb-histlog.sh
libexec/xymon/cgi-bin/bb-hostsvc.sh
libexec/xymon/cgi-bin/bb-rep.sh
libexec/xymon/cgi-bin/bb-replog.sh
libexec/xymon/cgi-bin/bb-snapshot.sh
libexec/xymon/cgi-bin/hobbit-certreport.sh
libexec/xymon/cgi-bin/hobbit-confreport-critical.sh
libexec/xymon/cgi-bin/hobbit-confreport.sh
libexec/xymon/cgi-bin/hobbit-ghosts.sh
libexec/xymon/cgi-bin/hobbit-hostgraphs.sh
libexec/xymon/cgi-bin/hobbit-hostlist.sh
libexec/xymon/cgi-bin/hobbit-nkview.sh
libexec/xymon/cgi-bin/hobbit-nongreen.sh
libexec/xymon/cgi-bin/hobbit-notifylog.sh
libexec/xymon/cgi-bin/hobbit-perfdata.sh
libexec/xymon/cgi-bin/hobbit-topchanges.sh
libexec/xymon/cgi-bin/hobbitcolumn.sh
libexec/xymon/cgi-bin/hobbitgraph.sh
libexec/xymon/cgi-secure/bb-ack.sh
libexec/xymon/cgi-secure/hobbit-ackinfo.sh
libexec/xymon/cgi-secure/hobbit-enadis.sh
libexec/xymon/cgi-secure/hobbit-nkedit.sh
libexec/xymon/cgi-secure/hobbit-useradm.sh
libexec/xymon/convertnk
libexec/xymon/ext/bbretest-net.sh
libexec/xymon/hobbit-ackinfo.cgi
libexec/xymon/hobbit-confreport.cgi
libexec/xymon/hobbit-enadis.cgi
libexec/xymon/hobbit-ghosts.cgi
libexec/xymon/hobbit-hostgraphs.cgi
libexec/xymon/hobbit-hostlist.cgi
libexec/xymon/hobbit-mailack
libexec/xymon/hobbit-nkedit.cgi
libexec/xymon/hobbit-nkview.cgi
libexec/xymon/hobbit-notifylog.cgi
libexec/xymon/hobbit-perfdata.cgi
libexec/xymon/hobbit-statusreport.cgi
libexec/xymon/hobbit-useradm.cgi
libexec/xymon/hobbit.sh
libexec/xymon/hobbitd
libexec/xymon/hobbitd_alert
libexec/xymon/hobbitd_capture
libexec/xymon/hobbitd_channel
libexec/xymon/hobbitd_client
libexec/xymon/hobbitd_filestore
libexec/xymon/hobbitd_history
libexec/xymon/hobbitd_hostdata
libexec/xymon/hobbitd_larrd
libexec/xymon/hobbitd_locator
libexec/xymon/hobbitd_rrd
libexec/xymon/hobbitd_sample
libexec/xymon/hobbitfetch
libexec/xymon/hobbitgraph.cgi
libexec/xymon/hobbitlaunch
libexec/xymon/hobbitping
libexec/xymon/hobbitreports.sh
libexec/xymon/hobbitsvc.cgi
libexec/xymon/moverrd.sh
libexec/xymon/rrdcachectl
libexec/xymon/trimhistory
man/man1/bb-ack.cgi.1
man/man1/bb-csvinfo.cgi.1
man/man1/bb-datepage.cgi.1
man/man1/bb-eventlog.cgi.1
man/man1/bb-findhost.cgi.1
man/man1/bb-hist.cgi.1
man/man1/bb-rep.cgi.1
man/man1/bb-replog.cgi.1
man/man1/bb-snapshot.cgi.1
man/man1/bb-webpage.cgi.1
man/man1/bb.1
man/man1/bbcmd.1
man/man1/bbcombotest.1
man/man1/bbdigest.1
man/man1/bbgen.1
man/man1/bbhostgrep.1
man/man1/bbhostshow.1
man/man1/bbretest-net.sh.1
man/man1/bbtest-net.1
man/man1/clientupdate.1
man/man1/hobbit-ackinfo.cgi.1
man/man1/hobbit-confreport.cgi.1
man/man1/hobbit-ghosts.cgi.1
man/man1/hobbit-hostgraphs.cgi.1
man/man1/hobbit-nkedit.cgi.1
man/man1/hobbit-nkview.cgi.1
man/man1/hobbit-statusreport.cgi.1
man/man1/hobbitgraph.cgi.1
man/man1/hobbitping.1
man/man1/hobbitsvc.cgi.1
man/man1/logfetch.1
man/man1/orcahobbit.1
man/man5/bb-hosts.5
man/man5/bb-services.5
man/man5/bbcombotest.cfg.5
man/man5/client-local.cfg.5
man/man5/clientlaunch.cfg.5
man/man5/hobbit-alerts.cfg.5
man/man5/hobbit-clients.cfg.5
man/man5/hobbit-nkview.cfg.5
man/man5/hobbitcgi.cfg.5
man/man5/hobbitclient.cfg.5
man/man5/hobbitgraph.cfg.5
man/man5/hobbitlaunch.cfg.5
man/man5/hobbitserver.cfg.5
man/man5/hobbitweb.5
man/man7/xymon.7
man/man8/bbmessage.cgi.8
man/man8/bbproxy.8
man/man8/hobbit-enadis.cgi.8
man/man8/hobbit-mailack.8
man/man8/hobbitd.8
man/man8/hobbitd_alert.8
man/man8/hobbitd_channel.8
man/man8/hobbitd_client.8
man/man8/hobbitd_filestore.8
man/man8/hobbitd_history.8
man/man8/hobbitd_hostdata.8
man/man8/hobbitd_rrd.8
man/man8/hobbitd_sample.8
man/man8/hobbitfetch.8
man/man8/hobbitlaunch.8
man/man8/msgcache.8
man/man8/trimhistory.8
share/examples/rc.d/xymon
share/examples/xymon/bb-hosts
share/examples/xymon/bb-services
share/examples/xymon/bbcombotest.cfg
share/examples/xymon/client-local.cfg
share/examples/xymon/columndoc.csv
share/examples/xymon/hobbit-alerts.cfg
share/examples/xymon/hobbit-apache.conf
share/examples/xymon/hobbit-clients.cfg
share/examples/xymon/hobbit-nkview.cfg
share/examples/xymon/hobbit-nkview.cfg.bak
share/examples/xymon/hobbitcgi.cfg
share/examples/xymon/hobbitgraph.cfg
share/examples/xymon/hobbitlaunch.cfg
share/examples/xymon/hobbitserver.cfg
share/examples/xymon/www/gifs/README
share/examples/xymon/www/gifs/arrow.gif
share/examples/xymon/www/gifs/bkg-blue.gif
share/examples/xymon/www/gifs/bkg-clear.gif
share/examples/xymon/www/gifs/bkg-green.gif
share/examples/xymon/www/gifs/bkg-purple.gif
share/examples/xymon/www/gifs/bkg-red.gif
share/examples/xymon/www/gifs/bkg-yellow.gif
share/examples/xymon/www/gifs/blue-ack.gif
share/examples/xymon/www/gifs/blue-recent.gif
share/examples/xymon/www/gifs/blue.gif
share/examples/xymon/www/gifs/clear-recent.gif
share/examples/xymon/www/gifs/clear.gif
share/examples/xymon/www/gifs/favicon-blue.ico
share/examples/xymon/www/gifs/favicon-clear.ico
share/examples/xymon/www/gifs/favicon-green.ico
share/examples/xymon/www/gifs/favicon-purple.ico
share/examples/xymon/www/gifs/favicon-red.ico
share/examples/xymon/www/gifs/favicon-unknown.ico
share/examples/xymon/www/gifs/favicon-yellow.ico
share/examples/xymon/www/gifs/green-recent.gif
share/examples/xymon/www/gifs/green.gif
share/examples/xymon/www/gifs/purple-ack.gif
share/examples/xymon/www/gifs/purple-recent.gif
share/examples/xymon/www/gifs/purple.gif
share/examples/xymon/www/gifs/red-ack.gif
share/examples/xymon/www/gifs/red-recent.gif
share/examples/xymon/www/gifs/red.gif
share/examples/xymon/www/gifs/unknown-recent.gif
share/examples/xymon/www/gifs/unknown.gif
share/examples/xymon/www/gifs/yellow-ack.gif
share/examples/xymon/www/gifs/yellow-recent.gif
share/examples/xymon/www/gifs/yellow.gif
share/examples/xymon/www/gifs/zoom.gif
share/examples/xymon/www/help/about.html
share/examples/xymon/www/help/bb-to-hobbit.html
share/examples/xymon/www/help/clonewarn.jpg
share/examples/xymon/www/help/configure.txt
share/examples/xymon/www/help/criticalsystems.html
share/examples/xymon/www/help/critview-detail-acked.jpg
share/examples/xymon/www/help/critview-detail-ackform.jpg
share/examples/xymon/www/help/critview-detail.jpg
share/examples/xymon/www/help/critview-disk.jpg
share/examples/xymon/www/help/critview-green.jpg
share/examples/xymon/www/help/editor-clonemaster.jpg
share/examples/xymon/www/help/editor-diskchanged.jpg
share/examples/xymon/www/help/editor-disksetup.jpg
share/examples/xymon/www/help/editor-main.jpg
share/examples/xymon/www/help/editor-makeclone.jpg
share/examples/xymon/www/help/editor-nohost.jpg
share/examples/xymon/www/help/editor-showclone.jpg
share/examples/xymon/www/help/hobbit-alerts.html
share/examples/xymon/www/help/hobbit-apacheconf.txt
share/examples/xymon/www/help/hobbit-bbhosts.png
share/examples/xymon/www/help/hobbit-clients.png
share/examples/xymon/www/help/hobbit-config.html
share/examples/xymon/www/help/hobbit-mrtg.html
share/examples/xymon/www/help/hobbit-tips.html
share/examples/xymon/www/help/hobbitmain.png
share/examples/xymon/www/help/hobbitprocs.png
share/examples/xymon/www/help/howtograph.html
share/examples/xymon/www/help/install.html
share/examples/xymon/www/help/known-issues.html
share/examples/xymon/www/help/mainview-acked.jpg
share/examples/xymon/www/help/mainview.jpg
share/examples/xymon/www/help/manpages/index.html
share/examples/xymon/www/help/manpages/man1/bb-ack.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-csvinfo.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-datepage.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-eventlog.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-findhost.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-hist.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-rep.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-replog.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-snapshot.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb-webpage.cgi.1.html
share/examples/xymon/www/help/manpages/man1/bb.1.html
share/examples/xymon/www/help/manpages/man1/bbcmd.1.html
share/examples/xymon/www/help/manpages/man1/bbcombotest.1.html
share/examples/xymon/www/help/manpages/man1/bbdigest.1.html
share/examples/xymon/www/help/manpages/man1/bbgen.1.html
share/examples/xymon/www/help/manpages/man1/bbhostgrep.1.html
share/examples/xymon/www/help/manpages/man1/bbhostshow.1.html
share/examples/xymon/www/help/manpages/man1/bbretest-net.sh.1.html
share/examples/xymon/www/help/manpages/man1/bbtest-net.1.html
share/examples/xymon/www/help/manpages/man1/clientupdate.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-ackinfo.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-confreport.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-ghosts.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-hostgraphs.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-nkedit.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-nkview.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbit-statusreport.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbitgraph.cgi.1.html
share/examples/xymon/www/help/manpages/man1/hobbitping.1.html
share/examples/xymon/www/help/manpages/man1/hobbitsvc.cgi.1.html
share/examples/xymon/www/help/manpages/man1/logfetch.1.html
share/examples/xymon/www/help/manpages/man1/orcahobbit.1.html
share/examples/xymon/www/help/manpages/man5/bb-hosts.5.html
share/examples/xymon/www/help/manpages/man5/bb-services.5.html
share/examples/xymon/www/help/manpages/man5/bbcombotest.cfg.5.html
share/examples/xymon/www/help/manpages/man5/client-local.cfg.5.html
share/examples/xymon/www/help/manpages/man5/clientlaunch.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbit-alerts.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbit-clients.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbit-nkview.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitcgi.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitclient.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitgraph.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitlaunch.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitserver.cfg.5.html
share/examples/xymon/www/help/manpages/man5/hobbitweb.5.html
share/examples/xymon/www/help/manpages/man7/xymon.7.html
share/examples/xymon/www/help/manpages/man8/bbmessage.cgi.8.html
share/examples/xymon/www/help/manpages/man8/bbproxy.8.html
share/examples/xymon/www/help/manpages/man8/hobbit-enadis.cgi.8.html
share/examples/xymon/www/help/manpages/man8/hobbit-mailack.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_alert.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_channel.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_client.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_filestore.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_history.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_hostdata.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_rrd.8.html
share/examples/xymon/www/help/manpages/man8/hobbitd_sample.8.html
share/examples/xymon/www/help/manpages/man8/hobbitfetch.8.html
share/examples/xymon/www/help/manpages/man8/hobbitlaunch.8.html
share/examples/xymon/www/help/manpages/man8/msgcache.8.html
share/examples/xymon/www/help/manpages/man8/trimhistory.8.html
share/examples/xymon/www/help/stdview-detail-acked.jpg
share/examples/xymon/www/menu/README
share/examples/xymon/www/menu/menu.css
share/examples/xymon/www/menu/menu.js
share/examples/xymon/www/menu/menu_items.js
share/examples/xymon/www/menu/menu_tpl.js
share/xymon/web/acknowledge_footer
share/xymon/web/acknowledge_form
share/xymon/web/acknowledge_header
share/xymon/web/bb2_footer
share/xymon/web/bb2_header
share/xymon/web/bb_footer
share/xymon/web/bb_header
share/xymon/web/bbnk_footer
share/xymon/web/bbnk_header
share/xymon/web/bbrep_footer
share/xymon/web/bbrep_header
share/xymon/web/bbsnap2_footer
share/xymon/web/bbsnap2_header
share/xymon/web/bbsnap_footer
share/xymon/web/bbsnap_header
share/xymon/web/bbsnapnk_footer
share/xymon/web/bbsnapnk_header
share/xymon/web/columndoc_footer
share/xymon/web/columndoc_header
share/xymon/web/confreport_back
share/xymon/web/confreport_footer
share/xymon/web/confreport_front
share/xymon/web/confreport_header
share/xymon/web/event_footer
share/xymon/web/event_form
share/xymon/web/event_header
share/xymon/web/findhost_footer
share/xymon/web/findhost_form
share/xymon/web/findhost_header
share/xymon/web/ghosts_footer
share/xymon/web/ghosts_header
share/xymon/web/graphs_footer
share/xymon/web/graphs_header
share/xymon/web/hist_footer
share/xymon/web/hist_header
share/xymon/web/histlog_footer
share/xymon/web/histlog_header
share/xymon/web/hobbitnk_footer
share/xymon/web/hobbitnk_header
share/xymon/web/hostgraphs_footer
share/xymon/web/hostgraphs_form
share/xymon/web/hostgraphs_header
share/xymon/web/hostlist_footer
share/xymon/web/hostlist_form
share/xymon/web/hostlist_header
share/xymon/web/hostsvc_footer
share/xymon/web/hostsvc_header
share/xymon/web/info_footer
share/xymon/web/info_header
share/xymon/web/maint_footer
share/xymon/web/maint_form
share/xymon/web/maint_header
share/xymon/web/maintact_footer
share/xymon/web/maintact_header
share/xymon/web/nkack_form
share/xymon/web/nkedit_footer
share/xymon/web/nkedit_form
share/xymon/web/nkedit_header
share/xymon/web/notify_footer
share/xymon/web/notify_form
share/xymon/web/notify_header
share/xymon/web/perfdata_footer
share/xymon/web/perfdata_form
share/xymon/web/perfdata_header
share/xymon/web/replog_footer
share/xymon/web/replog_header
share/xymon/web/report_footer
share/xymon/web/report_form
share/xymon/web/report_form_daily
share/xymon/web/report_form_monthly
share/xymon/web/report_form_weekly
share/xymon/web/report_header
share/xymon/web/snapshot_footer
share/xymon/web/snapshot_form
share/xymon/web/snapshot_header
share/xymon/web/topchanges_footer
share/xymon/web/topchanges_form
share/xymon/web/topchanges_header
share/xymon/web/trends_form
share/xymon/web/useradm_footer
share/xymon/web/useradm_form
share/xymon/web/useradm_header
share/xymon/web/zoom.js
$NetBSD: distinfo,v 1.1.1.1 2010/02/14 22:58:57 spz Exp $
SHA1 (xymon-4.3.0-beta2.tar.gz) = 484ab668358856c7bbc7ba85bfe2afa7c0fa2f10
RMD160 (xymon-4.3.0-beta2.tar.gz) = ab8db88d1e2cb7363c8a9b35396094ea921cc5b5
Size (xymon-4.3.0-beta2.tar.gz) = 2405826 bytes
SHA1 (patch-aa) = ce534d384fe0936f7ad6e1a2601c0f4cb1fc3346
SHA1 (patch-ab) = 255892c607845790641924a4febea18a030685cb
SHA1 (patch-ac) = 653f3496ce2a6107f0c5f30d50b8d7ecc947b196
SHA1 (patch-ad) = e5a42cbc6537e23a5a44ed343c86e121adadb139
SHA1 (patch-ae) = 8be66af4b877958f2bc64e18494c67a73acd4360
SHA1 (patch-af) = a81d3e73ffd6718e20320c6bd59c56ac4616524a
#! /bin/sh
#
# $NetBSD: INSTALL,v 1.1.1.1 2010/02/14 22:58:57 spz Exp $
#
# xymons user/group
BBUSER=xymon
BBGROUP=xymon
EXAMPLEDIR=@EXAMPLEDIR@
BBHOME=@BBHOME@
BBVAR=@BBVAR@
BBLOGDIR=@BBLOGDIR@
XYBINDIR=@XYBINDIR@
XYETCDIR=@XYETCDIR@
XYEXTDIR=@XYEXTDIR@
XYTMPDIR=@XYTMPDIR@
XYWEBDIR=@XYWEBDIR@
XYWWWDIR=@XYWWWDIR@
case ${STAGE} in
POST-INSTALL)
GIFS="README arrow.gif bkg-blue.gif bkg-clear.gif \
bkg-green.gif bkg-purple.gif bkg-red.gif bkg-yellow.gif \
blue-ack.gif blue-recent.gif blue.gif clear-recent.gif \
clear.gif favicon-blue.ico favicon-clear.ico \
favicon-green.ico favicon-purple.ico favicon-red.ico \
favicon-unknown.ico favicon-yellow.ico green-recent.gif \
green.gif purple-ack.gif purple-recent.gif purple.gif \
red-ack.gif red-recent.gif red.gif unknown-recent.gif \
unknown.gif yellow-ack.gif yellow-recent.gif \
yellow.gif zoom.gif"
for file in ${GIFS}; do
${CP} ${EXAMPLEDIR}/www/gifs/${file} ${XYWWWDIR}/gifs/${file}
${CHMOD} 0444 ${XYWWWDIR}/gifs/${file}
done
MENUFILES="README menu.css menu.js menu_items.js menu_tpl.js"
for file in ${MENUFILES}; do
${CP} ${EXAMPLEDIR}/www/menu/${file} ${XYWWWDIR}/menu/${file}
${CHMOD} 0444 ${XYWWWDIR}/menu/${file}
done
DOCFILES="about.html bb-to-hobbit.html clonewarn.jpg \
configure.txt criticalsystems.html \
critview-detail-acked.jpg \
critview-detail-ackform.jpg \
critview-detail.jpg critview-disk.jpg \
critview-green.jpg editor-clonemaster.jpg \
editor-diskchanged.jpg editor-disksetup.jpg \
editor-main.jpg editor-makeclone.jpg \
editor-nohost.jpg editor-showclone.jpg \
hobbit-alerts.html hobbit-apacheconf.txt \
hobbit-bbhosts.png hobbit-clients.png \
hobbit-config.html hobbit-mrtg.html \
hobbit-tips.html hobbitmain.png hobbitprocs.png \
howtograph.html install.html known-issues.html \
mainview-acked.jpg mainview.jpg \
manpages/index.html \
manpages/man1/bb-ack.cgi.1.html \
manpages/man1/bb-csvinfo.cgi.1.html \
manpages/man1/bb-datepage.cgi.1.html \
manpages/man1/bb-eventlog.cgi.1.html \
manpages/man1/bb-findhost.cgi.1.html \
manpages/man1/bb-hist.cgi.1.html \
manpages/man1/bb-rep.cgi.1.html \
manpages/man1/bb-replog.cgi.1.html \
manpages/man1/bb-snapshot.cgi.1.html \
manpages/man1/bb-webpage.cgi.1.html \
manpages/man1/bb.1.html \
manpages/man1/bbcmd.1.html \
manpages/man1/bbcombotest.1.html \
manpages/man1/bbdigest.1.html \
manpages/man1/bbgen.1.html \
manpages/man1/bbhostgrep.1.html \
manpages/man1/bbhostshow.1.html \
manpages/man1/bbretest-net.sh.1.html \
manpages/man1/bbtest-net.1.html \
manpages/man1/clientupdate.1.html \
manpages/man1/hobbit-ackinfo.cgi.1.html \
manpages/man1/hobbit-confreport.cgi.1.html \
manpages/man1/hobbit-ghosts.cgi.1.html \
manpages/man1/hobbit-hostgraphs.cgi.1.html \
manpages/man1/hobbit-nkedit.cgi.1.html \
manpages/man1/hobbit-nkview.cgi.1.html \
manpages/man1/hobbit-statusreport.cgi.1.html \
manpages/man1/hobbitgraph.cgi.1.html \
manpages/man1/hobbitping.1.html \
manpages/man1/hobbitsvc.cgi.1.html \
manpages/man1/logfetch.1.html \
manpages/man1/orcahobbit.1.html \
manpages/man5/bb-hosts.5.html \
manpages/man5/bb-services.5.html \
manpages/man5/bbcombotest.cfg.5.html \
manpages/man5/client-local.cfg.5.html \
manpages/man5/clientlaunch.cfg.5.html \
manpages/man5/hobbit-alerts.cfg.5.html \
manpages/man5/hobbit-clients.cfg.5.html \
manpages/man5/hobbit-nkview.cfg.5.html \
manpages/man5/hobbitcgi.cfg.5.html \
manpages/man5/hobbitclient.cfg.5.html \
manpages/man5/hobbitgraph.cfg.5.html \
manpages/man5/hobbitlaunch.cfg.5.html \
manpages/man5/hobbitserver.cfg.5.html \
manpages/man5/hobbitweb.5.html \
manpages/man7/xymon.7.html \
manpages/man8/bbmessage.cgi.8.html \
manpages/man8/bbproxy.8.html \
manpages/man8/hobbit-enadis.cgi.8.html \
manpages/man8/hobbit-mailack.8.html \
manpages/man8/hobbitd.8.html \
manpages/man8/hobbitd_alert.8.html \
manpages/man8/hobbitd_channel.8.html \
manpages/man8/hobbitd_client.8.html \
manpages/man8/hobbitd_filestore.8.html \
manpages/man8/hobbitd_history.8.html \
manpages/man8/hobbitd_hostdata.8.html \
manpages/man8/hobbitd_rrd.8.html \
manpages/man8/hobbitd_sample.8.html \
manpages/man8/hobbitfetch.8.html \
manpages/man8/hobbitlaunch.8.html \
manpages/man8/msgcache.8.html \
manpages/man8/trimhistory.8.html \
stdview-detail-acked.jpg"
DOCDIRS="manpages manpages/man1 manpages/man5 \
manpages/man7 manpages/man8"
for dir in ${DOCDIRS}; do
${MKDIR} ${XYWWWDIR}/help/${dir}
${CHMOD} 0755 ${XYWWWDIR}/help/${dir}
done
for file in ${DOCFILES}; do
${CP} ${EXAMPLEDIR}/www/help/${file} ${XYWWWDIR}/help/${file}
${CHMOD} 0444 ${XYWWWDIR}/help/${file}
done
if [ ! -h ${BBHOME}/bin ]; then
${LN} -s ${XYBINDIR} ${BBHOME}/bin
fi
if [ ! -h ${BBHOME}/etc ]; then
${LN} -s ${XYETCDIR} ${BBHOME}/etc
fi
if [ ! -h ${BBHOME}/ext ]; then
${LN} -s ${XYEXTDIR} ${BBHOME}/ext
fi
if [ ! -h ${BBHOME}/tmp ]; then
${LN} -s ${XYTMPDIR} ${BBHOME}/tmp
fi
if [ ! -h ${BBHOME}/web ]; then
${LN} -s ${XYWEBDIR} ${BBHOME}/web
fi
if [ ! -h ${BBHOME}/www ]; then
${LN} -s ${XYWWWDIR} ${BBHOME}/www
fi
if [ ! -h ${BBHOME}/download ]; then
${LN} -s ${BBVAR}/download ${BBHOME}/download
fi
if [ ! -h ${BBHOME}/logs ]; then
${LN} -s ${BBLOGDIR} ${BBHOME}/logs
fi
;;
esac
#! /bin/sh
#
# $NetBSD: DEINSTALL,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
#
# xymons user/group
EXAMPLEDIR=@EXAMPLEDIR@
BBHOME=@BBHOME@
BBVAR=@BBVAR@
BBLOGDIR=@BBLOGDIR@
XYBINDIR=@XYBINDIR@
XYETCDIR=@XYETCDIR@
XYEXTDIR=@XYEXTDIR@
XYTMPDIR=@XYTMPDIR@
XYWEBDIR=@XYWEBDIR@
XYWWWDIR=@XYWWWDIR@
case ${STAGE} in
DEINSTALL)
GIFS="README arrow.gif bkg-blue.gif bkg-clear.gif \
bkg-green.gif bkg-purple.gif bkg-red.gif bkg-yellow.gif \
blue-ack.gif blue-recent.gif blue.gif clear-recent.gif \
clear.gif favicon-blue.ico favicon-clear.ico \
favicon-green.ico favicon-purple.ico favicon-red.ico \
favicon-unknown.ico favicon-yellow.ico green-recent.gif \
green.gif purple-ack.gif purple-recent.gif purple.gif \
red-ack.gif red-recent.gif red.gif unknown-recent.gif \
unknown.gif yellow-ack.gif yellow-recent.gif \
yellow.gif zoom.gif"
for file in ${GIFS}; do
${RM} ${XYWWWDIR}/gifs/${file}
done
MENUFILES="README menu.css menu.js menu_items.js menu_tpl.js"
for file in ${MENUFILES}; do
${RM} ${XYWWWDIR}/menu/${file}
done
DOCFILES="about.html bb-to-hobbit.html clonewarn.jpg \
configure.txt criticalsystems.html \
critview-detail-acked.jpg \
critview-detail-ackform.jpg \
critview-detail.jpg critview-disk.jpg \
critview-green.jpg editor-clonemaster.jpg \
editor-diskchanged.jpg editor-disksetup.jpg \
editor-main.jpg editor-makeclone.jpg \
editor-nohost.jpg editor-showclone.jpg \
hobbit-alerts.html hobbit-apacheconf.txt \
hobbit-bbhosts.png hobbit-clients.png \
hobbit-config.html hobbit-mrtg.html \
hobbit-tips.html hobbitmain.png hobbitprocs.png \
howtograph.html install.html known-issues.html \
mainview-acked.jpg mainview.jpg \
manpages/index.html \
manpages/man1/bb-ack.cgi.1.html \
manpages/man1/bb-csvinfo.cgi.1.html \
manpages/man1/bb-datepage.cgi.1.html \
manpages/man1/bb-eventlog.cgi.1.html \
manpages/man1/bb-findhost.cgi.1.html \
manpages/man1/bb-hist.cgi.1.html \
manpages/man1/bb-rep.cgi.1.html \
manpages/man1/bb-replog.cgi.1.html \
manpages/man1/bb-snapshot.cgi.1.html \
manpages/man1/bb-webpage.cgi.1.html \
manpages/man1/bb.1.html \
manpages/man1/bbcmd.1.html \
manpages/man1/bbcombotest.1.html \
manpages/man1/bbdigest.1.html \
manpages/man1/bbgen.1.html \
manpages/man1/bbhostgrep.1.html \
manpages/man1/bbhostshow.1.html \
manpages/man1/bbretest-net.sh.1.html \
manpages/man1/bbtest-net.1.html \
manpages/man1/clientupdate.1.html \
manpages/man1/hobbit-ackinfo.cgi.1.html \
manpages/man1/hobbit-confreport.cgi.1.html \
manpages/man1/hobbit-ghosts.cgi.1.html \
manpages/man1/hobbit-hostgraphs.cgi.1.html \
manpages/man1/hobbit-nkedit.cgi.1.html \
manpages/man1/hobbit-nkview.cgi.1.html \
manpages/man1/hobbit-statusreport.cgi.1.html \
manpages/man1/hobbitgraph.cgi.1.html \
manpages/man1/hobbitping.1.html \
manpages/man1/hobbitsvc.cgi.1.html \
manpages/man1/logfetch.1.html \
manpages/man1/orcahobbit.1.html \
manpages/man5/bb-hosts.5.html \
manpages/man5/bb-services.5.html \
manpages/man5/bbcombotest.cfg.5.html \
manpages/man5/client-local.cfg.5.html \
manpages/man5/clientlaunch.cfg.5.html \
manpages/man5/hobbit-alerts.cfg.5.html \
manpages/man5/hobbit-clients.cfg.5.html \
manpages/man5/hobbit-nkview.cfg.5.html \
manpages/man5/hobbitcgi.cfg.5.html \
manpages/man5/hobbitclient.cfg.5.html \
manpages/man5/hobbitgraph.cfg.5.html \
manpages/man5/hobbitlaunch.cfg.5.html \
manpages/man5/hobbitserver.cfg.5.html \
manpages/man5/hobbitweb.5.html \
manpages/man7/xymon.7.html \
manpages/man8/bbmessage.cgi.8.html \
manpages/man8/bbproxy.8.html \
manpages/man8/hobbit-enadis.cgi.8.html \
manpages/man8/hobbit-mailack.8.html \
manpages/man8/hobbitd.8.html \
manpages/man8/hobbitd_alert.8.html \
manpages/man8/hobbitd_channel.8.html \
manpages/man8/hobbitd_client.8.html \
manpages/man8/hobbitd_filestore.8.html \
manpages/man8/hobbitd_history.8.html \
manpages/man8/hobbitd_hostdata.8.html \
manpages/man8/hobbitd_rrd.8.html \
manpages/man8/hobbitd_sample.8.html \
manpages/man8/hobbitfetch.8.html \
manpages/man8/hobbitlaunch.8.html \
manpages/man8/msgcache.8.html \
manpages/man8/trimhistory.8.html \
stdview-detail-acked.jpg"
DOCDIRS="manpages/man8 manpages/man7 manpages/man5 \
manpages/man1 manpages"
for file in ${DOCFILES}; do
${RM} ${XYWWWDIR}/help/${file}
done
for dir in ${DOCDIRS}; do
${RMDIR} ${XYWWWDIR}/help/${dir}
done
if [ -h ${BBHOME}/bin ]; then
${RM} ${BBHOME}/bin
fi
if [ -h ${BBHOME}/etc ]; then
${RM} ${BBHOME}/etc
fi
if [ -h ${BBHOME}/ext ]; then
${RM} ${BBHOME}/ext
fi
if [ -h ${BBHOME}/tmp ]; then
${RM} ${BBHOME}/tmp
fi
if [ -h ${BBHOME}/web ]; then
${RM} ${BBHOME}/web
fi
if [ -h ${BBHOME}/www ]; then
${RM} ${BBHOME}/www
fi
if [ -h ${BBHOME}/download ]; then
${RM} ${BBHOME}/download
fi
if [ -h ${BBHOME}/logs ]; then
${RM} ${BBHOME}/logs
fi
;;
esac
#!/bin/sh
#
# Xymon site monitoring server
# Startup script contributed by Nathan Arthur (originally for hobbitmon)
#
# PROVIDE: xymon
# REQUIRE: DAEMON xymonclient
name="xymon"
# user-settable rc.conf variables
: ${xymon_launchcfg:="@XYETCDIR@/hobbitlaunch.cfg"}
: ${xymon_servercfg:="@XYETCDIR@/hobbitserver.cfg"}
: ${xymon_log:="@BBLOGDIR@/hobbitlaunch.log"}
: ${xymon_pidfile:="/var/run/${name}.pid"}
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
rcvar=${name}
xymon_user="xymon"
pidfile=${xymon_pidfile}
required_files="${xymon_launchcfg} ${xymon_servercfg}"
command="@XYBINDIR@/hobbitlaunch"
command_args="--config=${xymon_launchcfg} --env=${xymon_servercfg} --log=${xymon_log} --pidfile=${xymon_pidfile}"
xymon_precmd()
{
HOBBITCLIENTHOME="@BBHOME@/client"
export HOBBITCLIENTHOME
touch ${xymon_pidfile} && chown ${xymon_user} ${xymon_pidfile}
}
start_precmd="xymon_precmd"
load_rc_config $name
run_rc_command "$1"
$NetBSD: patch-ad,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- build/Makefile.NetBSD.orig 2010-02-08 23:58:57.000000000 +0000
+++ build/Makefile.NetBSD
@@ -10,7 +10,8 @@ NETLIBS =
CC= gcc
PKGDIR?=/usr/pkg
CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT $(LFSDEF) $(OSDEF) \
- -I${PKGDIR}/include -L${PKGDIR}/lib, -Wl,--rpath=${PKGDIR}/lib
+ -I${PKGDIR}/include -L${PKGDIR}/lib, -Wl,--rpath=${PKGDIR}/lib \
+ -DHAVE_STDINT_H
RPATH = "-Wl,--rpath,"
# Compile flags for debugging
$NetBSD: patch-aa,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- configure.server.orig 2009-02-12 13:09:34.000000000 +0000
+++ configure.server
@@ -495,6 +495,9 @@ fi
if test "$INSTALLETCDIR" != ""; then
echo "INSTALLETCDIR = $INSTALLETCDIR" >>Makefile
fi
+if test "$INSTALLEXADIR" != ""; then
+ echo "INSTALLEXADIR = $INSTALLEXADIR" >>Makefile
+fi
if test "$INSTALLEXTDIR" != ""; then
echo "INSTALLEXTDIR = $INSTALLEXTDIR" >>Makefile
fi
$NetBSD: patch-ae,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- build/bb-commands.sh.orig 2007-04-14 00:20:21.000000000 -0500
+++ build/bb-commands.sh
@@ -9,6 +9,11 @@
findbin() {
MYP="`echo ${PATH} | sed -e 's/:/ /g'`"
+ eval _var=\"\${${ENVNAME}}\"
+ if test -n "$_var"; then
+ echo "$_var"
+ return
+ fi
for D in $MYP
do
@@ -31,11 +36,13 @@ do
done
# WC is special
+ENVNAME=WC
PGM=`findbin wc | head -n 1`
echo "WC=\"${PGM} -l\""
echo "WCC=\"${PGM}\""
# DFCMD is an alias for DF
+ENVNAME=DF
PGM=`findbin df | head -n 1`
echo "# DF,DFCMD and PS are for compatibility only, NOT USED by the Hobbit client"
echo "DF=\"${PGM} -Pk\""
$NetBSD: patch-af,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- ./hobbitd/etcfiles/hobbitlaunch.cfg.DIST.orig 2008-11-27 13:12:12.000000000 +0000
+++ ./hobbitd/etcfiles/hobbitlaunch.cfg.DIST
@@ -198,7 +198,8 @@
# Note: If you are using another client package, you should disable this one.
[hobbitclient]
- ENVFILE @BBTOPDIR@/client/etc/hobbitclient.cfg
+ DISABLED
+ ENVFILE @BBHOME@/client/etc/hobbitclient.cfg
NEEDS hobbitd
CMD @BBTOPDIR@/client/bin/hobbitclient.sh
LOGFILE $BBSERVERLOGS/hobbitclient.log
$NetBSD: patch-ab,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- build/Makefile.rules.orig 2009-02-12 13:00:50.000000000 +0000
+++ build/Makefile.rules
@@ -22,9 +22,9 @@ else
INSTALLTARGETS = install-client install-clientmsg
endif
else
- BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build client
- CLIENTTARGETS = lib-client common-client build-build
- INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-client install-servermsg
+ BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build # client
+ CLIENTTARGETS = # lib-client common-client build-build
+ INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-servermsg # install-client
CFLAGS += $(PCREINCDIR)
endif
@@ -34,6 +34,9 @@ endif
ifndef INSTALLETCDIR
INSTALLETCDIR = $(BBHOME)/etc
endif
+ifndef INSTALLEXADIR
+INSTALLEXADIR = $(BBHOME)/etc
+endif
ifndef INSTALLEXTDIR
INSTALLEXTDIR = $(BBHOME)/ext
endif
@@ -156,58 +159,67 @@ install-servermsg:
@echo "To view the Hobbit webpages, go to http://${BBHOSTNAME}${BBHOSTURL}"
install-dirs:
- mkdir -p $(INSTALLROOT)$(BBHOME) $(INSTALLROOT)$(BBHOME)/download $(INSTALLROOT)$(BBVAR)
+ mkdir -p $(INSTALLROOT)$(BBHOME) $(INSTALLROOT)$(BBVAR)
+
+ mkdir -p $(INSTALLROOT)$(BBVAR)/download
+ifndef PKGBUILD
+ifneq ($(BBVAR),$(BBHOME))
+ ln -sf $(BBVAR)/download $(INSTALLROOT)$(BBHOME)/download
+endif
+endif
mkdir -p $(INSTALLROOT)$(INSTALLBINDIR)
+ifndef PKGBUILD
ifneq ($(INSTALLBINDIR),$(BBHOME)/bin)
ln -sf $(INSTALLBINDIR) $(INSTALLROOT)$(BBHOME)/bin
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLBINDIR)
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLBINDIR)
endif
mkdir -p $(INSTALLROOT)$(INSTALLETCDIR)
+ifndef PKGBUILD
ifneq ($(INSTALLETCDIR),$(BBHOME)/etc)
ln -sf $(INSTALLETCDIR) $(INSTALLROOT)$(BBHOME)/etc
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLETCDIR)
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLETCDIR)
endif
+ mkdir -p $(INSTALLROOT)$(INSTALLEXADIR)
+
mkdir -p $(INSTALLROOT)$(INSTALLEXTDIR)
+ifndef PKGBUILD
ifneq ($(INSTALLEXTDIR),$(BBHOME)/ext)
ln -sf $(INSTALLEXTDIR) $(INSTALLROOT)$(BBHOME)/ext
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLEXTDIR)
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLEXTDIR)
endif
mkdir -p $(INSTALLROOT)$(INSTALLTMPDIR)
+ifndef PKGBUILD
ifneq ($(INSTALLTMPDIR),$(BBHOME)/tmp)
ln -sf $(INSTALLTMPDIR) $(INSTALLROOT)$(BBHOME)/tmp
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLTMPDIR)
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLTMPDIR)
endif
mkdir -p $(INSTALLROOT)$(INSTALLWEBDIR)
+ifndef PKGBUILD
ifneq ($(INSTALLWEBDIR),$(BBHOME)/web)
ln -sf $(INSTALLWEBDIR) $(INSTALLROOT)$(BBHOME)/web
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLWEBDIR)
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLWEBDIR)
endif
mkdir -p $(INSTALLROOT)$(INSTALLWWWDIR) $(INSTALLROOT)$(INSTALLWWWDIR)/gifs $(INSTALLROOT)$(INSTALLWWWDIR)/help $(INSTALLROOT)$(INSTALLWWWDIR)/html $(INSTALLROOT)$(INSTALLWWWDIR)/menu $(INSTALLROOT)$(INSTALLWWWDIR)/notes $(INSTALLROOT)$(INSTALLWWWDIR)/rep $(INSTALLROOT)$(INSTALLWWWDIR)/snap $(INSTALLROOT)$(INSTALLWWWDIR)/wml
+ifndef PKGBUILD
ifneq ($(INSTALLWWWDIR),$(BBHOME)/www)
ln -sf $(INSTALLWWWDIR) $(INSTALLROOT)$(BBHOME)/www
endif
-ifndef PKGBUILD
chown $(BBUSER) $(INSTALLROOT)$(INSTALLWWWDIR) $(INSTALLROOT)$(INSTALLWWWDIR)/gifs $(INSTALLROOT)$(INSTALLWWWDIR)/help $(INSTALLROOT)$(INSTALLWWWDIR)/html $(INSTALLROOT)$(INSTALLWWWDIR)/menu $(INSTALLROOT)$(INSTALLWWWDIR)/notes $(INSTALLROOT)$(INSTALLWWWDIR)/rep $(INSTALLROOT)$(INSTALLWWWDIR)/snap $(INSTALLROOT)$(INSTALLWWWDIR)/wml
chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLWWWDIR) $(INSTALLROOT)$(INSTALLWWWDIR)/gifs $(INSTALLROOT)$(INSTALLWWWDIR)/help $(INSTALLROOT)$(INSTALLWWWDIR)/html $(INSTALLROOT)$(INSTALLWWWDIR)/menu $(INSTALLROOT)$(INSTALLWWWDIR)/notes $(INSTALLROOT)$(INSTALLWWWDIR)/rep $(INSTALLROOT)$(INSTALLWWWDIR)/snap $(INSTALLROOT)$(INSTALLWWWDIR)/wml
ifdef HTTPDGID
@@ -215,6 +227,8 @@ ifdef HTTPDGID
chgrp $(HTTPDGID) $(INSTALLROOT)$(INSTALLWWWDIR)/rep $(INSTALLROOT)$(INSTALLWWWDIR)/snap
endif
chmod g+w $(INSTALLROOT)$(INSTALLWWWDIR)/rep $(INSTALLROOT)$(INSTALLWWWDIR)/snap
+else
+ mkdir -p $(INSTALLROOT)$(INSTALLEXADIR)/www $(INSTALLROOT)$(INSTALLEXADIR)/www/gifs $(INSTALLROOT)$(INSTALLEXADIR)/www/help $(INSTALLROOT)$(INSTALLEXADIR)/www/menu
endif
mkdir -p $(INSTALLROOT)$(BBVAR)/acks
@@ -266,25 +280,25 @@ ifndef PKGBUILD
endif
install-common: install-dirs
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C common install
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C common install
install-bbdisplay: install-common
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbdisplay install
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbdisplay install
install-bbdisplay-nocgi: install-common
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbdisplay install-nocgi
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbdisplay install-nocgi
install-bbnet: install-common
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" ARESVER="$(ARESVER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" PKGBUILD="$(PKGBUILD)" $(MAKE) -C bbnet install
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" ARESVER="$(ARESVER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" PKGBUILD="$(PKGBUILD)" $(MAKE) -C bbnet install
install-bbproxy: install-common
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbproxy install
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C bbproxy install
install-hobbitd: install-common
- MANROOT="$(MANROOT)" BBTOPDIR="$(BBTOPDIR)" BBHOME="$(BBHOME)" BBVAR="$(BBVAR)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" BBLOGDIR="$(BBLOGDIR)" BBUSER="$(BBUSER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" HTTPDGID="$(HTTPDGID)" $(MAKE) -C hobbitd install
+ MANROOT="$(MANROOT)" BBTOPDIR="$(BBTOPDIR)" BBHOME="$(BBHOME)" BBVAR="$(BBVAR)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" BBLOGDIR="$(BBLOGDIR)" BBUSER="$(BBUSER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLEXADIR)/www" HTTPDGID="$(HTTPDGID)" PKGBUILD="$(PKGBUILD)" $(MAKE) -C hobbitd install
install-web: install-common
- MANROOT="$(MANROOT)" BBTOPDIR="$(BBTOPDIR)" BBHOME="$(BBHOME)" BBVAR="$(BBVAR)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" BBLOGDIR="$(BBLOGDIR)" BBUSER="$(BBUSER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C web install
+ MANROOT="$(MANROOT)" BBTOPDIR="$(BBTOPDIR)" BBHOME="$(BBHOME)" BBVAR="$(BBVAR)" CGIDIR="$(CGIDIR)" SECURECGIDIR="$(SECURECGIDIR)" BBLOGDIR="$(BBLOGDIR)" BBUSER="$(BBUSER)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C web install
# NOTE: This one is normally not used - man-page install is done by the sub-Makefiles during "make install"
@@ -297,10 +311,10 @@ install-man:
BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" $(MAKE) -C web install-man
install-docs:
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C docs install
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLEXADIR)/www" $(MAKE) -C docs install
install-custom:
- BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLETCDIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C custom install || echo "Skipped custom modules"
+ BBHOME="$(BBHOME)" MANROOT="$(MANROOT)" INSTALLROOT="$(INSTALLROOT)" INSTALLBINDIR="$(INSTALLBINDIR)" INSTALLETCDIR="$(INSTALLEXADIR)" INSTALLEXTDIR="$(INSTALLEXTDIR)" INSTALLTMPDIR="$(INSTALLTMPDIR)" INSTALLWEBDIR="$(INSTALLWEBDIR)" INSTALLWWWDIR="$(INSTALLWWWDIR)" $(MAKE) -C custom install || echo "Skipped custom modules"
client-install: install-client
$NetBSD: patch-ac,v 1.1.1.1 2010/02/14 22:58:58 spz Exp $
--- hobbitd/Makefile.orig 2009-02-12 13:09:34.000000000 +0000
+++ hobbitd/Makefile
@@ -159,7 +159,9 @@ install-cfg:
cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv
cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/
cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf
+ifndef PKGBUILD
cd $(INSTALLROOT)$(BBHOME); rm -f hobbit.sh; ln -sf bin/hobbit.sh .
+endif
cd wwwfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWWWDIR)/ ../../build/md5.dat
cd webfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWEBDIR)/ ../../build/md5.dat
touch $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-nkview.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-nkview.cfg.bak