NeTAMS - Network Traffic Accounting and Monitoring Software.
It is built for UNIX and works for networks with Cisco routers or PC Unix
routers (Linux/FreeBSD/Solaris). Several methods of traffic gathering are
supported (tee/divert/ip_queue/libpcap/netflow v5), database storage
(BerkleyDB/MySQL/PostgresSQL), aggregation, visualization, notification etc.
It is possible to block traffic based on quotas, authorization ID, empty
balance (billing); manage bandwidth, create a flexible accounting and
filtration policies.
WWW: http://www.netams.com/
===> The following configuration options are available for netams-3.4.5_4:
CGI=off: Install admin/user CGI scripts
DEBUG=off: Build with debugging support
====> Options available for the multi DATABASE: you have to choose at least one of them
MYSQL=on: MySQL database support
PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings
net-mgmt/netams: reset maintainer, expire, make less broken
First, the port already has 3 maintainer timeouts going back years, so
go ahead and reset maintainership.
Second, it's broken on FreeBSD 10 and newer.
Third, the options were broken (e.g. USES defined after <options>,
<pre> and <post> also used with options. I tweaked this some (untested)
Fourth: The pcap specification is ambiguous. (I removed it). [1]
The entire port is in really bad shape so set it for removal in
two weeks.
PR: 211578 [1]
Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
- Mark BROKEN on 10.x+
---
./netflow.h:242:27: error: 'long type-name' is invalid
u_int32_t long sent_flows;
---
./list.h:32:3: error: unknown type name 'LHASH'; did you mean '_LHASH'?
LHASH *hash;
---
PR: 197249
Submitted by: amdmi3
Approved by: maintainer timeout
SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.
SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.
On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].
On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
(Only the first 15 lines of the commit message are shown above )
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.
- links to libmysqlclient/libpq but doesn't register dependencies
- OPTIONS was removed,
- option for PostgreSQL was removed, but netams links to libpq library (if
found),
- port unconditionally depends on mysql50-client, regardless of installed
versions of MySQL,
- netams supports other databases but port always installs MySQL 5.0,
- option WITHOUT_DEBUG was removed and netams logs huge amounts of data without
it,
- port has a lot of dependencies required only for web part of application
(support for WITHOUT_CGI was removed),
- port unconditionally depends on apache22, which is not required, there are
plenty of web servers in ports tree,
- port unconditionally depends on mysql50-server, which is not required
(database servers are often installed on different
machines),
- port specifies weird DATADIR (${PREFIX}/etc),
- port unnecessarily specifies WWWDIR,
- sample config file is installed to ${PREFIX}/etc/netams instead of default
${PREFIX}/etc.
PR: 151930
Submitted by: am@raisa.eu.org
Approved by: maintainer (timeout), gabor (mentor)
Feature safe: yes
- Respect CC and CXX
PR: ports/121697
Submitted by: Andrew Kolchoogin <andrew at rinet.ru>
Approved by: Yuriy N. Shkandybin <jura at netams.com> (maintainer)
- Update to 3.4.0 RC 2
- Use DISTVERSION to simplify things
- Correct NO_PACKAGE message
- Remove unused SYSDIR variable and dead code
- Remove BROKEN on 6.x and above, it builds now
- Use MAN8PREFIX for man8 pages
- Refine pkg-message, and use SUB_FILES for it
- Respect PREFIX in rc script, and refine the script a bit
PR: ports/113209
Submitted by: Dima Panov <fluffy at ael.ru>
Approved by: Yuriy N. Shkandybin <jura at netams.com> (maintainer)
- fix rc.d script to check if the daemon is started
- and since we change so much of it also move it to files/netams
- bump PORTREVISION
PR: ports/99322
Submitted by: Vasiliy P. Melnik <basil@gu.net>
Approved by: maintainer
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus