1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Remove expired port:

2016-08-18 net-mgmt/netams: unmaintained, broken on most FreeBSD platforms
This commit is contained in:
Rene Ladan 2016-08-18 13:22:27 +00:00
parent ae17ee111c
commit 65707a2458
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420402
8 changed files with 1 additions and 278 deletions

1
MOVED
View File

@ -8620,3 +8620,4 @@ math/bamg||2016-08-14|No longer maintained upstream as is now part of freefem++
www/pecl-APC||2016-08-15|No longer maintained upstream, and not working with PHP > 5.4
textproc/libtext-wrapi18n-perl|textproc/p5-Text-WrapI18N|2016-08-15|Duplicate
textproc/libtext-charwidth-perl|textproc/p5-Text-CharWidth|2016-08-15|Duplicate
net-mgmt/netams||2016-08-18|Has expired: unmaintained, broken on most FreeBSD platforms

View File

@ -153,7 +153,6 @@
SUBDIR += nedi
SUBDIR += nefu
SUBDIR += net-snmp
SUBDIR += netams
SUBDIR += netdisco
SUBDIR += netdisco-mibs
SUBDIR += netdot

View File

@ -1,144 +0,0 @@
# Created by: Yuriy N. Shkandybin <jura@netams.com>
# $FreeBSD$
PORTNAME= netams
PORTVERSION= 3.4.5
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://www.netams.com/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network Traffic Accounting and Monitoring Software
BROKEN_FreeBSD_10= PR 197249
BROKEN_FreeBSD_11= PR 197249
BROKEN_FreeBSD_12= PR 197249
DEPRECATED= unmaintained, broken on most FreeBSD platforms
EXPIRATION_DATE= 2016-08-18
LICENSE= GPLv2
SSP_UNSAFE= kernel module does not support ssp
USE_SUBMAKE= yes
SUB_FILES= pkg-message
USE_RC_SUBR= netams
USES= shebangfix
SHEBANG_FILES= cgi-bin/*.cgi cgi-bin/*.pl \
cgi-bin/admin/*.cgi addon/*.pl
OPTIONS_DEFINE= DEBUG CGI
OPTIONS_DEFAULT= MYSQL
OPTIONS_MULTI= DATABASE
OPTIONS_MULTI_DATABASE= MYSQL PGSQL
CGI_DESC= Install admin/user CGI scripts
OPTIONS_SUB= yes
PGSQL_USES= pgsql
MYSQL_USE= MYSQL=yes
CGI_USES= jpeg
.include <bsd.port.options.mk>
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
PREFIX="${PREFIX}" \
TOUCH="${TOUCH}" \
MKDIR="${MKDIR}" \
REALCURDIR="${.CURDIR}"
SBIN_FILES= ascii2netflow flowprobe ipfw2netflow
ADDONS= .netamsctl.rc netams-apache-freebsd.conf \
snmp2netams.pl ua-networks-get.sh
ADMINCGI= .htaccess access.cgi account.cgi cardtool.cgi config.cgi \
graph.cgi index.cgi login.cgi monitor.cgi netams.cgi \
plan.cgi policy.cgi quota.cgi radius.cgi rrdgraph.cgi \
russian.res showusercard.cgi showusercard.tmpl \
statistic.cgi subplan.cgi unit.cgi user.cgi view.cgi
USERCGI= .htaccess activate.cgi activate.tmpl admintool.cgi config.cgi \
login.cgi netams_api.pl netams_example.cgi netams_graph.cgi \
netams_html.cgi russian.res statistic.pl usertool.cgi
IMAGES= logo_sm.jpg admintool-logo.gif showtable-logo.gif rrdgraph-logo.gif
ORA_FILES= netams.sh netams_drop.sql netams_tb.sql netams_tg.sql netams_ts.sql
PGSQL_FILES= cardtool_schema-Pg.sql postgresql_schema.sql
MAN_8= netams.8 flowprobe.8 netamsctl.8
.if ${PORT_OPTIONS:MCGI}
RUN_DEPENDS+= p5-GD>=0:graphics/p5-GD \
p5-GD-Graph>=0:graphics/p5-GD-Graph \
p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \
p5-Storable>=0:devel/p5-Storable \
p5-DBI>=0:databases/p5-DBI \
p5-Crypt-GeneratePassword>=0:security/p5-Crypt-GeneratePassword
LIB_DEPENDS+= libgd.so:graphics/gd
. if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= p5-DBD-Pg>=0:databases/p5-DBD-Pg
. endif
. if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql
. endif
.endif # CGI
pre-patch:
.if ! ${PORT_OPTIONS:MDEBUG}
@${REINPLACE_CMD} -e 's|.*sh configure.sh|& -nodebug|' \
${WRKSRC}/Makefile
.endif
.if ! ${PORT_OPTIONS:MPGSQL}
@${REINPLACE_CMD} -e 's|locate_file "libpq\.so".*|v1="" \&\& v2=""|' \
${WRKSRC}/configure.sh
.endif
.if ! ${PORT_OPTIONS:MMYSQL}
@${REINPLACE_CMD} -e 's|locate_file "libmysqlclient\.so".*|v1="" \&\& v2=""|' \
-e 's|locate_file "libmysqlclient\.a".*|v1="" \&\& v2=""|' \
${WRKSRC}/configure.sh
.endif
@${REINPLACE_CMD} -e 's|locate_file "libglib-2\.0\.so".*|v1="" \&\& v2="" \&\& v3=""|' \
-e 's|locate_file "openssl/md5\.h".*|v1=""|' ${WRKSRC}/configure.sh
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|; /^INCLUDE/s|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/Makefile ${WRKSRC}/lib/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/tools/oracle
${INSTALL_DATA} ${WRKSRC}/addon/netams.conf ${STAGEDIR}${PREFIX}/etc/netams.conf.sample
${INSTALL_PROGRAM} ${SBIN_FILES:S|^|${WRKSRC}/src/|} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/src/netams ${STAGEDIR}${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/src/netamsctl ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${ADDONS:S|^|${WRKSRC}/addon/|} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/addon/ru-networks.txt ${STAGEDIR}${DATADIR}/ru-networks.txt.sample
${INSTALL_DATA} ${WRKSRC}/addon/ua-networks.txt ${STAGEDIR}${DATADIR}/ua-networks.txt.sample
${INSTALL_DATA} ${ORA_FILES:S|^|${WRKSRC}/addon/oracle/|} ${STAGEDIR}${DATADIR}/tools/oracle
${INSTALL_DATA} ${WRKSRC}/cgi-bin/admin/billing_users_table.sql ${STAGEDIR}${DATADIR}/tools
.if ${PORT_OPTIONS:MMYSQL}
${INSTALL_DATA} ${WRKSRC}/addon/cardtool_schema.sql ${STAGEDIR}${DATADIR}/tools
${INSTALL_DATA} ${WRKSRC}/addon/mysql_rotate.pl ${STAGEDIR}${DATADIR}
.endif
.if ${PORT_OPTIONS:MPGSQL}
${INSTALL_DATA} ${PGSQL_FILES:S|^|${WRKSRC}/addon/|} ${STAGEDIR}${DATADIR}/tools
.endif
.if ${PORT_OPTIONS:MCGI}
@${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/admin ${STAGEDIR}${WWWDIR}/images
${INSTALL_DATA} ${WRKSRC}/addon/index.html ${WRKSRC}/addon/netams.js ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${IMAGES:S|^|${WRKSRC}/cgi-bin/images/|} ${STAGEDIR}${WWWDIR}/images
${INSTALL_PROGRAM} ${USERCGI:S|^|${WRKSRC}/cgi-bin/|} ${STAGEDIR}${WWWDIR}/cgi-bin
${INSTALL_PROGRAM} ${ADMINCGI:S|^|${WRKSRC}/cgi-bin/admin/|} ${STAGEDIR}${WWWDIR}/cgi-bin/admin
.endif
${INSTALL_MAN} ${MAN_8:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (netams-3.4.5.tar.gz) = dc6522cc6cf14bfb29f38f09e5513bfe4dce275c0fce9f55ec8706cd300908b1
SIZE (netams-3.4.5.tar.gz) = 408868

View File

@ -1,38 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: netams
# REQUIRE: NETWORKING mysql
# KEYWORD: shutdown
# Define these netams_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/netams
#
# netams_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable netams.
# netams_config (str): Custom configuration file to be passed
# to netams.
# netams_pidfile (str): Path to the pid file (/var/run/netams.pid)
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
. /etc/rc.subr
name="netams"
rcvar=netams_enable
command="%%PREFIX%%/libexec/netams"
load_rc_config $name
netams_enable=${netams_enable:-"NO"}
netams_config=${netams_config:-"%%PREFIX%%/etc/netams.conf"}
pidfile="${netams_pidfile:-/var/run/netams.pid}"
required_files="$netams_config"
command_args="-lf ${netams_config} > /dev/null"
run_rc_command "$1"

View File

@ -1,16 +0,0 @@
--------------------------------------------------------------------------
The NeTAMS package has been successfully installed.
Check %%DATADIR%% and http://www.netams.com for examples.
A sample configuration file has been installed to %%PREFIX%%/etc as
"netams.conf.sample". It MUST be renamed to "netams.conf" and adjusted.
In order to use the "netamsctl" utility, you may copy
%%DATADIR%%/.netamsctl.rc to your home directory and adjust it too.
PLEASE READ THE DOCUMENTATION!
http://www.netams.com
--------------------------------------------------------------------------

View File

@ -1,10 +0,0 @@
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/

View File

@ -1,67 +0,0 @@
bin/netamsctl
etc/netams.conf.sample
libexec/netams
man/man8/flowprobe.8.gz
man/man8/netams.8.gz
man/man8/netamsctl.8.gz
sbin/ascii2netflow
sbin/flowprobe
sbin/ipfw2netflow
%%DATADIR%%/.netamsctl.rc
%%MYSQL%%%%DATADIR%%/mysql_rotate.pl
%%DATADIR%%/netams-apache-freebsd.conf
%%DATADIR%%/ru-networks.txt.sample
%%DATADIR%%/snmp2netams.pl
%%DATADIR%%/tools/billing_users_table.sql
%%PGSQL%%%%DATADIR%%/tools/cardtool_schema-Pg.sql
%%MYSQL%%%%DATADIR%%/tools/cardtool_schema.sql
%%DATADIR%%/tools/oracle/netams.sh
%%DATADIR%%/tools/oracle/netams_drop.sql
%%DATADIR%%/tools/oracle/netams_tb.sql
%%DATADIR%%/tools/oracle/netams_tg.sql
%%DATADIR%%/tools/oracle/netams_ts.sql
%%PGSQL%%%%DATADIR%%/tools/postgresql_schema.sql
%%DATADIR%%/ua-networks-get.sh
%%DATADIR%%/ua-networks.txt.sample
%%CGI%%%%WWWDIR%%/cgi-bin/.htaccess
%%CGI%%%%WWWDIR%%/cgi-bin/activate.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/activate.tmpl
%%CGI%%%%WWWDIR%%/cgi-bin/admin/.htaccess
%%CGI%%%%WWWDIR%%/cgi-bin/admin/access.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/account.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/cardtool.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/config.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/graph.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/index.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/login.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/monitor.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/netams.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/plan.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/policy.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/quota.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/radius.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/rrdgraph.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/russian.res
%%CGI%%%%WWWDIR%%/cgi-bin/admin/showusercard.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/showusercard.tmpl
%%CGI%%%%WWWDIR%%/cgi-bin/admin/statistic.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/subplan.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/unit.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/user.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admin/view.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/admintool.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/config.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/login.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/netams_api.pl
%%CGI%%%%WWWDIR%%/cgi-bin/netams_example.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/netams_graph.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/netams_html.cgi
%%CGI%%%%WWWDIR%%/cgi-bin/russian.res
%%CGI%%%%WWWDIR%%/cgi-bin/statistic.pl
%%CGI%%%%WWWDIR%%/cgi-bin/usertool.cgi
%%CGI%%%%WWWDIR%%/images/admintool-logo.gif
%%CGI%%%%WWWDIR%%/images/logo_sm.jpg
%%CGI%%%%WWWDIR%%/images/rrdgraph-logo.gif
%%CGI%%%%WWWDIR%%/images/showtable-logo.gif
%%CGI%%%%WWWDIR%%/index.html
%%CGI%%%%WWWDIR%%/netams.js