mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
93aa7b5018
trends in time-series data. Cricket was expressly developed to help network managers visualize and understand the traffic on their networks, but it can be used all kinds of other jobs, as well. It's similar to mrtg, but takes a different approach, is faster and more flexible.
24 lines
821 B
Bash
24 lines
821 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
echo var set to ${PERL5} >/tmp/debug1
|
|
|
|
FILES_PERLPATH="util/dump-targets util/generate-statics util/listInterfaces \
|
|
compile util/newsstats util/pmlines.pl util/rrd-dump util/rrd-tune \
|
|
util/test-url util/usrModemUsage collect-subtrees collector \
|
|
grapher.cgi mini-graph.cgi"
|
|
FILES_PREFIX="sample-config/news-server/Defaults collect-subtrees collector \
|
|
compile grapher.cgi mini-graph.cgi util/dump-targets \
|
|
util/generate-statics util/listInterfaces util/rrd-dump \
|
|
util/rrd-tune util/usrModemUsage"
|
|
|
|
for f in $FILES_PERLPATH ; do
|
|
mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \
|
|
s+%%PATHPERLBIN%%+${PERL5}+g >${WRKSRC}/${f}
|
|
done
|
|
|
|
for f in $FILES_PREFIX ; do
|
|
mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \
|
|
s+%%PREFIX%%+${PREFIX}+g >${WRKSRC}/${f}
|
|
done
|