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)
While here do some build with clang fixes
PR: ports/178445, ports/178446, ports/178444, ports/178443, ports/178425, ports/178423
Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
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.
- 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.
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
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.
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>