--- Big Brother ---
a Web-based Unix Network Monitoring and Notification System by Sean MacGuire <sean@iti.qc.ca> Home Page: http://www.iti.qc.ca/iti/users/sean/bb-dnld/ A Life Example: http://www.menet.umn.edu/~clolson/bb/bb.html (40 machines)
This commit is contained in:
parent
2d0b362f21
commit
ed4bfef983
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4554
151
net/bb/Makefile
Normal file
151
net/bb/Makefile
Normal file
@ -0,0 +1,151 @@
|
||||
# New ports collection makefile for: bb
|
||||
# Version required: 0.9
|
||||
# Date created: So 17 Nov 1996 16:59:23 MET
|
||||
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= bb
|
||||
PKGNAME= bb-0.9
|
||||
CATEGORIES+= net
|
||||
|
||||
MASTER_SITES= http://www.iti.qc.ca/iti/users/sean/bb-dnld/
|
||||
EXTRACT_SUFX= -src.tgz
|
||||
|
||||
MAINTAINER= andreas@klemm.gtn.com
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/sbin/httpd:${PORTSDIR}/www/apache
|
||||
RUN_DEPENDS= ${PREFIX}/bin/lyx:${PORTSDIR}/www/lyx
|
||||
|
||||
post-configure:
|
||||
( cd ${WRKSRC}/doc; /bin/sh bbconfig freebsd )
|
||||
@cp ${FILESDIR}/Makefile ${WRKSRC}
|
||||
|
||||
install:
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/bin
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/doc
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/etc
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/web
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/www/gifs
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/www/logs
|
||||
@mkdir -p ${PREFIX}/${DISTNAME}/www/notes
|
||||
${INSTALL_DATA} ${WRKSRC}/README \
|
||||
${PREFIX}/${DISTNAME}/README
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/bb \
|
||||
${PREFIX}/${DISTNAME}/bin/bb
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-local.sh \
|
||||
${PREFIX}/${DISTNAME}/bin/bb-local.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-network.sh \
|
||||
${PREFIX}/${DISTNAME}/bin/bb-network.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/bb-page.sh \
|
||||
${PREFIX}/${DISTNAME}/bin/bb-page.sh
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/bbd \
|
||||
${PREFIX}/${DISTNAME}/bin/bbd
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/touchtime \
|
||||
${PREFIX}/${DISTNAME}/bin/touchtime
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README \
|
||||
${PREFIX}/${DISTNAME}/doc/README
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/STRUCTURE \
|
||||
${PREFIX}/${DISTNAME}/doc/STRUCTURE
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/doc/bbclient \
|
||||
${PREFIX}/${DISTNAME}/doc/bbclient
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/doc/bbconfig \
|
||||
${PREFIX}/${DISTNAME}/doc/bbconfig
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bb-hosts \
|
||||
${PREFIX}/${DISTNAME}/etc/bb-hosts
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbdef.sh \
|
||||
${PREFIX}/${DISTNAME}/etc/bbdef.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbinc.sh \
|
||||
${PREFIX}/${DISTNAME}/etc/bbinc.sh
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.freebsd \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.freebsd
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.hpux \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.hpux
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.linux \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.linux
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.local \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.local
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/etc/bbsys.sh \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.sh
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.solaris \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.solaris
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/bbsys.sunos \
|
||||
${PREFIX}/${DISTNAME}/etc/bbsys.sunos
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/runbb.sh \
|
||||
${PREFIX}/${DISTNAME}/runbb.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.bkg \
|
||||
${PREFIX}/${DISTNAME}/web/mkbb.bkg
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.cols \
|
||||
${PREFIX}/${DISTNAME}/web/mkbb.cols
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb.sh \
|
||||
${PREFIX}/${DISTNAME}/web/mkbb.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/web/mkbb2.sh \
|
||||
${PREFIX}/${DISTNAME}/web/mkbb2.sh
|
||||
${INSTALL_DATA} ${WRKSRC}/www/bb-help.html \
|
||||
${PREFIX}/${DISTNAME}/www/bb-help.html
|
||||
${INSTALL_DATA} ${WRKSRC}/www/bb-info.html \
|
||||
${PREFIX}/${DISTNAME}/www/bb-info.html
|
||||
${INSTALL_DATA} ${WRKSRC}/www/bb-page.html \
|
||||
${PREFIX}/${DISTNAME}/www/bb-page.html
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bb-diag.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bb-diag.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bb.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bb.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-green.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bkg-green.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-purple.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bkg-purple.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-red.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bkg-red.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/bkg-yellow.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/bkg-yellow.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/blue.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/blue.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/buthelp.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/buthelp.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/butinfo.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/butinfo.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/butpage.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/butpage.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/butview.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/butview.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/green.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/green.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/purple.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/purple.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/red.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/red.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/gifs/yellow.gif \
|
||||
${PREFIX}/${DISTNAME}/www/gifs/yellow.gif
|
||||
${INSTALL_DATA} ${WRKSRC}/www/logs/later \
|
||||
${PREFIX}/${DISTNAME}/www/logs/later
|
||||
@rm -f ${PREFIX}/www/data/bb
|
||||
@ln -s ../../${DISTNAME}/www ${PREFIX}/www/data/bb
|
||||
@echo ""
|
||||
@echo "================================================================"
|
||||
@echo "==== Configuration Notes: ==="
|
||||
@echo "================================================================"
|
||||
@echo ""
|
||||
@echo "a) your hosts 'full qualified domain name' and IP-address"
|
||||
@echo "b) 'watched' hosts 'full qualified domain name' and IP-address"
|
||||
@echo "go here -> ${PREFIX}/${DISTNAME}/etc/bb-hosts"
|
||||
@echo ""
|
||||
@echo "c) configure -> ${PREFIX}/${DISTNAME}/etc/bbdef.sh"
|
||||
@echo "d) configure -> ${PREFIX}/${DISTNAME}/etc/bbinc.sh"
|
||||
@echo ""
|
||||
@echo "e) You need to have a running WWW server (apache)"
|
||||
@echo ""
|
||||
@echo "After that, you can startup the big brother service by typing"
|
||||
@echo " ${PREFIX}/${DISTNAME}/runbb.sh &"
|
||||
@echo ""
|
||||
@echo "and watching your systems status by viewing this URL with"
|
||||
@echo "Netscape or another WWW browser"
|
||||
@echo " http://localhost/bb/bb.html"
|
||||
@echo ""
|
||||
@echo "Look here for a life sample:"
|
||||
@echo " http://www.menet.umn.edu/~clolson/bb/bb.html"
|
||||
@echo ""
|
||||
@echo "Have fun doing it remotely - Andreas ///"
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/bb/distinfo
Normal file
1
net/bb/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (bb-src.tgz) = 1636465540a90e78c336f7c224d95d01
|
2
net/bb/files/Makefile
Normal file
2
net/bb/files/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
all:
|
||||
( cd src && make all install )
|
23
net/bb/files/patch-aa
Normal file
23
net/bb/files/patch-aa
Normal file
@ -0,0 +1,23 @@
|
||||
--- src/Makefile.freebsd.orig Sun Nov 17 19:03:26 1996
|
||||
+++ src/Makefile.freebsd Sun Nov 17 19:04:10 1996
|
||||
@@ -1,19 +1,5 @@
|
||||
-SHELL = /bin/sh
|
||||
-MAKE = make
|
||||
-CC = gcc
|
||||
-
|
||||
-# FLAGS REQUIRED FOR PORTING
|
||||
-# SUNOS 4.1.4, HPUX 10.0, and LINUX NEED NOTHING DEFINED
|
||||
-# EXCEPT MAYBE THE OPTIMIZER
|
||||
-# CFLAGS=-O
|
||||
-# LIBS=
|
||||
-
|
||||
-# SOLARIS
|
||||
-#CFLAGS=-DBZERO -O
|
||||
-#LIBS = -ll -lnsl -lsocket # SOLARIS NEEDS THIS
|
||||
-
|
||||
# FREEBSD NEEDS SPECIAL ZOMBIE HANDLING
|
||||
-CFLAGS=-DZOMBIE -O
|
||||
+CFLAGS+=-DZOMBIE
|
||||
|
||||
all: bb bbd touchtime
|
||||
|
1
net/bb/pkg-comment
Normal file
1
net/bb/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
bb - the big brother Unix Network Monitor
|
22
net/bb/pkg-descr
Normal file
22
net/bb/pkg-descr
Normal file
@ -0,0 +1,22 @@
|
||||
--- Big Brother ---
|
||||
a Web-based Unix Network Monitoring and Notification System
|
||||
by Sean MacGuire <sean@iti.qc.ca>
|
||||
|
||||
Home Page: http://www.iti.qc.ca/iti/users/sean/bb-dnld/
|
||||
A Life Example: http://www.menet.umn.edu/~clolson/bb/bb.html (40 machines)
|
||||
|
||||
d e s i g n - Web-based status display
|
||||
- Notification via Pager
|
||||
- Modular Client-server design
|
||||
- Configurable warning and panic levels
|
||||
- Multi-platform
|
||||
- Easily integrated with other packages
|
||||
- Includes all Source Code
|
||||
- And it's Free
|
||||
|
||||
m o n i t o r s - connectivity via ping or telnet
|
||||
- http servers up and running
|
||||
- disk space usage
|
||||
- cpu usage
|
||||
- essential processes are still running
|
||||
- system-generated messages and warnings
|
47
net/bb/pkg-plist
Normal file
47
net/bb/pkg-plist
Normal file
@ -0,0 +1,47 @@
|
||||
bb/README
|
||||
bb/bin/bb
|
||||
bb/bin/bb-local.sh
|
||||
bb/bin/bb-network.sh
|
||||
bb/bin/bb-page.sh
|
||||
bb/bin/bbd
|
||||
bb/bin/touchtime
|
||||
bb/doc/README
|
||||
bb/doc/STRUCTURE
|
||||
bb/doc/bbclient
|
||||
bb/doc/bbconfig
|
||||
bb/etc/bb-hosts
|
||||
bb/etc/bbdef.sh
|
||||
bb/etc/bbinc.sh
|
||||
bb/etc/bbsys.freebsd
|
||||
bb/etc/bbsys.hpux
|
||||
bb/etc/bbsys.linux
|
||||
bb/etc/bbsys.local
|
||||
bb/etc/bbsys.sh
|
||||
bb/etc/bbsys.solaris
|
||||
bb/etc/bbsys.sunos
|
||||
bb/runbb.sh
|
||||
bb/web/mkbb.bkg
|
||||
bb/web/mkbb.cols
|
||||
bb/web/mkbb.sh
|
||||
bb/web/mkbb2.sh
|
||||
bb/www/bb-help.html
|
||||
bb/www/bb-info.html
|
||||
bb/www/bb-page.html
|
||||
bb/www/bb.html
|
||||
bb/www/bb2.html
|
||||
bb/www/gifs/bb-diag.gif
|
||||
bb/www/gifs/bb.gif
|
||||
bb/www/gifs/bkg-green.gif
|
||||
bb/www/gifs/bkg-purple.gif
|
||||
bb/www/gifs/bkg-red.gif
|
||||
bb/www/gifs/bkg-yellow.gif
|
||||
bb/www/gifs/blue.gif
|
||||
bb/www/gifs/buthelp.gif
|
||||
bb/www/gifs/butinfo.gif
|
||||
bb/www/gifs/butpage.gif
|
||||
bb/www/gifs/butview.gif
|
||||
bb/www/gifs/green.gif
|
||||
bb/www/gifs/purple.gif
|
||||
bb/www/gifs/red.gif
|
||||
bb/www/gifs/yellow.gif
|
||||
bb/www/logs/later
|
15
net/bb/scripts/configure
vendored
Normal file
15
net/bb/scripts/configure
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $WRKSRC || exit 1
|
||||
|
||||
mv runbb.sh runbb.sh.orig
|
||||
sed -e "s:/home/sean/bb:$PREFIX/bb:g" \
|
||||
< runbb.sh.orig \
|
||||
> runbb.sh
|
||||
|
||||
HOSTNAME=`hostname`
|
||||
|
||||
mv $WRKSRC/etc/bp-hosts $WRKSRC/etc/bp-hosts.orig
|
||||
sed -e "s:@@IP@@:172.16.1.1:" -e "s:@@HOST@@:$HOSTNAME:g" \
|
||||
< $FILESDIR/bb-hosts \
|
||||
> $WRKSRC/etc/bb-hosts
|
Loading…
Reference in New Issue
Block a user