Date: Sat, 22 Jan 2005 22:47:09 GMT From: "Yuriy N. Shkandybin" <jura@netams.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/76581: [MAINTAINER] net-mgmt/netams: update to netams-3.2.1 Message-ID: <200501222247.j0MMl98C059783@www.freebsd.org> Resent-Message-ID: <200501222250.j0MMoSnN093807@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 76581 >Category: ports >Synopsis: [MAINTAINER] net-mgmt/netams: update to netams-3.2.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jan 22 22:50:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yuriy N. Shkandybin >Release: 6.0-CURRENT >Organization: NetAMS >Environment: FreeBSD test.networks.ru 6.0-CURRENT FreeBSD 6.0-CURRENT #7: Mon Jan 17 13:51:34 MSK 2005 >Description: Update to netams-3.2.1 This is new stable branch. Port files mostly rewritten. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freebsd-port # freebsd-port/Makefile # freebsd-port/distinfo # freebsd-port/pkg-descr # freebsd-port/pkg-message # freebsd-port/pkg-plist # echo c - freebsd-port mkdir -p freebsd-port > /dev/null 2>&1 echo x - freebsd-port/Makefile sed 's/^X//' >freebsd-port/Makefile << 'END-of-freebsd-port/Makefile' X# New ports collection makefile for: NetAMS X# Date created: 24 December 2003 X# Whom: jura@netams.com X# X# $FreeBSD$ X# X XPORTNAME= netams XPORTVERSION= 3.2.1 XCATEGORIES= net-mgmt XMASTER_SITES= http://www.netams.com/files/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= jura@netams.com XCOMMENT= Network Traffic Accounting and Monitoring Software X XNO_PACKAGE= Depends on MySQL/PostgreSQL installation X XUSE_SUBMAKE= yes XMAN8= netams.8 flowprobe.8 netamsctl.8 XMANCOMPRESSED= no X XSCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ X PREFIX="${PREFIX}" \ X TOUCH="${TOUCH}" \ X MKDIR="${MKDIR}" \ X REALCURDIR="${.CURDIR}" \ X X.include <bsd.port.pre.mk> X XFLAGS += ${PTHREAD_CFLAGS} XLIB += ${PTHREAD_LIBS} X X#MAKE_ENV+= DEFINE="${DEFINE}" FLAGS="${FLAGS}" LIB="${LIB}" X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/src/netams ${PREFIX}/libexec/netams X @ ${INSTALL_PROGRAM} ${WRKSRC}/src/flowprobe ${PREFIX}/sbin/flowprobe X @ ${INSTALL_PROGRAM} ${WRKSRC}/src/ipfw2netflow ${PREFIX}/sbin/ipfw2netflow X @ ${INSTALL_PROGRAM} ${WRKSRC}/src/netamsctl ${PREFIX}/bin/netamsctl X @ ${INSTALL_DATA} ${WRKSRC}/addon/netams.cfg ${PREFIX}/etc/netams.conf.sample X @ ${INSTALL_SCRIPT} ${WRKSRC}/addon/netams-startup.sh ${PREFIX}/etc/rc.d/netams-startup.sh.sample X @ ${INSTALL_MAN} ${WRKSRC}/doc/netams.8 ${PREFIX}/man/man8 X @ ${INSTALL_MAN} ${WRKSRC}/doc/flowprobe.8 ${PREFIX}/man/man8 X @ ${INSTALL_MAN} ${WRKSRC}/doc/netamsctl.8 ${PREFIX}/man/man8 X @ ${MKDIR} ${DATADIR} X @ ${INSTALL_DATA} ${WRKSRC}/addon/ru-networks.txt ${DATADIR}/ru-networks.txt.sample X @ ${INSTALL_DATA} ${WRKSRC}/addon/.netamsctl.rc ${DATADIR} X @ ${MKDIR} ${DATADIR}/cgi-bin X @ ${MKDIR} ${DATADIR}/cgi-bin/admin X @ ${MKDIR} ${DATADIR}/cgi-bin/images X.for image in logo.gif logo-small.gif admintool-logo.gif showtable-logo.gif X @ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/images/${image} ${DATADIR}/cgi-bin/images/ X.endfor X.for cgi in .htaccess config.cgi netams_api.pl russian.res weblogin.tem netams_example.cgi \ X usertool.cgi admintool.cgi login.cgi netams_graph.cgi weblogin.cgi X @ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/${cgi} ${DATADIR}/cgi-bin/ X.endfor X.for cgi in .htaccess index.cgi policy.cgi showusercard.cgi user.cgi access.cgi login.cgi \ X quota.cgi showusercard.tmpl view.cgi account.cgi netams.cgi radius.cgi subplan.cgi \ X config.cgi plan.cgi russian.res unit.cgi X @ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/admin/${cgi} ${DATADIR}/cgi-bin/admin/ X.endfor X Xpost-install: X @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message|${SED} 's|%%DATADIR%%|${DATADIR}|g' X X.include <bsd.port.post.mk> END-of-freebsd-port/Makefile echo x - freebsd-port/distinfo sed 's/^X//' >freebsd-port/distinfo << 'END-of-freebsd-port/distinfo' XMD5 (netams-3.2.1.tar.gz) = e6eddeae04dd5f30ec8b28b5712e120c XSIZE (netams-3.2.1.tar.gz) = 202098 END-of-freebsd-port/distinfo echo x - freebsd-port/pkg-descr sed 's/^X//' >freebsd-port/pkg-descr << 'END-of-freebsd-port/pkg-descr' XNeTAMS stands for Network Traffic Accounting and Monitoring Software. XIt is built for UNIX and works for networks with Cisco routers or PC Unix Xrouters (Linux/FreeBSD/Solaris). Several methods of traffic gathering are Xsupported (tee/divert/ip_queue/libpcap/netflow v5), database storage X(BerkleyDB/MySQL/PostgresSQL), aggregation, visualization, notification etc. XIt is possible to block traffic based on quotas, authorization ID, empty Xbalance (billing); manage bandwidth, create a flexible accounting and Xfiltration policies. X XWWW: http://www.netams.com/ END-of-freebsd-port/pkg-descr echo x - freebsd-port/pkg-message sed 's/^X//' >freebsd-port/pkg-message << 'END-of-freebsd-port/pkg-message' X-------------------------------------------------------------------------- X XThe NeTAMS package has been successfully installed. X XTo use the programm, make a copy of %%PREFIX%%/etc/rc.d/netams.sh.sample under X%%PREFIX%%/etc/rc.d/netams.sh and do: Xchmod +x %%PREFIX%%/etc/rc.d/netams.sh XCheck %%DATADIR%% and http://www.netams.com for examples. X XA sample configuration file has been installed to %%PREFIX%%/etc as X"netams.cfg.sample". This may be renamed to "netams.cfg" and edited. X XIn order to use the netamsctl programs, you may copy X%%DATADIR%%/.netamsctl.rc to your home directory and edit it. X XBy default, CGI scripts are NOT installed, as well as web server is NOT configured. XYou should do it yourself, and then copy entire %%DATADIR%%/cgi/ directory to appropriate place. X XAnd PLEASE READ THE DOCUMENTATION FIRST! Xhttp://www.netams.com X X-------------------------------------------------------------------------- END-of-freebsd-port/pkg-message echo x - freebsd-port/pkg-plist sed 's/^X//' >freebsd-port/pkg-plist << 'END-of-freebsd-port/pkg-plist' Xetc/netams.conf.sample Xetc/rc.d/netams-startup.sh.sample Xlibexec/netams Xsbin/flowprobe Xsbin/ipfw2netflow Xbin/netamsctl X%%DATADIR%%/ru-networks.txt.sample X%%DATADIR%%/.netamsctl.rc X%%DATADIR%%/cgi-bin/.htaccess X%%DATADIR%%/cgi-bin/config.cgi X%%DATADIR%%/cgi-bin/netams_api.pl X%%DATADIR%%/cgi-bin/russian.res X%%DATADIR%%/cgi-bin/weblogin.tem X%%DATADIR%%/cgi-bin/netams_example.cgi X%%DATADIR%%/cgi-bin/usertool.cgi X%%DATADIR%%/cgi-bin/admintool.cgi X%%DATADIR%%/cgi-bin/login.cgi X%%DATADIR%%/cgi-bin/netams_graph.cgi X%%DATADIR%%/cgi-bin/weblogin.cgi X%%DATADIR%%/cgi-bin/admin/.htaccess X%%DATADIR%%/cgi-bin/admin/index.cgi X%%DATADIR%%/cgi-bin/admin/policy.cgi X%%DATADIR%%/cgi-bin/admin/showusercard.cgi X%%DATADIR%%/cgi-bin/admin/user.cgi X%%DATADIR%%/cgi-bin/admin/access.cgi X%%DATADIR%%/cgi-bin/admin/login.cgi X%%DATADIR%%/cgi-bin/admin/quota.cgi X%%DATADIR%%/cgi-bin/admin/showusercard.tmpl X%%DATADIR%%/cgi-bin/admin/view.cgi X%%DATADIR%%/cgi-bin/admin/account.cgi X%%DATADIR%%/cgi-bin/admin/netams.cgi X%%DATADIR%%/cgi-bin/admin/radius.cgi X%%DATADIR%%/cgi-bin/admin/subplan.cgi X%%DATADIR%%/cgi-bin/admin/config.cgi X%%DATADIR%%/cgi-bin/admin/plan.cgi X%%DATADIR%%/cgi-bin/admin/russian.res X%%DATADIR%%/cgi-bin/admin/unit.cgi X%%DATADIR%%/cgi-bin/images/admintool-logo.gif X%%DATADIR%%/cgi-bin/images/logo-small.gif X%%DATADIR%%/cgi-bin/images/logo.gif X%%DATADIR%%/cgi-bin/images/showtable-logo.gif X@dirrm %%DATADIR%%/cgi-bin/images X@dirrm %%DATADIR%%/cgi-bin/admin X@dirrm %%DATADIR%%/cgi-bin X@dirrm %%DATADIR%% END-of-freebsd-port/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501222247.j0MMl98C059783>