aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2016-08-18 21:22:27 +0800
committerrene <rene@FreeBSD.org>2016-08-18 21:22:27 +0800
commit9d7d976e3a2bbaa8cee6389fd9b0929c565ceb88 (patch)
tree6bc20038533a27691ec7e1bf2f79fda52253fa90 /net-mgmt
parent294569dcb9409cc5b15fc6bd5e7b6b7f6a70e87a (diff)
downloadfreebsd-ports-gnome-9d7d976e3a2bbaa8cee6389fd9b0929c565ceb88.tar.gz
freebsd-ports-gnome-9d7d976e3a2bbaa8cee6389fd9b0929c565ceb88.tar.zst
freebsd-ports-gnome-9d7d976e3a2bbaa8cee6389fd9b0929c565ceb88.zip
Remove expired port:
2016-08-18 net-mgmt/netams: unmaintained, broken on most FreeBSD platforms
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/netams/Makefile144
-rw-r--r--net-mgmt/netams/distinfo2
-rw-r--r--net-mgmt/netams/files/netams.in38
-rw-r--r--net-mgmt/netams/files/pkg-message.in16
-rw-r--r--net-mgmt/netams/pkg-descr10
-rw-r--r--net-mgmt/netams/pkg-plist67
7 files changed, 0 insertions, 278 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 55f8373ce6df..a8e526ac6c73 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -153,7 +153,6 @@
SUBDIR += nedi
SUBDIR += nefu
SUBDIR += net-snmp
- SUBDIR += netams
SUBDIR += netdisco
SUBDIR += netdisco-mibs
SUBDIR += netdot
diff --git a/net-mgmt/netams/Makefile b/net-mgmt/netams/Makefile
deleted file mode 100644
index 05794e098cd9..000000000000
--- a/net-mgmt/netams/Makefile
+++ /dev/null
@@ -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>
diff --git a/net-mgmt/netams/distinfo b/net-mgmt/netams/distinfo
deleted file mode 100644
index 50d29746828e..000000000000
--- a/net-mgmt/netams/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (netams-3.4.5.tar.gz) = dc6522cc6cf14bfb29f38f09e5513bfe4dce275c0fce9f55ec8706cd300908b1
-SIZE (netams-3.4.5.tar.gz) = 408868
diff --git a/net-mgmt/netams/files/netams.in b/net-mgmt/netams/files/netams.in
deleted file mode 100644
index 1fb21430fcfc..000000000000
--- a/net-mgmt/netams/files/netams.in
+++ /dev/null
@@ -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"
diff --git a/net-mgmt/netams/files/pkg-message.in b/net-mgmt/netams/files/pkg-message.in
deleted file mode 100644
index 49ba9212ddc3..000000000000
--- a/net-mgmt/netams/files/pkg-message.in
+++ /dev/null
@@ -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
-
---------------------------------------------------------------------------
diff --git a/net-mgmt/netams/pkg-descr b/net-mgmt/netams/pkg-descr
deleted file mode 100644
index 68e026b227fb..000000000000
--- a/net-mgmt/netams/pkg-descr
+++ /dev/null
@@ -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/
diff --git a/net-mgmt/netams/pkg-plist b/net-mgmt/netams/pkg-plist
deleted file mode 100644
index 69597f9a63ee..000000000000
--- a/net-mgmt/netams/pkg-plist
+++ /dev/null
@@ -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