Macroscope is a squid, sendmail, courier, exim, bpft log files analizer,
IP sniffer and HTML report generator.
Features:
squid log file parser.
sendmail log file parser.
courier log file parser.
exim log file parser.
bpft(ports/net-mgmt/bpft) log file parser.
Database backends support: MySQL, Firebird.
IP sniffer via pcap library (ports/net/libpcap).
Direct commit changes to database in realtime (no log files).
Traffic static HTML reports generating by date periods.
Traffic dynamic HTML reports generating via CGI (Web interface).
Multithreading architecture.
Portable: BSD os'es and Windows NT family supported, but tested at this time
only under FreeBSD 5.x 6.x 7.x amd64 i386 and Windows 2000 XP 2003.
WWW: http://developer.berlios.de/projects/macroscope/
===> The following configuration options are available for macroscope-1.0.3787_8:
DOCS=on: Build and/or install documentation
FIREBIRD=on: Firebird (Interbase) database support
===> Use 'make config' to modify these settings
net-mgmt/macroscope: unbreak
The initial problem was that the default database support was MySQL 5.0
which has been removed. Upon inspection of the source, it appears that it
could be hardcoded for MySQL 5.0.33. At this point, I commented out the
MySQL option and changed the default to Firebird version 2.0.
According to Redports, the port built on i386 but was broken on amd64.
The specified version of Firebird was changed to 2.5 and now the port builds
on both i386 and amd64.
The unnecessary inclusion of bsd.database.mk was also removed and the
redundant option descriptions were also removed. The maintainer should
investigate Macroscope builds with current versions of MySQL and restore
the option appropriately if it does.
PR: ports/179708
Submitted by: marino
Approved by: bapt (mentor), maintainer timeout (>4 weeks)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR: ports/153292
Submitted by: myself (pgollucci)
Tested by: -exp run by pav
Approved by: portmgr (pav)
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
- Add common code to support for cmake based ports.
- Update devel/cmake to 2.6.0 (also fix ports/123092)
- Use the new CMAKE build framework in all ports using cmake
Approved by: portmgr (pav)
Macroscope is a squid, sendmail, courier, bpft log files analizer,
IP sniffer and HTML report generator.
Features:
squid log file parser.
sendmail log file parser.
courier log file parser.
bpft(ports/net-mgmt/bpft) log file parser.
Database backends support: MySQL, Firebird.
IP sniffer via pcap library (ports/net/libpcap).
Direct commit changes to database in realtime (no log files).
Traffic static HTML reports generating by date periods.
Traffic dynamic HTML reports generating via CGI (Web interface).
Multithreading architecture.
Portable: BSD os'es and Windows NT family supported, but tested at this time
only under FreeBSD 5.x 6.x amd64 i386 and Windows 2000 XP 2003.
WWW: http://developer.berlios.de/projects/macroscope/
- Dukashvili Guram
white_raven@users.berlios.de
PR: ports/112653
Submitted by: Dukashvili Guram <white_raven at users.berlios.de>