diff options
Diffstat (limited to 'net-mgmt')
185 files changed, 0 insertions, 8111 deletions
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile deleted file mode 100644 index 8d0d5da63f9c..000000000000 --- a/net-mgmt/cacti/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# New ports collection makefile for: cacti -# Date created: 6 December 2003 -# Whom: Vincent Tantardini <vinc@freebsd-fr.org> -# -# $FreeBSD$ -# - -PORTNAME= cacti -PORTVERSION= 0.8.5 -CATEGORIES= net -MASTER_SITES= http://www.raxnet.net/downloads/cacti/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Web-driven graphing interface for RRDTool - -RUN_DEPENDS= php:${PORTSDIR}/lang/php4 \ - rrdtool:${PORTSDIR}/net/rrdtool \ - net-snmp-config:${PORTSDIR}/net-mgmt/net-snmp - -USE_MYSQL= yes -NO_BUILD= yes -PKGMESSAGE= ${WRKDIR}/pkg-message - -CACTIDIR?= share/cacti -CACTIUSER?= cacti -CACTIGROUP?= ${CACTIUSER} -PLIST_SUB+= CACTIDIR=${CACTIDIR} - -post-patch: - @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ - s|%%CACTIDIR%%|${CACTIDIR}| ; \ - s|%%CACTIUSER%%|${CACTIUSER}|' > ${PKGMESSAGE} - -pre-install: - @PREFIX=${PREFIX} CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} CACTIGROUP=${CACTIGROUP} \ - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -do-install: - @${MKDIR} ${PREFIX}/${CACTIDIR}/ - @${CP} -R ${WRKSRC}/* ${PREFIX}/${CACTIDIR}/ - -post-install: - @PREFIX=${PREFIX} CACTIDIR=${CACTIDIR} CACTIUSER=${CACTIUSER} CACTIGROUP=${CACTIGROUP} \ - ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-mgmt/cacti/distinfo b/net-mgmt/cacti/distinfo deleted file mode 100644 index 8eb826dc2f54..000000000000 --- a/net-mgmt/cacti/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (cacti-0.8.5.tar.gz) = 72d5710d404d7d2d9ab8f14ee19f91ea diff --git a/net-mgmt/cacti/pkg-descr b/net-mgmt/cacti/pkg-descr deleted file mode 100644 index b17fbc17b3d2..000000000000 --- a/net-mgmt/cacti/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -One drawback to RRDTool, is that by itself it is not a complete package for -users wanting to graph their own networks. This is where cacti's job comes -in. Cacti brings the power of RRDTool to a friendly web interface making it -easy to graph anything using RRDTool. - -WWW: http://www.raxnet.net/products/cacti/ diff --git a/net-mgmt/cacti/pkg-install b/net-mgmt/cacti/pkg-install deleted file mode 100644 index df78f670ea23..000000000000 --- a/net-mgmt/cacti/pkg-install +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -PW=/usr/sbin/pw - -case $2 in - -PRE-INSTALL) - - if ${PW} group show "${CACTIGROUP}" 2>/dev/null; then - echo "You already have a group \"${CACTIGROUP}\", so I will use it." - else - if ${PW} groupadd ${CACTIGROUP}; then - echo "Added group \"${CACTIGROUP}\"." - else - echo "Adding group \"${CACTIGROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${CACTIUSER}" 2>/dev/null; then - echo "You already have a user \"${CACTIUSER}\", so I will use it." - else - if ${PW} useradd ${CACTIUSER} -g ${CACTIGROUP} -h - \ - -d "/nonexistent" -s /sbin/nologin -c "Cacti Sandbox" - then - echo "Added user \"${CACTIUSER}\"." - else - echo "Adding user \"${CACTIUSER}\" failed..." - exit 1 - fi - fi - ;; - -POST-INSTALL) - - chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/ - chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/rra/ - ;; -*) - exit 1 -;; -esac -exit diff --git a/net-mgmt/cacti/pkg-message b/net-mgmt/cacti/pkg-message deleted file mode 100644 index 9c39ab819095..000000000000 --- a/net-mgmt/cacti/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ -========================================================== -Cacti is now installed. You may have to follow this steps -to make it work correctly. - -1: Create the MySQL database -# mysqladmin --user=root create cacti -2: Create a mysql user/password for cacti -# echo "CREATE DATABASE cacti; -GRANT ALL ON cacti.* TO cactiuser at localhost IDENTIFIED BY 'cactiuser'; -FLUSH PRIVILEGES;" | mysql && -3: Import the default cacti database -# mysql cacti < %%PREFIX%%/%%CACTIDIR%%/cacti.sql -4: Edit your config.php -Specify the MySQL user, password and database for -your cacti configuration. -5: Add a line to your /etc/crontab file similar to: -*/5 * * * * %%CACTIUSER%% php %%PREFIX%%/%%CACTIDIR%%/cmd.php > /dev/null 2>&1 -6: Point your web browser to the cacti dir - -Have fun! -========================================================== diff --git a/net-mgmt/cacti/pkg-plist b/net-mgmt/cacti/pkg-plist deleted file mode 100644 index f7cacd3971b8..000000000000 --- a/net-mgmt/cacti/pkg-plist +++ /dev/null @@ -1,333 +0,0 @@ -%%CACTIDIR%%/LICENSE -%%CACTIDIR%%/README -%%CACTIDIR%%/about.php -%%CACTIDIR%%/auth_changepassword.php -%%CACTIDIR%%/auth_login.php -%%CACTIDIR%%/cacti.sql -%%CACTIDIR%%/cactid/AUTHORS -%%CACTIDIR%%/cactid/COPYING -%%CACTIDIR%%/cactid/ChangeLog -%%CACTIDIR%%/cactid/INSTALL -%%CACTIDIR%%/cactid/Makefile.am -%%CACTIDIR%%/cactid/Makefile.in -%%CACTIDIR%%/cactid/NEWS -%%CACTIDIR%%/cactid/README -%%CACTIDIR%%/cactid/README-WINDOWS -%%CACTIDIR%%/cactid/aclocal.m4 -%%CACTIDIR%%/cactid/cactid.c -%%CACTIDIR%%/cactid/cactid.conf -%%CACTIDIR%%/cactid/cactid.h -%%CACTIDIR%%/cactid/common.h -%%CACTIDIR%%/cactid/config/config.guess -%%CACTIDIR%%/cactid/config/config.h.in -%%CACTIDIR%%/cactid/config/config.h.in~ -%%CACTIDIR%%/cactid/config/config.sub -%%CACTIDIR%%/cactid/config/depcomp -%%CACTIDIR%%/cactid/config/install-sh -%%CACTIDIR%%/cactid/config/missing -%%CACTIDIR%%/cactid/config/mkinstalldirs -%%CACTIDIR%%/cactid/config/stamp-h -%%CACTIDIR%%/cactid/config/stamp-h.in -%%CACTIDIR%%/cactid/config/stamp-h1 -%%CACTIDIR%%/cactid/configure -%%CACTIDIR%%/cactid/configure.ac -%%CACTIDIR%%/cactid/locks.c -%%CACTIDIR%%/cactid/locks.h -%%CACTIDIR%%/cactid/poller.c -%%CACTIDIR%%/cactid/poller.h -%%CACTIDIR%%/cactid/rrd.c -%%CACTIDIR%%/cactid/rrd.h -%%CACTIDIR%%/cactid/snmp.c -%%CACTIDIR%%/cactid/snmp.h -%%CACTIDIR%%/cactid/sql.c -%%CACTIDIR%%/cactid/sql.h -%%CACTIDIR%%/cactid/util.c -%%CACTIDIR%%/cactid/util.h -%%CACTIDIR%%/cdef.php -%%CACTIDIR%%/cmd.php -%%CACTIDIR%%/color.php -%%CACTIDIR%%/data_input.php -%%CACTIDIR%%/data_sources.php -%%CACTIDIR%%/data_templates.php -%%CACTIDIR%%/docs/CHANGELOG -%%CACTIDIR%%/docs/CONTRIB -%%CACTIDIR%%/docs/INSTALL -%%CACTIDIR%%/docs/README -%%CACTIDIR%%/docs/REQUIREMENTS -%%CACTIDIR%%/docs/UPGRADE -%%CACTIDIR%%/docs/html/LICENSE.html -%%CACTIDIR%%/docs/html/advanced_topics.html -%%CACTIDIR%%/docs/html/basics.html -%%CACTIDIR%%/docs/html/cdefs.html -%%CACTIDIR%%/docs/html/data_input_methods.html -%%CACTIDIR%%/docs/html/data_queries.html -%%CACTIDIR%%/docs/html/data_templates.html -%%CACTIDIR%%/docs/html/faq.html -%%CACTIDIR%%/docs/html/graph_howto.html -%%CACTIDIR%%/docs/html/graph_overview.html -%%CACTIDIR%%/docs/html/graph_permissions.html -%%CACTIDIR%%/docs/html/graph_settings.html -%%CACTIDIR%%/docs/html/graph_viewing.html -%%CACTIDIR%%/docs/html/host_templates.html -%%CACTIDIR%%/docs/html/host_variables.html -%%CACTIDIR%%/docs/html/how_to.html -%%CACTIDIR%%/docs/html/images/data_template.png -%%CACTIDIR%%/docs/html/images/graph_template.png -%%CACTIDIR%%/docs/html/images/graph_tree.png -%%CACTIDIR%%/docs/html/images/host_template.png -%%CACTIDIR%%/docs/html/images/new_device.png -%%CACTIDIR%%/docs/html/images/new_graphs.png -%%CACTIDIR%%/docs/html/images/user_management.png -%%CACTIDIR%%/docs/html/index.html -%%CACTIDIR%%/docs/html/install_unix.html -%%CACTIDIR%%/docs/html/install_windows.html -%%CACTIDIR%%/docs/html/installation.html -%%CACTIDIR%%/docs/html/making_scripts_work_with_cacti.html -%%CACTIDIR%%/docs/html/manual.css -%%CACTIDIR%%/docs/html/new_graphs.html -%%CACTIDIR%%/docs/html/realm_permissions.html -%%CACTIDIR%%/docs/html/reference.html -%%CACTIDIR%%/docs/html/requirements.html -%%CACTIDIR%%/docs/html/rrdtool_features.html -%%CACTIDIR%%/docs/html/script_query_xml.html -%%CACTIDIR%%/docs/html/script_to_graph.html -%%CACTIDIR%%/docs/html/snmp_query_xml.html -%%CACTIDIR%%/docs/html/templates.html -%%CACTIDIR%%/docs/html/upgrade.html -%%CACTIDIR%%/docs/html/user_management.html -%%CACTIDIR%%/docs/html/using_cacti.html -%%CACTIDIR%%/docs/html/variables.html -%%CACTIDIR%%/docs/pdf/README -%%CACTIDIR%%/docs/text/manual.txt -%%CACTIDIR%%/gprint_presets.php -%%CACTIDIR%%/graph.php -%%CACTIDIR%%/graph_image.php -%%CACTIDIR%%/graph_settings.php -%%CACTIDIR%%/graph_templates.php -%%CACTIDIR%%/graph_templates_inputs.php -%%CACTIDIR%%/graph_templates_items.php -%%CACTIDIR%%/graph_view.php -%%CACTIDIR%%/graphs.php -%%CACTIDIR%%/graphs_items.php -%%CACTIDIR%%/graphs_new.php -%%CACTIDIR%%/host.php -%%CACTIDIR%%/host_templates.php -%%CACTIDIR%%/images/arrow.gif -%%CACTIDIR%%/images/auth_deny.gif -%%CACTIDIR%%/images/auth_login.gif -%%CACTIDIR%%/images/button_add.gif -%%CACTIDIR%%/images/button_cancel.gif -%%CACTIDIR%%/images/button_cancel2.gif -%%CACTIDIR%%/images/button_create.gif -%%CACTIDIR%%/images/button_delete.gif -%%CACTIDIR%%/images/button_go.gif -%%CACTIDIR%%/images/button_no.gif -%%CACTIDIR%%/images/button_save.gif -%%CACTIDIR%%/images/button_view.gif -%%CACTIDIR%%/images/button_yes.gif -%%CACTIDIR%%/images/cacti_backdrop.gif -%%CACTIDIR%%/images/cacti_backdrop2.gif -%%CACTIDIR%%/images/cacti_logo.gif -%%CACTIDIR%%/images/delete_icon.gif -%%CACTIDIR%%/images/delete_icon_large.gif -%%CACTIDIR%%/images/gray_line.gif -%%CACTIDIR%%/images/hide.gif -%%CACTIDIR%%/images/left_border.gif -%%CACTIDIR%%/images/menu_line.gif -%%CACTIDIR%%/images/move_down.gif -%%CACTIDIR%%/images/move_up.gif -%%CACTIDIR%%/images/raxnet_logo.gif -%%CACTIDIR%%/images/reload_icon_small.gif -%%CACTIDIR%%/images/shadow.gif -%%CACTIDIR%%/images/shadow_gray.gif -%%CACTIDIR%%/images/show.gif -%%CACTIDIR%%/images/tab_cacti.gif -%%CACTIDIR%%/images/tab_console.gif -%%CACTIDIR%%/images/tab_graphs.gif -%%CACTIDIR%%/images/tab_mode_list.gif -%%CACTIDIR%%/images/tab_mode_list_down.gif -%%CACTIDIR%%/images/tab_mode_preview.gif -%%CACTIDIR%%/images/tab_mode_preview_down.gif -%%CACTIDIR%%/images/tab_mode_tree.gif -%%CACTIDIR%%/images/tab_mode_tree_down.gif -%%CACTIDIR%%/images/tab_settings.gif -%%CACTIDIR%%/images/tab_settings_down.gif -%%CACTIDIR%%/images/transparent_line.gif -%%CACTIDIR%%/include/auth.php -%%CACTIDIR%%/include/bottom_footer.php -%%CACTIDIR%%/include/config.php -%%CACTIDIR%%/include/config_arrays.php -%%CACTIDIR%%/include/config_form.php -%%CACTIDIR%%/include/config_settings.php -%%CACTIDIR%%/include/layout.js -%%CACTIDIR%%/include/main.css -%%CACTIDIR%%/include/top_graph_header.php -%%CACTIDIR%%/include/top_header.php -%%CACTIDIR%%/include/treeview/ftiens4.js -%%CACTIDIR%%/include/treeview/ftv2blank.gif -%%CACTIDIR%%/include/treeview/ftv2lastnode.gif -%%CACTIDIR%%/include/treeview/ftv2mlastnode.gif -%%CACTIDIR%%/include/treeview/ftv2mnode.gif -%%CACTIDIR%%/include/treeview/ftv2node.gif -%%CACTIDIR%%/include/treeview/ftv2plastnode.gif -%%CACTIDIR%%/include/treeview/ftv2pnode.gif -%%CACTIDIR%%/include/treeview/ftv2vertline.gif -%%CACTIDIR%%/include/treeview/ua.js -%%CACTIDIR%%/index.php -%%CACTIDIR%%/install/0_8_1_to_0_8_2.php -%%CACTIDIR%%/install/0_8_2_to_0_8_2a.php -%%CACTIDIR%%/install/0_8_2a_to_0_8_3.php -%%CACTIDIR%%/install/0_8_3_to_0_8_4.php -%%CACTIDIR%%/install/0_8_4_to_0_8_5.php -%%CACTIDIR%%/install/0_8_to_0_8_1.php -%%CACTIDIR%%/install/index.php -%%CACTIDIR%%/install/install_finish.gif -%%CACTIDIR%%/install/install_next.gif -%%CACTIDIR%%/lib/adodb/adodb-csvlib.inc.php -%%CACTIDIR%%/lib/adodb/adodb-datadict.inc.php -%%CACTIDIR%%/lib/adodb/adodb-error.inc.php -%%CACTIDIR%%/lib/adodb/adodb-errorhandler.inc.php -%%CACTIDIR%%/lib/adodb/adodb-errorpear.inc.php -%%CACTIDIR%%/lib/adodb/adodb-exceptions.inc.php -%%CACTIDIR%%/lib/adodb/adodb-iterator.inc.php -%%CACTIDIR%%/lib/adodb/adodb-lib.inc.php -%%CACTIDIR%%/lib/adodb/adodb-pager.inc.php -%%CACTIDIR%%/lib/adodb/adodb-pear.inc.php -%%CACTIDIR%%/lib/adodb/adodb-perf.inc.php -%%CACTIDIR%%/lib/adodb/adodb-php4.inc.php -%%CACTIDIR%%/lib/adodb/adodb-time.inc.php -%%CACTIDIR%%/lib/adodb/adodb-xmlschema.inc.php -%%CACTIDIR%%/lib/adodb/adodb.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-access.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-db2.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-generic.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-ibase.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-informix.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-mssql.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-mysql.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-oci8.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-postgres.inc.php -%%CACTIDIR%%/lib/adodb/datadict/datadict-sybase.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-access.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-ado.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-ado_access.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-ado_mssql.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-borland_ibase.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-csv.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-db2.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-fbsql.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-firebird.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-ibase.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-informix.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-informix72.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-mssql.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-mssqlpo.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-mysql.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-mysqli.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-mysqlt.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-oci8.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-oci805.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-oci8po.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-odbc.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-odbc_mssql.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-odbc_oracle.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-oracle.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-postgres.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-postgres64.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-postgres7.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-proxy.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-sapdb.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-sqlanywhere.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-sqlite.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-sybase.inc.php -%%CACTIDIR%%/lib/adodb/drivers/adodb-vfp.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-cz.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-de.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-en.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-es.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-fr.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-it.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-pt-br.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-ru1251.inc.php -%%CACTIDIR%%/lib/adodb/lang/adodb-sv.inc.php -%%CACTIDIR%%/lib/adodb/license.txt -%%CACTIDIR%%/lib/adodb/pivottable.inc.php -%%CACTIDIR%%/lib/adodb/rsfilter.inc.php -%%CACTIDIR%%/lib/adodb/server.php -%%CACTIDIR%%/lib/adodb/toexport.inc.php -%%CACTIDIR%%/lib/adodb/tohtml.inc.php -%%CACTIDIR%%/lib/auth.php -%%CACTIDIR%%/lib/cdef.php -%%CACTIDIR%%/lib/data_query.php -%%CACTIDIR%%/lib/database.php -%%CACTIDIR%%/lib/export.php -%%CACTIDIR%%/lib/form.php -%%CACTIDIR%%/lib/functions.php -%%CACTIDIR%%/lib/graph_export.php -%%CACTIDIR%%/lib/import.php -%%CACTIDIR%%/lib/rrd.php -%%CACTIDIR%%/lib/snmp.php -%%CACTIDIR%%/lib/template.php -%%CACTIDIR%%/lib/tree.php -%%CACTIDIR%%/lib/tree_view.php -%%CACTIDIR%%/lib/utility.php -%%CACTIDIR%%/lib/variables.php -%%CACTIDIR%%/lib/xml.php -%%CACTIDIR%%/log/rrd.log -%%CACTIDIR%%/logout.php -%%CACTIDIR%%/resource/script_queries/host_cpu.xml -%%CACTIDIR%%/resource/script_queries/host_disk.xml -%%CACTIDIR%%/resource/script_queries/unix_disk.xml -%%CACTIDIR%%/resource/snmp_queries/host_disk.xml -%%CACTIDIR%%/resource/snmp_queries/interface.xml -%%CACTIDIR%%/resource/snmp_queries/kbridge.xml -%%CACTIDIR%%/resource/snmp_queries/net-snmp_disk.xml -%%CACTIDIR%%/resource/snmp_queries/netware_cpu.xml -%%CACTIDIR%%/resource/snmp_queries/netware_disk.xml -%%CACTIDIR%%/rra.php -%%CACTIDIR%%/rra/.placeholder -%%CACTIDIR%%/scripts/3com_cable_modem.pl -%%CACTIDIR%%/scripts/diskfree.pl -%%CACTIDIR%%/scripts/linux_memory.pl -%%CACTIDIR%%/scripts/loadavg.pl -%%CACTIDIR%%/scripts/loadavg_multi.pl -%%CACTIDIR%%/scripts/ping.pl -%%CACTIDIR%%/scripts/query_host_cpu.php -%%CACTIDIR%%/scripts/query_host_partitions.php -%%CACTIDIR%%/scripts/query_unix_partitions.pl -%%CACTIDIR%%/scripts/sql.php -%%CACTIDIR%%/scripts/unix_processes.pl -%%CACTIDIR%%/scripts/unix_tcp_connections.pl -%%CACTIDIR%%/scripts/unix_users.pl -%%CACTIDIR%%/scripts/weatherbug.pl -%%CACTIDIR%%/scripts/webhits.pl -%%CACTIDIR%%/settings.php -%%CACTIDIR%%/snmp.php -%%CACTIDIR%%/templates_export.php -%%CACTIDIR%%/templates_import.php -%%CACTIDIR%%/tree.php -%%CACTIDIR%%/user_admin.php -%%CACTIDIR%%/utilities.php -@dirrm %%CACTIDIR%%/scripts -@dirrm %%CACTIDIR%%/rra -@dirrm %%CACTIDIR%%/resource/snmp_queries -@dirrm %%CACTIDIR%%/resource/script_queries -@dirrm %%CACTIDIR%%/resource -@dirrm %%CACTIDIR%%/log -@dirrm %%CACTIDIR%%/lib/adodb/lang -@dirrm %%CACTIDIR%%/lib/adodb/drivers -@dirrm %%CACTIDIR%%/lib/adodb/datadict -@dirrm %%CACTIDIR%%/lib/adodb -@dirrm %%CACTIDIR%%/lib -@dirrm %%CACTIDIR%%/install -@dirrm %%CACTIDIR%%/include/treeview -@dirrm %%CACTIDIR%%/include -@dirrm %%CACTIDIR%%/images -@dirrm %%CACTIDIR%%/docs/text -@dirrm %%CACTIDIR%%/docs/pdf -@dirrm %%CACTIDIR%%/docs/html/images -@dirrm %%CACTIDIR%%/docs/html -@dirrm %%CACTIDIR%%/docs -@dirrm %%CACTIDIR%%/cactid/config -@dirrm %%CACTIDIR%%/cactid -@dirrm %%CACTIDIR%% diff --git a/net-mgmt/jffnms/Makefile b/net-mgmt/jffnms/Makefile deleted file mode 100644 index 45a07788e956..000000000000 --- a/net-mgmt/jffnms/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -# Ports collection makefile for: jffnms -# Date created: Aug 21 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= jffnms -PORTVERSION= 0.7.6 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=${PORTNAME} - -MAINTAINER= asa@gascom.ru -COMMENT= Very advanced network monitoring and control system - -RUN_DEPENDS= neato:${PORTSDIR}/graphics/graphviz \ - rrdtool:${PORTSDIR}/net/rrdtool \ - php:${PORTSDIR}/lang/php4-nms \ - nmap:${PORTSDIR}/security/nmap \ - ${LOCALBASE}/sbin/tmpwatch:${PORTSDIR}/sysutils/tmpwatch - -USE_MYSQL= yes -USE_REINPLACE= yes - -JFFNMSDIR?= share/jffnms -CRONTAB?= /usr/bin/crontab - -PLIST_SUB= JFFNMSDIR=${JFFNMSDIR} - -do-build: - @${REINPLACE_CMD} -e 's|/opt/jffnms|${PREFIX}/${JFFNMSDIR}|g' \ - -e 's|/usr/bin/php|${LOCALBASE}/bin/php|g' \ - -e 's|/usr/bin/rrdtool|${LOCALBASE}/bin/rrdtool|g' \ - -e 's|/usr/bin/nmap|${LOCALBASE}/bin/nmap|g' \ - -e 's|/usr/bin/neato|${LOCALBASE}/bin/neato|g' \ - -e 's| /jffnms| /htdocs|g' \ - ${WRKSRC}/conf/config.ini - -do-install: - @-${RM} ${WRKSRC}/engine/tmpwatch.sh.orig > /dev/null 2>&1 - @${MKDIR} ${PREFIX}/${JFFNMSDIR} - @${CP} -R ${WRKSRC}/* ${PREFIX}/${JFFNMSDIR} - @${CHOWN} -R www:www ${PREFIX}/${JFFNMSDIR} - @${SED} -e 's|%LOCALBASE%|${PREFIX}|g' \ - -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' ${FILESDIR}/jffnms.cron \ - > ${PREFIX}/${JFFNMSDIR}/jffnms.cron - @${SED} -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' \ - -e 's|%JFFNMS%|${DISTNAME}|g' ${FILESDIR}/jffnms_db.sh \ - > ${PREFIX}/${JFFNMSDIR}/jffnms_db.sh - @${CRONTAB} -u www ${PREFIX}/${JFFNMSDIR}/jffnms.cron - @${SED} -e 's|%JFFNMSDIR%|${PREFIX}/${JFFNMSDIR}|g' ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-mgmt/jffnms/distinfo b/net-mgmt/jffnms/distinfo deleted file mode 100644 index 8f8a7f84ab91..000000000000 --- a/net-mgmt/jffnms/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (jffnms-0.7.6.tar.gz) = 992a462e575f122ca5e095248f10c337 -SIZE (jffnms-0.7.6.tar.gz) = 468175 diff --git a/net-mgmt/jffnms/files/jffnms.cron b/net-mgmt/jffnms/files/jffnms.cron deleted file mode 100644 index 9039597de48e..000000000000 --- a/net-mgmt/jffnms/files/jffnms.cron +++ /dev/null @@ -1,11 +0,0 @@ -# jffnms crontab file -# Created by Sergey Akifyev <asa@gascom.ru> -JFFNMS=%JFFNMSDIR%/engine -PATH=${PATH}:/bin:/usr/bin:%LOCALBASE%/bin:/sbin:/usr/sbin:/%LOCALBASE%/sbin # JFFNMS -*/1 * * * * cd $JFFNMS && php -q consolidate.php >/dev/null 2>&1 -*/5 * * * * cd $JFFNMS && php -q poller.php >/dev/null 2>&1 -*/30 * * * * cd $JFFNMS && php -q rrd_analizer.php >/dev/null 2>&1 -*/30 * * * * cd $JFFNMS && php -q autodiscovery_interfaces.php > /dev/null 2>&1 -02 4 * * * cd $JFFNMS && php -q tftp_get_host_config.php >/dev/null 2>&1 -02 5 * * * cd $JFFNMS && php -q cleanup_raw_tables.php >/dev/null 2>&1 -20 5 * * * cd $JFFNMS && sh tmpwatch.sh $JFFNMS >/dev/null 2>&1 diff --git a/net-mgmt/jffnms/files/jffnms_db.sh b/net-mgmt/jffnms/files/jffnms_db.sh deleted file mode 100644 index aa6c14df53ee..000000000000 --- a/net-mgmt/jffnms/files/jffnms_db.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# Created by Sergey Akifyev <asa@gascom.ru> -# - -{ - echo "CREATE DATABASE jffnms; - GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost - IDENTIFIED BY 'jffnms'; - FLUSH PRIVILEGES;" - cat %JFFNMSDIR%/docs/%JFFNMS%.mysql -} | mysql ${*} diff --git a/net-mgmt/jffnms/pkg-descr b/net-mgmt/jffnms/pkg-descr deleted file mode 100644 index 8894ea2d2353..000000000000 --- a/net-mgmt/jffnms/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -JFFNMS is a Network Management System designed to -mantain a IP SNMP / Syslog / Tacacs+ Network. It -can be used to monitor any standards compilant SNMP -device, Server, TCP port or Custom Poller, also it -has some Cisco oriented features. - -WWW: http://jffnms.sourceforge.net/ diff --git a/net-mgmt/jffnms/pkg-message b/net-mgmt/jffnms/pkg-message deleted file mode 100644 index a22b65276b23..000000000000 --- a/net-mgmt/jffnms/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -==================================================== -ACHTUNG!!! - -1) Run %JFFNMSDIR%/jffnms_db.sh -when MySQL is running - -2) Configure apache to serve pages from -%JFFNMSDIR% - -3) Modify 'Register globals = on' in php.ini - -4) Go to http://<your-hostname>/htdocs/admin/setup.php and -finish setting up JFFNMS -==================================================== diff --git a/net-mgmt/jffnms/pkg-plist b/net-mgmt/jffnms/pkg-plist deleted file mode 100644 index 662bd0464eea..000000000000 --- a/net-mgmt/jffnms/pkg-plist +++ /dev/null @@ -1,530 +0,0 @@ -%%JFFNMSDIR%%/BUGS -%%JFFNMSDIR%%/Changelog -%%JFFNMSDIR%%/INSTALL -%%JFFNMSDIR%%/INSTALL.win32.txt -%%JFFNMSDIR%%/LICENSE -%%JFFNMSDIR%%/TODO -%%JFFNMSDIR%%/UPGRADE -%%JFFNMSDIR%%/UPGRADE.win32.txt -%%JFFNMSDIR%%/conf/config.ini -%%JFFNMSDIR%%/conf/config.ini.bak -%%JFFNMSDIR%%/conf/config.php -%%JFFNMSDIR%%/conf/functions.php -%%JFFNMSDIR%%/docs/apache-example -%%JFFNMSDIR%%/docs/cisco-example -%%JFFNMSDIR%%/docs/jffnms-0.7.6.mysql -%%JFFNMSDIR%%/docs/jffnms-0.7.6.pgsql -%%JFFNMSDIR%%/docs/sla-creation-example.txt -%%JFFNMSDIR%%/docs/unix/msyslog-example -%%JFFNMSDIR%%/docs/unix/php.ini.example -%%JFFNMSDIR%%/docs/unix/snmp.conf -%%JFFNMSDIR%%/docs/unix/snmptrap.txt -%%JFFNMSDIR%%/docs/unix/snmptrapd.conf -%%JFFNMSDIR%%/docs/unix/syslog.conf -%%JFFNMSDIR%%/docs/unix/tac_plus.cfg -%%JFFNMSDIR%%/docs/unix/tftp -%%JFFNMSDIR%%/docs/upgrade/jffnms-0.7.5-to-0.7.6.patch -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.auth -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.envmib -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.hosts_config -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.itrigger -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.messages -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.no_alarm -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.smokeping -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.smsclient -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.smsmail -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.snmptrap -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.sw_cat_os -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.2-to-0.7.3.mysql.diff.unackfilter -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.config_size -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.ad_track -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.tcp_content -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.new_trap -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.reachability -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.dates -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.linux_tc -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.sla_in_errors -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.profile_len -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.triggered -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.3-to-0.7.4.mysql.diff.juniper_state -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.reach_fields -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.zone_filter -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.it -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.it_fields -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.pollers -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.cpus -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.hosts_poll -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.slas -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.4-to-0.7.5.mysql.diff.admin_status -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.add_manual -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.admin_status_fix -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.apps_instances -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.bgp_verify_remove -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.clientws -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.default_sla -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.default_view_type -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.descriptions -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.ntp_client -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.pollers_multi_backend -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.sla_cisco -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.sla_linux -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.tc_reorder -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.tcp_analisis -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.traps -%%JFFNMSDIR%%/docs/upgrade/mysql/jffnms-0.7.5-to-0.7.6.mysql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.auth -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.envmib -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.hosts_config -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.itrigger -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.messages -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.no_alarm -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.smokeping -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.smsclient -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.smsmail -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.snmptrap -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.sw_cat_os -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.2-to-0.7.3.pgsql.diff.unackfilter -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.config_size -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.ad_track -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.new_trap -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.tcp_content -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.reachability -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.dates -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.linux_tc -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.sla_in_errors -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.profile_len -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.triggered -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.3-to-0.7.4.pgsql.diff.juniper_state -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.reach_fields -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.it -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.it_fields -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.pollers -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.cpus -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.zone_filter -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.hosts_poll -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.slas -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.4-to-0.7.5.pgsql.diff.admin_status -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.add_manual -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.admin_status_fix -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.apps_instances -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.bgp_verify_remove -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.clientws -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.default_sla -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.default_view_type -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.descriptions -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.ntp_client -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.pollers_multi_backend -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.sla_cisco -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.sla_linux -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.tc_reorder -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.tcp_analisis -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.traps -%%JFFNMSDIR%%/docs/upgrade/pgsql/jffnms-0.7.5-to-0.7.6.pgsql.diff.x_fix_internal_ids -%%JFFNMSDIR%%/docs/utils/adjust_bw.php -%%JFFNMSDIR%%/docs/utils/clean_auth.php -%%JFFNMSDIR%%/docs/utils/exp_poller_test.php -%%JFFNMSDIR%%/docs/utils/int_values_convert.php -%%JFFNMSDIR%%/docs/utils/lines.sh -%%JFFNMSDIR%%/docs/utils/makedb_release.php -%%JFFNMSDIR%%/docs/utils/mib.php -%%JFFNMSDIR%%/docs/utils/perl_wddx.pl -%%JFFNMSDIR%%/docs/utils/ping.php -%%JFFNMSDIR%%/docs/utils/rrd_export.php -%%JFFNMSDIR%%/docs/utils/rrd_import.php -%%JFFNMSDIR%%/docs/utils/slice-rrd.php -%%JFFNMSDIR%%/docs/utils/sql_alter_pg.php -%%JFFNMSDIR%%/docs/utils/sql_diff.php -%%JFFNMSDIR%%/docs/utils/syslog_file_import.php -%%JFFNMSDIR%%/docs/utils/test_export.php -%%JFFNMSDIR%%/docs/utils/tftp_put_host_config.php -%%JFFNMSDIR%%/docs/utils/satellite-client.php -%%JFFNMSDIR%%/docs/utils/satellite_sync.php -%%JFFNMSDIR%%/docs/utils/jffnms-snmp/iptables.inc.php -%%JFFNMSDIR%%/docs/utils/jffnms-snmp/jffnms-snmp.php -%%JFFNMSDIR%%/docs/utils/jffnms-snmp/tc.inc.php -%%JFFNMSDIR%%/docs/utils/jffnms-snmp/snmpd.conf.example -%%JFFNMSDIR%%/docs/windows/httpd.conf -%%JFFNMSDIR%%/docs/windows/php.ini -%%JFFNMSDIR%%/engine/actions/email.inc.php -%%JFFNMSDIR%%/engine/actions/none.inc.php -%%JFFNMSDIR%%/engine/actions/smsclient.inc.php -%%JFFNMSDIR%%/engine/analyzers/sla.inc.php -%%JFFNMSDIR%%/engine/autodiscovery_interfaces.php -%%JFFNMSDIR%%/engine/backends/alarm.php -%%JFFNMSDIR%%/engine/backends/buffer.php -%%JFFNMSDIR%%/engine/backends/db.php -%%JFFNMSDIR%%/engine/backends/multi_buffer.php -%%JFFNMSDIR%%/engine/backends/no_backend.php -%%JFFNMSDIR%%/engine/backends/rrd.php -%%JFFNMSDIR%%/engine/backends/verify_interface_number.php -%%JFFNMSDIR%%/engine/cleanup_raw_tables.php -%%JFFNMSDIR%%/engine/configs/cisco_catos.inc.php -%%JFFNMSDIR%%/engine/configs/cisco_cc.inc.php -%%JFFNMSDIR%%/engine/configs/cisco_sys.inc.php -%%JFFNMSDIR%%/engine/configs/none.inc.php -%%JFFNMSDIR%%/engine/consolidate.php -%%JFFNMSDIR%%/engine/consolidate/events.php -%%JFFNMSDIR%%/engine/consolidate/events_latest.php -%%JFFNMSDIR%%/engine/consolidate/syslog.php -%%JFFNMSDIR%%/engine/consolidate/tacacs.php -%%JFFNMSDIR%%/engine/consolidate/traps.php -%%JFFNMSDIR%%/engine/consolidate/alarms.php -%%JFFNMSDIR%%/engine/discovery/bgp_peers.inc.php -%%JFFNMSDIR%%/engine/discovery/cisco_accounting.inc.php -%%JFFNMSDIR%%/engine/discovery/cisco_envmib.inc.php -%%JFFNMSDIR%%/engine/discovery/cisco_saagent.inc.php -%%JFFNMSDIR%%/engine/discovery/css_vips.inc.php -%%JFFNMSDIR%%/engine/discovery/host_information.inc.php -%%JFFNMSDIR%%/engine/discovery/hostmib_apps.inc.php -%%JFFNMSDIR%%/engine/discovery/none.inc.php -%%JFFNMSDIR%%/engine/discovery/ntp_client.inc.php -%%JFFNMSDIR%%/engine/discovery/smokeping.inc.php -%%JFFNMSDIR%%/engine/discovery/snmp_interfaces.inc.php -%%JFFNMSDIR%%/engine/discovery/storage.inc.php -%%JFFNMSDIR%%/engine/discovery/tcp_ports.inc.php -%%JFFNMSDIR%%/engine/discovery/reachability.inc.php -%%JFFNMSDIR%%/engine/discovery/linux_tc.inc.php -%%JFFNMSDIR%%/engine/exp_poller_child.php -%%JFFNMSDIR%%/engine/exp_poller_master.php -%%JFFNMSDIR%%/engine/graphs/apps_instances.inc.php -%%JFFNMSDIR%%/engine/graphs/tc_rate.inc.php -%%JFFNMSDIR%%/engine/graphs/tc_rate_aggregation.inc.php -%%JFFNMSDIR%%/engine/graphs/acct_bytes.inc.php -%%JFFNMSDIR%%/engine/graphs/acct_packets.inc.php -%%JFFNMSDIR%%/engine/graphs/bgp_updates.inc.php -%%JFFNMSDIR%%/engine/graphs/cisco_mac_bytes.inc.php -%%JFFNMSDIR%%/engine/graphs/cisco_mac_packets.inc.php -%%JFFNMSDIR%%/engine/graphs/cisco_saagent_jitter.inc.php -%%JFFNMSDIR%%/engine/graphs/cisco_saagent_packetloss.inc.php -%%JFFNMSDIR%%/engine/graphs/cisco_saagent_rtl.inc.php -%%JFFNMSDIR%%/engine/graphs/cpu_util.inc.php -%%JFFNMSDIR%%/engine/graphs/css_vip_hits.inc.php -%%JFFNMSDIR%%/engine/graphs/css_vip_output_only_traffic.inc.php -%%JFFNMSDIR%%/engine/graphs/drop_packets.inc.php -%%JFFNMSDIR%%/engine/graphs/error_packets.inc.php -%%JFFNMSDIR%%/engine/graphs/error_rate.inc.php -%%JFFNMSDIR%%/engine/graphs/hostmib_users_procs.inc.php -%%JFFNMSDIR%%/engine/graphs/memory.inc.php -%%JFFNMSDIR%%/engine/graphs/packetloss.inc.php -%%JFFNMSDIR%%/engine/graphs/packets.inc.php -%%JFFNMSDIR%%/engine/graphs/packets_aggregation.inc.php -%%JFFNMSDIR%%/engine/graphs/rtt.inc.php -%%JFFNMSDIR%%/engine/graphs/storage.inc.php -%%JFFNMSDIR%%/engine/graphs/storage_aggregation.inc.php -%%JFFNMSDIR%%/engine/graphs/tcp_conn_delay.inc.php -%%JFFNMSDIR%%/engine/graphs/tcp_conn_number.inc.php -%%JFFNMSDIR%%/engine/graphs/tcp_conn_number_aggregation.inc.php -%%JFFNMSDIR%%/engine/graphs/tcpmib_connections.inc.php -%%JFFNMSDIR%%/engine/graphs/temperature.inc.php -%%JFFNMSDIR%%/engine/graphs/traffic.inc.php -%%JFFNMSDIR%%/engine/graphs/traffic_aggregation.inc.php -%%JFFNMSDIR%%/engine/graphs/traffic_pl.inc.php -%%JFFNMSDIR%%/engine/graphs/traffic_util.inc.php -%%JFFNMSDIR%%/engine/graphs/ucd_cpu_linux.inc.php -%%JFFNMSDIR%%/engine/graphs/ucd_cpu_solaris.inc.php -%%JFFNMSDIR%%/engine/graphs/ucd_load_average.inc.php -%%JFFNMSDIR%%/engine/graphs/ucd_memory.inc.php -%%JFFNMSDIR%%/engine/handlers/tcp_ports.inc.php -%%JFFNMSDIR%%/engine/handlers/none.inc.php -%%JFFNMSDIR%%/engine/handlers/bool.inc.php -%%JFFNMSDIR%%/engine/handlers/rrd_ds.inc.php -%%JFFNMSDIR%%/engine/poller.php -%%JFFNMSDIR%%/engine/pollers/bgp_peer_status.php -%%JFFNMSDIR%%/engine/pollers/buffer.php -%%JFFNMSDIR%%/engine/pollers/cisco_accounting.php -%%JFFNMSDIR%%/engine/pollers/cisco_envmib_status.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_backwardjitter.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_bwpacketloss.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_forwardjitter.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_fwpacketloss.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_rtl.php -%%JFFNMSDIR%%/engine/pollers/cisco_saagent_verify.php -%%JFFNMSDIR%%/engine/pollers/cisco_snmp_ping_end.php -%%JFFNMSDIR%%/engine/pollers/cisco_snmp_ping_get_pl.php -%%JFFNMSDIR%%/engine/pollers/cisco_snmp_ping_get_rtt.php -%%JFFNMSDIR%%/engine/pollers/cisco_snmp_ping_start.php -%%JFFNMSDIR%%/engine/pollers/cisco_snmp_ping_wait.php -%%JFFNMSDIR%%/engine/pollers/db.php -%%JFFNMSDIR%%/engine/pollers/hostmib_apps.php -%%JFFNMSDIR%%/engine/pollers/internal.php -%%JFFNMSDIR%%/engine/pollers/no_poller.php -%%JFFNMSDIR%%/engine/pollers/ntp_client.php -%%JFFNMSDIR%%/engine/pollers/smokeping.php -%%JFFNMSDIR%%/engine/pollers/snmp_counter.php -%%JFFNMSDIR%%/engine/pollers/snmp_interface_status.php -%%JFFNMSDIR%%/engine/pollers/snmp_interface_status_all.php -%%JFFNMSDIR%%/engine/pollers/snmp_walk_average.php -%%JFFNMSDIR%%/engine/pollers/tcp_connection_number.php -%%JFFNMSDIR%%/engine/pollers/tcp_status.php -%%JFFNMSDIR%%/engine/pollers/verify_interface_number.php -%%JFFNMSDIR%%/engine/pollers/verify_smokeping_number.php -%%JFFNMSDIR%%/engine/pollers/reachability_values.php -%%JFFNMSDIR%%/engine/pollers/tcp_port_content.php -%%JFFNMSDIR%%/engine/pollers/reachability_start.php -%%JFFNMSDIR%%/engine/pollers/reachability_wait.php -%%JFFNMSDIR%%/engine/pollers/verify_tc_class_number.php -%%JFFNMSDIR%%/engine/pollers/reachability_end.php -%%JFFNMSDIR%%/engine/pollers/reachability_status.php -%%JFFNMSDIR%%/engine/rrd_analizer.php -%%JFFNMSDIR%%/engine/satellite/distribution.inc.php -%%JFFNMSDIR%%/engine/satellite/ping.inc.php -%%JFFNMSDIR%%/engine/satellite/poller.inc.php -%%JFFNMSDIR%%/engine/satellite_distribution.php -%%JFFNMSDIR%%/engine/temp/.check -%%JFFNMSDIR%%/engine/tftp_get_host_config.php -%%JFFNMSDIR%%/engine/ticket/tiba.inc.php -%%JFFNMSDIR%%/engine/tmpwatch.sh -%%JFFNMSDIR%%/engine/trap_receiver.pl -%%JFFNMSDIR%%/engine/trap_receiver.php -%%JFFNMSDIR%%/engine/windows/autodiscovery_interfaces.bat -%%JFFNMSDIR%%/engine/windows/cleanup_raw_tables.bat -%%JFFNMSDIR%%/engine/windows/consolidate.bat -%%JFFNMSDIR%%/engine/windows/poller.bat -%%JFFNMSDIR%%/engine/windows/rrd_analizer.bat -%%JFFNMSDIR%%/engine/windows/tftpget_hosts.bat -%%JFFNMSDIR%%/htdocs/.check -%%JFFNMSDIR%%/htdocs/.htaccess -%%JFFNMSDIR%%/htdocs/admin/adm/adm_alarms.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_auth.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_hosts.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_hosts_config.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_interfaces.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_logs.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_profiles.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_profiles_options.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_satellites.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_standard.php -%%JFFNMSDIR%%/htdocs/admin/adm/adm_triggers_rules.php -%%JFFNMSDIR%%/htdocs/admin/adm/structures.php -%%JFFNMSDIR%%/htdocs/admin/adm/test.php -%%JFFNMSDIR%%/htdocs/admin/calendar.php -%%JFFNMSDIR%%/htdocs/admin/color_select.php -%%JFFNMSDIR%%/htdocs/admin/event_filter.php -%%JFFNMSDIR%%/htdocs/admin/menu.php -%%JFFNMSDIR%%/htdocs/admin/menu_frame.php -%%JFFNMSDIR%%/htdocs/admin/menu_interface_list.php -%%JFFNMSDIR%%/htdocs/admin/reports/journal_report.php -%%JFFNMSDIR%%/htdocs/admin/reports/state_report.php -%%JFFNMSDIR%%/htdocs/admin/sat_session.inc.php -%%JFFNMSDIR%%/htdocs/admin/satellite.php -%%JFFNMSDIR%%/htdocs/admin/setup.php -%%JFFNMSDIR%%/htdocs/auth.php -%%JFFNMSDIR%%/htdocs/blank.html -%%JFFNMSDIR%%/htdocs/controls.php -%%JFFNMSDIR%%/htdocs/events.php -%%JFFNMSDIR%%/htdocs/frame_hosts_events.html -%%JFFNMSDIR%%/htdocs/frame_interfaces.php -%%JFFNMSDIR%%/htdocs/frame_interfaces_events.php -%%JFFNMSDIR%%/htdocs/images/a-down.png -%%JFFNMSDIR%%/htdocs/images/a-left.png -%%JFFNMSDIR%%/htdocs/images/a-right.png -%%JFFNMSDIR%%/htdocs/images/a-top.png -%%JFFNMSDIR%%/htdocs/images/a-up.png -%%JFFNMSDIR%%/htdocs/images/alert.gif -%%JFFNMSDIR%%/htdocs/images/alert.png -%%JFFNMSDIR%%/htdocs/images/all.png -%%JFFNMSDIR%%/htdocs/images/ar.png -%%JFFNMSDIR%%/htdocs/images/at.png -%%JFFNMSDIR%%/htdocs/images/au.png -%%JFFNMSDIR%%/htdocs/images/be.png -%%JFFNMSDIR%%/htdocs/images/bullet1.png -%%JFFNMSDIR%%/htdocs/images/bullet2.png -%%JFFNMSDIR%%/htdocs/images/bullet3.png -%%JFFNMSDIR%%/htdocs/images/bullet4.png -%%JFFNMSDIR%%/htdocs/images/ca.png -%%JFFNMSDIR%%/htdocs/images/calendar.png -%%JFFNMSDIR%%/htdocs/images/color.png -%%JFFNMSDIR%%/htdocs/images/config.png -%%JFFNMSDIR%%/htdocs/images/config1.png -%%JFFNMSDIR%%/htdocs/images/csv.png -%%JFFNMSDIR%%/htdocs/images/de.png -%%JFFNMSDIR%%/htdocs/images/delete.png -%%JFFNMSDIR%%/htdocs/images/edit.png -%%JFFNMSDIR%%/htdocs/images/es.png -%%JFFNMSDIR%%/htdocs/images/est.png -%%JFFNMSDIR%%/htdocs/images/eu.png -%%JFFNMSDIR%%/htdocs/images/event.png -%%JFFNMSDIR%%/htdocs/images/event2.png -%%JFFNMSDIR%%/htdocs/images/favicon.ico -%%JFFNMSDIR%%/htdocs/images/filter.png -%%JFFNMSDIR%%/htdocs/images/fr.png -%%JFFNMSDIR%%/htdocs/images/graph.png -%%JFFNMSDIR%%/htdocs/images/home.png -%%JFFNMSDIR%%/htdocs/images/host.png -%%JFFNMSDIR%%/htdocs/images/int1.png -%%JFFNMSDIR%%/htdocs/images/it.png -%%JFFNMSDIR%%/htdocs/images/java.png -%%JFFNMSDIR%%/htdocs/images/jffnms.png -%%JFFNMSDIR%%/htdocs/images/lock.png -%%JFFNMSDIR%%/htdocs/images/log.png -%%JFFNMSDIR%%/htdocs/images/logoff.png -%%JFFNMSDIR%%/htdocs/images/mail.png -%%JFFNMSDIR%%/htdocs/images/mail2.png -%%JFFNMSDIR%%/htdocs/images/map2.png -%%JFFNMSDIR%%/htdocs/images/mess.png -%%JFFNMSDIR%%/htdocs/images/minus.png -%%JFFNMSDIR%%/htdocs/images/new.png -%%JFFNMSDIR%%/htdocs/images/normal.png -%%JFFNMSDIR%%/htdocs/images/nosound.png -%%JFFNMSDIR%%/htdocs/images/pen.png -%%JFFNMSDIR%%/htdocs/images/pencil.png -%%JFFNMSDIR%%/htdocs/images/pl.png -%%JFFNMSDIR%%/htdocs/images/plus.png -%%JFFNMSDIR%%/htdocs/images/popup.png -%%JFFNMSDIR%%/htdocs/images/query.png -%%JFFNMSDIR%%/htdocs/images/refresh.png -%%JFFNMSDIR%%/htdocs/images/refresh2.png -%%JFFNMSDIR%%/htdocs/images/service.png -%%JFFNMSDIR%%/htdocs/images/sla.png -%%JFFNMSDIR%%/htdocs/images/sound.png -%%JFFNMSDIR%%/htdocs/images/tag.png -%%JFFNMSDIR%%/htdocs/images/temp/.check -%%JFFNMSDIR%%/htdocs/images/text.png -%%JFFNMSDIR%%/htdocs/images/tickmark.png -%%JFFNMSDIR%%/htdocs/images/tool.png -%%JFFNMSDIR%%/htdocs/images/uk.png -%%JFFNMSDIR%%/htdocs/images/unknown.png -%%JFFNMSDIR%%/htdocs/images/usa.png -%%JFFNMSDIR%%/htdocs/images/user2.png -%%JFFNMSDIR%%/htdocs/images/users.png -%%JFFNMSDIR%%/htdocs/images/uy.png -%%JFFNMSDIR%%/htdocs/images/world.png -%%JFFNMSDIR%%/htdocs/index.php -%%JFFNMSDIR%%/htdocs/journal.php -%%JFFNMSDIR%%/htdocs/logout.php -%%JFFNMSDIR%%/htdocs/popups.php -%%JFFNMSDIR%%/htdocs/popups/mini_sla.inc.php -%%JFFNMSDIR%%/htdocs/sounds/18_16b.wav -%%JFFNMSDIR%%/htdocs/sounds/boing.wav -%%JFFNMSDIR%%/htdocs/sounds/down.wav -%%JFFNMSDIR%%/htdocs/sounds/tling.wav -%%JFFNMSDIR%%/htdocs/sounds/up.wav -%%JFFNMSDIR%%/htdocs/start.php -%%JFFNMSDIR%%/htdocs/view_interfaces.php -%%JFFNMSDIR%%/htdocs/view_interfaces_map_list.php -%%JFFNMSDIR%%/htdocs/view_performance.php -%%JFFNMSDIR%%/htdocs/views/infobox.js -%%JFFNMSDIR%%/htdocs/views/source_hosts_get.inc.php -%%JFFNMSDIR%%/htdocs/views/source_hosts_init.inc.php -%%JFFNMSDIR%%/htdocs/views/source_hosts_normal.inc.php -%%JFFNMSDIR%%/htdocs/views/source_hosts_text.inc.php -%%JFFNMSDIR%%/htdocs/views/source_hosts_urls.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_get.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_init.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_infobox.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_normal.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_performance.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_text.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_urls.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_get.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_init.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_normal.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_text.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_urls.inc.php -%%JFFNMSDIR%%/htdocs/views/source_maps_dhtml.inc.php -%%JFFNMSDIR%%/htdocs/views/source_interfaces_dhtml.inc.php -%%JFFNMSDIR%%/htdocs/views/source_hosts_dhtml.inc.php -%%JFFNMSDIR%%/htdocs/views/source_none.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_html_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_break_by_card.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_break_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_break_finish_row.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_interface_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_break_next_line_span.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_break_by_zone.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dhtml_no_interfaces.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap.js -%%JFFNMSDIR%%/htdocs/views/view_dynmap_finish.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap_html_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap_interface_process.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap_line.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap_no_interfaces.inc.php -%%JFFNMSDIR%%/htdocs/views/view_dynmap_save.inc.php -%%JFFNMSDIR%%/htdocs/views/view_graphviz_break_by_host.inc.php -%%JFFNMSDIR%%/htdocs/views/view_graphviz_finish.inc.php -%%JFFNMSDIR%%/htdocs/views/view_graphviz_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_graphviz_interface_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_none.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_by_card.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_by_host.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_by_zone.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_finish_row.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_next_line_span.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_break_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_finish.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_html_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_interface_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_normal_no_interfaces.inc.php -%%JFFNMSDIR%%/htdocs/views/view_performance_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_performance_interface_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_text_finish.inc.php -%%JFFNMSDIR%%/htdocs/views/view_text_html_init.inc.php -%%JFFNMSDIR%%/htdocs/views/view_text_interface_show.inc.php -%%JFFNMSDIR%%/htdocs/views/view_text_no_interfaces.inc.php -%%JFFNMSDIR%%/jffnms.cron -%%JFFNMSDIR%%/jffnms_db.sh -%%JFFNMSDIR%%/lib/api.classes.inc.php -%%JFFNMSDIR%%/lib/api.db.inc.php -%%JFFNMSDIR%%/lib/api.events.inc.php -%%JFFNMSDIR%%/lib/api.hosts.inc.php -%%JFFNMSDIR%%/lib/api.inc.php -%%JFFNMSDIR%%/lib/api.interface.inc.php -%%JFFNMSDIR%%/lib/api.maps.inc.php -%%JFFNMSDIR%%/lib/api.network.inc.php -%%JFFNMSDIR%%/lib/api.profile.inc.php -%%JFFNMSDIR%%/lib/api.rrdtool.inc.php -%%JFFNMSDIR%%/lib/api.satellites.inc.php -%%JFFNMSDIR%%/lib/api.triggers.inc.php -%%JFFNMSDIR%%/lib/api.user.inc.php -%%JFFNMSDIR%%/lib/api.zones.inc.php -%%JFFNMSDIR%%/lib/gui.controls.inc.php -%%JFFNMSDIR%%/lib/gui.inc.php -%%JFFNMSDIR%%/logs/.check -%%JFFNMSDIR%%/rrd/.check -%%JFFNMSDIR%%/tftpd/.check -@dirrm %%JFFNMSDIR%%/engine/actions -@dirrm %%JFFNMSDIR%%/engine/analyzers -@dirrm %%JFFNMSDIR%%/engine/backends -@dirrm %%JFFNMSDIR%%/engine/handlers -@dirrm %%JFFNMSDIR%%/engine/ticket -@dirrm %%JFFNMSDIR%%/engine/satellite -@dirrm %%JFFNMSDIR%%/engine/pollers -@dirrm %%JFFNMSDIR%%/engine/discovery -@dirrm %%JFFNMSDIR%%/engine/temp -@dirrm %%JFFNMSDIR%%/engine/configs -@dirrm %%JFFNMSDIR%%/engine/consolidate -@dirrm %%JFFNMSDIR%%/engine/windows -@dirrm %%JFFNMSDIR%%/engine/graphs -@dirrm %%JFFNMSDIR%%/engine -@dirrm %%JFFNMSDIR%%/logs -@dirrm %%JFFNMSDIR%%/lib -@dirrm %%JFFNMSDIR%%/htdocs/admin/reports -@dirrm %%JFFNMSDIR%%/htdocs/admin/adm -@dirrm %%JFFNMSDIR%%/htdocs/admin -@dirrm %%JFFNMSDIR%%/htdocs/popups -@dirrm %%JFFNMSDIR%%/htdocs/images/temp -@dirrm %%JFFNMSDIR%%/htdocs/images -@dirrm %%JFFNMSDIR%%/htdocs/sounds -@dirrm %%JFFNMSDIR%%/htdocs/views -@dirrm %%JFFNMSDIR%%/htdocs -@dirrm %%JFFNMSDIR%%/rrd -@dirrm %%JFFNMSDIR%%/docs/upgrade/mysql -@dirrm %%JFFNMSDIR%%/docs/upgrade/pgsql -@dirrm %%JFFNMSDIR%%/docs/upgrade -@dirrm %%JFFNMSDIR%%/docs/utils/jffnms-snmp -@dirrm %%JFFNMSDIR%%/docs/utils -@dirrm %%JFFNMSDIR%%/docs/windows -@dirrm %%JFFNMSDIR%%/docs/unix -@dirrm %%JFFNMSDIR%%/docs -@dirrm %%JFFNMSDIR%%/conf -@dirrm %%JFFNMSDIR%%/tftpd -@dirrm %%JFFNMSDIR%% -@exec crontab -u www %%JFFNMSDIR%%/jffnms.cron -@unexec crontab -u www -l | sed 's|.*JFFNMS.*||' | crontab -u www - diff --git a/net-mgmt/mrtg-ping-probe/Makefile b/net-mgmt/mrtg-ping-probe/Makefile deleted file mode 100644 index 55e1732660e6..000000000000 --- a/net-mgmt/mrtg-ping-probe/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# New ports collection makefile for: mrng-cfgtg-ping-probe -# Date created: 17 Jan 2004 -# Whom: sanpei@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= mrtg-ping-probe -PORTVERSION= 2.2.0 -CATEGORIES= net -MASTER_SITES= ftp://ftp.pwo.de/pub/pwo/mrtg/${PORTNAME}/ - -MAINTAINER= sanpei@FreeBSD.org -COMMENT= A Round Trip Time and Packet Loss Probe for MRTG - -RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg - -USE_PERL5= YES -USE_REINPLACE= yes - -MAN1= ${PORTNAME}.1 - -post-patch: - @${REINPLACE_CMD} -e 's|%%PERL%%|${PERL5}|' ${WRKSRC}/${PORTNAME} - @${CHMOD} +x ${WRKSRC}/${PORTNAME} - -do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${PREFIX}/etc/mrtg - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 - -.include <bsd.port.mk> diff --git a/net-mgmt/mrtg-ping-probe/distinfo b/net-mgmt/mrtg-ping-probe/distinfo deleted file mode 100644 index f5a780c0c1ae..000000000000 --- a/net-mgmt/mrtg-ping-probe/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (mrtg-ping-probe-2.2.0.tar.gz) = 5eec5bc5f1c5097248c701d54639d292 -SIZE (mrtg-ping-probe-2.2.0.tar.gz) = 36923 diff --git a/net-mgmt/mrtg-ping-probe/files/patch-aa b/net-mgmt/mrtg-ping-probe/files/patch-aa deleted file mode 100644 index d9e81c42c8a7..000000000000 --- a/net-mgmt/mrtg-ping-probe/files/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ ---- mrtg-ping-probe.org Sat Jan 17 22:27:33 2004 -+++ mrtg-ping-probe Sat Jan 17 22:27:53 2004 -@@ -1,4 +1,4 @@ --#!/bin/perl -+#!%%PERL%% - ################################################################## - # @(#) $Id: mrtg-ping-probe,v 2.5 2003/09/13 18:04:29 pwo Exp $ - # @(#) mrtg-ping-probe release $Name: Release_2_2_0 $ diff --git a/net-mgmt/mrtg-ping-probe/files/patch-ab b/net-mgmt/mrtg-ping-probe/files/patch-ab deleted file mode 100644 index f16832bbc659..000000000000 --- a/net-mgmt/mrtg-ping-probe/files/patch-ab +++ /dev/null @@ -1,17 +0,0 @@ ---- mrtg-ping-cfg.org Sat Jan 17 22:28:55 2004 -+++ mrtg-ping-cfg Sat Jan 17 22:35:40 2004 -@@ -1,4 +1,4 @@ --#!/bin/ksh -+#!/bin/sh - # - # mrtg-ping-cfg <device> <"Title of page"> - # -@@ -10,7 +10,7 @@ - # IT Site Infrastructure Services - - # location of mrtg ping probe --PING_PROBE=/usr/local/httpd/mrtg/mrtg-ping-probe -+PING_PROBE=/usr/local/bin/mrtg-ping-probe - - if [ $# -ne 2 ] - then diff --git a/net-mgmt/mrtg-ping-probe/pkg-descr b/net-mgmt/mrtg-ping-probe/pkg-descr deleted file mode 100644 index 7ae2841fb75e..000000000000 --- a/net-mgmt/mrtg-ping-probe/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -mrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor -the round trip time and packet loss to networked devices. MRTG uses -its output to generate graphs visualizing minimum and maximum round -trip times or packet loss. - -WWW: http://pwo.de/projects/mrtg/ - -Yoshiro MIHIRA -<sanpei@FreeBSD.org> diff --git a/net-mgmt/mrtg-ping-probe/pkg-plist b/net-mgmt/mrtg-ping-probe/pkg-plist deleted file mode 100644 index abef662a5bd1..000000000000 --- a/net-mgmt/mrtg-ping-probe/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/mrtg-ping-cfg -bin/mrtg-ping-probe -etc/mrtg/mrtg.cfg-ping diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile deleted file mode 100644 index 4cd23ded0661..000000000000 --- a/net-mgmt/nagios12/Makefile +++ /dev/null @@ -1,111 +0,0 @@ -# New ports collection makefile for: nagios -# Date created: 19 May 2002 -# Whom: Blaz Zupan <blaz@si.FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= nagios -PORTVERSION= 1.2 -CATEGORIES= net-mgmt -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=nagios - -MAINTAINER= blaz@si.FreeBSD.org -COMMENT= Extremely powerful network monitoring system - -.if defined(WITH_GD1) -LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 -.else -LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd -.endif -RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins - -USE_GETOPT_LONG=yes -GNU_CONFIGURE= yes -USE_RC_SUBR= yes -USE_PERL5_BUILD=yes - -PKGINSTALL= ${WRKDIR}/INSTALL -PKGDEINSTALL= ${WRKDIR}/DEINSTALL -PKGMESSAGE= ${WRKDIR}/MESSAGE - -NAGIOSUSER?= nagios -NAGIOSGROUP?= nagios -NAGIOSDIR?= /var/spool/nagios - -CPPFLAGS= ${INCGD} -I${LOCALBASE}/include -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CFLAGS="${CPPFLAGS} ${CFLAGS} ${INCGD}" \ - LIBS="-L${LOCALBASE}/lib ${LIBGD}" -CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ - --with-command-grp=www \ - --with-nagios-user=${NAGIOSUSER} \ - --with-nagios-grp=${NAGIOSGROUP} \ - --with-template-objects \ - --with-template-extinfo \ - --sbindir=${PREFIX}/share/nagios/cgi-bin \ - --libexecdir=${PREFIX}/libexec/nagios \ - --datadir=${PREFIX}/share/nagios \ - --sysconfdir=${PREFIX}/etc/nagios \ - --localstatedir=${NAGIOSDIR} \ - --prefix=${PREFIX} - -.if defined(WITH_GD1) -INCGD= -I${LOCALBASE}/include/gd -LIBGD= -lgd1 -.else -INCGD= -I${LOCALBASE}/include -LIBGD= -lgd -.endif - -.if defined(WITH_MYSQL) -USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \ - --with-mysql-inc=${LOCALBASE}/include/mysql \ - --with-mysql-xdata -.endif - -.if defined(NAGIOS_FILE_PERFDATA) -CONFIGURE_ARGS+=--with-file-perfdata -.endif - -.if defined(WITH_POSTGRES) -LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 -CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \ - --with-pgsql-inc=${LOCALBASE}/pgsql \ - --with-pgsql-xdata -.endif - -SED_SCRIPT= -e 's,%%NAGIOSUSER%%,${NAGIOSUSER},g' \ - -e 's,%%NAGIOSGROUP%%,${NAGIOSGROUP},g' \ - -e 's,%%NAGIOSDIR%%,${NAGIOSDIR},g' \ - -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%RC_SUBR%%,${RC_SUBR},g' - -INSTALL_TARGET= all install config install-config install-commandmode - -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "nagios has the following tunables:" - @${ECHO_MSG} "" - @${ECHO_MSG} " WITH_MYSQL=yes Compile with MySQL suport" - @${ECHO_MSG} " WITH_POSTGRES=yes Compile with PostgreSQL suport" - @${ECHO_MSG} " WITH_GD1=yes Compile with GD1 instead of GD2" - @${ECHO_MSG} " NAGIOS_FILE_PERFDATA=yes Save performance data to files" - @${ECHO_MSG} "" - -pre-build: - for file in nagios.sh INSTALL DEINSTALL MESSAGE; do \ - ${SED} ${SED_SCRIPT} < ${FILESDIR}/$${file}.tmpl >${WRKDIR}/$${file}; \ - done - -pre-install: - @${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL - -post-install: - @${INSTALL_SCRIPT} ${WRKDIR}/nagios.sh ${PREFIX}/etc/rc.d/ - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios12/distinfo b/net-mgmt/nagios12/distinfo deleted file mode 100644 index 80d6959ba4ac..000000000000 --- a/net-mgmt/nagios12/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (nagios-1.2.tar.gz) = 414d70e5269d5b8d7c21bf3ee129309f -SIZE (nagios-1.2.tar.gz) = 1625322 diff --git a/net-mgmt/nagios12/files/DEINSTALL.tmpl b/net-mgmt/nagios12/files/DEINSTALL.tmpl deleted file mode 100644 index 93ed52b4d017..000000000000 --- a/net-mgmt/nagios12/files/DEINSTALL.tmpl +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -USER=%%NAGIOSUSER%% -GROUP=%%NAGIOSGROUP%% -DIR=%%NAGIOSDIR%% - -if [ "$2" = "POST-DEINSTALL" ]; then - - if /usr/sbin/pw group show "${GROUP}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${GROUP}\" group." - fi - - if /usr/sbin/pw user show "${USER}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${USER}\" user." - fi - - if [ -e ${DIR} ]; then - echo "You should manually remove the \"${DIR}\" directory." - fi -fi diff --git a/net-mgmt/nagios12/files/INSTALL.tmpl b/net-mgmt/nagios12/files/INSTALL.tmpl deleted file mode 100644 index 64e6882bdee2..000000000000 --- a/net-mgmt/nagios12/files/INSTALL.tmpl +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -USER=%%NAGIOSUSER%% -GROUP=%%NAGIOSGROUP%% -DIR=%%NAGIOSDIR%% - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -if [ x"$2" = xPRE-INSTALL ]; then - if /usr/sbin/pw groupshow "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - echo "You need a group \"${GROUP}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw groupadd ${GROUP} -h - || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if /usr/sbin/pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - echo "You need a user \"${USER}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw useradd ${USER} -g ${GROUP} -h - -d ${DIR} \ - -s /nonexistent -c "Nagios pseudo-user" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - -fi diff --git a/net-mgmt/nagios12/files/MESSAGE.tmpl b/net-mgmt/nagios12/files/MESSAGE.tmpl deleted file mode 100644 index a96b0d6243c3..000000000000 --- a/net-mgmt/nagios12/files/MESSAGE.tmpl +++ /dev/null @@ -1,15 +0,0 @@ - -******************************************************************* - Enable nagios in /etc/rc.conf with the following line: - - nagios_enable="YES" - - Configuration templates are available in %%PREFIX%%/etc/nagios - as *.cfg-sample files. Copy them to *.cfg and edit them to suit - your needs. Documentation is available in HTML form in - %%PREFIX%%/share/nagios/docs. - - If you don't already have a web server running, you need to install - and configure it to finish your nagios installation. -******************************************************************* - diff --git a/net-mgmt/nagios12/files/nagios.sh.tmpl b/net-mgmt/nagios12/files/nagios.sh.tmpl deleted file mode 100644 index d3cd0691f819..000000000000 --- a/net-mgmt/nagios12/files/nagios.sh.tmpl +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# -# Add the following lines to /etc/rc.conf to enable nagios: -# -#nagios_enable="YES" -# - -. %%RC_SUBR%% - -name=nagios -rcvar=`set_rcvar` - -prefix=%%PREFIX%% - -required_files=${prefix}/etc/nagios/nagios.cfg - -NagiosBin=${prefix}/bin/nagios -NagiosCfg=${prefix}/etc/nagios/nagios.cfg -NagiosVar=/var/spool/nagios -NagiosLog=${NagiosVar}/status.log -NagiosTmp=${NagiosVar}/nagios.tmp -NagiosSav=${NagiosVar}/status.sav -NagiosCmd=${NagiosVar}/rw/nagios.cmd -NagiosRun=${NagiosVar}/nagios.lock - -pidfile=${NagiosRun} -command=${NagiosBin} -command_args="-d $NagiosCfg" -nagios_user=nagios - -start_precmd=start_precmd -stop_postcmd=stop_postcmd - -# set defaults - -nagios_enable=${nagios_enable:-"NO"} -nagios_flags=${nagios_flags:-""} - -start_precmd() -{ - su -m ${nagios_user} -c "touch ${NagiosVar}/nagios.log ${NagiosSav}" - rm -f ${NagiosCmd} -} - -stop_postcmd() -{ - rm -f $NagiosLog $NagiosTmp $NagiosRun $NagiosCmd -} - -load_rc_config $name -run_rc_command "$1" diff --git a/net-mgmt/nagios12/files/patch-aa b/net-mgmt/nagios12/files/patch-aa deleted file mode 100644 index 595da2b80d2c..000000000000 --- a/net-mgmt/nagios12/files/patch-aa +++ /dev/null @@ -1,37 +0,0 @@ ---- Makefile.in.orig Sat Oct 26 02:47:15 2002 -+++ Makefile.in Tue Nov 26 13:58:29 2002 -@@ -28,7 +28,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -196,6 +196,8 @@ - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/misccommands.cfg $(DESTDIR)$(CFGDIR)/misccommands.cfg-sample - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/services.cfg $(DESTDIR)$(CFGDIR)/services.cfg-sample - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/timeperiods.cfg-sample -+ $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-extinfo/hostextinfo.cfg $(DESTDIR)$(CFGDIR)/hostextinfo.cfg-sample -+ $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-extinfo/serviceextinfo.cfg $(DESTDIR)$(CFGDIR)/serviceextinfo.cfg-sample - - @echo "" - @echo "*** Sample config file installed ***" -@@ -215,7 +217,7 @@ - - install-daemoninit: - $(INSTALL) -m 755 -d $(INIT_OPTS) $(DESTDIR)$(INIT_DIR) -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/nagios -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/nagios.sh - - @echo "" - @echo "*** Init script installed ***" -@@ -238,7 +240,6 @@ - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw -- chmod g+s $(DESTDIR)$(LOGDIR)/rw - - @echo "" - @echo "*** External command directory configured ***" diff --git a/net-mgmt/nagios12/files/patch-ab b/net-mgmt/nagios12/files/patch-ab deleted file mode 100644 index 6634c8f6b40a..000000000000 --- a/net-mgmt/nagios12/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Mon Nov 11 04:52:13 2002 -+++ base/Makefile.in Tue Nov 26 13:46:41 2002 -@@ -105,7 +105,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR) - $(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@ - diff --git a/net-mgmt/nagios12/files/patch-ad b/net-mgmt/nagios12/files/patch-ad deleted file mode 100644 index 4518f5907c41..000000000000 --- a/net-mgmt/nagios12/files/patch-ad +++ /dev/null @@ -1,69 +0,0 @@ ---- configure.orig Tue Feb 3 05:45:08 2004 -+++ configure Wed Feb 4 21:26:46 2004 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/nagios -+#ac_default_prefix=/usr/local/nagios - ac_help="$ac_help - --with-nagios-user=<user> sets user name to run nagios" - ac_help="$ac_help -@@ -576,9 +576,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/nagios/config.site $prefix/etc/nagios/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/nagios/config.site $ac_default_prefix/etc/nagios/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -2608,6 +2608,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -2615,6 +2618,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - -@@ -2692,14 +2697,14 @@ - - - -- echo $ac_n "checking for gdImagePng in -lgd (order 1)""... $ac_c" 1>&6 --echo "configure:2697: checking for gdImagePng in -lgd (order 1)" >&5 -+ echo $ac_n "checking for gdImagePng in -lgd1 (order 1)""... $ac_c" 1>&6 -+echo "configure:2697: checking for gdImagePng in -lgd1 (order 1)" >&5 - ac_lib_var=`echo gd'_'gdImagePng'_'1 | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" -- LIBS="-lgd $ICONV -lz -lm -lpng -ljpeg $LIBS" -+ LIBS="-lgd1 $ICONV -lz -lm -lpng -ljpeg $LIBS" - cat > conftest.$ac_ext <<EOF - #line 2705 "configure" - #include "confdefs.h" -@@ -2729,7 +2734,7 @@ - echo "$ac_t""yes" 1>&6 - - GDLIBFOUND=yep -- GDLIBS="-lgd $ICONV -lz -lm -lpng -ljpeg" -+ GDLIBS="-lgd1 $ICONV -lz -lm -lpng -ljpeg" - - else - echo "$ac_t""no" 1>&6 diff --git a/net-mgmt/nagios12/files/patch-ae b/net-mgmt/nagios12/files/patch-ae deleted file mode 100644 index 0bf8e064b3a7..000000000000 --- a/net-mgmt/nagios12/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in.orig Mon Apr 30 17:22:35 2001 -+++ configure.in Tue May 1 19:36:54 2001 -@@ -1,7 +1,7 @@ - dnl Process this -*-m4-*- file with autoconf to produce a configure script. - AC_INIT(base/nagios.c) - AC_CONFIG_HEADER(common/config.h common/snprintf.h base/nagios.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/nagios) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - AC_PROG_INSTALL diff --git a/net-mgmt/nagios12/files/patch-ag b/net-mgmt/nagios12/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios12/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios12/files/patch-ai b/net-mgmt/nagios12/files/patch-ai deleted file mode 100644 index 433d6d74758d..000000000000 --- a/net-mgmt/nagios12/files/patch-ai +++ /dev/null @@ -1,25 +0,0 @@ ---- daemon-init.in.orig Thu Apr 18 06:27:13 2002 -+++ daemon-init.in Sun May 19 08:39:29 2002 -@@ -68,11 +68,8 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --if [ -f /etc/rc.d/init.d/functions ]; then -- . /etc/rc.d/init.d/functions --elif [ -f /etc/init.d/functions ]; then -- . /etc/init.d/functions -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions - fi - - prefix=@prefix@ -@@ -102,7 +99,7 @@ - - start) - echo "Starting network monitor: nagios" -- su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" -+ su -m $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" - rm -f $NagiosCmd - $NagiosBin -d $NagiosCfg - if [ -d $NagiosLckDir ]; then touch $NagiosLckDir/$NagiosLckFile; fi diff --git a/net-mgmt/nagios12/files/patch-xcddb.c b/net-mgmt/nagios12/files/patch-xcddb.c deleted file mode 100644 index 34bc8dc1759a..000000000000 --- a/net-mgmt/nagios12/files/patch-xcddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xcddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xcddb.c Thu Mar 6 23:14:25 2003 -@@ -51,7 +51,7 @@ - #endif - - #ifdef USE_XCDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios12/files/patch-xdddb.c b/net-mgmt/nagios12/files/patch-xdddb.c deleted file mode 100644 index f1a942e7ae45..000000000000 --- a/net-mgmt/nagios12/files/patch-xdddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xdddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xdddb.c Thu Mar 6 23:15:54 2003 -@@ -51,7 +51,7 @@ - #endif - - #ifdef USE_XDDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios12/files/patch-xeddb.c b/net-mgmt/nagios12/files/patch-xeddb.c deleted file mode 100644 index 2aaaa7db9043..000000000000 --- a/net-mgmt/nagios12/files/patch-xeddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xeddb.c.orig Tue Feb 26 05:04:09 2002 -+++ xdata/xeddb.c Thu Mar 6 23:16:01 2003 -@@ -44,7 +44,7 @@ - #endif - - #ifdef USE_XEDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios12/files/patch-xrddb.c b/net-mgmt/nagios12/files/patch-xrddb.c deleted file mode 100644 index 0f850674b63c..000000000000 --- a/net-mgmt/nagios12/files/patch-xrddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xrddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xrddb.c Thu Mar 6 23:16:14 2003 -@@ -43,7 +43,7 @@ - #endif - - #ifdef USE_XRDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios12/files/patch-xsddb.c b/net-mgmt/nagios12/files/patch-xsddb.c deleted file mode 100644 index e9e1d169cc76..000000000000 --- a/net-mgmt/nagios12/files/patch-xsddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xsddb.c.orig Thu Nov 14 03:51:34 2002 -+++ xdata/xsddb.c Thu Mar 6 23:16:27 2003 -@@ -48,7 +48,7 @@ - #endif - - #ifdef USE_XSDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios12/pkg-descr b/net-mgmt/nagios12/pkg-descr deleted file mode 100644 index b1ff9995e7fc..000000000000 --- a/net-mgmt/nagios12/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Nagios is a host and service monitor designed to inform you of network -problems before your clients, end-users or managers do. It has been -designed to run under the Linux operating system, but works fine under -most *NIX variants as well. The monitoring daemon runs intermittent -checks on hosts and services you specify using external "plugins" -which return status information to Nagios. When problems are -encountered, the daemon can send notifications out to administrative -contacts in a variety of different ways (email, instant message, SMS, -etc.). Current status information, historical logs, and reports can -all be accessed via a web browser. - -WWW: http://www.nagios.org/ diff --git a/net-mgmt/nagios12/pkg-plist b/net-mgmt/nagios12/pkg-plist deleted file mode 100644 index 2f1a32523a20..000000000000 --- a/net-mgmt/nagios12/pkg-plist +++ /dev/null @@ -1,314 +0,0 @@ -@exec mkdir -p %D/share/nagios/ssi -@exec mkdir -p /var/spool/nagios/archives -@exec mkdir -p /var/spool/nagios/rw -@exec chmod 775 /var/spool/nagios /var/spool/nagios/archives /var/spool/nagios/rw -@exec chown nagios:nagios /var/spool/nagios /var/spool/nagios/archives -@exec chown nagios:nogroup /var/spool/nagios/rw -bin/nagios -etc/nagios/cgi.cfg-sample -etc/nagios/checkcommands.cfg-sample -etc/nagios/contactgroups.cfg-sample -etc/nagios/contacts.cfg-sample -etc/nagios/dependencies.cfg-sample -etc/nagios/escalations.cfg-sample -etc/nagios/hostextinfo.cfg-sample -etc/nagios/hostgroups.cfg-sample -etc/nagios/hosts.cfg-sample -etc/nagios/misccommands.cfg-sample -etc/nagios/nagios.cfg-sample -etc/nagios/resource.cfg-sample -etc/nagios/serviceextinfo.cfg-sample -etc/nagios/services.cfg-sample -etc/nagios/timeperiods.cfg-sample -etc/rc.d/nagios.sh -share/nagios/cgi-bin/avail.cgi -share/nagios/cgi-bin/cmd.cgi -share/nagios/cgi-bin/config.cgi -share/nagios/cgi-bin/extinfo.cgi -share/nagios/cgi-bin/histogram.cgi -share/nagios/cgi-bin/history.cgi -share/nagios/cgi-bin/notifications.cgi -share/nagios/cgi-bin/outages.cgi -share/nagios/cgi-bin/showlog.cgi -share/nagios/cgi-bin/status.cgi -share/nagios/cgi-bin/statusmap.cgi -share/nagios/cgi-bin/statuswml.cgi -share/nagios/cgi-bin/statuswrl.cgi -share/nagios/cgi-bin/summary.cgi -share/nagios/cgi-bin/tac.cgi -share/nagios/cgi-bin/trends.cgi -share/nagios/contexthelp/A1.html -share/nagios/contexthelp/A2.html -share/nagios/contexthelp/A3.html -share/nagios/contexthelp/A4.html -share/nagios/contexthelp/A5.html -share/nagios/contexthelp/A6.html -share/nagios/contexthelp/A7.html -share/nagios/contexthelp/B1.html -share/nagios/contexthelp/C1.html -share/nagios/contexthelp/D1.html -share/nagios/contexthelp/E1.html -share/nagios/contexthelp/F1.html -share/nagios/contexthelp/G1.html -share/nagios/contexthelp/G2.html -share/nagios/contexthelp/G3.html -share/nagios/contexthelp/G4.html -share/nagios/contexthelp/G5.html -share/nagios/contexthelp/G6.html -share/nagios/contexthelp/H1.html -share/nagios/contexthelp/H2.html -share/nagios/contexthelp/H3.html -share/nagios/contexthelp/H4.html -share/nagios/contexthelp/H5.html -share/nagios/contexthelp/H6.html -share/nagios/contexthelp/H7.html -share/nagios/contexthelp/H8.html -share/nagios/contexthelp/I1.html -share/nagios/contexthelp/I2.html -share/nagios/contexthelp/I3.html -share/nagios/contexthelp/I4.html -share/nagios/contexthelp/I5.html -share/nagios/contexthelp/I6.html -share/nagios/contexthelp/I7.html -share/nagios/contexthelp/I8.html -share/nagios/contexthelp/J1.html -share/nagios/contexthelp/K1.html -share/nagios/contexthelp/L1.html -share/nagios/contexthelp/L10.html -share/nagios/contexthelp/L11.html -share/nagios/contexthelp/L12.html -share/nagios/contexthelp/L13.html -share/nagios/contexthelp/L2.html -share/nagios/contexthelp/L3.html -share/nagios/contexthelp/L4.html -share/nagios/contexthelp/L5.html -share/nagios/contexthelp/L6.html -share/nagios/contexthelp/L7.html -share/nagios/contexthelp/L8.html -share/nagios/contexthelp/L9.html -share/nagios/contexthelp/M1.html -share/nagios/contexthelp/M2.html -share/nagios/contexthelp/M3.html -share/nagios/contexthelp/M4.html -share/nagios/contexthelp/M5.html -share/nagios/contexthelp/M6.html -share/nagios/contexthelp/N1.html -share/nagios/contexthelp/N2.html -share/nagios/contexthelp/N3.html -share/nagios/contexthelp/N4.html -share/nagios/contexthelp/N5.html -share/nagios/contexthelp/N6.html -share/nagios/contexthelp/N7.html -share/nagios/docs/images/activepassive.png -share/nagios/docs/images/cgi-avail-a.png -share/nagios/docs/images/cgi-avail-b.png -share/nagios/docs/images/cgi-cmd.png -share/nagios/docs/images/cgi-config.png -share/nagios/docs/images/cgi-extinfo-a.png -share/nagios/docs/images/cgi-extinfo-b.png -share/nagios/docs/images/cgi-extinfo-c.png -share/nagios/docs/images/cgi-extinfo-d.png -share/nagios/docs/images/cgi-histogram.png -share/nagios/docs/images/cgi-history.png -share/nagios/docs/images/cgi-notifications.png -share/nagios/docs/images/cgi-outages.png -share/nagios/docs/images/cgi-showlog.png -share/nagios/docs/images/cgi-status-a.png -share/nagios/docs/images/cgi-status-b.png -share/nagios/docs/images/cgi-status-c.png -share/nagios/docs/images/cgi-status-d.png -share/nagios/docs/images/cgi-statusmap.png -share/nagios/docs/images/cgi-statuswml.png -share/nagios/docs/images/cgi-statuswrl.png -share/nagios/docs/images/cgi-summary.png -share/nagios/docs/images/cgi-tac.png -share/nagios/docs/images/cgi-trends.png -share/nagios/docs/images/checktiming.png -share/nagios/docs/images/distributed.png -share/nagios/docs/images/host-dependencies.png -share/nagios/docs/images/indirecthostcheck.png -share/nagios/docs/images/indirectsvccheck.png -share/nagios/docs/images/indirectsvccheck2.png -share/nagios/docs/images/interleaved1.png -share/nagios/docs/images/interleaved2.png -share/nagios/docs/images/interleaved3.png -share/nagios/docs/images/logofullsize.png -share/nagios/docs/images/network-heirarchy.png -share/nagios/docs/images/network-outage1.png -share/nagios/docs/images/network-outage2.png -share/nagios/docs/images/noninterleaved1.png -share/nagios/docs/images/noninterleaved2.png -share/nagios/docs/images/physical-network.png -share/nagios/docs/images/plugintheory.png -share/nagios/docs/images/redudancy.png -share/nagios/docs/images/redundancy.png -share/nagios/docs/images/service-dependencies.png -share/nagios/docs/images/statetransitions.png -share/nagios/docs/images/statetransitions2.png -share/nagios/docs/about.html -share/nagios/docs/addons.html -share/nagios/docs/beginners.html -share/nagios/docs/cgiauth.html -share/nagios/docs/cgiincludes.html -share/nagios/docs/cgis.html -share/nagios/docs/checkscheduling.html -share/nagios/docs/clusters.html -share/nagios/docs/commandfile.html -share/nagios/docs/config.html -share/nagios/docs/configcgi.html -share/nagios/docs/configextinfo.html -share/nagios/docs/configmain.html -share/nagios/docs/configobject.html -share/nagios/docs/dependencies.html -share/nagios/docs/distributed.html -share/nagios/docs/downtime.html -share/nagios/docs/embeddedperl.html -share/nagios/docs/escalations.html -share/nagios/docs/eventhandlers.html -share/nagios/docs/extcommands.html -share/nagios/docs/faqs.html -share/nagios/docs/flapping.html -share/nagios/docs/freshness.html -share/nagios/docs/funstuff.html -share/nagios/docs/index.html -share/nagios/docs/indirectchecks.html -share/nagios/docs/installing.html -share/nagios/docs/installweb.html -share/nagios/docs/int-portsentry.html -share/nagios/docs/int-snmptrap.html -share/nagios/docs/int-tcpwrappers.html -share/nagios/docs/macros.html -share/nagios/docs/networkoutages.html -share/nagios/docs/networkreachability.html -share/nagios/docs/notifications.html -share/nagios/docs/parallelization.html -share/nagios/docs/passivechecks.html -share/nagios/docs/perfdata.html -share/nagios/docs/plugins.html -share/nagios/docs/plugintheory.html -share/nagios/docs/redundancy.html -share/nagios/docs/robots.txt -share/nagios/docs/security.html -share/nagios/docs/stalking.html -share/nagios/docs/starting.html -share/nagios/docs/statetypes.html -share/nagios/docs/stoprestart.html -share/nagios/docs/templaterecursion.html -share/nagios/docs/templatetricks.html -share/nagios/docs/timeperiods.html -share/nagios/docs/toc.html -share/nagios/docs/tuning.html -share/nagios/docs/verifyconfig.html -share/nagios/docs/volatileservices.html -share/nagios/docs/whatsnew.html -share/nagios/docs/xdata-db.html -share/nagios/docs/xeddefault.html -share/nagios/docs/xedtemplate.html -share/nagios/docs/xoddefault.html -share/nagios/docs/xodtemplate.html -share/nagios/docs/xpddefault.html -share/nagios/docs/xpdfile.html -share/nagios/images/ack.gif -share/nagios/images/command.png -share/nagios/images/comment.gif -share/nagios/images/contexthelp1.gif -share/nagios/images/contexthelp2.gif -share/nagios/images/critical.png -share/nagios/images/delay.gif -share/nagios/images/delete.gif -share/nagios/images/disabled.gif -share/nagios/images/down.gif -share/nagios/images/downtime.gif -share/nagios/images/empty.gif -share/nagios/images/enabled.gif -share/nagios/images/extinfo.gif -share/nagios/images/flapping.gif -share/nagios/images/greendot.gif -share/nagios/images/histogram.png -share/nagios/images/history.gif -share/nagios/images/hostevent.gif -share/nagios/images/info.png -share/nagios/images/left.gif -share/nagios/images/logofullsize.jpg -share/nagios/images/logos/nagios.gd2 -share/nagios/images/logos/nagios.gif -share/nagios/images/logos/nagiosvrml.png -share/nagios/images/logos/unknown.gd2 -share/nagios/images/logos/unknown.gif -share/nagios/images/logrotate.png -share/nagios/images/ndisabled.gif -share/nagios/images/noack.gif -share/nagios/images/notes.gif -share/nagios/images/notify.gif -share/nagios/images/orangedot.gif -share/nagios/images/passiveonly.gif -share/nagios/images/recovery.png -share/nagios/images/redudancy.png -share/nagios/images/redundancy.png -share/nagios/images/restart.gif -share/nagios/images/right.gif -share/nagios/images/sbconfig.png -share/nagios/images/sbgeneral.png -share/nagios/images/sblogo.jpg -share/nagios/images/sbmonitor.png -share/nagios/images/sbreport.png -share/nagios/images/serviceevent.gif -share/nagios/images/start.gif -share/nagios/images/status.gif -share/nagios/images/status2.gif -share/nagios/images/status3.gif -share/nagios/images/status4.gif -share/nagios/images/stop.gif -share/nagios/images/tacdisabled.jpg -share/nagios/images/tacdisabled.png -share/nagios/images/tacenabled.jpg -share/nagios/images/tacenabled.png -share/nagios/images/thermcrit.png -share/nagios/images/thermok.png -share/nagios/images/thermwarn.png -share/nagios/images/trends.gif -share/nagios/images/trendshost.png -share/nagios/images/trendssvc.png -share/nagios/images/unknown.png -share/nagios/images/up.gif -share/nagios/images/warning.png -share/nagios/images/weblogo1.png -share/nagios/images/zoom1.gif -share/nagios/images/zoom2.gif -share/nagios/index.html -share/nagios/main.html -share/nagios/media/critical.wav -share/nagios/media/hostdown.wav -share/nagios/media/warning.wav -share/nagios/robots.txt -share/nagios/side.html -share/nagios/stylesheets/avail.css -share/nagios/stylesheets/checksanity.css -share/nagios/stylesheets/cmd.css -share/nagios/stylesheets/config.css -share/nagios/stylesheets/extinfo.css -share/nagios/stylesheets/histogram.css -share/nagios/stylesheets/history.css -share/nagios/stylesheets/ministatus.css -share/nagios/stylesheets/notifications.css -share/nagios/stylesheets/outages.css -share/nagios/stylesheets/showlog.css -share/nagios/stylesheets/status.css -share/nagios/stylesheets/statusmap.css -share/nagios/stylesheets/summary.css -share/nagios/stylesheets/tac.css -share/nagios/stylesheets/trends.css -@unexec rmdir %D/etc/nagios 2>/dev/null || true -@dirrm share/nagios/cgi-bin -@dirrm share/nagios/contexthelp -@dirrm share/nagios/docs/images -@dirrm share/nagios/docs -@dirrm share/nagios/images/logos -@dirrm share/nagios/images -@dirrm share/nagios/media -@dirrm share/nagios/ssi -@dirrm share/nagios/stylesheets -@dirrm share/nagios -@unexec rmdir /var/spool/nagios/archives 2>/dev/null || true -@unexec rmdir /var/spool/nagios/rw 2>/dev/null || true -@unexec rmdir /var/spool/nagios 2>/dev/null || true diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile deleted file mode 100644 index 4cd23ded0661..000000000000 --- a/net-mgmt/nagios2/Makefile +++ /dev/null @@ -1,111 +0,0 @@ -# New ports collection makefile for: nagios -# Date created: 19 May 2002 -# Whom: Blaz Zupan <blaz@si.FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= nagios -PORTVERSION= 1.2 -CATEGORIES= net-mgmt -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR=nagios - -MAINTAINER= blaz@si.FreeBSD.org -COMMENT= Extremely powerful network monitoring system - -.if defined(WITH_GD1) -LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 -.else -LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd -.endif -RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins - -USE_GETOPT_LONG=yes -GNU_CONFIGURE= yes -USE_RC_SUBR= yes -USE_PERL5_BUILD=yes - -PKGINSTALL= ${WRKDIR}/INSTALL -PKGDEINSTALL= ${WRKDIR}/DEINSTALL -PKGMESSAGE= ${WRKDIR}/MESSAGE - -NAGIOSUSER?= nagios -NAGIOSGROUP?= nagios -NAGIOSDIR?= /var/spool/nagios - -CPPFLAGS= ${INCGD} -I${LOCALBASE}/include -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CFLAGS="${CPPFLAGS} ${CFLAGS} ${INCGD}" \ - LIBS="-L${LOCALBASE}/lib ${LIBGD}" -CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \ - --with-command-grp=www \ - --with-nagios-user=${NAGIOSUSER} \ - --with-nagios-grp=${NAGIOSGROUP} \ - --with-template-objects \ - --with-template-extinfo \ - --sbindir=${PREFIX}/share/nagios/cgi-bin \ - --libexecdir=${PREFIX}/libexec/nagios \ - --datadir=${PREFIX}/share/nagios \ - --sysconfdir=${PREFIX}/etc/nagios \ - --localstatedir=${NAGIOSDIR} \ - --prefix=${PREFIX} - -.if defined(WITH_GD1) -INCGD= -I${LOCALBASE}/include/gd -LIBGD= -lgd1 -.else -INCGD= -I${LOCALBASE}/include -LIBGD= -lgd -.endif - -.if defined(WITH_MYSQL) -USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \ - --with-mysql-inc=${LOCALBASE}/include/mysql \ - --with-mysql-xdata -.endif - -.if defined(NAGIOS_FILE_PERFDATA) -CONFIGURE_ARGS+=--with-file-perfdata -.endif - -.if defined(WITH_POSTGRES) -LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7 -CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \ - --with-pgsql-inc=${LOCALBASE}/pgsql \ - --with-pgsql-xdata -.endif - -SED_SCRIPT= -e 's,%%NAGIOSUSER%%,${NAGIOSUSER},g' \ - -e 's,%%NAGIOSGROUP%%,${NAGIOSGROUP},g' \ - -e 's,%%NAGIOSDIR%%,${NAGIOSDIR},g' \ - -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%RC_SUBR%%,${RC_SUBR},g' - -INSTALL_TARGET= all install config install-config install-commandmode - -pre-everything:: - @${ECHO_MSG} "" - @${ECHO_MSG} "nagios has the following tunables:" - @${ECHO_MSG} "" - @${ECHO_MSG} " WITH_MYSQL=yes Compile with MySQL suport" - @${ECHO_MSG} " WITH_POSTGRES=yes Compile with PostgreSQL suport" - @${ECHO_MSG} " WITH_GD1=yes Compile with GD1 instead of GD2" - @${ECHO_MSG} " NAGIOS_FILE_PERFDATA=yes Save performance data to files" - @${ECHO_MSG} "" - -pre-build: - for file in nagios.sh INSTALL DEINSTALL MESSAGE; do \ - ${SED} ${SED_SCRIPT} < ${FILESDIR}/$${file}.tmpl >${WRKDIR}/$${file}; \ - done - -pre-install: - @${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL - -post-install: - @${INSTALL_SCRIPT} ${WRKDIR}/nagios.sh ${PREFIX}/etc/rc.d/ - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios2/distinfo b/net-mgmt/nagios2/distinfo deleted file mode 100644 index 80d6959ba4ac..000000000000 --- a/net-mgmt/nagios2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (nagios-1.2.tar.gz) = 414d70e5269d5b8d7c21bf3ee129309f -SIZE (nagios-1.2.tar.gz) = 1625322 diff --git a/net-mgmt/nagios2/files/DEINSTALL.tmpl b/net-mgmt/nagios2/files/DEINSTALL.tmpl deleted file mode 100644 index 93ed52b4d017..000000000000 --- a/net-mgmt/nagios2/files/DEINSTALL.tmpl +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -USER=%%NAGIOSUSER%% -GROUP=%%NAGIOSGROUP%% -DIR=%%NAGIOSDIR%% - -if [ "$2" = "POST-DEINSTALL" ]; then - - if /usr/sbin/pw group show "${GROUP}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${GROUP}\" group." - fi - - if /usr/sbin/pw user show "${USER}" 2>&1 >/dev/null; then - echo "You should manually remove the \"${USER}\" user." - fi - - if [ -e ${DIR} ]; then - echo "You should manually remove the \"${DIR}\" directory." - fi -fi diff --git a/net-mgmt/nagios2/files/INSTALL.tmpl b/net-mgmt/nagios2/files/INSTALL.tmpl deleted file mode 100644 index 7ef71df5d57f..000000000000 --- a/net-mgmt/nagios2/files/INSTALL.tmpl +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nagios2/files/Attic/INSTALL.tmpl,v 1.1 2004-02-11 04:56:00 linimon Exp $ -# - -USER=%%NAGIOSUSER%% -GROUP=%%NAGIOSGROUP%% -DIR=%%NAGIOSDIR%% - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -if [ x"$2" = xPRE-INSTALL ]; then - if /usr/sbin/pw groupshow "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - echo "You need a group \"${GROUP}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw groupadd ${GROUP} -h - || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if /usr/sbin/pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - echo "You need a user \"${USER}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw useradd ${USER} -g ${GROUP} -h - -d ${DIR} \ - -s /nonexistent -c "Nagios pseudo-user" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - -fi diff --git a/net-mgmt/nagios2/files/MESSAGE.tmpl b/net-mgmt/nagios2/files/MESSAGE.tmpl deleted file mode 100644 index a96b0d6243c3..000000000000 --- a/net-mgmt/nagios2/files/MESSAGE.tmpl +++ /dev/null @@ -1,15 +0,0 @@ - -******************************************************************* - Enable nagios in /etc/rc.conf with the following line: - - nagios_enable="YES" - - Configuration templates are available in %%PREFIX%%/etc/nagios - as *.cfg-sample files. Copy them to *.cfg and edit them to suit - your needs. Documentation is available in HTML form in - %%PREFIX%%/share/nagios/docs. - - If you don't already have a web server running, you need to install - and configure it to finish your nagios installation. -******************************************************************* - diff --git a/net-mgmt/nagios2/files/nagios.sh.tmpl b/net-mgmt/nagios2/files/nagios.sh.tmpl deleted file mode 100644 index d3cd0691f819..000000000000 --- a/net-mgmt/nagios2/files/nagios.sh.tmpl +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# -# Add the following lines to /etc/rc.conf to enable nagios: -# -#nagios_enable="YES" -# - -. %%RC_SUBR%% - -name=nagios -rcvar=`set_rcvar` - -prefix=%%PREFIX%% - -required_files=${prefix}/etc/nagios/nagios.cfg - -NagiosBin=${prefix}/bin/nagios -NagiosCfg=${prefix}/etc/nagios/nagios.cfg -NagiosVar=/var/spool/nagios -NagiosLog=${NagiosVar}/status.log -NagiosTmp=${NagiosVar}/nagios.tmp -NagiosSav=${NagiosVar}/status.sav -NagiosCmd=${NagiosVar}/rw/nagios.cmd -NagiosRun=${NagiosVar}/nagios.lock - -pidfile=${NagiosRun} -command=${NagiosBin} -command_args="-d $NagiosCfg" -nagios_user=nagios - -start_precmd=start_precmd -stop_postcmd=stop_postcmd - -# set defaults - -nagios_enable=${nagios_enable:-"NO"} -nagios_flags=${nagios_flags:-""} - -start_precmd() -{ - su -m ${nagios_user} -c "touch ${NagiosVar}/nagios.log ${NagiosSav}" - rm -f ${NagiosCmd} -} - -stop_postcmd() -{ - rm -f $NagiosLog $NagiosTmp $NagiosRun $NagiosCmd -} - -load_rc_config $name -run_rc_command "$1" diff --git a/net-mgmt/nagios2/files/patch-aa b/net-mgmt/nagios2/files/patch-aa deleted file mode 100644 index 595da2b80d2c..000000000000 --- a/net-mgmt/nagios2/files/patch-aa +++ /dev/null @@ -1,37 +0,0 @@ ---- Makefile.in.orig Sat Oct 26 02:47:15 2002 -+++ Makefile.in Tue Nov 26 13:58:29 2002 -@@ -28,7 +28,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -196,6 +196,8 @@ - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/misccommands.cfg $(DESTDIR)$(CFGDIR)/misccommands.cfg-sample - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/services.cfg $(DESTDIR)$(CFGDIR)/services.cfg-sample - $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/timeperiods.cfg-sample -+ $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-extinfo/hostextinfo.cfg $(DESTDIR)$(CFGDIR)/hostextinfo.cfg-sample -+ $(INSTALL) -m 664 $(INSTALL_OPTS) sample-config/template-extinfo/serviceextinfo.cfg $(DESTDIR)$(CFGDIR)/serviceextinfo.cfg-sample - - @echo "" - @echo "*** Sample config file installed ***" -@@ -215,7 +217,7 @@ - - install-daemoninit: - $(INSTALL) -m 755 -d $(INIT_OPTS) $(DESTDIR)$(INIT_DIR) -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/nagios -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/nagios.sh - - @echo "" - @echo "*** Init script installed ***" -@@ -238,7 +240,6 @@ - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw -- chmod g+s $(DESTDIR)$(LOGDIR)/rw - - @echo "" - @echo "*** External command directory configured ***" diff --git a/net-mgmt/nagios2/files/patch-ab b/net-mgmt/nagios2/files/patch-ab deleted file mode 100644 index 6634c8f6b40a..000000000000 --- a/net-mgmt/nagios2/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Mon Nov 11 04:52:13 2002 -+++ base/Makefile.in Tue Nov 26 13:46:41 2002 -@@ -105,7 +105,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR) - $(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@ - diff --git a/net-mgmt/nagios2/files/patch-ad b/net-mgmt/nagios2/files/patch-ad deleted file mode 100644 index 4518f5907c41..000000000000 --- a/net-mgmt/nagios2/files/patch-ad +++ /dev/null @@ -1,69 +0,0 @@ ---- configure.orig Tue Feb 3 05:45:08 2004 -+++ configure Wed Feb 4 21:26:46 2004 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/nagios -+#ac_default_prefix=/usr/local/nagios - ac_help="$ac_help - --with-nagios-user=<user> sets user name to run nagios" - ac_help="$ac_help -@@ -576,9 +576,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/nagios/config.site $prefix/etc/nagios/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/nagios/config.site $ac_default_prefix/etc/nagios/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -2608,6 +2608,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -2615,6 +2618,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - -@@ -2692,14 +2697,14 @@ - - - -- echo $ac_n "checking for gdImagePng in -lgd (order 1)""... $ac_c" 1>&6 --echo "configure:2697: checking for gdImagePng in -lgd (order 1)" >&5 -+ echo $ac_n "checking for gdImagePng in -lgd1 (order 1)""... $ac_c" 1>&6 -+echo "configure:2697: checking for gdImagePng in -lgd1 (order 1)" >&5 - ac_lib_var=`echo gd'_'gdImagePng'_'1 | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" -- LIBS="-lgd $ICONV -lz -lm -lpng -ljpeg $LIBS" -+ LIBS="-lgd1 $ICONV -lz -lm -lpng -ljpeg $LIBS" - cat > conftest.$ac_ext <<EOF - #line 2705 "configure" - #include "confdefs.h" -@@ -2729,7 +2734,7 @@ - echo "$ac_t""yes" 1>&6 - - GDLIBFOUND=yep -- GDLIBS="-lgd $ICONV -lz -lm -lpng -ljpeg" -+ GDLIBS="-lgd1 $ICONV -lz -lm -lpng -ljpeg" - - else - echo "$ac_t""no" 1>&6 diff --git a/net-mgmt/nagios2/files/patch-ae b/net-mgmt/nagios2/files/patch-ae deleted file mode 100644 index 0bf8e064b3a7..000000000000 --- a/net-mgmt/nagios2/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in.orig Mon Apr 30 17:22:35 2001 -+++ configure.in Tue May 1 19:36:54 2001 -@@ -1,7 +1,7 @@ - dnl Process this -*-m4-*- file with autoconf to produce a configure script. - AC_INIT(base/nagios.c) - AC_CONFIG_HEADER(common/config.h common/snprintf.h base/nagios.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/nagios) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - AC_PROG_INSTALL diff --git a/net-mgmt/nagios2/files/patch-ag b/net-mgmt/nagios2/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios2/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios2/files/patch-ai b/net-mgmt/nagios2/files/patch-ai deleted file mode 100644 index 433d6d74758d..000000000000 --- a/net-mgmt/nagios2/files/patch-ai +++ /dev/null @@ -1,25 +0,0 @@ ---- daemon-init.in.orig Thu Apr 18 06:27:13 2002 -+++ daemon-init.in Sun May 19 08:39:29 2002 -@@ -68,11 +68,8 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --if [ -f /etc/rc.d/init.d/functions ]; then -- . /etc/rc.d/init.d/functions --elif [ -f /etc/init.d/functions ]; then -- . /etc/init.d/functions -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions - fi - - prefix=@prefix@ -@@ -102,7 +99,7 @@ - - start) - echo "Starting network monitor: nagios" -- su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" -+ su -m $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" - rm -f $NagiosCmd - $NagiosBin -d $NagiosCfg - if [ -d $NagiosLckDir ]; then touch $NagiosLckDir/$NagiosLckFile; fi diff --git a/net-mgmt/nagios2/files/patch-xcddb.c b/net-mgmt/nagios2/files/patch-xcddb.c deleted file mode 100644 index 34bc8dc1759a..000000000000 --- a/net-mgmt/nagios2/files/patch-xcddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xcddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xcddb.c Thu Mar 6 23:14:25 2003 -@@ -51,7 +51,7 @@ - #endif - - #ifdef USE_XCDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios2/files/patch-xdddb.c b/net-mgmt/nagios2/files/patch-xdddb.c deleted file mode 100644 index f1a942e7ae45..000000000000 --- a/net-mgmt/nagios2/files/patch-xdddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xdddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xdddb.c Thu Mar 6 23:15:54 2003 -@@ -51,7 +51,7 @@ - #endif - - #ifdef USE_XDDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios2/files/patch-xeddb.c b/net-mgmt/nagios2/files/patch-xeddb.c deleted file mode 100644 index 2aaaa7db9043..000000000000 --- a/net-mgmt/nagios2/files/patch-xeddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xeddb.c.orig Tue Feb 26 05:04:09 2002 -+++ xdata/xeddb.c Thu Mar 6 23:16:01 2003 -@@ -44,7 +44,7 @@ - #endif - - #ifdef USE_XEDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios2/files/patch-xrddb.c b/net-mgmt/nagios2/files/patch-xrddb.c deleted file mode 100644 index 0f850674b63c..000000000000 --- a/net-mgmt/nagios2/files/patch-xrddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xrddb.c.orig Thu May 16 04:46:11 2002 -+++ xdata/xrddb.c Thu Mar 6 23:16:14 2003 -@@ -43,7 +43,7 @@ - #endif - - #ifdef USE_XRDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios2/files/patch-xsddb.c b/net-mgmt/nagios2/files/patch-xsddb.c deleted file mode 100644 index e9e1d169cc76..000000000000 --- a/net-mgmt/nagios2/files/patch-xsddb.c +++ /dev/null @@ -1,11 +0,0 @@ ---- xdata/xsddb.c.orig Thu Nov 14 03:51:34 2002 -+++ xdata/xsddb.c Thu Mar 6 23:16:27 2003 -@@ -48,7 +48,7 @@ - #endif - - #ifdef USE_XSDPGSQL --#include <pgsql/libpq-fe.h> -+#include <libpq-fe.h> - #endif - - diff --git a/net-mgmt/nagios2/pkg-descr b/net-mgmt/nagios2/pkg-descr deleted file mode 100644 index b1ff9995e7fc..000000000000 --- a/net-mgmt/nagios2/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Nagios is a host and service monitor designed to inform you of network -problems before your clients, end-users or managers do. It has been -designed to run under the Linux operating system, but works fine under -most *NIX variants as well. The monitoring daemon runs intermittent -checks on hosts and services you specify using external "plugins" -which return status information to Nagios. When problems are -encountered, the daemon can send notifications out to administrative -contacts in a variety of different ways (email, instant message, SMS, -etc.). Current status information, historical logs, and reports can -all be accessed via a web browser. - -WWW: http://www.nagios.org/ diff --git a/net-mgmt/nagios2/pkg-plist b/net-mgmt/nagios2/pkg-plist deleted file mode 100644 index 2f1a32523a20..000000000000 --- a/net-mgmt/nagios2/pkg-plist +++ /dev/null @@ -1,314 +0,0 @@ -@exec mkdir -p %D/share/nagios/ssi -@exec mkdir -p /var/spool/nagios/archives -@exec mkdir -p /var/spool/nagios/rw -@exec chmod 775 /var/spool/nagios /var/spool/nagios/archives /var/spool/nagios/rw -@exec chown nagios:nagios /var/spool/nagios /var/spool/nagios/archives -@exec chown nagios:nogroup /var/spool/nagios/rw -bin/nagios -etc/nagios/cgi.cfg-sample -etc/nagios/checkcommands.cfg-sample -etc/nagios/contactgroups.cfg-sample -etc/nagios/contacts.cfg-sample -etc/nagios/dependencies.cfg-sample -etc/nagios/escalations.cfg-sample -etc/nagios/hostextinfo.cfg-sample -etc/nagios/hostgroups.cfg-sample -etc/nagios/hosts.cfg-sample -etc/nagios/misccommands.cfg-sample -etc/nagios/nagios.cfg-sample -etc/nagios/resource.cfg-sample -etc/nagios/serviceextinfo.cfg-sample -etc/nagios/services.cfg-sample -etc/nagios/timeperiods.cfg-sample -etc/rc.d/nagios.sh -share/nagios/cgi-bin/avail.cgi -share/nagios/cgi-bin/cmd.cgi -share/nagios/cgi-bin/config.cgi -share/nagios/cgi-bin/extinfo.cgi -share/nagios/cgi-bin/histogram.cgi -share/nagios/cgi-bin/history.cgi -share/nagios/cgi-bin/notifications.cgi -share/nagios/cgi-bin/outages.cgi -share/nagios/cgi-bin/showlog.cgi -share/nagios/cgi-bin/status.cgi -share/nagios/cgi-bin/statusmap.cgi -share/nagios/cgi-bin/statuswml.cgi -share/nagios/cgi-bin/statuswrl.cgi -share/nagios/cgi-bin/summary.cgi -share/nagios/cgi-bin/tac.cgi -share/nagios/cgi-bin/trends.cgi -share/nagios/contexthelp/A1.html -share/nagios/contexthelp/A2.html -share/nagios/contexthelp/A3.html -share/nagios/contexthelp/A4.html -share/nagios/contexthelp/A5.html -share/nagios/contexthelp/A6.html -share/nagios/contexthelp/A7.html -share/nagios/contexthelp/B1.html -share/nagios/contexthelp/C1.html -share/nagios/contexthelp/D1.html -share/nagios/contexthelp/E1.html -share/nagios/contexthelp/F1.html -share/nagios/contexthelp/G1.html -share/nagios/contexthelp/G2.html -share/nagios/contexthelp/G3.html -share/nagios/contexthelp/G4.html -share/nagios/contexthelp/G5.html -share/nagios/contexthelp/G6.html -share/nagios/contexthelp/H1.html -share/nagios/contexthelp/H2.html -share/nagios/contexthelp/H3.html -share/nagios/contexthelp/H4.html -share/nagios/contexthelp/H5.html -share/nagios/contexthelp/H6.html -share/nagios/contexthelp/H7.html -share/nagios/contexthelp/H8.html -share/nagios/contexthelp/I1.html -share/nagios/contexthelp/I2.html -share/nagios/contexthelp/I3.html -share/nagios/contexthelp/I4.html -share/nagios/contexthelp/I5.html -share/nagios/contexthelp/I6.html -share/nagios/contexthelp/I7.html -share/nagios/contexthelp/I8.html -share/nagios/contexthelp/J1.html -share/nagios/contexthelp/K1.html -share/nagios/contexthelp/L1.html -share/nagios/contexthelp/L10.html -share/nagios/contexthelp/L11.html -share/nagios/contexthelp/L12.html -share/nagios/contexthelp/L13.html -share/nagios/contexthelp/L2.html -share/nagios/contexthelp/L3.html -share/nagios/contexthelp/L4.html -share/nagios/contexthelp/L5.html -share/nagios/contexthelp/L6.html -share/nagios/contexthelp/L7.html -share/nagios/contexthelp/L8.html -share/nagios/contexthelp/L9.html -share/nagios/contexthelp/M1.html -share/nagios/contexthelp/M2.html -share/nagios/contexthelp/M3.html -share/nagios/contexthelp/M4.html -share/nagios/contexthelp/M5.html -share/nagios/contexthelp/M6.html -share/nagios/contexthelp/N1.html -share/nagios/contexthelp/N2.html -share/nagios/contexthelp/N3.html -share/nagios/contexthelp/N4.html -share/nagios/contexthelp/N5.html -share/nagios/contexthelp/N6.html -share/nagios/contexthelp/N7.html -share/nagios/docs/images/activepassive.png -share/nagios/docs/images/cgi-avail-a.png -share/nagios/docs/images/cgi-avail-b.png -share/nagios/docs/images/cgi-cmd.png -share/nagios/docs/images/cgi-config.png -share/nagios/docs/images/cgi-extinfo-a.png -share/nagios/docs/images/cgi-extinfo-b.png -share/nagios/docs/images/cgi-extinfo-c.png -share/nagios/docs/images/cgi-extinfo-d.png -share/nagios/docs/images/cgi-histogram.png -share/nagios/docs/images/cgi-history.png -share/nagios/docs/images/cgi-notifications.png -share/nagios/docs/images/cgi-outages.png -share/nagios/docs/images/cgi-showlog.png -share/nagios/docs/images/cgi-status-a.png -share/nagios/docs/images/cgi-status-b.png -share/nagios/docs/images/cgi-status-c.png -share/nagios/docs/images/cgi-status-d.png -share/nagios/docs/images/cgi-statusmap.png -share/nagios/docs/images/cgi-statuswml.png -share/nagios/docs/images/cgi-statuswrl.png -share/nagios/docs/images/cgi-summary.png -share/nagios/docs/images/cgi-tac.png -share/nagios/docs/images/cgi-trends.png -share/nagios/docs/images/checktiming.png -share/nagios/docs/images/distributed.png -share/nagios/docs/images/host-dependencies.png -share/nagios/docs/images/indirecthostcheck.png -share/nagios/docs/images/indirectsvccheck.png -share/nagios/docs/images/indirectsvccheck2.png -share/nagios/docs/images/interleaved1.png -share/nagios/docs/images/interleaved2.png -share/nagios/docs/images/interleaved3.png -share/nagios/docs/images/logofullsize.png -share/nagios/docs/images/network-heirarchy.png -share/nagios/docs/images/network-outage1.png -share/nagios/docs/images/network-outage2.png -share/nagios/docs/images/noninterleaved1.png -share/nagios/docs/images/noninterleaved2.png -share/nagios/docs/images/physical-network.png -share/nagios/docs/images/plugintheory.png -share/nagios/docs/images/redudancy.png -share/nagios/docs/images/redundancy.png -share/nagios/docs/images/service-dependencies.png -share/nagios/docs/images/statetransitions.png -share/nagios/docs/images/statetransitions2.png -share/nagios/docs/about.html -share/nagios/docs/addons.html -share/nagios/docs/beginners.html -share/nagios/docs/cgiauth.html -share/nagios/docs/cgiincludes.html -share/nagios/docs/cgis.html -share/nagios/docs/checkscheduling.html -share/nagios/docs/clusters.html -share/nagios/docs/commandfile.html -share/nagios/docs/config.html -share/nagios/docs/configcgi.html -share/nagios/docs/configextinfo.html -share/nagios/docs/configmain.html -share/nagios/docs/configobject.html -share/nagios/docs/dependencies.html -share/nagios/docs/distributed.html -share/nagios/docs/downtime.html -share/nagios/docs/embeddedperl.html -share/nagios/docs/escalations.html -share/nagios/docs/eventhandlers.html -share/nagios/docs/extcommands.html -share/nagios/docs/faqs.html -share/nagios/docs/flapping.html -share/nagios/docs/freshness.html -share/nagios/docs/funstuff.html -share/nagios/docs/index.html -share/nagios/docs/indirectchecks.html -share/nagios/docs/installing.html -share/nagios/docs/installweb.html -share/nagios/docs/int-portsentry.html -share/nagios/docs/int-snmptrap.html -share/nagios/docs/int-tcpwrappers.html -share/nagios/docs/macros.html -share/nagios/docs/networkoutages.html -share/nagios/docs/networkreachability.html -share/nagios/docs/notifications.html -share/nagios/docs/parallelization.html -share/nagios/docs/passivechecks.html -share/nagios/docs/perfdata.html -share/nagios/docs/plugins.html -share/nagios/docs/plugintheory.html -share/nagios/docs/redundancy.html -share/nagios/docs/robots.txt -share/nagios/docs/security.html -share/nagios/docs/stalking.html -share/nagios/docs/starting.html -share/nagios/docs/statetypes.html -share/nagios/docs/stoprestart.html -share/nagios/docs/templaterecursion.html -share/nagios/docs/templatetricks.html -share/nagios/docs/timeperiods.html -share/nagios/docs/toc.html -share/nagios/docs/tuning.html -share/nagios/docs/verifyconfig.html -share/nagios/docs/volatileservices.html -share/nagios/docs/whatsnew.html -share/nagios/docs/xdata-db.html -share/nagios/docs/xeddefault.html -share/nagios/docs/xedtemplate.html -share/nagios/docs/xoddefault.html -share/nagios/docs/xodtemplate.html -share/nagios/docs/xpddefault.html -share/nagios/docs/xpdfile.html -share/nagios/images/ack.gif -share/nagios/images/command.png -share/nagios/images/comment.gif -share/nagios/images/contexthelp1.gif -share/nagios/images/contexthelp2.gif -share/nagios/images/critical.png -share/nagios/images/delay.gif -share/nagios/images/delete.gif -share/nagios/images/disabled.gif -share/nagios/images/down.gif -share/nagios/images/downtime.gif -share/nagios/images/empty.gif -share/nagios/images/enabled.gif -share/nagios/images/extinfo.gif -share/nagios/images/flapping.gif -share/nagios/images/greendot.gif -share/nagios/images/histogram.png -share/nagios/images/history.gif -share/nagios/images/hostevent.gif -share/nagios/images/info.png -share/nagios/images/left.gif -share/nagios/images/logofullsize.jpg -share/nagios/images/logos/nagios.gd2 -share/nagios/images/logos/nagios.gif -share/nagios/images/logos/nagiosvrml.png -share/nagios/images/logos/unknown.gd2 -share/nagios/images/logos/unknown.gif -share/nagios/images/logrotate.png -share/nagios/images/ndisabled.gif -share/nagios/images/noack.gif -share/nagios/images/notes.gif -share/nagios/images/notify.gif -share/nagios/images/orangedot.gif -share/nagios/images/passiveonly.gif -share/nagios/images/recovery.png -share/nagios/images/redudancy.png -share/nagios/images/redundancy.png -share/nagios/images/restart.gif -share/nagios/images/right.gif -share/nagios/images/sbconfig.png -share/nagios/images/sbgeneral.png -share/nagios/images/sblogo.jpg -share/nagios/images/sbmonitor.png -share/nagios/images/sbreport.png -share/nagios/images/serviceevent.gif -share/nagios/images/start.gif -share/nagios/images/status.gif -share/nagios/images/status2.gif -share/nagios/images/status3.gif -share/nagios/images/status4.gif -share/nagios/images/stop.gif -share/nagios/images/tacdisabled.jpg -share/nagios/images/tacdisabled.png -share/nagios/images/tacenabled.jpg -share/nagios/images/tacenabled.png -share/nagios/images/thermcrit.png -share/nagios/images/thermok.png -share/nagios/images/thermwarn.png -share/nagios/images/trends.gif -share/nagios/images/trendshost.png -share/nagios/images/trendssvc.png -share/nagios/images/unknown.png -share/nagios/images/up.gif -share/nagios/images/warning.png -share/nagios/images/weblogo1.png -share/nagios/images/zoom1.gif -share/nagios/images/zoom2.gif -share/nagios/index.html -share/nagios/main.html -share/nagios/media/critical.wav -share/nagios/media/hostdown.wav -share/nagios/media/warning.wav -share/nagios/robots.txt -share/nagios/side.html -share/nagios/stylesheets/avail.css -share/nagios/stylesheets/checksanity.css -share/nagios/stylesheets/cmd.css -share/nagios/stylesheets/config.css -share/nagios/stylesheets/extinfo.css -share/nagios/stylesheets/histogram.css -share/nagios/stylesheets/history.css -share/nagios/stylesheets/ministatus.css -share/nagios/stylesheets/notifications.css -share/nagios/stylesheets/outages.css -share/nagios/stylesheets/showlog.css -share/nagios/stylesheets/status.css -share/nagios/stylesheets/statusmap.css -share/nagios/stylesheets/summary.css -share/nagios/stylesheets/tac.css -share/nagios/stylesheets/trends.css -@unexec rmdir %D/etc/nagios 2>/dev/null || true -@dirrm share/nagios/cgi-bin -@dirrm share/nagios/contexthelp -@dirrm share/nagios/docs/images -@dirrm share/nagios/docs -@dirrm share/nagios/images/logos -@dirrm share/nagios/images -@dirrm share/nagios/media -@dirrm share/nagios/ssi -@dirrm share/nagios/stylesheets -@dirrm share/nagios -@unexec rmdir /var/spool/nagios/archives 2>/dev/null || true -@unexec rmdir /var/spool/nagios/rw 2>/dev/null || true -@unexec rmdir /var/spool/nagios 2>/dev/null || true diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile deleted file mode 100644 index 4fff98f9c2d5..000000000000 --- a/net-mgmt/net-snmp-devel/Makefile +++ /dev/null @@ -1,267 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= snmp -PORTVERSION= 5.1.1 -PORTREVISION= 1 -PKGNAMEPREFIX= net- -CATEGORIES= net-mgmt ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= net-snmp -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} - -.if defined(WITH_INETADDRESS_HACK) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-snmplib::mib.c -.endif -.if !defined(WITH_TKMIB) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-local:Makefile.in -.endif - -MAINTAINER= kuriyama@FreeBSD.org -COMMENT= An extendable SNMP implementation - -.if defined(WITH_TKMIB) -RUN_DEPEND= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk -.endif - -USE_REINPLACE= yes -USE_AUTOCONF_VER=257 -USE_LIBTOOL_VER=13 -USE_RC_SUBR= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore -NO_LATEST_LINK= yes -.if !defined(WITHOUT_PERL) -USE_PERL5= yes -.endif - -CONFIGURE_ENV+= PERLPROG="${PERL}" PSPROG="${PS_CMD}" SED="${SED}" -CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \ - --with-mib-modules="${_NET_SNMP_MIB_MODULES}" \ - --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \ - --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \ - --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ - --with-logfile="${NET_SNMP_LOGFILE}" \ - --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" - -.if defined(BATCH) -CONFIGURE_ARGS+=--with-defaults -.endif - -.if !defined(WITHOUT_DUMMY_VALUES) -CONFIGURE_ARGS+=--with-dummy-values -.endif - -.include <bsd.port.pre.mk> - -.if defined(WITHOUT_PERL) -PLIST_SUB+= WITH_PERL="@comment " -.else -CONFIGURE_ARGS+=--enable-embedded-perl --with-perl-modules -PLIST_SUB+= WITH_PERL="" -.endif - -.if defined(WITH_TKMIB) -PLIST_SUB+= WITH_TKMIB="" -.else -PLIST_SUB+= WITH_TKMIB="@comment " -.endif - -.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6) -CONFIGURE_ARGS+=--enable-ipv6 -# --with-transport="UDPIPv6 TCPIPv6" --with-modules=mibII/ipv6" -PLIST_SUB+= WITH_IPV6="" -.else -PLIST_SUB+= WITH_IPV6="@comment " -.endif - -SHLIB_VERSION= 6 -PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} -LIBTOOL_SUB= LTCONFIG=${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION} \ - LTMAIN=${LIBTOOL_SHAREDIR}/ltmain.sh -SCRIPTS_SUB= PREFIX=${PREFIX} PERL=${PERL} -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} - -DEFAULT_SNMP_VERSION?= 3 -NET_SNMP_SYS_CONTACT?= nobody@nowhere.invalid -NET_SNMP_SYS_LOCATION?= somewhere -NET_SNMP_LOGFILE?= /var/log/snmpd.log -NET_SNMP_PERSISTENTDIR?=/var/net-snmp -NET_SNMP_MIB_MODULES?= ${NET_SNMP_MIB_MODULE_LIST} - -NET_SNMP_MIB_MODULE_LIST=host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio -_NET_SNMP_MIB_MODULES= -.for module1 in ${NET_SNMP_MIB_MODULE_LIST} -_module1=${module1} -_define= false -. for module2 in ${NET_SNMP_MIB_MODULES} -_module2=${module2} -. if ${_module1} == ${_module2} -_define= true -. endif -. endfor -. if ${_define} == true -_NET_SNMP_MIB_MODULES+= ${module1} -PLIST_SUB+= WITH_${module1:C|.*/||:U}="" -. else -PLIST_SUB+= WITH_${module1:C|.*/||:U}="@comment " -. endif -.endfor - -MAN1= mib2c.1 \ - snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpvacm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - netsnmp_agent.3 netsnmp_bulk_to_next.3 netsnmp_debug.3 \ - netsnmp_example_scalar_int.3 netsnmp_handler.3 \ - netsnmp_instance.3 netsnmp_library.3 \ - netsnmp_mib_handler_methods.3 netsnmp_mib_utilities.3 \ - netsnmp_mode_end_call.3 netsnmp_multiplexer.3 \ - netsnmp_old_api.3 netsnmp_read_only.3 netsnmp_scalar.3 \ - netsnmp_serialize.3 netsnmp_table.3 netsnmp_table_array.3 \ - netsnmp_table_data.3 netsnmp_table_dataset.3 \ - netsnmp_table_iterator.3 netsnmp_todo.3 netsnmp_watcher.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 \ - snmp_api_errstring.3 snmp_close.3 \ - snmp_error.3 snmp_free_pdu.3 snmp_open.3 snmp_perror.3 \ - snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_perror.3 \ - snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 \ - netsnmp_Container_iterator.3 netsnmp_baby_steps.3 \ - netsnmp_cache_handler.3 netsnmp_container.3 \ - netsnmp_deprecated.3 netsnmp_iterator_info_s.3 \ - netsnmp_leaf.3 \ - netsnmp_row_merge.3 netsnmp_scalar_group_group.3 \ - netsnmp_stash_cache.3 netsnmp_utilities.3 - -.if !defined(WITHOUT_PERL) -MAN3PERL= NetSNMP::ASN.3 NetSNMP::OID.3 NetSNMP::agent.3 \ - NetSNMP::agent::default_store.3 \ - NetSNMP::default_store.3 \ - NetSNMP::netsnmp_request_infoPtr.3 SNMP.3 -MAN3PERLPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -_MANPAGES+= ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%} -.endif - -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmpd.8 snmptrapd.8 - -BIN_FILES= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN_FILES= snmpd snmptrapd -STARTUP_DIR= ${PREFIX}/etc/rc.d -STARTUP_FILES= snmpd.sh snmptrapd.sh -SCRIPT_FILES= snmpcheck.def mib2c fixproc ipf-mod.pl snmpconf \ - traptoemail -.if defined(WITH_TKMIB) -SCRIPT_FILES+= tkmib -.endif -DOC_FILES= AGENT.txt COPYING FAQ NEWS README \ - README.agentx README.krb5 README.snmpv3 README.thread \ - agent/mibgroup/README.smux - -PS_CMD?= /bin/ps - -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "You may use the following build options:" - @${ECHO_MSG} - @${ECHO_MSG} "WITH_INETADDRESS_HACK=yes builds with the inetaddress hack" - @${ECHO_MSG} "WITH_TKMIB=yes Install a graphical Perl/Tk/SNMP based mib browser" - @${ECHO_MSG} "WITHOUT_DUMMY_VALUES=yes Provide 'placeholder' dummy values where" - @${ECHO_MSG} " the necessary information is not available." - @${ECHO_MSG} "WITHOUT_PERL=yes Install the perl modules along with the rest" - @${ECHO_MSG} " of the net-snmp toolkit." - @${ECHO_MSG} "WITHOUT_IPV6=yes Disable IPv6." - @${ECHO_MSG} - @${ECHO_MSG} "DEFAULT_SNMP_VERSION=\"3\" Default version of SNMP to use." - @${ECHO_MSG} "NET_SNMP_SYS_CONTACT=\"${NET_SNMP_SYS_CONTACT}\"" - @${ECHO_MSG} " Default system contact." - @${ECHO_MSG} "NET_SNMP_SYS_LOCATION=\"${NET_SNMP_SYS_LOCATION}\"" - @${ECHO_MSG} " Default system location." - @${ECHO_MSG} "NET_SNMP_LOGFILE=\"${NET_SNMP_LOGFILE}\"" - @${ECHO_MSG} " Default log file location for snmpd." - @${ECHO_MSG} "NET_SNMP_PERSISTENTDIR=\"${NET_SNMP_PERSISTENTDIR}\"" - @${ECHO_MSG} " Default directory for persistent data storage." - @${ECHO_MSG} "NET_SNMP_MIB_MODULES=\"${NET_SNMP_MIB_MODULE_LIST}\"" - @${ECHO_MSG} " Optional mib modules that can be built into the" - @${ECHO_MSG} " agent" - @${ECHO_MSG} - -post-patch: patch-autoconf patch-script-files patch-startup-files - -patch-autoconf: - @${REINPLACE_CMD} ${LIBTOOL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/aclocal.m4 - -patch-script-files: -.for file in ${SCRIPT_FILES} - @${REINPLACE_CMD} ${SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/local/${file} -.endfor - -patch-startup-files: -.for file in ${STARTUP_FILES} - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/${file}.sample > ${WRKDIR}/${file} -.endfor - -post-configure: - @${FIND} ${WRKSRC} -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' - -.if !defined(WITHOUT_PERL) -post-build: - ${FIND} ${WRKSRC}/perl -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -E -e '\ - s!^(PREFIX) = .*!\1 = ${PREFIX}!; \ - s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \ - s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ - ' -.endif - -post-install: strip-files install-startup-files install-doc-files display-message - -strip-files: - @cd ${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES} - @cd ${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES} - -install-startup-files: -.for file in ${STARTUP_FILES} - @${INSTALL_SCRIPT} ${WRKDIR}/${file} ${STARTUP_DIR} -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -. for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -. endfor -.endif - -display-message: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - -# Maintainer's note: -# Don't forget to bump library version in these ports. -# lang/php4,lang/php5,net-mgmt/braa,net-mgmt/docsis,net/ethereal,net-mgmt/mbrowse,net/quagga,net/tethereal,net-mgmt/zabbix,security/libfwbuilder - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp-devel/distinfo b/net-mgmt/net-snmp-devel/distinfo deleted file mode 100644 index f584b2ca28e6..000000000000 --- a/net-mgmt/net-snmp-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (net-snmp-5.1.1.tar.gz) = 68f6c946387718e4f300cbb8b6c4bd43 -SIZE (net-snmp-5.1.1.tar.gz) = 2977122 diff --git a/net-mgmt/net-snmp-devel/files/extra-patch-local:Makefile.in b/net-mgmt/net-snmp-devel/files/extra-patch-local:Makefile.in deleted file mode 100644 index 7f648103d7aa..000000000000 --- a/net-mgmt/net-snmp-devel/files/extra-patch-local:Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- local/Makefile.in.orig Sat Apr 20 16:30:13 2002 -+++ local/Makefile.in Wed Apr 24 01:45:55 2002 -@@ -12,7 +12,7 @@ - # local info - # - SNMPCONFPATH=@SNMPCONFPATH@ --PERLSCRIPTS=snmpcheck tkmib mib2c fixproc ipf-mod.pl snmpconf traptoemail -+PERLSCRIPTS=snmpcheck mib2c fixproc ipf-mod.pl snmpconf traptoemail - SCRIPTSMADEFORPERL=snmpcheck.made tkmib.made mib2c.made fixproc.made \ - ipf-mod.pl.made snmpconf.made traptoemail.made - PERLPROG=@PERLPROG@ diff --git a/net-mgmt/net-snmp-devel/files/extra-patch-snmplib::mib.c b/net-mgmt/net-snmp-devel/files/extra-patch-snmplib::mib.c deleted file mode 100644 index 9ee51d8abf67..000000000000 --- a/net-mgmt/net-snmp-devel/files/extra-patch-snmplib::mib.c +++ /dev/null @@ -1,136 +0,0 @@ ---- snmplib/mib.c.orig Sun Nov 2 12:50:39 2003 -+++ snmplib/mib.c Sat Jan 3 03:08:38 2004 -@@ -167,6 +167,14 @@ - {NULL, 0} /* end of list */ - }; - -+enum inet_address_type { -+ IPV4 = 1, -+ IPV6 = 2, -+ IPV4Z = 3, -+ IPV6Z = 4, -+ DNS = 16 -+}; -+ - - /** - * @internal -@@ -3734,6 +3742,80 @@ - return SNMPERR_SUCCESS; - } - -+/* -+ * dump_realloc_oid_to_inetaddress: -+ * return 1 for success, -+ * return 0 for failure, -+ * return 2 for not handled -+ */ -+ -+int -+dump_realloc_oid_to_inetaddress(const int addr_type, const oid * objid, size_t objidlen, -+ u_char ** buf, size_t * buf_len, -+ size_t * out_len, int allow_realloc, -+ char quotechar) -+{ -+ if (buf) { -+ int i, len; -+ char intbuf[64], * p; -+ u_int32_t zone; -+ -+ memset(intbuf, 0, 64); -+ -+ p = intbuf; -+ *p = quotechar; -+ p++; -+ switch (addr_type) { -+ case IPV4: -+ case IPV4Z: -+ if ((addr_type == IPV4 && objidlen != 4) || -+ (addr_type == IPV4Z && objidlen != 8)) -+ return 2; -+ -+ len = sprintf(p, "%lu.%lu.%lu.%lu", objid[0], objid[1], objid[2], objid[3]); -+ p += len; -+ if (addr_type == IPV4Z) { -+ zone = ntohl(*((u_int32_t *) objid[4])); -+ len = sprintf(p, "\%%lu", zone); -+ p += len; -+ } -+ -+ break; -+ -+ case IPV6: -+ case IPV6Z: -+ if ((addr_type == IPV6 && objidlen != 16) || -+ (addr_type == IPV6Z && objidlen != 20)) -+ return 2; -+ -+ len = 0; -+ for (i = 0; i < 16; i ++) { -+ len += snprintf(p, 4, "%02x:", objid[i]); -+ p += 3; -+ } -+ p-- ; /* do not include the last ':' */ -+ -+ if (addr_type == IPV6Z) { -+ zone = ntohl(*((u_int32_t *) objid[4])); -+ len = sprintf(p, "\%%lu", zone); -+ p += len; -+ } -+ -+ break; -+ -+ case DNS: -+ default: -+ /* DNS can just be handled by dump_realloc_oid_to_string() */ -+ return 2; -+ } -+ -+ *p = quotechar; -+ return snmp_strcat(buf, buf_len, out_len, allow_realloc, -+ (const u_char *) intbuf); -+ } -+ return 1; -+} -+ - int - dump_realloc_oid_to_string(const oid * objid, size_t objidlen, - u_char ** buf, size_t * buf_len, -@@ -4043,7 +4125,36 @@ - } - } else { - if (!*buf_overflow) { -- if (!dump_realloc_oid_to_string -+ struct tree * next_peer; -+ int normal_handling = 1; -+ -+ if (tp->next_peer) { -+ next_peer = tp->next_peer; -+ } -+ -+ /* Try handling the InetAddress in the OID, in case of failure, -+ * use the normal_handling. -+ */ -+ if (tp->next_peer && -+ strcmp(get_tc_descriptor(tp->tc_index), "InetAddress") == 0 && -+ strcmp(get_tc_descriptor(next_peer->tc_index), -+ "InetAddressType") == 0 ) { -+ -+ int ret; -+ int addr_type = *(objid - 1); -+ -+ ret = dump_realloc_oid_to_inetaddress(addr_type, -+ objid + 1, numids - 1, buf, buf_len, out_len, -+ allow_realloc, '"'); -+ if (ret != 2) { -+ normal_handling = 0; -+ if (ret == 0) { -+ *buf_overflow = 1; -+ } -+ -+ } -+ } -+ if (normal_handling && !dump_realloc_oid_to_string - (objid + 1, numids - 1, buf, buf_len, out_len, - allow_realloc, '"')) { - *buf_overflow = 1; diff --git a/net-mgmt/net-snmp-devel/files/patch-Makefile.in b/net-mgmt/net-snmp-devel/files/patch-Makefile.in deleted file mode 100644 index a751bb7b7223..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Thu Feb 19 05:35:25 2004 -+++ Makefile.in Wed Mar 24 08:25:27 2004 -@@ -15,7 +15,7 @@ - INSTALLHEADERS=version.h - INCLUDESUBDIR=system - INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h darwin.h \ -- dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \ -+ dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd.h generic.h hpux.h \ - irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ - solaris2.6.h solaris2.7.h solaris2.8.h solaris2.9.h solaris.h \ - sunos.h svr5.h sysv.h ultrix4.h diff --git a/net-mgmt/net-snmp-devel/files/patch-Makefile.top b/net-mgmt/net-snmp-devel/files/patch-Makefile.top deleted file mode 100644 index 33bed26b787a..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Thu Mar 6 05:08:26 2003 -+++ Makefile.top Sat Mar 29 21:54:50 2003 -@@ -59,7 +59,7 @@ - # generally, LIBCURRENT should stay the same unless major changes occur. - # Increment REVISION every release. - # Increment AGE if new stuff is available. --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(LIBCURRENT) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp-devel/files/patch-aa b/net-mgmt/net-snmp-devel/files/patch-aa deleted file mode 100644 index 4d371fdbd56e..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Wed Jul 17 02:50:49 2002 -+++ snmplib/Makefile.in Mon Jul 22 12:24:37 2002 -@@ -140,6 +140,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - #how to build dependencies diff --git a/net-mgmt/net-snmp-devel/files/patch-aclocal.m4 b/net-mgmt/net-snmp-devel/files/patch-aclocal.m4 deleted file mode 100644 index eb2e519aa7f0..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-aclocal.m4 +++ /dev/null @@ -1,48 +0,0 @@ ---- aclocal.m4.orig Tue Sep 18 17:08:01 2001 -+++ aclocal.m4 Mon Jan 21 10:38:40 2002 -@@ -196,8 +196,23 @@ - AC_DEFUN([AC_PROG_LIBTOOL], - [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl - -+# Save cache, so that ltconfig can load it -+AC_CACHE_SAVE -+ -+# Actually configure libtool. ac_aux_dir is where install-sh is found. -+CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ -+LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ -+LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ -+DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ -+${CONFIG_SHELL-/bin/sh} %%LTCONFIG%% --no-reexec \ -+$libtool_flags --no-verify --disable-ltlibs --release-ignore %%LTMAIN%% $lt_target \ -+|| AC_MSG_ERROR([libtool configure failed]) -+ -+# Reload cache, that may have been modified by ltconfig -+AC_CACHE_LOAD -+ - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS="--disable-ltlibs --release-ignore %%LTMAIN%%" - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' -@@ -224,6 +239,11 @@ - AC_REQUIRE([AC_EXEEXT])dnl - dnl - -+case "$target" in -+NONE) lt_target="$host" ;; -+*) lt_target="$target" ;; -+esac -+ - _LT_AC_PROG_ECHO_BACKSLASH - # Only perform the check for file, if the check method requires it - case $deplibs_check_method in -@@ -875,7 +895,7 @@ - # All known linkers require a `.a' archive for static linking (except M$VC, - # which needs '.lib'). - libext=a --ltmain="$ac_aux_dir/ltmain.sh" -+ltmain="--disable-ltlibs --release-ignore %%LTMAIN%%" - ofile="$default_ofile" - with_gnu_ld="$lt_cv_prog_gnu_ld" - need_locks="$enable_libtool_lock" diff --git a/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c b/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c deleted file mode 100644 index 79feff8f64ee..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-auto_nlist.c +++ /dev/null @@ -1,10 +0,0 @@ ---- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004 -+++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004 -@@ -57,6 +57,7 @@ - } - if (*ptr == 0) { - *ptr = (struct autonlist *) malloc(sizeof(struct autonlist)); -+ memset(*ptr, 0, sizeof(struct autonlist)); - it = *ptr; - it->left = 0; - it->right = 0; diff --git a/net-mgmt/net-snmp-devel/files/patch-configure.in b/net-mgmt/net-snmp-devel/files/patch-configure.in deleted file mode 100644 index bc45eecc20b7..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-configure.in +++ /dev/null @@ -1,47 +0,0 @@ ---- configure.in.orig Thu Mar 6 07:41:13 2003 -+++ configure.in Tue May 27 14:53:22 2003 -@@ -1246,7 +1246,7 @@ - dnl fall back - CFLAG="-f" - fi --for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel -+for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel /boot/kernel/kernel /dev/null - do - if test -f $i -o $CFLAG $i; then - ac_cv_KERNEL_LOC="$i" -@@ -1659,7 +1659,7 @@ - AC_HEADER_SYS_WAIT - AC_CHECK_HEADERS(stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h) - # FreeBSD required headers --AC_CHECK_HEADERS(malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h machine/types.h sys/socketvar.h) -+AC_CHECK_HEADERS(malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h sys/socketvar.h) - # Linux - AC_CHECK_HEADERS(sys/conf.h netinet/in_systm.h netinet/tcp.h netinet/udp.h netinet/in_var.h netinet/if_ether.h netinet/ip_var.h netinet/tcp_timer.h netinet/tcp_var.h netinet/tcp_fsm.h netinet/udp_var.h netinet/icmp_var.h sys/protosw.h nlist.h ioctls.h asm/page.h netipx/ipx.h) - # NetBSD required headers -@@ -1866,6 +1866,26 @@ - dnl checking for 4.3 vs 4.4 rtentry. - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ -+ -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") - - dnl 4.4 compat - AC_TRY_COMPILE([ diff --git a/net-mgmt/net-snmp-devel/files/patch-diskio.c b/net-mgmt/net-snmp-devel/files/patch-diskio.c deleted file mode 100644 index 609168f22e9c..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-diskio.c +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/diskio.c.orig Thu Mar 6 07:55:01 2003 -+++ agent/mibgroup/ucd-snmp/diskio.c Sat Mar 29 22:41:29 2003 -@@ -49,7 +49,12 @@ - #endif /* bsdi */ - - #if defined (freebsd4) || defined(freebsd5) -+#include <sys/param.h> -+#if __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else - #include <sys/dkstat.h> -+#endif - #include <devstat.h> - #endif /* freebsd */ - -@@ -380,7 +385,11 @@ - } - memset(stat->dinfo, 0, sizeof(struct devinfo)); - -+#if defined(freebsd5) && (__FreeBSD_version >= 500107) -+ if ((devstat_getdevs(NULL, stat)) == -1) { -+#else - if ((getdevs(stat)) == -1) { -+#endif - fprintf(stderr, "Can't get devices:%s\n", devstat_errbuf); - return 1; - } -@@ -429,6 +438,20 @@ - case DISKIO_DEVICE: - *var_len = strlen(stat->dinfo->devices[indx].device_name); - return (u_char *) stat->dinfo->devices[indx].device_name; -+#if defined(freebsd5) && (__FreeBSD_version >= 500107) -+ case DISKIO_NREAD: -+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_READ]; -+ return (u_char *) & long_ret; -+ case DISKIO_NWRITTEN: -+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_WRITE]; -+ return (u_char *) & long_ret; -+ case DISKIO_READS: -+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_READ]; -+ return (u_char *) & long_ret; -+ case DISKIO_WRITES: -+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_WRITE]; -+ return (u_char *) & long_ret; -+#else - case DISKIO_NREAD: - long_ret = (signed long) stat->dinfo->devices[indx].bytes_read; - return (u_char *) & long_ret; -@@ -441,6 +464,7 @@ - case DISKIO_WRITES: - long_ret = (signed long) stat->dinfo->devices[indx].num_writes; - return (u_char *) & long_ret; -+#endif - - default: - ERROR_MSG("diskio.c: don't know how to handle this request."); diff --git a/net-mgmt/net-snmp-devel/files/patch-freebsd.h b/net-mgmt/net-snmp-devel/files/patch-freebsd.h deleted file mode 100644 index c445b0abeb58..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-freebsd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/net-snmp/system/freebsd.h.orig Sat Apr 3 14:56:45 2004 -+++ include/net-snmp/system/freebsd.h Sat Apr 3 14:56:59 2004 -@@ -6,7 +6,7 @@ - * udp_inpcb list symbol - */ - #undef INP_NEXT_SYMBOL --#define INP_NEXT_SYMBOL inp_next -+#define INP_NEXT_SYMBOL inp_list.le_next - - #undef TCP_TTL_SYMBOL - #define TCP_TTL_SYMBOL "ip_defttl" diff --git a/net-mgmt/net-snmp-devel/files/patch-freebsd5.h b/net-mgmt/net-snmp-devel/files/patch-freebsd5.h deleted file mode 100644 index 697589ec48b8..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-freebsd5.h +++ /dev/null @@ -1,22 +0,0 @@ ---- /dev/null Sat Aug 16 16:33:01 2003 -+++ include/net-snmp/system/freebsd5.h Sat Aug 16 16:42:08 2003 -@@ -0,0 +1,19 @@ -+#include "freebsd.h" -+ -+/* -+ * freebsd4 is a superset of freebsd2 and freebsd3 -+ */ -+#define freebsd2 1 -+#define freebsd3 1 -+#define freebsd4 1 -+ -+#undef IFADDR_SYMBOL -+#define IFADDR_SYMBOL "in_ifaddrhead" -+ -+#undef PROC_SYMBOL -+#define PROC_SYMBOL "allproc" -+ -+#undef NPROC_SYMBOL -+#define NPROC_SYMBOL "nprocs" -+ -+#undef TOTAL_MEMORY_SYMBOL diff --git a/net-mgmt/net-snmp-devel/files/patch-hr_storage.c b/net-mgmt/net-snmp-devel/files/patch-hr_storage.c deleted file mode 100644 index e5638709fbfa..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-hr_storage.c +++ /dev/null @@ -1,52 +0,0 @@ ---- agent/mibgroup/host/hr_storage.c.orig Tue Feb 25 22:17:46 2003 -+++ agent/mibgroup/host/hr_storage.c Fri Nov 14 13:03:07 2003 -@@ -148,7 +148,7 @@ - #define HRFS_mount mnt_mountp - #define HRFS_statfs statvfs - --#elif defined(HAVE_STATVFS) -+#elif defined(HAVE_STATVFS) && defined(HAVE_MNTENT) - - extern struct mntent *HRFS_entry; - extern int fscount; -@@ -564,7 +564,7 @@ - } - case HRSTORE_UNITS: - if (store_idx > HRS_TYPE_FIXED_MAX) --#if STRUCT_STATVFS_HAS_F_FRSIZE -+#if defined(STRUCT_STATVFS_HAS_F_FRSIZE) && defined(HAVE_MNTENT) - long_return = stat_buf.f_frsize; - #else - long_return = stat_buf.f_bsize; -@@ -647,7 +647,15 @@ - i++) - long_return += mbstat.m_mtypes[i]; - #elif defined(MBSTAT_SYMBOL) -+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021 - long_return = mbstat.m_mbufs; -+#elif defined(freebsd5) && __FreeBSD_version < 500024 -+ /* mbuf stats disabled */ -+ return NULL; -+#else -+ /* XXX TODO: implement new method */ -+ return NULL; -+#endif - #elif defined(NO_DUMMY_VALUES) - return NULL; - #else -@@ -705,7 +713,15 @@ - * mbpool.pr_size + (mclpool.pr_nget - mclpool.pr_nput) - * mclpool.pr_size; - #elif defined(MBSTAT_SYMBOL) -+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021 - long_return = mbstat.m_clusters - mbstat.m_clfree; /* unlikely, but... */ -+#elif defined(freebsd5) && __FreeBSD_version < 500024 -+ /* mbuf stats disabled */ -+ return NULL; -+#else -+ /* XXX TODO: implement new method */ -+ return NULL; -+#endif - #elif defined(NO_DUMMY_VALUES) - return NULL; - #else diff --git a/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c b/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c deleted file mode 100644 index 5ff95f18ca72..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-hr_swrun.c +++ /dev/null @@ -1,86 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Fri Dec 20 00:07:30 2002 -+++ agent/mibgroup/host/hr_swrun.c Sat Aug 16 17:10:54 2003 -@@ -561,7 +561,11 @@ - string[ sizeof(string)-1 ] = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/status", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -666,7 +670,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/cmdline", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -857,7 +865,11 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch (proc_table[LowProcIndex].kp_proc.p_stat) { -+#endif - #elif defined(dynix) - switch (lowpsinfo.pr_state) { - #elif defined(solaris2) -@@ -952,9 +964,17 @@ - long_return = proc_buf->p_utime * 100 + proc_buf->p_stime * 100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/stat", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -1023,7 +1043,14 @@ - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#if defined(freebsd3) && !defined(darwin) -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; -+#elif defined(freebsd3) && !defined(darwin) - long_return = - proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size / 1024; - #else -@@ -1303,8 +1330,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if (proc_table[current_proc_entry].kp_proc.p_stat != 0) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if (proc_table[current_proc_entry].p_stat != 0) - return proc_table[current_proc_entry++].p_pid; diff --git a/net-mgmt/net-snmp-devel/files/patch-hr_system.c b/net-mgmt/net-snmp-devel/files/patch-hr_system.c deleted file mode 100644 index f2d810ac0771..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-hr_system.c +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_system.c.orig Mon Feb 23 02:29:34 2004 -+++ agent/mibgroup/host/hr_system.c Sat Apr 3 00:00:24 2004 -@@ -596,6 +596,8 @@ - #ifndef UTMP_HAS_NO_TYPE - if (utmp_p->ut_type != USER_PROCESS) - continue; -+#else -+ if (*utmp_p->ut_name != '~') - #endif - #ifndef UTMP_HAS_NO_PID - /* This block of code fixes zombie user PIDs in the diff --git a/net-mgmt/net-snmp-devel/files/patch-interfaces.c b/net-mgmt/net-snmp-devel/files/patch-interfaces.c deleted file mode 100644 index c9d465c00859..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-interfaces.c +++ /dev/null @@ -1,16 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Sat Jun 8 00:18:03 2002 -+++ agent/mibgroup/mibII/interfaces.c Mon Jul 29 12:35:08 2002 -@@ -555,11 +555,9 @@ - ifp->ifm_type)); - } - } -- if (have_ifinfo && have_addr) { -+ if (have_ifinfo) { - return 0; -- } else if (have_ifinfo && !(if_msg->ifm_flags & IFF_UP)) -- return 0; -- else { -+ } else { - return -1; - } - } diff --git a/net-mgmt/net-snmp-devel/files/patch-ipv6.c b/net-mgmt/net-snmp-devel/files/patch-ipv6.c deleted file mode 100644 index 0ee3f76c99ad..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-ipv6.c +++ /dev/null @@ -1,113 +0,0 @@ ---- agent/mibgroup/mibII/ipv6.c.orig Fri Feb 28 18:13:36 2003 -+++ agent/mibgroup/mibII/ipv6.c Wed Nov 19 00:16:27 2003 -@@ -1238,6 +1238,7 @@ - if (!auto_nlist("udb6", (char *) &udb6, sizeof(udb6))) - return NULL; - p = (caddr_t) udb6.in6p_next; -+ DEBUGMSGTL(("mibII/ipv6", "start: p=%x\n", p)); - #else - { - const char *udblist = "net.inet.udp.pcblist"; -@@ -1254,11 +1255,11 @@ - oxig = (struct xinpgen *) sysctl_buf; - xig = (struct xinpgen *) ((char *) oxig + oxig->xig_len); - } -+ DEBUGMSGTL(("mibII/ipv6", "start: xig=%p\n", xig)); - #endif - found = hitnext = 0; - memcpy((char *) newname, (char *) vp->name, - (int) vp->namelen * sizeof(oid)); -- DEBUGMSGTL(("mibII/ipv6", "start: p=%x\n", p)); - while ( - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) - p && (u_long) p != auto_nlist_value("udb6") -@@ -1266,12 +1267,16 @@ - xig->xig_len > sizeof(struct xinpgen) - #endif - ) { -- DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) -+ DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)); - #else - in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ xig = (struct xinpgen *) ((char *) xig + xig->xig_len); -+ continue; -+ } - #endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) -@@ -1283,8 +1288,8 @@ - else - newname[j++] = 0; - /*XXX*/ -- DEBUGMSGTL(("mibII/ipv6", "var_udp6 new: %d %d ", -- (int) vp->namelen, j)); -+ DEBUGMSGTL(("mibII/ipv6", "var_udp6 new: %d %d ", -+ (int) vp->namelen, j)); - DEBUGMSGOID(("mibII/ipv6", newname, j)); - DEBUGMSG(("mibII/ipv6", " %d\n", exact)); - -@@ -1447,9 +1452,6 @@ - p)); - break; - } --#else -- in6pcb = ((struct xinpcb *) xig)->xi_inp; --#endif - if (klookup - ((u_long) in6pcb.in6p_ppcb, (char *) &tcp6cb, sizeof(tcp6cb)) - < 0) { -@@ -1457,6 +1459,14 @@ - in6pcb.in6p_ppcb)); - break; - } -+#else -+ in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ struct xtcpcb *xp = (struct xtcpcb *)xig; -+ tcp6cb = xp->xt_tp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ goto skip; -+ } -+#endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) - newname[j++] = in6pcb.in6p_laddr.s6_addr[i]; -@@ -1590,6 +1600,7 @@ - #if defined(__FreeBSD__) && __FreeBSD__ >= 3 - char *sysctl_buf; - struct xinpgen *xig, *oxig; -+ struct xtcpcb *xp; - #endif /* defined(__FreeBSD__) && __FreeBSD__ >= 3 */ - - if (!initialized) { -@@ -1646,11 +1657,7 @@ - DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) -- if (klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)) < 0) --#else -- in6pcb = ((struct xinpcb *) xig)->xi_inp; --#endif -- { -+ if (klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)) < 0) { - DEBUGMSGTL(("mibII/ipv6", "klookup fail for in6pcb at %x\n", - p)); - break; -@@ -1662,6 +1669,14 @@ - in6pcb.in6p_ppcb)); - break; - } -+#else -+ in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ xp = (struct xtcpcb *)xig; -+ tcp6cb = xp->xt_tp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ goto skip; -+ } -+#endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) - newname[j++] = in6pcb.in6p_laddr.s6_addr[i]; diff --git a/net-mgmt/net-snmp-devel/files/patch-local:fixproc b/net-mgmt/net-snmp-devel/files/patch-local:fixproc deleted file mode 100644 index 5d6e3515467d..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:fixproc +++ /dev/null @@ -1,138 +0,0 @@ ---- local/fixproc.orig Sat Apr 20 09:30:13 2002 -+++ local/fixproc Sat Mar 6 01:59:59 2004 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!%%PERL%% - # - # fixproc [-min n] [-max n] [-check | -kill | -restart | -exist | -fix] proc ... - # -@@ -129,7 +129,7 @@ - # - # Timothy Kong 3/1995 - --$database_file = '/local/etc/fixproc.conf'; -+$database_file = '%%PREFIX%%/etc/fixproc.conf'; - - $debug = 0; # specify debug level using -dN - # currently defined: -d1 -@@ -155,6 +155,14 @@ - $shell_header = "#!/bin/sh\n"; - $shell_end_marker = 'shell_end_marker'; - -+open(command, "/bin/ps -p $$ |") || die "$0: can't run ps command\n"; -+if (split(' ', <command>) > 4) { -+ $ps_opts = 'ax'; -+} else { -+ $ps_opts = '-e'; -+} -+close command; -+ - &read_args(); - &read_database(); - # &dump_database(); # debug only -@@ -203,7 +211,9 @@ - $i++; - } - close (file); -- system "chmod +x $file"; -+ ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, -+ $atime,$mtime,$ctime,$blksize,$blocks) = stat($file); -+ chmod $mode | 0111, $file; - return file; - } - -@@ -237,8 +247,8 @@ - - # return code is number divided by 256 - $error_code = (system "$tmpfile") / 256; -- system "rm $tmpfile"; -- return ($fix_failed_error) if ($error_code != 0); -+ unlink $tmpfile; -+ return ($cannot_fix_error) if ($error_code != 0); - # sleep needed here? - return &do_exist ($proc); - } -@@ -268,7 +278,7 @@ - - # return code is number divided by 256 - $error_code = (system "$tmpfile") / 256; -- system "rm $tmpfile"; -+ unlink $tmpfile; - return ($check_failed_error) if ($error_code != 0); - - # check passed, continue -@@ -285,10 +295,12 @@ - - # do ps, check to see if min <= no. of processes <= max - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc | /bin/wc -l |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-wc command\n"; -- $proc_count = <command>; -- if (($proc_count < $min{$proc}) || ($proc_count > $max{$proc})) -+ @allprocs = <command>; -+ close command; -+ @procs = grep(/$proc/, @allprocs); -+ if (($#procs < $min{$proc}) || ($#procs > $max{$proc})) - { - return $check_failed_error; - } -@@ -305,41 +317,48 @@ - - # first try kill - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - while (<command>) - { -- # match the first field of ps -e -+ if /$proc/ { -+ # match the first field of ps $ps_opts - $! = $fixproc_error; -- /^\s*(\d+)\s/ || die "$0: can't match ps -e output\n"; -- system "kill $1"; -+ /^\s*(\d+)\s/ || die "$0: can't match ps $ps_opts output\n"; -+ kill 15, $1; -+ } - } -+ close command; - - # if process still exist, try kill -9 - sleep 2; - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - $second_kill_needed = 0; - while (<command>) - { -- # match the first field of ps -e -+ if /$proc/ { -+ # match the first field of ps $ps_opts - $! = $fixproc_error; -- /^\s*(\d+)\s/ || die "$0: can't match ps -e output\n"; -- system "kill -9 $1"; -+ /^\s*(\d+)\s/ || die "$0: can't match ps $ps_opts output\n"; -+ kill 9, $1; - $second_kill_needed = 1; -+ } - } -+ close command; - return ($no_error) if ($second_kill_needed == 0); - - # see if kill -9 worked - sleep 2; - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - while (<command>) - { # a process still exist, return error -- return $cannot_kill_error; -+ return $cannot_kill_error if /$proc/; - } -+ close command; - return $no_error; # good, all dead - } - diff --git a/net-mgmt/net-snmp-devel/files/patch-local:ipf-mod.pl b/net-mgmt/net-snmp-devel/files/patch-local:ipf-mod.pl deleted file mode 100644 index 8bf98d4f1d52..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:ipf-mod.pl +++ /dev/null @@ -1,21 +0,0 @@ ---- local/ipf-mod.pl.orig Thu May 29 05:30:19 2003 -+++ local/ipf-mod.pl Thu May 29 05:40:13 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -s -+#!%%PERL%% -s - ## - ## IP Filter UCD-SNMP pass module - ## -@@ -9,10 +9,10 @@ - ## Date: $ Tue Dec 1 10:24:08 EET 1998 $ - ## Version: 1.1a - --# Put this file in /usr/local/bin/ipf-mod.pl and then add the following -+# Put this file in %%PREFIX%%/bin/ipf-mod.pl and then add the following - # line to your snmpd.conf file (without the # at the front): - # --# pass .1.3.6.1.4.1.2021.13.2 /usr/local/bin/ipf-mod.pl -+# pass .1.3.6.1.4.1.2021.13.2 %%PREFIX%%/bin/ipf-mod.pl - - # enterprises.ucdavis.ucdExperimental.ipFilter = .1.3.6.1.4.1.2021.13.2 - # ipfInTable.ipfInEntry.ipfInIndex integer = 1.1.1 diff --git a/net-mgmt/net-snmp-devel/files/patch-local:mib2c b/net-mgmt/net-snmp-devel/files/patch-local:mib2c deleted file mode 100644 index 6609d77609c9..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:mib2c +++ /dev/null @@ -1,20 +0,0 @@ ---- local/mib2c.orig Fri Nov 14 02:28:39 2003 -+++ local/mib2c Wed Feb 4 09:05:44 2004 -@@ -1,5 +1,4 @@ --#!/usr/bin/perl --#!/usr/bin/perl -w -+#!%%PERL%% - - # - # $Id: mib2c,v 5.36 2003/11/14 01:28:39 rstory Exp $ -@@ -56,8 +55,8 @@ - if($ENV{MIB2C_DIR}) { - push @def_search_dirs, $ENV{MIB2C_DIR}; - } --push @def_search_dirs, "/usr/local/share/snmp/"; -- -+push @def_search_dirs, "%%PREFIX%%/share/snmp/"; -+push @def_search_dirs, "%%PREFIX%%/etc/snmp/"; - - sub usage { - print "$0 [-h] [-c configfile] [-f prefix] mibNode\n\n"; diff --git a/net-mgmt/net-snmp-devel/files/patch-local:snmpcheck.def b/net-mgmt/net-snmp-devel/files/patch-local:snmpcheck.def deleted file mode 100644 index 4f3b4a2491da..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:snmpcheck.def +++ /dev/null @@ -1,8 +0,0 @@ ---- local/snmpcheck.def.orig Thu May 29 05:28:22 2003 -+++ local/snmpcheck.def Thu May 29 05:29:49 2003 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -w -+#!%%PERL%% -w - - use strict 'refs'; - require Net::Ping; diff --git a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf b/net-mgmt/net-snmp-devel/files/patch-local:snmpconf deleted file mode 100644 index ae537cfcddd8..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:snmpconf +++ /dev/null @@ -1,53 +0,0 @@ ---- local/snmpconf.orig Wed Feb 11 01:33:42 2004 -+++ local/snmpconf Fri Apr 2 23:42:35 2004 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!%%PERL%% -w - - # - # A simple configuration file builder based on questions listed in -@@ -17,7 +17,7 @@ - %arrayitems=qw(question 1 validanswer 1); - - #defaults --$opts{'c'} = "/usr/local/share/snmp/snmpconf-data"; -+$opts{'c'} = "%%PREFIX%%/share/snmp/snmpconf-data"; - - # read the argument string - getopts("qadhfc:piI:r:R:g:G", \%opts); -@@ -27,7 +27,7 @@ - print "$0 [options] [FILETOCREATE...]\n"; - print "options:\n"; - print " -f overwrite existing files without prompting\n"; -- print " -i install created files into /usr/local/share/snmp.\n"; -+ print " -i install created files into %%PREFIX%%/share/snmp.\n"; - print " -p install created files into $ENV{HOME}/.snmp.\n"; - print " -I DIR install created files into DIR.\n"; - print " -a Don't ask any questions, just read in current\n"; -@@ -63,7 +63,7 @@ - # - # Find existing files to possibly read in. - # --my @searchpath = (qw(/usr/local/share/snmp /usr/local/etc/snmp .), "$ENV{HOME}/.snmp"); -+my @searchpath = (qw(%%PREFIX%%/share/snmp %%PREFIX%%/etc/snmp .), "$ENV{HOME}/.snmp"); - push @searchpath, $opts{I} if ($opts{I}); - foreach my $i (@searchpath) { - debug("searching $i\n"); -@@ -160,7 +160,7 @@ - foreach my $i (@didfiles) { - if ($didfile{$i} ne "1") { - if ($opts{'i'} || $opts{'I'}) { -- $opts{'I'} = "/usr/local/share/snmp" if (!$opts{'I'}); -+ $opts{'I'} = "%%PREFIX%%/share/snmp" if (!$opts{'I'}); - - move ("$opts{'I'}/$i", "$opts{'I'}/$i.bak") if (-f "$opts{'I'}/$i"); - if (move ("$didfile{$i}", "$opts{'I'}")) { -@@ -198,7 +198,7 @@ - } - - if (!$opts{'p'} && !$opts{'i'} && !$opts{'I'}) { -- Print("\nThese files should be moved to /usr/local/share/snmp/ if you -+ Print("\nThese files should be moved to %%PREFIX%%/share/snmp/ if you - want them used by everyone on the system. In the future, if you add - the -i option to the command line I'll copy them there automatically for you. - diff --git a/net-mgmt/net-snmp-devel/files/patch-local:tkmib b/net-mgmt/net-snmp-devel/files/patch-local:tkmib deleted file mode 100644 index 3278d27c3809..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:tkmib +++ /dev/null @@ -1,9 +0,0 @@ ---- local/tkmib.orig Thu May 29 05:30:19 2003 -+++ local/tkmib Thu May 29 05:31:46 2003 -@@ -1,5 +1,4 @@ --#!/usr/bin/perl --#!/usr/bin/perl -w -+#!%%PERL%% -w - - require 5; - diff --git a/net-mgmt/net-snmp-devel/files/patch-local:traptoemail b/net-mgmt/net-snmp-devel/files/patch-local:traptoemail deleted file mode 100644 index 402506b540c6..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-local:traptoemail +++ /dev/null @@ -1,16 +0,0 @@ ---- local/traptoemail.orig Thu May 29 05:30:19 2003 -+++ local/traptoemail Thu May 29 05:35:13 2003 -@@ -1,11 +1,11 @@ --#!/usr/bin/perl -+#!%%PERL%% - - # This is a snmptrapd handler script to convert snmp traps into email - # messages. - - # Usage: - # Put a line like the following in your snmptrapd.conf file: --# traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES -+# traphandle TRAPOID|default %%PREFIX%%/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES - # FROM defaults to "root" - # SMTPSERVER defaults to "localhost" - diff --git a/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c deleted file mode 100644 index caffe13901b9..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c +++ /dev/null @@ -1,37 +0,0 @@ ---- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Nov 9 15:59:53 2002 -+++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Feb 21 11:55:05 2004 -@@ -204,6 +204,7 @@ - if (kd == NULL) - kd = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, NULL); - -+#if !defined(freebsd5) - auto_nlist(NSWDEV_SYMBOL, (char *) &nswdev, sizeof(nswdev)); - auto_nlist(DMMAX_SYMBOL, (char *) &dmmax, sizeof(dmmax)); - -@@ -212,6 +213,7 @@ - return; - - auto_nlist(SWDEVT_SYMBOL, (char *) sw, nswdev * sizeof(*sw)); -+#endif - - n = kvm_getswapinfo(kd, kswap, sizeof(kswap) / sizeof(kswap[0]), 0); - -@@ -242,7 +244,9 @@ - swapUsed *= pagesize; - swapFree *= pagesize; - -+#if !defined(freebsd5) - free(sw); -+#endif - } - #endif - -@@ -274,7 +278,7 @@ - size_t total_size = sizeof(total); - int total_mib[] = { CTL_VM, VM_METER }; - -- long phys_mem; -+ u_long phys_mem; - size_t phys_mem_size = sizeof(phys_mem); - int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; - diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c deleted file mode 100644 index 9a6e083a98bc..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c +++ /dev/null @@ -1,30 +0,0 @@ ---- snmplib/snmpTCPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002 -+++ snmplib/snmpTCPIPv6Domain.c Sun Oct 6 01:07:12 2002 -@@ -62,13 +62,21 @@ - if (to == NULL) { - return strdup("TCP/IPv6: unknown"); - } else { -- char addr[INET6_ADDRSTRLEN]; -- char tmp[INET6_ADDRSTRLEN + 8]; -+ char tmp[NI_MAXHOST]; - -- sprintf(tmp, "[%s]:%hd", -- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr, -- INET6_ADDRSTRLEN), ntohs(to->sin6_port)); -- return strdup(tmp); -+/* -+ * NI_WITHSCOPEID will be obsoleted. But some implementations require -+ * this flag to retrieve scoped name. -+ * (2002-07-25: kuriyama@FreeBSD.org) -+ */ -+#ifndef NI_WITHSCOPEID -+#define NI_WITHSCOPEID 0 -+#endif -+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp), -+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) { -+ return strdup("UDP/IPv6: unknown"); -+ } -+ return strdup(tmp); - } - } - diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c deleted file mode 100644 index 6f1f6c4caeed..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c +++ /dev/null @@ -1,30 +0,0 @@ ---- snmplib/snmpUDPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002 -+++ snmplib/snmpUDPIPv6Domain.c Sun Oct 6 18:03:18 2002 -@@ -62,13 +62,21 @@ - if (to == NULL) { - return strdup("UDP/IPv6: unknown"); - } else { -- char addr[INET6_ADDRSTRLEN]; -- char tmp[INET6_ADDRSTRLEN + 8]; -+ char tmp[NI_MAXHOST]; - -- sprintf(tmp, "[%s]:%hd", -- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr, -- INET6_ADDRSTRLEN), ntohs(to->sin6_port)); -- return strdup(tmp); -+/* -+ * NI_WITHSCOPEID will be obsoleted. But some implementations require -+ * this flag to retrieve scoped name. -+ * (2002-07-25: kuriyama@FreeBSD.org) -+ */ -+#ifndef NI_WITHSCOPEID -+#define NI_WITHSCOPEID 0 -+#endif -+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp), -+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) { -+ return strdup("UDP/IPv6: unknown"); -+ } -+ return strdup(tmp); - } - } - diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpd.8.def b/net-mgmt/net-snmp-devel/files/patch-snmpd.8.def deleted file mode 100644 index ac853823ca25..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-snmpd.8.def +++ /dev/null @@ -1,13 +0,0 @@ ---- man/snmpd.8.def.orig Wed Feb 26 04:11:19 2003 -+++ man/snmpd.8.def Sat Mar 29 22:05:07 2003 -@@ -211,6 +211,10 @@ - the error "Error opening specified endpoint". Likewise, since AAL5 - PVC support is only currently available on Linux, it will fail with - the same error on other platforms. -+.PP -+.B snmpd -+uses libwrap's access control if configured by --with-libwrap. -+Access control patterns may only reference IP addresses. - - .RE - .SH CONFIGURATION FILES diff --git a/net-mgmt/net-snmp-devel/files/patch-tcpTable.c b/net-mgmt/net-snmp-devel/files/patch-tcpTable.c deleted file mode 100644 index 0d33547108b6..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-tcpTable.c +++ /dev/null @@ -1,46 +0,0 @@ ---- agent/mibgroup/mibII/tcpTable.c.orig Tue Mar 16 08:27:45 2004 -+++ agent/mibgroup/mibII/tcpTable.c Wed Apr 14 09:40:00 2004 -@@ -95,6 +95,8 @@ - #define TCPTABLE_REMOTEADDRESS pcb.inp_faddr.s_addr - #define TCPTABLE_REMOTEPORT pcb.inp_fport - #define TCPTABLE_IS_LINKED_LIST -+#undef INP_NEXT_SYMBOL -+#define INP_NEXT_SYMBOL inp_next - - #endif /* linux */ - #endif /* WIN32 */ -@@ -275,6 +277,9 @@ - - int - TCP_Count_Connections( void ) { -+#if (defined(CAN_USE_SYSCTL) && defined(TCPCTL_PCBLIST)) -+ tcpTable_load(NULL, NULL); -+#endif - return tcp_estab; - } - -@@ -691,6 +696,7 @@ - struct xinpgen *xig = NULL; - netsnmp_inpcb *nnew; - int StateMap[] = { 1, 2, 3, 4, 5, 8, 6, 10, 9, 7, 11 }; -+ struct tcpcb *tp = NULL; - - tcpTable_free(NULL, NULL); - -@@ -717,12 +723,13 @@ - nnew = SNMP_MALLOC_TYPEDEF(netsnmp_inpcb); - if (!nnew) - break; -- nnew->state = StateMap[((struct xinpcb *) xig)->xt_tp.t_state]; -+ tp = &((struct xtcpcb *)xig)->xt_tp; -+ nnew->state = StateMap[tp->t_state]; - if (nnew->state == 5 /* established */ || - nnew->state == 8 /* closeWait */ ) - tcp_estab++; -- memcpy(&(nnew->pcb), &(((struct xinpcb *) xig)->xt_inp), -- sizeof(struct inpcb)); -+ memcpy(&(nnew->pcb), &(((struct xtcpcb *) xig)->xt_tp), -+ sizeof(struct tcpcb)); - - nnew->inp_next = tcp_head; - tcp_head = nnew; diff --git a/net-mgmt/net-snmp-devel/files/patch-udpTable.c b/net-mgmt/net-snmp-devel/files/patch-udpTable.c deleted file mode 100644 index 83364a9a338d..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-udpTable.c +++ /dev/null @@ -1,25 +0,0 @@ ---- agent/mibgroup/mibII/udpTable.c.orig Fri Nov 14 15:14:52 2003 -+++ agent/mibgroup/mibII/udpTable.c Fri Nov 14 15:18:08 2003 -@@ -577,6 +577,7 @@ - * Unpick this into the constituent 'xinpgen' structures, and extract - * the 'inpcb' elements into a linked list (built in reverse) - */ -+#if 0 - xig = (struct xinpgen *) udpcb_buf; - xig = (struct xinpgen *) ((char *) xig + xig->xig_len); - -@@ -584,12 +585,13 @@ - nnew = SNMP_MALLOC_TYPEDEF(struct inpcb); - if (!nnew) - break; -- memcpy(nnew, ((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb)); -+ memcpy(nnew, &((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb)); - - nnew->next = udp_head; /* XXX - ?? Check 'next' pointer */ - udp_head = nnew; - xig = (struct xinpgen *) ((char *) xig + xig->xig_len); - } -+#endif - - free(udpcb_buf); - if (udp_head) { diff --git a/net-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c deleted file mode 100644 index 7e64f3979bcf..000000000000 --- a/net-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c.orig Thu May 23 17:39:41 2002 -+++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Thu Feb 20 08:08:20 2003 -@@ -10,7 +10,11 @@ - #include <sys/param.h> - #include <sys/time.h> - #include <sys/proc.h> -+#if defined(freebsd5) && __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else - #include <sys/dkstat.h> -+#endif - #ifdef freebsd5 - #include <sys/bio.h> - #endif diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample b/net-mgmt/net-snmp-devel/files/snmpd.sh.sample deleted file mode 100644 index 814c0b7ac701..000000000000 --- a/net-mgmt/net-snmp-devel/files/snmpd.sh.sample +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: snmpd -# REQUIRE: DAEMON -# KEYWORD: FreeBSD -# -# Add the following line to /etc/rc.conf to enable snmpd: -# -# snmpd_enable="YES" -# - -snmpd_enable="NO" -snmpd_flags="-p /var/run/snmpd.pid" - -. %%RC_SUBR%% - -load_rc_config net_snmpd - -if [ ! -z "$net_snmpd_enable" ]; then - echo "Warning: \$net_snmpd_enable is obsoleted." - echo " Use \$snmpd_enable instead." - snmpd_enable="$net_snmpd_enable" - [ ! -z "$net_snmpd_flags" ] && snmpd_flags="$net_snmpd_flags" -fi - -name=snmpd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -sig_stop=-KILL - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net-mgmt/net-snmp-devel/files/snmptrapd.sh.sample b/net-mgmt/net-snmp-devel/files/snmptrapd.sh.sample deleted file mode 100644 index 760c260ccfe4..000000000000 --- a/net-mgmt/net-snmp-devel/files/snmptrapd.sh.sample +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: snmptrapd -# REQUIRE: DAEMON -# KEYWORD: FreeBSD -# -# Add the following line to /etc/rc.conf to enable snmptrapd: -# -# snmptrapd_enable="YES" -# - -snmptrapd_enable="NO" -snmptrapd_flags="-p /var/run/snmptrapd.pid" - -. %%RC_SUBR%% - -load_rc_config net_snmptrapd - -if [ ! -z "$net_snmptrapd_enable" ]; then - echo "Warning: \$net_snmptrapd_enable is obsoleted." - echo " Use \$snmptrapd_enable instead." - snmptrapd_enable="$net_snmptrapd_enable" - [ ! -z "$net_snmptrapd_flags" ] && snmptrapd_flags="$net_snmptrapd_flags" -fi - -name=snmptrapd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net-mgmt/net-snmp-devel/pkg-descr b/net-mgmt/net-snmp-devel/pkg-descr deleted file mode 100644 index d1fc04717b8e..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is Net-SNMP (previously known as "ucd-snmp"). - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a graphical Perl/Tk/SNMP based mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp-devel/pkg-message b/net-mgmt/net-snmp-devel/pkg-message deleted file mode 100644 index cc545c40eb4e..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -**** This port installs snmp daemon, header files and libraries but don't - invokes snmpd by default. - If you want to invoke snmpd and/or snmptrapd at startup, put these - lines into /etc/rc.conf. - - snmpd_enable="YES" - snmpd_flags="-as -p /var/run/snmpd.pid" - snmptrapd_enable="YES" - snmptrapd_flags="-as -p /var/run/snmptrapd.pid" - -**** You may specify the following make variables: - - NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org" - NET_SNMP_SYS_LOCATION="Tokyo, Japan" - DEFAULT_SNMP_VERSION=3 - NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio" - NET_SNMP_LOGFILE=/var/log/snmpd.log - NET_SNMP_PERSISTENTDIR=/var/net-snmp - - to define default values (or overwriting defaults). At least - setting first two variables, you will not be prompted during - configuration process. You may also set - - BATCH="yes" - - to avoid interactive configuration. diff --git a/net-mgmt/net-snmp-devel/pkg-plist b/net-mgmt/net-snmp-devel/pkg-plist deleted file mode 100644 index 1940232f8738..000000000000 --- a/net-mgmt/net-snmp-devel/pkg-plist +++ /dev/null @@ -1,333 +0,0 @@ -bin/encode_keychange -bin/fixproc -bin/ipf-mod.pl -bin/mib2c -bin/net-snmp-config -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -%%WITH_TKMIB%%bin/tkmib -bin/traptoemail -etc/rc.d/snmpd.sh -etc/rc.d/snmptrapd.sh -@exec mkdir %D/etc/snmp 2>/dev/null || true -include/net-snmp/agent/agent_callbacks.h -include/net-snmp/agent/agent_handler.h -include/net-snmp/agent/agent_index.h -include/net-snmp/agent/agent_read_config.h -include/net-snmp/agent/agent_registry.h -include/net-snmp/agent/agent_trap.h -include/net-snmp/agent/all_helpers.h -include/net-snmp/agent/auto_nlist.h -include/net-snmp/agent/baby_steps.h -include/net-snmp/agent/bulk_to_next.h -include/net-snmp/agent/cache_handler.h -include/net-snmp/agent/debug_handler.h -include/net-snmp/agent/ds_agent.h -include/net-snmp/agent/instance.h -include/net-snmp/agent/mib_module_config.h -include/net-snmp/agent/mib_module_includes.h -include/net-snmp/agent/mode_end_call.h -include/net-snmp/agent/multiplexer.h -include/net-snmp/agent/net-snmp-agent-includes.h -include/net-snmp/agent/null.h -include/net-snmp/agent/old_api.h -include/net-snmp/agent/read_only.h -include/net-snmp/agent/row_merge.h -include/net-snmp/agent/scalar.h -include/net-snmp/agent/scalar_group.h -include/net-snmp/agent/serialize.h -include/net-snmp/agent/set_helper.h -include/net-snmp/agent/snmp_agent.h -include/net-snmp/agent/snmp_vars.h -include/net-snmp/agent/table.h -include/net-snmp/agent/table_array.h -include/net-snmp/agent/table_data.h -include/net-snmp/agent/table_dataset.h -include/net-snmp/agent/table_iterator.h -include/net-snmp/agent/var_struct.h -include/net-snmp/agent/watcher.h -include/net-snmp/config_api.h -include/net-snmp/definitions.h -include/net-snmp/library/README -include/net-snmp/library/asn1.h -include/net-snmp/library/callback.h -include/net-snmp/library/check_varbind.h -include/net-snmp/library/cmu_compat.h -include/net-snmp/library/container.h -include/net-snmp/library/container_binary_array.h -include/net-snmp/library/container_iterator.h -include/net-snmp/library/container_list_ssll.h -include/net-snmp/library/container_null.h -include/net-snmp/library/data_list.h -include/net-snmp/library/default_store.h -include/net-snmp/library/factory.h -include/net-snmp/library/getopt.h -include/net-snmp/library/int64.h -include/net-snmp/library/keytools.h -include/net-snmp/library/lcd_time.h -include/net-snmp/library/md5.h -include/net-snmp/library/mib.h -include/net-snmp/library/mt_support.h -include/net-snmp/library/oid_stash.h -include/net-snmp/library/parse.h -include/net-snmp/library/read_config.h -include/net-snmp/library/scapi.h -include/net-snmp/library/snmp-tc.h -include/net-snmp/library/snmp.h -include/net-snmp/library/snmpCallbackDomain.h -include/net-snmp/library/snmpTCPDomain.h -%%WITH_IPV6%%include/net-snmp/library/snmpTCPIPv6Domain.h -include/net-snmp/library/snmpUDPDomain.h -%%WITH_IPV6%%include/net-snmp/library/snmpUDPIPv6Domain.h -include/net-snmp/library/snmpUnixDomain.h -include/net-snmp/library/snmp_alarm.h -include/net-snmp/library/snmp_api.h -include/net-snmp/library/snmp_assert.h -include/net-snmp/library/snmp_client.h -include/net-snmp/library/snmp_debug.h -include/net-snmp/library/snmp_enum.h -include/net-snmp/library/snmp_impl.h -include/net-snmp/library/snmp_locking.h -include/net-snmp/library/snmp_logging.h -include/net-snmp/library/snmp_parse_args.h -include/net-snmp/library/snmp_secmod.h -include/net-snmp/library/snmp_transport.h -include/net-snmp/library/snmpusm.h -include/net-snmp/library/snmpv3-security-includes.h -include/net-snmp/library/snmpv3.h -include/net-snmp/library/system.h -include/net-snmp/library/tools.h -include/net-snmp/library/transform_oids.h -include/net-snmp/library/ucd_compat.h -include/net-snmp/library/vacm.h -include/net-snmp/library/winpipe.h -include/net-snmp/library/winservice.h -include/net-snmp/machine/generic.h -include/net-snmp/mib_api.h -include/net-snmp/net-snmp-config.h -include/net-snmp/net-snmp-includes.h -include/net-snmp/output_api.h -include/net-snmp/pdu_api.h -include/net-snmp/session_api.h -include/net-snmp/snmpv3_api.h -include/net-snmp/system/aix.h -include/net-snmp/system/bsd.h -include/net-snmp/system/bsdi.h -include/net-snmp/system/bsdi3.h -include/net-snmp/system/bsdi4.h -include/net-snmp/system/cygwin.h -include/net-snmp/system/darwin.h -include/net-snmp/system/dynix.h -include/net-snmp/system/freebsd.h -include/net-snmp/system/freebsd2.h -include/net-snmp/system/freebsd3.h -include/net-snmp/system/freebsd4.h -include/net-snmp/system/freebsd5.h -include/net-snmp/system/generic.h -include/net-snmp/system/hpux.h -include/net-snmp/system/irix.h -include/net-snmp/system/linux.h -include/net-snmp/system/mingw32.h -include/net-snmp/system/mips.h -include/net-snmp/system/netbsd.h -include/net-snmp/system/openbsd.h -include/net-snmp/system/osf5.h -include/net-snmp/system/solaris.h -include/net-snmp/system/solaris2.6.h -include/net-snmp/system/solaris2.7.h -include/net-snmp/system/solaris2.8.h -include/net-snmp/system/solaris2.9.h -include/net-snmp/system/sunos.h -include/net-snmp/system/svr5.h -include/net-snmp/system/sysv.h -include/net-snmp/system/ultrix4.h -include/net-snmp/types.h -include/net-snmp/utilities.h -include/net-snmp/varbind_api.h -include/net-snmp/version.h -lib/libnetsnmp.a -lib/libnetsnmp.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmp.so.%%SHLIB_VERSION%% %B/libnetsnmp.so -@unexec rm -f %B/libnetsnmp.so 2> /dev/null || true -lib/libnetsnmpagent.a -lib/libnetsnmpagent.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmpagent.so.%%SHLIB_VERSION%% %B/libnetsnmpagent.so -@unexec rm -f %B/libnetsnmpagent.so 2> /dev/null || true -lib/libnetsnmphelpers.a -lib/libnetsnmphelpers.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmphelpers.so.%%SHLIB_VERSION%% %B/libnetsnmphelpers.so -@unexec rm -f %B/libnetsnmphelpers.so 2> /dev/null || true -lib/libnetsnmpmibs.a -lib/libnetsnmpmibs.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmpmibs.so.%%SHLIB_VERSION%% %B/libnetsnmpmibs.so -@unexec rm -f %B/libnetsnmpmibs.so 2> /dev/null || true -lib/libnetsnmptrapd.a -lib/libnetsnmptrapd.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmptrapd.so.%%SHLIB_VERSION%% %B/libnetsnmptrapd.so -@unexec rm -f %B/libnetsnmptrapd.so 2> /dev/null || true -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/Makefile.subs.pl -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/ASN.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/OID.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/default_store.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/netsnmp_request_infoPtr.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/default_store.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SNMP.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP/.packlist -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/autosplit.ix -sbin/snmpd -sbin/snmptrapd -%%PORTDOCS%%%%DOCSDIR%%/AGENT.txt -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.agentx -%%PORTDOCS%%%%DOCSDIR%%/README.krb5 -%%PORTDOCS%%%%DOCSDIR%%/README.snmpv3 -%%PORTDOCS%%%%DOCSDIR%%/README.thread -%%PORTDOCS%%%%DOCSDIR%%/README.smux -%%DATADIR%%/mib2c.access_functions.conf -%%DATADIR%%/mib2c.array-user.conf -%%DATADIR%%/mib2c.check_values.conf -%%DATADIR%%/mib2c.check_values_local.conf -%%DATADIR%%/mib2c.column_defines.conf -%%DATADIR%%/mib2c.column_enums.conf -%%DATADIR%%/mib2c.conf -%%DATADIR%%/mib2c.create-dataset.conf -%%DATADIR%%/mib2c.int_watch.conf -%%DATADIR%%/mib2c.iterate.conf -%%DATADIR%%/mib2c.iterate_access.conf -%%DATADIR%%/mib2c.notify.conf -%%DATADIR%%/mib2c.old-api.conf -%%DATADIR%%/mib2c.scalar.conf -%%DATADIR%%/mibs/AGENTX-MIB.txt -%%WITH_EVENT-MIB%%%%DATADIR%%/mibs/DISMAN-EVENT-MIB.txt -%%DATADIR%%/mibs/DISMAN-SCHEDULE-MIB.txt -%%DATADIR%%/mibs/DISMAN-SCRIPT-MIB.txt -%%DATADIR%%/mibs/EtherLike-MIB.txt -%%DATADIR%%/mibs/HCNUM-TC.txt -%%DATADIR%%/mibs/HOST-RESOURCES-MIB.txt -%%DATADIR%%/mibs/HOST-RESOURCES-TYPES.txt -%%DATADIR%%/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -%%DATADIR%%/mibs/IANA-LANGUAGE-MIB.txt -%%DATADIR%%/mibs/IANAifType-MIB.txt -%%DATADIR%%/mibs/IF-INVERTED-STACK-MIB.txt -%%DATADIR%%/mibs/IF-MIB.txt -%%DATADIR%%/mibs/INET-ADDRESS-MIB.txt -%%DATADIR%%/mibs/IP-FORWARD-MIB.txt -%%DATADIR%%/mibs/IP-MIB.txt -%%DATADIR%%/mibs/IPV6-ICMP-MIB.txt -%%DATADIR%%/mibs/IPV6-MIB.txt -%%DATADIR%%/mibs/IPV6-TC.txt -%%DATADIR%%/mibs/IPV6-TCP-MIB.txt -%%DATADIR%%/mibs/IPV6-UDP-MIB.txt -%%WITH_MTA_SENDMAIL%%%%DATADIR%%/mibs/MTA-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-AGENT-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-EXAMPLES-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-TC.txt -%%WITH_MTA_SENDMAIL%%%%DATADIR%%/mibs/NETWORK-SERVICES-MIB.txt -%%DATADIR%%/mibs/NOTIFICATION-LOG-MIB.txt -%%DATADIR%%/mibs/RFC-1215.txt -%%DATADIR%%/mibs/RFC1155-SMI.txt -%%DATADIR%%/mibs/RFC1213-MIB.txt -%%DATADIR%%/mibs/RMON-MIB.txt -%%DATADIR%%/mibs/SMUX-MIB.txt -%%DATADIR%%/mibs/SNMP-COMMUNITY-MIB.txt -%%DATADIR%%/mibs/SNMP-FRAMEWORK-MIB.txt -%%DATADIR%%/mibs/SNMP-MPD-MIB.txt -%%DATADIR%%/mibs/SNMP-NOTIFICATION-MIB.txt -%%DATADIR%%/mibs/SNMP-PROXY-MIB.txt -%%DATADIR%%/mibs/SNMP-TARGET-MIB.txt -%%DATADIR%%/mibs/SNMP-USER-BASED-SM-MIB.txt -%%DATADIR%%/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -%%DATADIR%%/mibs/SNMPv2-CONF.txt -%%DATADIR%%/mibs/SNMPv2-MIB.txt -%%DATADIR%%/mibs/SNMPv2-SMI.txt -%%DATADIR%%/mibs/SNMPv2-TC.txt -%%DATADIR%%/mibs/SNMPv2-TM.txt -%%DATADIR%%/mibs/TCP-MIB.txt -%%DATADIR%%/mibs/UCD-DEMO-MIB.txt -%%DATADIR%%/mibs/UCD-DISKIO-MIB.txt -%%DATADIR%%/mibs/UCD-DLMOD-MIB.txt -%%DATADIR%%/mibs/UCD-IPFWACC-MIB.txt -%%DATADIR%%/mibs/UCD-SNMP-MIB.txt -%%DATADIR%%/mibs/UDP-MIB.txt -@unexec rm -f %D/%%DATADIR%%/mibs/.index 2>/dev/null || true -%%WITH_PERL%%%%DATADIR%%/snmp_perl.pl -%%DATADIR%%/snmpconf-data/snmp-data/authopts -%%DATADIR%%/snmpconf-data/snmp-data/debugging -%%DATADIR%%/snmpconf-data/snmp-data/mibs -%%DATADIR%%/snmpconf-data/snmp-data/output -%%DATADIR%%/snmpconf-data/snmp-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmpd-data/acl -%%DATADIR%%/snmpconf-data/snmpd-data/basic_setup -%%DATADIR%%/snmpconf-data/snmpd-data/extending -%%DATADIR%%/snmpconf-data/snmpd-data/monitor -%%DATADIR%%/snmpconf-data/snmpd-data/operation -%%DATADIR%%/snmpconf-data/snmpd-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmpd-data/system -%%DATADIR%%/snmpconf-data/snmpd-data/trapsinks -%%DATADIR%%/snmpconf-data/snmptrapd-data/formatting -%%DATADIR%%/snmpconf-data/snmptrapd-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmptrapd-data/traphandle -@dirrm %%DATADIR%%/snmpconf-data/snmptrapd-data -@dirrm %%DATADIR%%/snmpconf-data/snmpd-data -@dirrm %%DATADIR%%/snmpconf-data/snmp-data -@dirrm %%DATADIR%%/snmpconf-data -@unexec rmdir %D/%%DATADIR%%/mibs 2>/dev/null || true -@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP -%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle 2>/dev/null || true -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP -%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true -@dirrm include/net-snmp/system -@dirrm include/net-snmp/machine -@dirrm include/net-snmp/library -@dirrm include/net-snmp/agent -@dirrm include/net-snmp -@unexec rmdir %D/etc/snmp 2>/dev/null || true diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile deleted file mode 100644 index 4fff98f9c2d5..000000000000 --- a/net-mgmt/net-snmp53/Makefile +++ /dev/null @@ -1,267 +0,0 @@ -# New ports collection makefile for: ucd-snmp -# Date created: 26 June 1996 -# Whom: gpalmer -# -# $FreeBSD$ -# - -PORTNAME= snmp -PORTVERSION= 5.1.1 -PORTREVISION= 1 -PKGNAMEPREFIX= net- -CATEGORIES= net-mgmt ipv6 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= net-snmp -DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} - -.if defined(WITH_INETADDRESS_HACK) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-snmplib::mib.c -.endif -.if !defined(WITH_TKMIB) -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-local:Makefile.in -.endif - -MAINTAINER= kuriyama@FreeBSD.org -COMMENT= An extendable SNMP implementation - -.if defined(WITH_TKMIB) -RUN_DEPEND= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk -.endif - -USE_REINPLACE= yes -USE_AUTOCONF_VER=257 -USE_LIBTOOL_VER=13 -USE_RC_SUBR= yes -INSTALLS_SHLIB= yes -LIBTOOLFLAGS= --disable-ltlibs --release-ignore -NO_LATEST_LINK= yes -.if !defined(WITHOUT_PERL) -USE_PERL5= yes -.endif - -CONFIGURE_ENV+= PERLPROG="${PERL}" PSPROG="${PS_CMD}" SED="${SED}" -CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \ - --with-mib-modules="${_NET_SNMP_MIB_MODULES}" \ - --with-default-snmp-version="${DEFAULT_SNMP_VERSION}" \ - --with-sys-contact="${NET_SNMP_SYS_CONTACT}" \ - --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ - --with-logfile="${NET_SNMP_LOGFILE}" \ - --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" - -.if defined(BATCH) -CONFIGURE_ARGS+=--with-defaults -.endif - -.if !defined(WITHOUT_DUMMY_VALUES) -CONFIGURE_ARGS+=--with-dummy-values -.endif - -.include <bsd.port.pre.mk> - -.if defined(WITHOUT_PERL) -PLIST_SUB+= WITH_PERL="@comment " -.else -CONFIGURE_ARGS+=--enable-embedded-perl --with-perl-modules -PLIST_SUB+= WITH_PERL="" -.endif - -.if defined(WITH_TKMIB) -PLIST_SUB+= WITH_TKMIB="" -.else -PLIST_SUB+= WITH_TKMIB="@comment " -.endif - -.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6) -CONFIGURE_ARGS+=--enable-ipv6 -# --with-transport="UDPIPv6 TCPIPv6" --with-modules=mibII/ipv6" -PLIST_SUB+= WITH_IPV6="" -.else -PLIST_SUB+= WITH_IPV6="@comment " -.endif - -SHLIB_VERSION= 6 -PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} -LIBTOOL_SUB= LTCONFIG=${LIBTOOL_SHAREDIR}/ltconfig${LIBTOOL_VERSION} \ - LTMAIN=${LIBTOOL_SHAREDIR}/ltmain.sh -SCRIPTS_SUB= PREFIX=${PREFIX} PERL=${PERL} -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} - -DEFAULT_SNMP_VERSION?= 3 -NET_SNMP_SYS_CONTACT?= nobody@nowhere.invalid -NET_SNMP_SYS_LOCATION?= somewhere -NET_SNMP_LOGFILE?= /var/log/snmpd.log -NET_SNMP_PERSISTENTDIR?=/var/net-snmp -NET_SNMP_MIB_MODULES?= ${NET_SNMP_MIB_MODULE_LIST} - -NET_SNMP_MIB_MODULE_LIST=host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio -_NET_SNMP_MIB_MODULES= -.for module1 in ${NET_SNMP_MIB_MODULE_LIST} -_module1=${module1} -_define= false -. for module2 in ${NET_SNMP_MIB_MODULES} -_module2=${module2} -. if ${_module1} == ${_module2} -_define= true -. endif -. endfor -. if ${_define} == true -_NET_SNMP_MIB_MODULES+= ${module1} -PLIST_SUB+= WITH_${module1:C|.*/||:U}="" -. else -PLIST_SUB+= WITH_${module1:C|.*/||:U}="@comment " -. endif -.endfor - -MAN1= mib2c.1 \ - snmpbulkget.1 snmpbulkwalk.1 snmpcmd.1 snmpconf.1 \ - snmpdelta.1 snmpdf.1 snmpget.1 snmpgetnext.1 snmpinform.1 \ - snmpnetstat.1 snmpset.1 snmpstatus.1 snmptable.1 snmptest.1 \ - snmptranslate.1 snmptrap.1 snmpusm.1 snmpvacm.1 snmpwalk.1 -MAN3= add_mibdir.3 add_module_replacement.3 default_store.3 \ - get_module_node.3 init_mib.3 init_mib_internals.3 mib_api.3 \ - netsnmp_agent.3 netsnmp_bulk_to_next.3 netsnmp_debug.3 \ - netsnmp_example_scalar_int.3 netsnmp_handler.3 \ - netsnmp_instance.3 netsnmp_library.3 \ - netsnmp_mib_handler_methods.3 netsnmp_mib_utilities.3 \ - netsnmp_mode_end_call.3 netsnmp_multiplexer.3 \ - netsnmp_old_api.3 netsnmp_read_only.3 netsnmp_scalar.3 \ - netsnmp_serialize.3 netsnmp_table.3 netsnmp_table_array.3 \ - netsnmp_table_data.3 netsnmp_table_dataset.3 \ - netsnmp_table_iterator.3 netsnmp_todo.3 netsnmp_watcher.3 \ - print_description.3 print_mib.3 print_objid.3 print_value.3 \ - print_variable.3 read_all_mibs.3 read_config.3 read_mib.3 \ - read_module.3 read_module_node.3 read_objid.3 shutdown_mib.3 \ - snmp_agent_api.3 snmp_alarm.3 snmp_api.3 \ - snmp_api_errstring.3 snmp_close.3 \ - snmp_error.3 snmp_free_pdu.3 snmp_open.3 snmp_perror.3 \ - snmp_read.3 snmp_select_info.3 \ - snmp_send.3 snmp_sess_api.3 snmp_sess_async_send.3 \ - snmp_sess_close.3 snmp_sess_error.3 snmp_sess_init.3 \ - snmp_sess_open.3 snmp_sess_perror.3 \ - snmp_sess_read.3 snmp_sess_select_info.3 \ - snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \ - snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \ - snmp_timeout.3 snmp_trap_api.3 \ - netsnmp_Container_iterator.3 netsnmp_baby_steps.3 \ - netsnmp_cache_handler.3 netsnmp_container.3 \ - netsnmp_deprecated.3 netsnmp_iterator_info_s.3 \ - netsnmp_leaf.3 \ - netsnmp_row_merge.3 netsnmp_scalar_group_group.3 \ - netsnmp_stash_cache.3 netsnmp_utilities.3 - -.if !defined(WITHOUT_PERL) -MAN3PERL= NetSNMP::ASN.3 NetSNMP::OID.3 NetSNMP::agent.3 \ - NetSNMP::agent::default_store.3 \ - NetSNMP::default_store.3 \ - NetSNMP::netsnmp_request_infoPtr.3 SNMP.3 -MAN3PERLPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -_MANPAGES+= ${MAN3PERL:S%^%${MAN3PERLPREFIX}/man/man3/%} -.endif - -MAN5= snmp.conf.5 snmp_config.5 snmpd.conf.5 \ - snmptrapd.conf.5 variables.5 -MAN8= snmpd.8 snmptrapd.8 - -BIN_FILES= snmpbulkwalk snmpget snmpgetnext snmpnetstat snmpset \ - snmpstatus snmptest snmptranslate snmptrap snmpwalk -SBIN_FILES= snmpd snmptrapd -STARTUP_DIR= ${PREFIX}/etc/rc.d -STARTUP_FILES= snmpd.sh snmptrapd.sh -SCRIPT_FILES= snmpcheck.def mib2c fixproc ipf-mod.pl snmpconf \ - traptoemail -.if defined(WITH_TKMIB) -SCRIPT_FILES+= tkmib -.endif -DOC_FILES= AGENT.txt COPYING FAQ NEWS README \ - README.agentx README.krb5 README.snmpv3 README.thread \ - agent/mibgroup/README.smux - -PS_CMD?= /bin/ps - -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "You may use the following build options:" - @${ECHO_MSG} - @${ECHO_MSG} "WITH_INETADDRESS_HACK=yes builds with the inetaddress hack" - @${ECHO_MSG} "WITH_TKMIB=yes Install a graphical Perl/Tk/SNMP based mib browser" - @${ECHO_MSG} "WITHOUT_DUMMY_VALUES=yes Provide 'placeholder' dummy values where" - @${ECHO_MSG} " the necessary information is not available." - @${ECHO_MSG} "WITHOUT_PERL=yes Install the perl modules along with the rest" - @${ECHO_MSG} " of the net-snmp toolkit." - @${ECHO_MSG} "WITHOUT_IPV6=yes Disable IPv6." - @${ECHO_MSG} - @${ECHO_MSG} "DEFAULT_SNMP_VERSION=\"3\" Default version of SNMP to use." - @${ECHO_MSG} "NET_SNMP_SYS_CONTACT=\"${NET_SNMP_SYS_CONTACT}\"" - @${ECHO_MSG} " Default system contact." - @${ECHO_MSG} "NET_SNMP_SYS_LOCATION=\"${NET_SNMP_SYS_LOCATION}\"" - @${ECHO_MSG} " Default system location." - @${ECHO_MSG} "NET_SNMP_LOGFILE=\"${NET_SNMP_LOGFILE}\"" - @${ECHO_MSG} " Default log file location for snmpd." - @${ECHO_MSG} "NET_SNMP_PERSISTENTDIR=\"${NET_SNMP_PERSISTENTDIR}\"" - @${ECHO_MSG} " Default directory for persistent data storage." - @${ECHO_MSG} "NET_SNMP_MIB_MODULES=\"${NET_SNMP_MIB_MODULE_LIST}\"" - @${ECHO_MSG} " Optional mib modules that can be built into the" - @${ECHO_MSG} " agent" - @${ECHO_MSG} - -post-patch: patch-autoconf patch-script-files patch-startup-files - -patch-autoconf: - @${REINPLACE_CMD} ${LIBTOOL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/aclocal.m4 - -patch-script-files: -.for file in ${SCRIPT_FILES} - @${REINPLACE_CMD} ${SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/local/${file} -.endfor - -patch-startup-files: -.for file in ${STARTUP_FILES} - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/${file}.sample > ${WRKDIR}/${file} -.endfor - -post-configure: - @${FIND} ${WRKSRC} -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' - -.if !defined(WITHOUT_PERL) -post-build: - ${FIND} ${WRKSRC}/perl -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -E -e '\ - s!^(PREFIX) = .*!\1 = ${PREFIX}!; \ - s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \ - s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ - ' -.endif - -post-install: strip-files install-startup-files install-doc-files display-message - -strip-files: - @cd ${PREFIX}/bin; ${STRIP_CMD} ${BIN_FILES} - @cd ${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES} - -install-startup-files: -.for file in ${STARTUP_FILES} - @${INSTALL_SCRIPT} ${WRKDIR}/${file} ${STARTUP_DIR} -.endfor - -install-doc-files: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -. for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -. endfor -.endif - -display-message: - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - -# Maintainer's note: -# Don't forget to bump library version in these ports. -# lang/php4,lang/php5,net-mgmt/braa,net-mgmt/docsis,net/ethereal,net-mgmt/mbrowse,net/quagga,net/tethereal,net-mgmt/zabbix,security/libfwbuilder - -.include <bsd.port.post.mk> diff --git a/net-mgmt/net-snmp53/distinfo b/net-mgmt/net-snmp53/distinfo deleted file mode 100644 index f584b2ca28e6..000000000000 --- a/net-mgmt/net-snmp53/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (net-snmp-5.1.1.tar.gz) = 68f6c946387718e4f300cbb8b6c4bd43 -SIZE (net-snmp-5.1.1.tar.gz) = 2977122 diff --git a/net-mgmt/net-snmp53/files/extra-patch-local:Makefile.in b/net-mgmt/net-snmp53/files/extra-patch-local:Makefile.in deleted file mode 100644 index 7f648103d7aa..000000000000 --- a/net-mgmt/net-snmp53/files/extra-patch-local:Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- local/Makefile.in.orig Sat Apr 20 16:30:13 2002 -+++ local/Makefile.in Wed Apr 24 01:45:55 2002 -@@ -12,7 +12,7 @@ - # local info - # - SNMPCONFPATH=@SNMPCONFPATH@ --PERLSCRIPTS=snmpcheck tkmib mib2c fixproc ipf-mod.pl snmpconf traptoemail -+PERLSCRIPTS=snmpcheck mib2c fixproc ipf-mod.pl snmpconf traptoemail - SCRIPTSMADEFORPERL=snmpcheck.made tkmib.made mib2c.made fixproc.made \ - ipf-mod.pl.made snmpconf.made traptoemail.made - PERLPROG=@PERLPROG@ diff --git a/net-mgmt/net-snmp53/files/extra-patch-snmplib::mib.c b/net-mgmt/net-snmp53/files/extra-patch-snmplib::mib.c deleted file mode 100644 index 9ee51d8abf67..000000000000 --- a/net-mgmt/net-snmp53/files/extra-patch-snmplib::mib.c +++ /dev/null @@ -1,136 +0,0 @@ ---- snmplib/mib.c.orig Sun Nov 2 12:50:39 2003 -+++ snmplib/mib.c Sat Jan 3 03:08:38 2004 -@@ -167,6 +167,14 @@ - {NULL, 0} /* end of list */ - }; - -+enum inet_address_type { -+ IPV4 = 1, -+ IPV6 = 2, -+ IPV4Z = 3, -+ IPV6Z = 4, -+ DNS = 16 -+}; -+ - - /** - * @internal -@@ -3734,6 +3742,80 @@ - return SNMPERR_SUCCESS; - } - -+/* -+ * dump_realloc_oid_to_inetaddress: -+ * return 1 for success, -+ * return 0 for failure, -+ * return 2 for not handled -+ */ -+ -+int -+dump_realloc_oid_to_inetaddress(const int addr_type, const oid * objid, size_t objidlen, -+ u_char ** buf, size_t * buf_len, -+ size_t * out_len, int allow_realloc, -+ char quotechar) -+{ -+ if (buf) { -+ int i, len; -+ char intbuf[64], * p; -+ u_int32_t zone; -+ -+ memset(intbuf, 0, 64); -+ -+ p = intbuf; -+ *p = quotechar; -+ p++; -+ switch (addr_type) { -+ case IPV4: -+ case IPV4Z: -+ if ((addr_type == IPV4 && objidlen != 4) || -+ (addr_type == IPV4Z && objidlen != 8)) -+ return 2; -+ -+ len = sprintf(p, "%lu.%lu.%lu.%lu", objid[0], objid[1], objid[2], objid[3]); -+ p += len; -+ if (addr_type == IPV4Z) { -+ zone = ntohl(*((u_int32_t *) objid[4])); -+ len = sprintf(p, "\%%lu", zone); -+ p += len; -+ } -+ -+ break; -+ -+ case IPV6: -+ case IPV6Z: -+ if ((addr_type == IPV6 && objidlen != 16) || -+ (addr_type == IPV6Z && objidlen != 20)) -+ return 2; -+ -+ len = 0; -+ for (i = 0; i < 16; i ++) { -+ len += snprintf(p, 4, "%02x:", objid[i]); -+ p += 3; -+ } -+ p-- ; /* do not include the last ':' */ -+ -+ if (addr_type == IPV6Z) { -+ zone = ntohl(*((u_int32_t *) objid[4])); -+ len = sprintf(p, "\%%lu", zone); -+ p += len; -+ } -+ -+ break; -+ -+ case DNS: -+ default: -+ /* DNS can just be handled by dump_realloc_oid_to_string() */ -+ return 2; -+ } -+ -+ *p = quotechar; -+ return snmp_strcat(buf, buf_len, out_len, allow_realloc, -+ (const u_char *) intbuf); -+ } -+ return 1; -+} -+ - int - dump_realloc_oid_to_string(const oid * objid, size_t objidlen, - u_char ** buf, size_t * buf_len, -@@ -4043,7 +4125,36 @@ - } - } else { - if (!*buf_overflow) { -- if (!dump_realloc_oid_to_string -+ struct tree * next_peer; -+ int normal_handling = 1; -+ -+ if (tp->next_peer) { -+ next_peer = tp->next_peer; -+ } -+ -+ /* Try handling the InetAddress in the OID, in case of failure, -+ * use the normal_handling. -+ */ -+ if (tp->next_peer && -+ strcmp(get_tc_descriptor(tp->tc_index), "InetAddress") == 0 && -+ strcmp(get_tc_descriptor(next_peer->tc_index), -+ "InetAddressType") == 0 ) { -+ -+ int ret; -+ int addr_type = *(objid - 1); -+ -+ ret = dump_realloc_oid_to_inetaddress(addr_type, -+ objid + 1, numids - 1, buf, buf_len, out_len, -+ allow_realloc, '"'); -+ if (ret != 2) { -+ normal_handling = 0; -+ if (ret == 0) { -+ *buf_overflow = 1; -+ } -+ -+ } -+ } -+ if (normal_handling && !dump_realloc_oid_to_string - (objid + 1, numids - 1, buf, buf_len, out_len, - allow_realloc, '"')) { - *buf_overflow = 1; diff --git a/net-mgmt/net-snmp53/files/patch-Makefile.in b/net-mgmt/net-snmp53/files/patch-Makefile.in deleted file mode 100644 index a751bb7b7223..000000000000 --- a/net-mgmt/net-snmp53/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Thu Feb 19 05:35:25 2004 -+++ Makefile.in Wed Mar 24 08:25:27 2004 -@@ -15,7 +15,7 @@ - INSTALLHEADERS=version.h - INCLUDESUBDIR=system - INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h darwin.h \ -- dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \ -+ dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd.h generic.h hpux.h \ - irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ - solaris2.6.h solaris2.7.h solaris2.8.h solaris2.9.h solaris.h \ - sunos.h svr5.h sysv.h ultrix4.h diff --git a/net-mgmt/net-snmp53/files/patch-Makefile.top b/net-mgmt/net-snmp53/files/patch-Makefile.top deleted file mode 100644 index 33bed26b787a..000000000000 --- a/net-mgmt/net-snmp53/files/patch-Makefile.top +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.top.orig Thu Mar 6 05:08:26 2003 -+++ Makefile.top Sat Mar 29 21:54:50 2003 -@@ -59,7 +59,7 @@ - # generally, LIBCURRENT should stay the same unless major changes occur. - # Increment REVISION every release. - # Increment AGE if new stuff is available. --LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o -+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(LIBCURRENT) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o - LIB_EXTENSION = la - LIB_VERSION = - LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir) diff --git a/net-mgmt/net-snmp53/files/patch-aa b/net-mgmt/net-snmp53/files/patch-aa deleted file mode 100644 index 4d371fdbd56e..000000000000 --- a/net-mgmt/net-snmp53/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- snmplib/Makefile.in.orig Wed Jul 17 02:50:49 2002 -+++ snmplib/Makefile.in Mon Jul 22 12:24:37 2002 -@@ -140,6 +140,10 @@ - - libsnmp.$(LIB_EXTENSION)$(LIB_VERSION): ${TOBJS} - $(LIB_LD_CMD) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) ${TOBJS} -+ ld -Bshareable -soname libsnmp.so.4 \ -+ -o libsnmp.so ${OBJS} -+ ln -f libsnmp.so \ -+ ../libsnmp.so.4 - $(RANLIB) libsnmp.$(LIB_EXTENSION)$(LIB_VERSION) - - #how to build dependencies diff --git a/net-mgmt/net-snmp53/files/patch-aclocal.m4 b/net-mgmt/net-snmp53/files/patch-aclocal.m4 deleted file mode 100644 index eb2e519aa7f0..000000000000 --- a/net-mgmt/net-snmp53/files/patch-aclocal.m4 +++ /dev/null @@ -1,48 +0,0 @@ ---- aclocal.m4.orig Tue Sep 18 17:08:01 2001 -+++ aclocal.m4 Mon Jan 21 10:38:40 2002 -@@ -196,8 +196,23 @@ - AC_DEFUN([AC_PROG_LIBTOOL], - [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl - -+# Save cache, so that ltconfig can load it -+AC_CACHE_SAVE -+ -+# Actually configure libtool. ac_aux_dir is where install-sh is found. -+CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ -+LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ -+LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ -+DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ -+${CONFIG_SHELL-/bin/sh} %%LTCONFIG%% --no-reexec \ -+$libtool_flags --no-verify --disable-ltlibs --release-ignore %%LTMAIN%% $lt_target \ -+|| AC_MSG_ERROR([libtool configure failed]) -+ -+# Reload cache, that may have been modified by ltconfig -+AC_CACHE_LOAD -+ - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS="--disable-ltlibs --release-ignore %%LTMAIN%%" - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' -@@ -224,6 +239,11 @@ - AC_REQUIRE([AC_EXEEXT])dnl - dnl - -+case "$target" in -+NONE) lt_target="$host" ;; -+*) lt_target="$target" ;; -+esac -+ - _LT_AC_PROG_ECHO_BACKSLASH - # Only perform the check for file, if the check method requires it - case $deplibs_check_method in -@@ -875,7 +895,7 @@ - # All known linkers require a `.a' archive for static linking (except M$VC, - # which needs '.lib'). - libext=a --ltmain="$ac_aux_dir/ltmain.sh" -+ltmain="--disable-ltlibs --release-ignore %%LTMAIN%%" - ofile="$default_ofile" - with_gnu_ld="$lt_cv_prog_gnu_ld" - need_locks="$enable_libtool_lock" diff --git a/net-mgmt/net-snmp53/files/patch-auto_nlist.c b/net-mgmt/net-snmp53/files/patch-auto_nlist.c deleted file mode 100644 index 79feff8f64ee..000000000000 --- a/net-mgmt/net-snmp53/files/patch-auto_nlist.c +++ /dev/null @@ -1,10 +0,0 @@ ---- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004 -+++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004 -@@ -57,6 +57,7 @@ - } - if (*ptr == 0) { - *ptr = (struct autonlist *) malloc(sizeof(struct autonlist)); -+ memset(*ptr, 0, sizeof(struct autonlist)); - it = *ptr; - it->left = 0; - it->right = 0; diff --git a/net-mgmt/net-snmp53/files/patch-configure.in b/net-mgmt/net-snmp53/files/patch-configure.in deleted file mode 100644 index bc45eecc20b7..000000000000 --- a/net-mgmt/net-snmp53/files/patch-configure.in +++ /dev/null @@ -1,47 +0,0 @@ ---- configure.in.orig Thu Mar 6 07:41:13 2003 -+++ configure.in Tue May 27 14:53:22 2003 -@@ -1246,7 +1246,7 @@ - dnl fall back - CFLAG="-f" - fi --for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel -+for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel /boot/kernel/kernel /dev/null - do - if test -f $i -o $CFLAG $i; then - ac_cv_KERNEL_LOC="$i" -@@ -1659,7 +1659,7 @@ - AC_HEADER_SYS_WAIT - AC_CHECK_HEADERS(stdarg.h string.h fcntl.h limits.h sys/file.h sys/ioctl.h syslog.h unistd.h netinet/tcpip.h netinet/in.h netinet/ip.h netinet/ip_icmp.h net/if.h netdb.h sys/dmap.h machine/pte.h xti.h sys/sockio.h sys/socket.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h ufs/ffs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/mbuf.h sys/time.h sys/swap.h inet/mib2.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/user.h sys/proc.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h) - # FreeBSD required headers --AC_CHECK_HEADERS(malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h machine/types.h sys/socketvar.h) -+AC_CHECK_HEADERS(malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h sys/socketvar.h) - # Linux - AC_CHECK_HEADERS(sys/conf.h netinet/in_systm.h netinet/tcp.h netinet/udp.h netinet/in_var.h netinet/if_ether.h netinet/ip_var.h netinet/tcp_timer.h netinet/tcp_var.h netinet/tcp_fsm.h netinet/udp_var.h netinet/icmp_var.h sys/protosw.h nlist.h ioctls.h asm/page.h netipx/ipx.h) - # NetBSD required headers -@@ -1866,6 +1866,26 @@ - dnl checking for 4.3 vs 4.4 rtentry. - AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE, - [ -+ -+dnl 4.4 compatible but renamed on FreeBSD -+AC_TRY_COMPILE([ -+#include <sys/types.h> -+#define KERNEL -+#define _KERNEL -+#include <sys/socket.h> -+#undef KERNEL -+#undef _KERNEL -+#include <net/route.h> -+],[ -+ -+#ifndef STRUCT_RTENTRY_HAS_RT_DST -+#define rt_dst rt_nodes->rn_key -+#endif -+ -+ struct rtentry rt; -+ rt.rt_nodes[0].rn_bit = 1; -+ rt.rt_dst; -+ ], ac_cv_RTENTRY_TYPE="BSD-4.4") - - dnl 4.4 compat - AC_TRY_COMPILE([ diff --git a/net-mgmt/net-snmp53/files/patch-diskio.c b/net-mgmt/net-snmp53/files/patch-diskio.c deleted file mode 100644 index 609168f22e9c..000000000000 --- a/net-mgmt/net-snmp53/files/patch-diskio.c +++ /dev/null @@ -1,56 +0,0 @@ ---- agent/mibgroup/ucd-snmp/diskio.c.orig Thu Mar 6 07:55:01 2003 -+++ agent/mibgroup/ucd-snmp/diskio.c Sat Mar 29 22:41:29 2003 -@@ -49,7 +49,12 @@ - #endif /* bsdi */ - - #if defined (freebsd4) || defined(freebsd5) -+#include <sys/param.h> -+#if __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else - #include <sys/dkstat.h> -+#endif - #include <devstat.h> - #endif /* freebsd */ - -@@ -380,7 +385,11 @@ - } - memset(stat->dinfo, 0, sizeof(struct devinfo)); - -+#if defined(freebsd5) && (__FreeBSD_version >= 500107) -+ if ((devstat_getdevs(NULL, stat)) == -1) { -+#else - if ((getdevs(stat)) == -1) { -+#endif - fprintf(stderr, "Can't get devices:%s\n", devstat_errbuf); - return 1; - } -@@ -429,6 +438,20 @@ - case DISKIO_DEVICE: - *var_len = strlen(stat->dinfo->devices[indx].device_name); - return (u_char *) stat->dinfo->devices[indx].device_name; -+#if defined(freebsd5) && (__FreeBSD_version >= 500107) -+ case DISKIO_NREAD: -+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_READ]; -+ return (u_char *) & long_ret; -+ case DISKIO_NWRITTEN: -+ long_ret = (signed long) stat->dinfo->devices[indx].bytes[DEVSTAT_WRITE]; -+ return (u_char *) & long_ret; -+ case DISKIO_READS: -+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_READ]; -+ return (u_char *) & long_ret; -+ case DISKIO_WRITES: -+ long_ret = (signed long) stat->dinfo->devices[indx].operations[DEVSTAT_WRITE]; -+ return (u_char *) & long_ret; -+#else - case DISKIO_NREAD: - long_ret = (signed long) stat->dinfo->devices[indx].bytes_read; - return (u_char *) & long_ret; -@@ -441,6 +464,7 @@ - case DISKIO_WRITES: - long_ret = (signed long) stat->dinfo->devices[indx].num_writes; - return (u_char *) & long_ret; -+#endif - - default: - ERROR_MSG("diskio.c: don't know how to handle this request."); diff --git a/net-mgmt/net-snmp53/files/patch-freebsd.h b/net-mgmt/net-snmp53/files/patch-freebsd.h deleted file mode 100644 index c445b0abeb58..000000000000 --- a/net-mgmt/net-snmp53/files/patch-freebsd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/net-snmp/system/freebsd.h.orig Sat Apr 3 14:56:45 2004 -+++ include/net-snmp/system/freebsd.h Sat Apr 3 14:56:59 2004 -@@ -6,7 +6,7 @@ - * udp_inpcb list symbol - */ - #undef INP_NEXT_SYMBOL --#define INP_NEXT_SYMBOL inp_next -+#define INP_NEXT_SYMBOL inp_list.le_next - - #undef TCP_TTL_SYMBOL - #define TCP_TTL_SYMBOL "ip_defttl" diff --git a/net-mgmt/net-snmp53/files/patch-freebsd5.h b/net-mgmt/net-snmp53/files/patch-freebsd5.h deleted file mode 100644 index 697589ec48b8..000000000000 --- a/net-mgmt/net-snmp53/files/patch-freebsd5.h +++ /dev/null @@ -1,22 +0,0 @@ ---- /dev/null Sat Aug 16 16:33:01 2003 -+++ include/net-snmp/system/freebsd5.h Sat Aug 16 16:42:08 2003 -@@ -0,0 +1,19 @@ -+#include "freebsd.h" -+ -+/* -+ * freebsd4 is a superset of freebsd2 and freebsd3 -+ */ -+#define freebsd2 1 -+#define freebsd3 1 -+#define freebsd4 1 -+ -+#undef IFADDR_SYMBOL -+#define IFADDR_SYMBOL "in_ifaddrhead" -+ -+#undef PROC_SYMBOL -+#define PROC_SYMBOL "allproc" -+ -+#undef NPROC_SYMBOL -+#define NPROC_SYMBOL "nprocs" -+ -+#undef TOTAL_MEMORY_SYMBOL diff --git a/net-mgmt/net-snmp53/files/patch-hr_storage.c b/net-mgmt/net-snmp53/files/patch-hr_storage.c deleted file mode 100644 index e5638709fbfa..000000000000 --- a/net-mgmt/net-snmp53/files/patch-hr_storage.c +++ /dev/null @@ -1,52 +0,0 @@ ---- agent/mibgroup/host/hr_storage.c.orig Tue Feb 25 22:17:46 2003 -+++ agent/mibgroup/host/hr_storage.c Fri Nov 14 13:03:07 2003 -@@ -148,7 +148,7 @@ - #define HRFS_mount mnt_mountp - #define HRFS_statfs statvfs - --#elif defined(HAVE_STATVFS) -+#elif defined(HAVE_STATVFS) && defined(HAVE_MNTENT) - - extern struct mntent *HRFS_entry; - extern int fscount; -@@ -564,7 +564,7 @@ - } - case HRSTORE_UNITS: - if (store_idx > HRS_TYPE_FIXED_MAX) --#if STRUCT_STATVFS_HAS_F_FRSIZE -+#if defined(STRUCT_STATVFS_HAS_F_FRSIZE) && defined(HAVE_MNTENT) - long_return = stat_buf.f_frsize; - #else - long_return = stat_buf.f_bsize; -@@ -647,7 +647,15 @@ - i++) - long_return += mbstat.m_mtypes[i]; - #elif defined(MBSTAT_SYMBOL) -+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021 - long_return = mbstat.m_mbufs; -+#elif defined(freebsd5) && __FreeBSD_version < 500024 -+ /* mbuf stats disabled */ -+ return NULL; -+#else -+ /* XXX TODO: implement new method */ -+ return NULL; -+#endif - #elif defined(NO_DUMMY_VALUES) - return NULL; - #else -@@ -705,7 +713,15 @@ - * mbpool.pr_size + (mclpool.pr_nget - mclpool.pr_nput) - * mclpool.pr_size; - #elif defined(MBSTAT_SYMBOL) -+#if !defined(__FreeBSD__) || __FreeBSD_version < 500021 - long_return = mbstat.m_clusters - mbstat.m_clfree; /* unlikely, but... */ -+#elif defined(freebsd5) && __FreeBSD_version < 500024 -+ /* mbuf stats disabled */ -+ return NULL; -+#else -+ /* XXX TODO: implement new method */ -+ return NULL; -+#endif - #elif defined(NO_DUMMY_VALUES) - return NULL; - #else diff --git a/net-mgmt/net-snmp53/files/patch-hr_swrun.c b/net-mgmt/net-snmp53/files/patch-hr_swrun.c deleted file mode 100644 index 5ff95f18ca72..000000000000 --- a/net-mgmt/net-snmp53/files/patch-hr_swrun.c +++ /dev/null @@ -1,86 +0,0 @@ ---- agent/mibgroup/host/hr_swrun.c.orig Fri Dec 20 00:07:30 2002 -+++ agent/mibgroup/host/hr_swrun.c Sat Aug 16 17:10:54 2003 -@@ -561,7 +561,11 @@ - string[ sizeof(string)-1 ] = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/status", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -666,7 +670,11 @@ - *cp1 = 0; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ strcpy(string, proc_table[LowProcIndex].ki_comm); -+#else - strcpy(string, proc_table[LowProcIndex].kp_proc.p_comm); -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/cmdline", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -857,7 +865,11 @@ - } - #else - #if HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ switch ( proc_table[LowProcIndex].ki_stat ) { -+#else - switch (proc_table[LowProcIndex].kp_proc.p_stat) { -+#endif - #elif defined(dynix) - switch (lowpsinfo.pr_state) { - #elif defined(solaris2) -@@ -952,9 +964,17 @@ - long_return = proc_buf->p_utime * 100 + proc_buf->p_stime * 100; - #endif - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX: Accessing ki_paddr causes sig10 ... -+ long_return = proc_table[LowProcIndex].ki_paddr->p_uticks + -+ proc_table[LowProcIndex].ki_paddr->p_sticks + -+ proc_table[LowProcIndex].ki_paddr->p_iticks; */ -+ long_return = 0; -+#else - long_return = proc_table[LowProcIndex].kp_proc.p_uticks + - proc_table[LowProcIndex].kp_proc.p_sticks + - proc_table[LowProcIndex].kp_proc.p_iticks; -+#endif - #elif defined(linux) - sprintf(string, "/proc/%d/stat", pid); - if ((fp = fopen(string, "r")) == NULL) -@@ -1023,7 +1043,14 @@ - long_return = proc_buf->p_swrss; - #endif - #elif HAVE_KVM_GETPROCS --#if defined(freebsd3) && !defined(darwin) -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ /* XXX -+ long_return = proc_table[LowProcIndex].ki_vmspace->vm_tsize + -+ proc_table[LowProcIndex].ki_vmspace->vm_ssize + -+ proc_table[LowProcIndex].ki_vmspace->vm_dsize; -+ long_return = long_return * (getpagesize() / 1024); */ -+ long_return = 0; -+#elif defined(freebsd3) && !defined(darwin) - long_return = - proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size / 1024; - #else -@@ -1303,8 +1330,13 @@ - #elif defined(solaris2) - return proc_table[current_proc_entry++]; - #elif HAVE_KVM_GETPROCS -+#if defined(freebsd5) && __FreeBSD_version >= 500014 -+ if ( proc_table[current_proc_entry].ki_stat != 0 ) -+ return proc_table[current_proc_entry++].ki_pid; -+#else - if (proc_table[current_proc_entry].kp_proc.p_stat != 0) - return proc_table[current_proc_entry++].kp_proc.p_pid; -+#endif - #else - if (proc_table[current_proc_entry].p_stat != 0) - return proc_table[current_proc_entry++].p_pid; diff --git a/net-mgmt/net-snmp53/files/patch-hr_system.c b/net-mgmt/net-snmp53/files/patch-hr_system.c deleted file mode 100644 index f2d810ac0771..000000000000 --- a/net-mgmt/net-snmp53/files/patch-hr_system.c +++ /dev/null @@ -1,11 +0,0 @@ ---- agent/mibgroup/host/hr_system.c.orig Mon Feb 23 02:29:34 2004 -+++ agent/mibgroup/host/hr_system.c Sat Apr 3 00:00:24 2004 -@@ -596,6 +596,8 @@ - #ifndef UTMP_HAS_NO_TYPE - if (utmp_p->ut_type != USER_PROCESS) - continue; -+#else -+ if (*utmp_p->ut_name != '~') - #endif - #ifndef UTMP_HAS_NO_PID - /* This block of code fixes zombie user PIDs in the diff --git a/net-mgmt/net-snmp53/files/patch-interfaces.c b/net-mgmt/net-snmp53/files/patch-interfaces.c deleted file mode 100644 index c9d465c00859..000000000000 --- a/net-mgmt/net-snmp53/files/patch-interfaces.c +++ /dev/null @@ -1,16 +0,0 @@ ---- agent/mibgroup/mibII/interfaces.c.orig Sat Jun 8 00:18:03 2002 -+++ agent/mibgroup/mibII/interfaces.c Mon Jul 29 12:35:08 2002 -@@ -555,11 +555,9 @@ - ifp->ifm_type)); - } - } -- if (have_ifinfo && have_addr) { -+ if (have_ifinfo) { - return 0; -- } else if (have_ifinfo && !(if_msg->ifm_flags & IFF_UP)) -- return 0; -- else { -+ } else { - return -1; - } - } diff --git a/net-mgmt/net-snmp53/files/patch-ipv6.c b/net-mgmt/net-snmp53/files/patch-ipv6.c deleted file mode 100644 index 0ee3f76c99ad..000000000000 --- a/net-mgmt/net-snmp53/files/patch-ipv6.c +++ /dev/null @@ -1,113 +0,0 @@ ---- agent/mibgroup/mibII/ipv6.c.orig Fri Feb 28 18:13:36 2003 -+++ agent/mibgroup/mibII/ipv6.c Wed Nov 19 00:16:27 2003 -@@ -1238,6 +1238,7 @@ - if (!auto_nlist("udb6", (char *) &udb6, sizeof(udb6))) - return NULL; - p = (caddr_t) udb6.in6p_next; -+ DEBUGMSGTL(("mibII/ipv6", "start: p=%x\n", p)); - #else - { - const char *udblist = "net.inet.udp.pcblist"; -@@ -1254,11 +1255,11 @@ - oxig = (struct xinpgen *) sysctl_buf; - xig = (struct xinpgen *) ((char *) oxig + oxig->xig_len); - } -+ DEBUGMSGTL(("mibII/ipv6", "start: xig=%p\n", xig)); - #endif - found = hitnext = 0; - memcpy((char *) newname, (char *) vp->name, - (int) vp->namelen * sizeof(oid)); -- DEBUGMSGTL(("mibII/ipv6", "start: p=%x\n", p)); - while ( - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) - p && (u_long) p != auto_nlist_value("udb6") -@@ -1266,12 +1267,16 @@ - xig->xig_len > sizeof(struct xinpgen) - #endif - ) { -- DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) -+ DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)); - #else - in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ xig = (struct xinpgen *) ((char *) xig + xig->xig_len); -+ continue; -+ } - #endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) -@@ -1283,8 +1288,8 @@ - else - newname[j++] = 0; - /*XXX*/ -- DEBUGMSGTL(("mibII/ipv6", "var_udp6 new: %d %d ", -- (int) vp->namelen, j)); -+ DEBUGMSGTL(("mibII/ipv6", "var_udp6 new: %d %d ", -+ (int) vp->namelen, j)); - DEBUGMSGOID(("mibII/ipv6", newname, j)); - DEBUGMSG(("mibII/ipv6", " %d\n", exact)); - -@@ -1447,9 +1452,6 @@ - p)); - break; - } --#else -- in6pcb = ((struct xinpcb *) xig)->xi_inp; --#endif - if (klookup - ((u_long) in6pcb.in6p_ppcb, (char *) &tcp6cb, sizeof(tcp6cb)) - < 0) { -@@ -1457,6 +1459,14 @@ - in6pcb.in6p_ppcb)); - break; - } -+#else -+ in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ struct xtcpcb *xp = (struct xtcpcb *)xig; -+ tcp6cb = xp->xt_tp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ goto skip; -+ } -+#endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) - newname[j++] = in6pcb.in6p_laddr.s6_addr[i]; -@@ -1590,6 +1600,7 @@ - #if defined(__FreeBSD__) && __FreeBSD__ >= 3 - char *sysctl_buf; - struct xinpgen *xig, *oxig; -+ struct xtcpcb *xp; - #endif /* defined(__FreeBSD__) && __FreeBSD__ >= 3 */ - - if (!initialized) { -@@ -1646,11 +1657,7 @@ - DEBUGMSGTL(("mibII/ipv6", "looping: p=%x\n", p)); - - #if !(defined(__FreeBSD__) && __FreeBSD__ >= 3) -- if (klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)) < 0) --#else -- in6pcb = ((struct xinpcb *) xig)->xi_inp; --#endif -- { -+ if (klookup((u_long) p, (char *) &in6pcb, sizeof(in6pcb)) < 0) { - DEBUGMSGTL(("mibII/ipv6", "klookup fail for in6pcb at %x\n", - p)); - break; -@@ -1662,6 +1669,14 @@ - in6pcb.in6p_ppcb)); - break; - } -+#else -+ in6pcb = ((struct xinpcb *) xig)->xi_inp; -+ xp = (struct xtcpcb *)xig; -+ tcp6cb = xp->xt_tp; -+ if (!(in6pcb.inp_vflag & 0x02)) { /* Skip non-IPv6 pcb */ -+ goto skip; -+ } -+#endif - j = (int) vp->namelen; - for (i = 0; i < sizeof(struct in6_addr); i++) - newname[j++] = in6pcb.in6p_laddr.s6_addr[i]; diff --git a/net-mgmt/net-snmp53/files/patch-local:fixproc b/net-mgmt/net-snmp53/files/patch-local:fixproc deleted file mode 100644 index 5d6e3515467d..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:fixproc +++ /dev/null @@ -1,138 +0,0 @@ ---- local/fixproc.orig Sat Apr 20 09:30:13 2002 -+++ local/fixproc Sat Mar 6 01:59:59 2004 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!%%PERL%% - # - # fixproc [-min n] [-max n] [-check | -kill | -restart | -exist | -fix] proc ... - # -@@ -129,7 +129,7 @@ - # - # Timothy Kong 3/1995 - --$database_file = '/local/etc/fixproc.conf'; -+$database_file = '%%PREFIX%%/etc/fixproc.conf'; - - $debug = 0; # specify debug level using -dN - # currently defined: -d1 -@@ -155,6 +155,14 @@ - $shell_header = "#!/bin/sh\n"; - $shell_end_marker = 'shell_end_marker'; - -+open(command, "/bin/ps -p $$ |") || die "$0: can't run ps command\n"; -+if (split(' ', <command>) > 4) { -+ $ps_opts = 'ax'; -+} else { -+ $ps_opts = '-e'; -+} -+close command; -+ - &read_args(); - &read_database(); - # &dump_database(); # debug only -@@ -203,7 +211,9 @@ - $i++; - } - close (file); -- system "chmod +x $file"; -+ ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, -+ $atime,$mtime,$ctime,$blksize,$blocks) = stat($file); -+ chmod $mode | 0111, $file; - return file; - } - -@@ -237,8 +247,8 @@ - - # return code is number divided by 256 - $error_code = (system "$tmpfile") / 256; -- system "rm $tmpfile"; -- return ($fix_failed_error) if ($error_code != 0); -+ unlink $tmpfile; -+ return ($cannot_fix_error) if ($error_code != 0); - # sleep needed here? - return &do_exist ($proc); - } -@@ -268,7 +278,7 @@ - - # return code is number divided by 256 - $error_code = (system "$tmpfile") / 256; -- system "rm $tmpfile"; -+ unlink $tmpfile; - return ($check_failed_error) if ($error_code != 0); - - # check passed, continue -@@ -285,10 +295,12 @@ - - # do ps, check to see if min <= no. of processes <= max - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc | /bin/wc -l |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-wc command\n"; -- $proc_count = <command>; -- if (($proc_count < $min{$proc}) || ($proc_count > $max{$proc})) -+ @allprocs = <command>; -+ close command; -+ @procs = grep(/$proc/, @allprocs); -+ if (($#procs < $min{$proc}) || ($#procs > $max{$proc})) - { - return $check_failed_error; - } -@@ -305,41 +317,48 @@ - - # first try kill - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - while (<command>) - { -- # match the first field of ps -e -+ if /$proc/ { -+ # match the first field of ps $ps_opts - $! = $fixproc_error; -- /^\s*(\d+)\s/ || die "$0: can't match ps -e output\n"; -- system "kill $1"; -+ /^\s*(\d+)\s/ || die "$0: can't match ps $ps_opts output\n"; -+ kill 15, $1; -+ } - } -+ close command; - - # if process still exist, try kill -9 - sleep 2; - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - $second_kill_needed = 0; - while (<command>) - { -- # match the first field of ps -e -+ if /$proc/ { -+ # match the first field of ps $ps_opts - $! = $fixproc_error; -- /^\s*(\d+)\s/ || die "$0: can't match ps -e output\n"; -- system "kill -9 $1"; -+ /^\s*(\d+)\s/ || die "$0: can't match ps $ps_opts output\n"; -+ kill 9, $1; - $second_kill_needed = 1; -+ } - } -+ close command; - return ($no_error) if ($second_kill_needed == 0); - - # see if kill -9 worked - sleep 2; - $! = $fixproc_error; -- open (command, "/bin/ps -e | /bin/grep $proc |") -+ open (command, "/bin/ps $ps_opts |") - || die "$0: can't run ps-grep-awk command\n"; - while (<command>) - { # a process still exist, return error -- return $cannot_kill_error; -+ return $cannot_kill_error if /$proc/; - } -+ close command; - return $no_error; # good, all dead - } - diff --git a/net-mgmt/net-snmp53/files/patch-local:ipf-mod.pl b/net-mgmt/net-snmp53/files/patch-local:ipf-mod.pl deleted file mode 100644 index 8bf98d4f1d52..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:ipf-mod.pl +++ /dev/null @@ -1,21 +0,0 @@ ---- local/ipf-mod.pl.orig Thu May 29 05:30:19 2003 -+++ local/ipf-mod.pl Thu May 29 05:40:13 2003 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -s -+#!%%PERL%% -s - ## - ## IP Filter UCD-SNMP pass module - ## -@@ -9,10 +9,10 @@ - ## Date: $ Tue Dec 1 10:24:08 EET 1998 $ - ## Version: 1.1a - --# Put this file in /usr/local/bin/ipf-mod.pl and then add the following -+# Put this file in %%PREFIX%%/bin/ipf-mod.pl and then add the following - # line to your snmpd.conf file (without the # at the front): - # --# pass .1.3.6.1.4.1.2021.13.2 /usr/local/bin/ipf-mod.pl -+# pass .1.3.6.1.4.1.2021.13.2 %%PREFIX%%/bin/ipf-mod.pl - - # enterprises.ucdavis.ucdExperimental.ipFilter = .1.3.6.1.4.1.2021.13.2 - # ipfInTable.ipfInEntry.ipfInIndex integer = 1.1.1 diff --git a/net-mgmt/net-snmp53/files/patch-local:mib2c b/net-mgmt/net-snmp53/files/patch-local:mib2c deleted file mode 100644 index 6609d77609c9..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:mib2c +++ /dev/null @@ -1,20 +0,0 @@ ---- local/mib2c.orig Fri Nov 14 02:28:39 2003 -+++ local/mib2c Wed Feb 4 09:05:44 2004 -@@ -1,5 +1,4 @@ --#!/usr/bin/perl --#!/usr/bin/perl -w -+#!%%PERL%% - - # - # $Id: mib2c,v 5.36 2003/11/14 01:28:39 rstory Exp $ -@@ -56,8 +55,8 @@ - if($ENV{MIB2C_DIR}) { - push @def_search_dirs, $ENV{MIB2C_DIR}; - } --push @def_search_dirs, "/usr/local/share/snmp/"; -- -+push @def_search_dirs, "%%PREFIX%%/share/snmp/"; -+push @def_search_dirs, "%%PREFIX%%/etc/snmp/"; - - sub usage { - print "$0 [-h] [-c configfile] [-f prefix] mibNode\n\n"; diff --git a/net-mgmt/net-snmp53/files/patch-local:snmpcheck.def b/net-mgmt/net-snmp53/files/patch-local:snmpcheck.def deleted file mode 100644 index 4f3b4a2491da..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:snmpcheck.def +++ /dev/null @@ -1,8 +0,0 @@ ---- local/snmpcheck.def.orig Thu May 29 05:28:22 2003 -+++ local/snmpcheck.def Thu May 29 05:29:49 2003 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -w -+#!%%PERL%% -w - - use strict 'refs'; - require Net::Ping; diff --git a/net-mgmt/net-snmp53/files/patch-local:snmpconf b/net-mgmt/net-snmp53/files/patch-local:snmpconf deleted file mode 100644 index ae537cfcddd8..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:snmpconf +++ /dev/null @@ -1,53 +0,0 @@ ---- local/snmpconf.orig Wed Feb 11 01:33:42 2004 -+++ local/snmpconf Fri Apr 2 23:42:35 2004 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!%%PERL%% -w - - # - # A simple configuration file builder based on questions listed in -@@ -17,7 +17,7 @@ - %arrayitems=qw(question 1 validanswer 1); - - #defaults --$opts{'c'} = "/usr/local/share/snmp/snmpconf-data"; -+$opts{'c'} = "%%PREFIX%%/share/snmp/snmpconf-data"; - - # read the argument string - getopts("qadhfc:piI:r:R:g:G", \%opts); -@@ -27,7 +27,7 @@ - print "$0 [options] [FILETOCREATE...]\n"; - print "options:\n"; - print " -f overwrite existing files without prompting\n"; -- print " -i install created files into /usr/local/share/snmp.\n"; -+ print " -i install created files into %%PREFIX%%/share/snmp.\n"; - print " -p install created files into $ENV{HOME}/.snmp.\n"; - print " -I DIR install created files into DIR.\n"; - print " -a Don't ask any questions, just read in current\n"; -@@ -63,7 +63,7 @@ - # - # Find existing files to possibly read in. - # --my @searchpath = (qw(/usr/local/share/snmp /usr/local/etc/snmp .), "$ENV{HOME}/.snmp"); -+my @searchpath = (qw(%%PREFIX%%/share/snmp %%PREFIX%%/etc/snmp .), "$ENV{HOME}/.snmp"); - push @searchpath, $opts{I} if ($opts{I}); - foreach my $i (@searchpath) { - debug("searching $i\n"); -@@ -160,7 +160,7 @@ - foreach my $i (@didfiles) { - if ($didfile{$i} ne "1") { - if ($opts{'i'} || $opts{'I'}) { -- $opts{'I'} = "/usr/local/share/snmp" if (!$opts{'I'}); -+ $opts{'I'} = "%%PREFIX%%/share/snmp" if (!$opts{'I'}); - - move ("$opts{'I'}/$i", "$opts{'I'}/$i.bak") if (-f "$opts{'I'}/$i"); - if (move ("$didfile{$i}", "$opts{'I'}")) { -@@ -198,7 +198,7 @@ - } - - if (!$opts{'p'} && !$opts{'i'} && !$opts{'I'}) { -- Print("\nThese files should be moved to /usr/local/share/snmp/ if you -+ Print("\nThese files should be moved to %%PREFIX%%/share/snmp/ if you - want them used by everyone on the system. In the future, if you add - the -i option to the command line I'll copy them there automatically for you. - diff --git a/net-mgmt/net-snmp53/files/patch-local:tkmib b/net-mgmt/net-snmp53/files/patch-local:tkmib deleted file mode 100644 index 3278d27c3809..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:tkmib +++ /dev/null @@ -1,9 +0,0 @@ ---- local/tkmib.orig Thu May 29 05:30:19 2003 -+++ local/tkmib Thu May 29 05:31:46 2003 -@@ -1,5 +1,4 @@ --#!/usr/bin/perl --#!/usr/bin/perl -w -+#!%%PERL%% -w - - require 5; - diff --git a/net-mgmt/net-snmp53/files/patch-local:traptoemail b/net-mgmt/net-snmp53/files/patch-local:traptoemail deleted file mode 100644 index 402506b540c6..000000000000 --- a/net-mgmt/net-snmp53/files/patch-local:traptoemail +++ /dev/null @@ -1,16 +0,0 @@ ---- local/traptoemail.orig Thu May 29 05:30:19 2003 -+++ local/traptoemail Thu May 29 05:35:13 2003 -@@ -1,11 +1,11 @@ --#!/usr/bin/perl -+#!%%PERL%% - - # This is a snmptrapd handler script to convert snmp traps into email - # messages. - - # Usage: - # Put a line like the following in your snmptrapd.conf file: --# traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES -+# traphandle TRAPOID|default %%PREFIX%%/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES - # FROM defaults to "root" - # SMTPSERVER defaults to "localhost" - diff --git a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c deleted file mode 100644 index caffe13901b9..000000000000 --- a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c +++ /dev/null @@ -1,37 +0,0 @@ ---- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Nov 9 15:59:53 2002 -+++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Feb 21 11:55:05 2004 -@@ -204,6 +204,7 @@ - if (kd == NULL) - kd = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, NULL); - -+#if !defined(freebsd5) - auto_nlist(NSWDEV_SYMBOL, (char *) &nswdev, sizeof(nswdev)); - auto_nlist(DMMAX_SYMBOL, (char *) &dmmax, sizeof(dmmax)); - -@@ -212,6 +213,7 @@ - return; - - auto_nlist(SWDEVT_SYMBOL, (char *) sw, nswdev * sizeof(*sw)); -+#endif - - n = kvm_getswapinfo(kd, kswap, sizeof(kswap) / sizeof(kswap[0]), 0); - -@@ -242,7 +244,9 @@ - swapUsed *= pagesize; - swapFree *= pagesize; - -+#if !defined(freebsd5) - free(sw); -+#endif - } - #endif - -@@ -274,7 +278,7 @@ - size_t total_size = sizeof(total); - int total_mib[] = { CTL_VM, VM_METER }; - -- long phys_mem; -+ u_long phys_mem; - size_t phys_mem_size = sizeof(phys_mem); - int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; - diff --git a/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c b/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c deleted file mode 100644 index 9a6e083a98bc..000000000000 --- a/net-mgmt/net-snmp53/files/patch-snmpTCPIPv6Domain.c +++ /dev/null @@ -1,30 +0,0 @@ ---- snmplib/snmpTCPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002 -+++ snmplib/snmpTCPIPv6Domain.c Sun Oct 6 01:07:12 2002 -@@ -62,13 +62,21 @@ - if (to == NULL) { - return strdup("TCP/IPv6: unknown"); - } else { -- char addr[INET6_ADDRSTRLEN]; -- char tmp[INET6_ADDRSTRLEN + 8]; -+ char tmp[NI_MAXHOST]; - -- sprintf(tmp, "[%s]:%hd", -- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr, -- INET6_ADDRSTRLEN), ntohs(to->sin6_port)); -- return strdup(tmp); -+/* -+ * NI_WITHSCOPEID will be obsoleted. But some implementations require -+ * this flag to retrieve scoped name. -+ * (2002-07-25: kuriyama@FreeBSD.org) -+ */ -+#ifndef NI_WITHSCOPEID -+#define NI_WITHSCOPEID 0 -+#endif -+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp), -+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) { -+ return strdup("UDP/IPv6: unknown"); -+ } -+ return strdup(tmp); - } - } - diff --git a/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c deleted file mode 100644 index 6f1f6c4caeed..000000000000 --- a/net-mgmt/net-snmp53/files/patch-snmpUCDIPv6Domain.c +++ /dev/null @@ -1,30 +0,0 @@ ---- snmplib/snmpUDPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002 -+++ snmplib/snmpUDPIPv6Domain.c Sun Oct 6 18:03:18 2002 -@@ -62,13 +62,21 @@ - if (to == NULL) { - return strdup("UDP/IPv6: unknown"); - } else { -- char addr[INET6_ADDRSTRLEN]; -- char tmp[INET6_ADDRSTRLEN + 8]; -+ char tmp[NI_MAXHOST]; - -- sprintf(tmp, "[%s]:%hd", -- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr, -- INET6_ADDRSTRLEN), ntohs(to->sin6_port)); -- return strdup(tmp); -+/* -+ * NI_WITHSCOPEID will be obsoleted. But some implementations require -+ * this flag to retrieve scoped name. -+ * (2002-07-25: kuriyama@FreeBSD.org) -+ */ -+#ifndef NI_WITHSCOPEID -+#define NI_WITHSCOPEID 0 -+#endif -+ if (getnameinfo(to, sizeof(struct sockaddr_in6), tmp, sizeof(tmp), -+ NULL, 0, NI_NUMERICHOST | NI_WITHSCOPEID)) { -+ return strdup("UDP/IPv6: unknown"); -+ } -+ return strdup(tmp); - } - } - diff --git a/net-mgmt/net-snmp53/files/patch-snmpd.8.def b/net-mgmt/net-snmp53/files/patch-snmpd.8.def deleted file mode 100644 index ac853823ca25..000000000000 --- a/net-mgmt/net-snmp53/files/patch-snmpd.8.def +++ /dev/null @@ -1,13 +0,0 @@ ---- man/snmpd.8.def.orig Wed Feb 26 04:11:19 2003 -+++ man/snmpd.8.def Sat Mar 29 22:05:07 2003 -@@ -211,6 +211,10 @@ - the error "Error opening specified endpoint". Likewise, since AAL5 - PVC support is only currently available on Linux, it will fail with - the same error on other platforms. -+.PP -+.B snmpd -+uses libwrap's access control if configured by --with-libwrap. -+Access control patterns may only reference IP addresses. - - .RE - .SH CONFIGURATION FILES diff --git a/net-mgmt/net-snmp53/files/patch-tcpTable.c b/net-mgmt/net-snmp53/files/patch-tcpTable.c deleted file mode 100644 index 0d33547108b6..000000000000 --- a/net-mgmt/net-snmp53/files/patch-tcpTable.c +++ /dev/null @@ -1,46 +0,0 @@ ---- agent/mibgroup/mibII/tcpTable.c.orig Tue Mar 16 08:27:45 2004 -+++ agent/mibgroup/mibII/tcpTable.c Wed Apr 14 09:40:00 2004 -@@ -95,6 +95,8 @@ - #define TCPTABLE_REMOTEADDRESS pcb.inp_faddr.s_addr - #define TCPTABLE_REMOTEPORT pcb.inp_fport - #define TCPTABLE_IS_LINKED_LIST -+#undef INP_NEXT_SYMBOL -+#define INP_NEXT_SYMBOL inp_next - - #endif /* linux */ - #endif /* WIN32 */ -@@ -275,6 +277,9 @@ - - int - TCP_Count_Connections( void ) { -+#if (defined(CAN_USE_SYSCTL) && defined(TCPCTL_PCBLIST)) -+ tcpTable_load(NULL, NULL); -+#endif - return tcp_estab; - } - -@@ -691,6 +696,7 @@ - struct xinpgen *xig = NULL; - netsnmp_inpcb *nnew; - int StateMap[] = { 1, 2, 3, 4, 5, 8, 6, 10, 9, 7, 11 }; -+ struct tcpcb *tp = NULL; - - tcpTable_free(NULL, NULL); - -@@ -717,12 +723,13 @@ - nnew = SNMP_MALLOC_TYPEDEF(netsnmp_inpcb); - if (!nnew) - break; -- nnew->state = StateMap[((struct xinpcb *) xig)->xt_tp.t_state]; -+ tp = &((struct xtcpcb *)xig)->xt_tp; -+ nnew->state = StateMap[tp->t_state]; - if (nnew->state == 5 /* established */ || - nnew->state == 8 /* closeWait */ ) - tcp_estab++; -- memcpy(&(nnew->pcb), &(((struct xinpcb *) xig)->xt_inp), -- sizeof(struct inpcb)); -+ memcpy(&(nnew->pcb), &(((struct xtcpcb *) xig)->xt_tp), -+ sizeof(struct tcpcb)); - - nnew->inp_next = tcp_head; - tcp_head = nnew; diff --git a/net-mgmt/net-snmp53/files/patch-udpTable.c b/net-mgmt/net-snmp53/files/patch-udpTable.c deleted file mode 100644 index 83364a9a338d..000000000000 --- a/net-mgmt/net-snmp53/files/patch-udpTable.c +++ /dev/null @@ -1,25 +0,0 @@ ---- agent/mibgroup/mibII/udpTable.c.orig Fri Nov 14 15:14:52 2003 -+++ agent/mibgroup/mibII/udpTable.c Fri Nov 14 15:18:08 2003 -@@ -577,6 +577,7 @@ - * Unpick this into the constituent 'xinpgen' structures, and extract - * the 'inpcb' elements into a linked list (built in reverse) - */ -+#if 0 - xig = (struct xinpgen *) udpcb_buf; - xig = (struct xinpgen *) ((char *) xig + xig->xig_len); - -@@ -584,12 +585,13 @@ - nnew = SNMP_MALLOC_TYPEDEF(struct inpcb); - if (!nnew) - break; -- memcpy(nnew, ((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb)); -+ memcpy(nnew, &((struct xinpcb *) xig)->xi_inp, sizeof(struct inpcb)); - - nnew->next = udp_head; /* XXX - ?? Check 'next' pointer */ - udp_head = nnew; - xig = (struct xinpgen *) ((char *) xig + xig->xig_len); - } -+#endif - - free(udpcb_buf); - if (udp_head) { diff --git a/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c deleted file mode 100644 index 7e64f3979bcf..000000000000 --- a/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c +++ /dev/null @@ -1,14 +0,0 @@ ---- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c.orig Thu May 23 17:39:41 2002 -+++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Thu Feb 20 08:08:20 2003 -@@ -10,7 +10,11 @@ - #include <sys/param.h> - #include <sys/time.h> - #include <sys/proc.h> -+#if defined(freebsd5) && __FreeBSD_version >= 500101 -+#include <sys/resource.h> -+#else - #include <sys/dkstat.h> -+#endif - #ifdef freebsd5 - #include <sys/bio.h> - #endif diff --git a/net-mgmt/net-snmp53/files/snmpd.sh.sample b/net-mgmt/net-snmp53/files/snmpd.sh.sample deleted file mode 100644 index 814c0b7ac701..000000000000 --- a/net-mgmt/net-snmp53/files/snmpd.sh.sample +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: snmpd -# REQUIRE: DAEMON -# KEYWORD: FreeBSD -# -# Add the following line to /etc/rc.conf to enable snmpd: -# -# snmpd_enable="YES" -# - -snmpd_enable="NO" -snmpd_flags="-p /var/run/snmpd.pid" - -. %%RC_SUBR%% - -load_rc_config net_snmpd - -if [ ! -z "$net_snmpd_enable" ]; then - echo "Warning: \$net_snmpd_enable is obsoleted." - echo " Use \$snmpd_enable instead." - snmpd_enable="$net_snmpd_enable" - [ ! -z "$net_snmpd_flags" ] && snmpd_flags="$net_snmpd_flags" -fi - -name=snmpd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid -sig_stop=-KILL - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net-mgmt/net-snmp53/files/snmptrapd.sh.sample b/net-mgmt/net-snmp53/files/snmptrapd.sh.sample deleted file mode 100644 index 760c260ccfe4..000000000000 --- a/net-mgmt/net-snmp53/files/snmptrapd.sh.sample +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: snmptrapd -# REQUIRE: DAEMON -# KEYWORD: FreeBSD -# -# Add the following line to /etc/rc.conf to enable snmptrapd: -# -# snmptrapd_enable="YES" -# - -snmptrapd_enable="NO" -snmptrapd_flags="-p /var/run/snmptrapd.pid" - -. %%RC_SUBR%% - -load_rc_config net_snmptrapd - -if [ ! -z "$net_snmptrapd_enable" ]; then - echo "Warning: \$net_snmptrapd_enable is obsoleted." - echo " Use \$snmptrapd_enable instead." - snmptrapd_enable="$net_snmptrapd_enable" - [ ! -z "$net_snmptrapd_flags" ] && snmptrapd_flags="$net_snmptrapd_flags" -fi - -name=snmptrapd -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/${name} -pidfile=/var/run/${name}.pid - -load_rc_config ${name} -run_rc_command "$1" diff --git a/net-mgmt/net-snmp53/pkg-descr b/net-mgmt/net-snmp53/pkg-descr deleted file mode 100644 index d1fc04717b8e..000000000000 --- a/net-mgmt/net-snmp53/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -This is Net-SNMP (previously known as "ucd-snmp"). - -Various tools relating to the Simple Network Management Protocol including: - - An extensible agent - An SNMP library - tools to request or set information from SNMP agents - tools to generate and handle SNMP traps - a version of the unix 'netstat' command using SNMP - a graphical Perl/Tk/SNMP based mib browser - -WWW: http://net-snmp.sourceforge.net/ diff --git a/net-mgmt/net-snmp53/pkg-message b/net-mgmt/net-snmp53/pkg-message deleted file mode 100644 index cc545c40eb4e..000000000000 --- a/net-mgmt/net-snmp53/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -**** This port installs snmp daemon, header files and libraries but don't - invokes snmpd by default. - If you want to invoke snmpd and/or snmptrapd at startup, put these - lines into /etc/rc.conf. - - snmpd_enable="YES" - snmpd_flags="-as -p /var/run/snmpd.pid" - snmptrapd_enable="YES" - snmptrapd_flags="-as -p /var/run/snmptrapd.pid" - -**** You may specify the following make variables: - - NET_SNMP_SYS_CONTACT="kuriyama@FreeBSD.org" - NET_SNMP_SYS_LOCATION="Tokyo, Japan" - DEFAULT_SNMP_VERSION=3 - NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio" - NET_SNMP_LOGFILE=/var/log/snmpd.log - NET_SNMP_PERSISTENTDIR=/var/net-snmp - - to define default values (or overwriting defaults). At least - setting first two variables, you will not be prompted during - configuration process. You may also set - - BATCH="yes" - - to avoid interactive configuration. diff --git a/net-mgmt/net-snmp53/pkg-plist b/net-mgmt/net-snmp53/pkg-plist deleted file mode 100644 index 1940232f8738..000000000000 --- a/net-mgmt/net-snmp53/pkg-plist +++ /dev/null @@ -1,333 +0,0 @@ -bin/encode_keychange -bin/fixproc -bin/ipf-mod.pl -bin/mib2c -bin/net-snmp-config -bin/snmpbulkget -bin/snmpbulkwalk -bin/snmpcheck -bin/snmpconf -bin/snmpdelta -bin/snmpdf -bin/snmpget -bin/snmpgetnext -bin/snmpinform -bin/snmpnetstat -bin/snmpset -bin/snmpstatus -bin/snmptable -bin/snmptest -bin/snmptranslate -bin/snmptrap -bin/snmpusm -bin/snmpvacm -bin/snmpwalk -%%WITH_TKMIB%%bin/tkmib -bin/traptoemail -etc/rc.d/snmpd.sh -etc/rc.d/snmptrapd.sh -@exec mkdir %D/etc/snmp 2>/dev/null || true -include/net-snmp/agent/agent_callbacks.h -include/net-snmp/agent/agent_handler.h -include/net-snmp/agent/agent_index.h -include/net-snmp/agent/agent_read_config.h -include/net-snmp/agent/agent_registry.h -include/net-snmp/agent/agent_trap.h -include/net-snmp/agent/all_helpers.h -include/net-snmp/agent/auto_nlist.h -include/net-snmp/agent/baby_steps.h -include/net-snmp/agent/bulk_to_next.h -include/net-snmp/agent/cache_handler.h -include/net-snmp/agent/debug_handler.h -include/net-snmp/agent/ds_agent.h -include/net-snmp/agent/instance.h -include/net-snmp/agent/mib_module_config.h -include/net-snmp/agent/mib_module_includes.h -include/net-snmp/agent/mode_end_call.h -include/net-snmp/agent/multiplexer.h -include/net-snmp/agent/net-snmp-agent-includes.h -include/net-snmp/agent/null.h -include/net-snmp/agent/old_api.h -include/net-snmp/agent/read_only.h -include/net-snmp/agent/row_merge.h -include/net-snmp/agent/scalar.h -include/net-snmp/agent/scalar_group.h -include/net-snmp/agent/serialize.h -include/net-snmp/agent/set_helper.h -include/net-snmp/agent/snmp_agent.h -include/net-snmp/agent/snmp_vars.h -include/net-snmp/agent/table.h -include/net-snmp/agent/table_array.h -include/net-snmp/agent/table_data.h -include/net-snmp/agent/table_dataset.h -include/net-snmp/agent/table_iterator.h -include/net-snmp/agent/var_struct.h -include/net-snmp/agent/watcher.h -include/net-snmp/config_api.h -include/net-snmp/definitions.h -include/net-snmp/library/README -include/net-snmp/library/asn1.h -include/net-snmp/library/callback.h -include/net-snmp/library/check_varbind.h -include/net-snmp/library/cmu_compat.h -include/net-snmp/library/container.h -include/net-snmp/library/container_binary_array.h -include/net-snmp/library/container_iterator.h -include/net-snmp/library/container_list_ssll.h -include/net-snmp/library/container_null.h -include/net-snmp/library/data_list.h -include/net-snmp/library/default_store.h -include/net-snmp/library/factory.h -include/net-snmp/library/getopt.h -include/net-snmp/library/int64.h -include/net-snmp/library/keytools.h -include/net-snmp/library/lcd_time.h -include/net-snmp/library/md5.h -include/net-snmp/library/mib.h -include/net-snmp/library/mt_support.h -include/net-snmp/library/oid_stash.h -include/net-snmp/library/parse.h -include/net-snmp/library/read_config.h -include/net-snmp/library/scapi.h -include/net-snmp/library/snmp-tc.h -include/net-snmp/library/snmp.h -include/net-snmp/library/snmpCallbackDomain.h -include/net-snmp/library/snmpTCPDomain.h -%%WITH_IPV6%%include/net-snmp/library/snmpTCPIPv6Domain.h -include/net-snmp/library/snmpUDPDomain.h -%%WITH_IPV6%%include/net-snmp/library/snmpUDPIPv6Domain.h -include/net-snmp/library/snmpUnixDomain.h -include/net-snmp/library/snmp_alarm.h -include/net-snmp/library/snmp_api.h -include/net-snmp/library/snmp_assert.h -include/net-snmp/library/snmp_client.h -include/net-snmp/library/snmp_debug.h -include/net-snmp/library/snmp_enum.h -include/net-snmp/library/snmp_impl.h -include/net-snmp/library/snmp_locking.h -include/net-snmp/library/snmp_logging.h -include/net-snmp/library/snmp_parse_args.h -include/net-snmp/library/snmp_secmod.h -include/net-snmp/library/snmp_transport.h -include/net-snmp/library/snmpusm.h -include/net-snmp/library/snmpv3-security-includes.h -include/net-snmp/library/snmpv3.h -include/net-snmp/library/system.h -include/net-snmp/library/tools.h -include/net-snmp/library/transform_oids.h -include/net-snmp/library/ucd_compat.h -include/net-snmp/library/vacm.h -include/net-snmp/library/winpipe.h -include/net-snmp/library/winservice.h -include/net-snmp/machine/generic.h -include/net-snmp/mib_api.h -include/net-snmp/net-snmp-config.h -include/net-snmp/net-snmp-includes.h -include/net-snmp/output_api.h -include/net-snmp/pdu_api.h -include/net-snmp/session_api.h -include/net-snmp/snmpv3_api.h -include/net-snmp/system/aix.h -include/net-snmp/system/bsd.h -include/net-snmp/system/bsdi.h -include/net-snmp/system/bsdi3.h -include/net-snmp/system/bsdi4.h -include/net-snmp/system/cygwin.h -include/net-snmp/system/darwin.h -include/net-snmp/system/dynix.h -include/net-snmp/system/freebsd.h -include/net-snmp/system/freebsd2.h -include/net-snmp/system/freebsd3.h -include/net-snmp/system/freebsd4.h -include/net-snmp/system/freebsd5.h -include/net-snmp/system/generic.h -include/net-snmp/system/hpux.h -include/net-snmp/system/irix.h -include/net-snmp/system/linux.h -include/net-snmp/system/mingw32.h -include/net-snmp/system/mips.h -include/net-snmp/system/netbsd.h -include/net-snmp/system/openbsd.h -include/net-snmp/system/osf5.h -include/net-snmp/system/solaris.h -include/net-snmp/system/solaris2.6.h -include/net-snmp/system/solaris2.7.h -include/net-snmp/system/solaris2.8.h -include/net-snmp/system/solaris2.9.h -include/net-snmp/system/sunos.h -include/net-snmp/system/svr5.h -include/net-snmp/system/sysv.h -include/net-snmp/system/ultrix4.h -include/net-snmp/types.h -include/net-snmp/utilities.h -include/net-snmp/varbind_api.h -include/net-snmp/version.h -lib/libnetsnmp.a -lib/libnetsnmp.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmp.so.%%SHLIB_VERSION%% %B/libnetsnmp.so -@unexec rm -f %B/libnetsnmp.so 2> /dev/null || true -lib/libnetsnmpagent.a -lib/libnetsnmpagent.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmpagent.so.%%SHLIB_VERSION%% %B/libnetsnmpagent.so -@unexec rm -f %B/libnetsnmpagent.so 2> /dev/null || true -lib/libnetsnmphelpers.a -lib/libnetsnmphelpers.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmphelpers.so.%%SHLIB_VERSION%% %B/libnetsnmphelpers.so -@unexec rm -f %B/libnetsnmphelpers.so 2> /dev/null || true -lib/libnetsnmpmibs.a -lib/libnetsnmpmibs.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmpmibs.so.%%SHLIB_VERSION%% %B/libnetsnmpmibs.so -@unexec rm -f %B/libnetsnmpmibs.so 2> /dev/null || true -lib/libnetsnmptrapd.a -lib/libnetsnmptrapd.so.%%SHLIB_VERSION%% -@exec ln -fs libnetsnmptrapd.so.%%SHLIB_VERSION%% %B/libnetsnmptrapd.so -@unexec rm -f %B/libnetsnmptrapd.so 2> /dev/null || true -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/Makefile.subs.pl -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/ASN.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/OID.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/default_store.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent/netsnmp_request_infoPtr.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/default_store.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SNMP.pm -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP/.packlist -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/ASN.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/OID.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/agent.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store/default_store.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/autosplit.ix -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store/default_store.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.bs -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/SNMP.so -%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/autosplit.ix -sbin/snmpd -sbin/snmptrapd -%%PORTDOCS%%%%DOCSDIR%%/AGENT.txt -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.agentx -%%PORTDOCS%%%%DOCSDIR%%/README.krb5 -%%PORTDOCS%%%%DOCSDIR%%/README.snmpv3 -%%PORTDOCS%%%%DOCSDIR%%/README.thread -%%PORTDOCS%%%%DOCSDIR%%/README.smux -%%DATADIR%%/mib2c.access_functions.conf -%%DATADIR%%/mib2c.array-user.conf -%%DATADIR%%/mib2c.check_values.conf -%%DATADIR%%/mib2c.check_values_local.conf -%%DATADIR%%/mib2c.column_defines.conf -%%DATADIR%%/mib2c.column_enums.conf -%%DATADIR%%/mib2c.conf -%%DATADIR%%/mib2c.create-dataset.conf -%%DATADIR%%/mib2c.int_watch.conf -%%DATADIR%%/mib2c.iterate.conf -%%DATADIR%%/mib2c.iterate_access.conf -%%DATADIR%%/mib2c.notify.conf -%%DATADIR%%/mib2c.old-api.conf -%%DATADIR%%/mib2c.scalar.conf -%%DATADIR%%/mibs/AGENTX-MIB.txt -%%WITH_EVENT-MIB%%%%DATADIR%%/mibs/DISMAN-EVENT-MIB.txt -%%DATADIR%%/mibs/DISMAN-SCHEDULE-MIB.txt -%%DATADIR%%/mibs/DISMAN-SCRIPT-MIB.txt -%%DATADIR%%/mibs/EtherLike-MIB.txt -%%DATADIR%%/mibs/HCNUM-TC.txt -%%DATADIR%%/mibs/HOST-RESOURCES-MIB.txt -%%DATADIR%%/mibs/HOST-RESOURCES-TYPES.txt -%%DATADIR%%/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -%%DATADIR%%/mibs/IANA-LANGUAGE-MIB.txt -%%DATADIR%%/mibs/IANAifType-MIB.txt -%%DATADIR%%/mibs/IF-INVERTED-STACK-MIB.txt -%%DATADIR%%/mibs/IF-MIB.txt -%%DATADIR%%/mibs/INET-ADDRESS-MIB.txt -%%DATADIR%%/mibs/IP-FORWARD-MIB.txt -%%DATADIR%%/mibs/IP-MIB.txt -%%DATADIR%%/mibs/IPV6-ICMP-MIB.txt -%%DATADIR%%/mibs/IPV6-MIB.txt -%%DATADIR%%/mibs/IPV6-TC.txt -%%DATADIR%%/mibs/IPV6-TCP-MIB.txt -%%DATADIR%%/mibs/IPV6-UDP-MIB.txt -%%WITH_MTA_SENDMAIL%%%%DATADIR%%/mibs/MTA-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-AGENT-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-EXAMPLES-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-MIB.txt -%%DATADIR%%/mibs/NET-SNMP-TC.txt -%%WITH_MTA_SENDMAIL%%%%DATADIR%%/mibs/NETWORK-SERVICES-MIB.txt -%%DATADIR%%/mibs/NOTIFICATION-LOG-MIB.txt -%%DATADIR%%/mibs/RFC-1215.txt -%%DATADIR%%/mibs/RFC1155-SMI.txt -%%DATADIR%%/mibs/RFC1213-MIB.txt -%%DATADIR%%/mibs/RMON-MIB.txt -%%DATADIR%%/mibs/SMUX-MIB.txt -%%DATADIR%%/mibs/SNMP-COMMUNITY-MIB.txt -%%DATADIR%%/mibs/SNMP-FRAMEWORK-MIB.txt -%%DATADIR%%/mibs/SNMP-MPD-MIB.txt -%%DATADIR%%/mibs/SNMP-NOTIFICATION-MIB.txt -%%DATADIR%%/mibs/SNMP-PROXY-MIB.txt -%%DATADIR%%/mibs/SNMP-TARGET-MIB.txt -%%DATADIR%%/mibs/SNMP-USER-BASED-SM-MIB.txt -%%DATADIR%%/mibs/SNMP-VIEW-BASED-ACM-MIB.txt -%%DATADIR%%/mibs/SNMPv2-CONF.txt -%%DATADIR%%/mibs/SNMPv2-MIB.txt -%%DATADIR%%/mibs/SNMPv2-SMI.txt -%%DATADIR%%/mibs/SNMPv2-TC.txt -%%DATADIR%%/mibs/SNMPv2-TM.txt -%%DATADIR%%/mibs/TCP-MIB.txt -%%DATADIR%%/mibs/UCD-DEMO-MIB.txt -%%DATADIR%%/mibs/UCD-DISKIO-MIB.txt -%%DATADIR%%/mibs/UCD-DLMOD-MIB.txt -%%DATADIR%%/mibs/UCD-IPFWACC-MIB.txt -%%DATADIR%%/mibs/UCD-SNMP-MIB.txt -%%DATADIR%%/mibs/UDP-MIB.txt -@unexec rm -f %D/%%DATADIR%%/mibs/.index 2>/dev/null || true -%%WITH_PERL%%%%DATADIR%%/snmp_perl.pl -%%DATADIR%%/snmpconf-data/snmp-data/authopts -%%DATADIR%%/snmpconf-data/snmp-data/debugging -%%DATADIR%%/snmpconf-data/snmp-data/mibs -%%DATADIR%%/snmpconf-data/snmp-data/output -%%DATADIR%%/snmpconf-data/snmp-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmpd-data/acl -%%DATADIR%%/snmpconf-data/snmpd-data/basic_setup -%%DATADIR%%/snmpconf-data/snmpd-data/extending -%%DATADIR%%/snmpconf-data/snmpd-data/monitor -%%DATADIR%%/snmpconf-data/snmpd-data/operation -%%DATADIR%%/snmpconf-data/snmpd-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmpd-data/system -%%DATADIR%%/snmpconf-data/snmpd-data/trapsinks -%%DATADIR%%/snmpconf-data/snmptrapd-data/formatting -%%DATADIR%%/snmpconf-data/snmptrapd-data/snmpconf-config -%%DATADIR%%/snmpconf-data/snmptrapd-data/traphandle -@dirrm %%DATADIR%%/snmpconf-data/snmptrapd-data -@dirrm %%DATADIR%%/snmpconf-data/snmpd-data -@dirrm %%DATADIR%%/snmpconf-data/snmp-data -@dirrm %%DATADIR%%/snmpconf-data -@unexec rmdir %D/%%DATADIR%%/mibs 2>/dev/null || true -@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/default_store -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent/default_store -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/agent -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/OID -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP/ASN -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetSNMP -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle/NetSNMP -%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bundle 2>/dev/null || true -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP/agent -%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetSNMP -%%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Bundle 2>/dev/null || true -@dirrm include/net-snmp/system -@dirrm include/net-snmp/machine -@dirrm include/net-snmp/library -@dirrm include/net-snmp/agent -@dirrm include/net-snmp -@unexec rmdir %D/etc/snmp 2>/dev/null || true diff --git a/net-mgmt/netwox/Makefile b/net-mgmt/netwox/Makefile deleted file mode 100644 index 08fdd02f53b3..000000000000 --- a/net-mgmt/netwox/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# New ports collection makefile for: lcrzoex -# Date created: Wed Apr 10 02:42:20 CEST 2002 -# Whom: king@v2project.com -# -# $FreeBSD$ -# - -PORTNAME= lcrzoex -PORTVERSION= 4.17.0 -CATEGORIES= security -MASTER_SITES= http://www.laurentconstantin.com/common/lcrzoex/download/v4/ \ - http://www.mirrors.wiretapped.net/security/packet-construction/lcrzoex/ \ - ftp://ftp.mirrors.wiretapped.net/sd3a/security/packet-construction/lcrzoex/ -EXTRACT_SUFX= -src.tgz - -MAINTAINER= king@v2project.com -COMMENT= Lcrzoex contains over 300 functionnalities using network library lcrzo - -BUILD_DEPENDS= ${LOCALBASE}/include/lcrzo_debugdefs.h:${PORTSDIR}/security/lcrzo - -WRKSRC= ${WRKDIR}/${PKGNAME}-src/src - -MAN1= lcrzoex.1 -PLIST_FILES= bin/lcrzoex - -post-patch: - cd ${WRKSRC} && ${SH} ${WRKSRC}/genemake - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/net-mgmt/netwox/distinfo b/net-mgmt/netwox/distinfo deleted file mode 100644 index d5102beb41d3..000000000000 --- a/net-mgmt/netwox/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (lcrzoex-4.17.0-src.tgz) = ad9732adb9f1a02d1cb1fbb12112db53 -SIZE (lcrzoex-4.17.0-src.tgz) = 336521 diff --git a/net-mgmt/netwox/pkg-descr b/net-mgmt/netwox/pkg-descr deleted file mode 100644 index 1747a627a6a5..000000000000 --- a/net-mgmt/netwox/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -Lcrzoex contains over 300 functionalities using network library lcrzo. -Lcrzoex can be used in the following contexts : - - discover the Ethernet address of a computer (number 2, 3, 134, etc.) - - sniff your LAN to detect what's going on (number 7, 8, 9, etc.) - - check the checksums created by a network program which isn't working - (number 16, 17, 18, etc.) - - intercept a session and replay it as many times you want to strictly - test your application (number 10, 11, 12, 22, etc.) - - verify if a router is well configured even if the needed computers are - down (number 48, ..., 53, etc.) - - check if your router/firewall/computer blocks - - IP protocols (number 29, ..., 34, etc.) - - IP options (number 29, ..., 34, 73, ..., 79, etc.), source routing - (number 45, 56, 59, 62, etc.) - - IP fragments (number 44, 55, 58, 61, 72, etc.) - - TCP options (number 48, ..., 53, etc.) - - ICMP types (number 65, ..., 70, etc.) - - ARP poisoning (number 80, 81, 82, 83, etc.) - - create a tcp/udp client with a special local port (number 85, 89, 86, 93, - 97, etc.) - - convert between numbers (number 139, ..., 148, etc.) - - etc. - -WWW: http://www.laurentconstantin.com/en/lcrzoex/ diff --git a/net-mgmt/netwox/pkg-message b/net-mgmt/netwox/pkg-message deleted file mode 100644 index 7eedc3dccc97..000000000000 --- a/net-mgmt/netwox/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ --------- -Check the online documentation in : -http://www.laurentconstantin.com/common/lcrzoex/doc/en/index.html --------- diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile deleted file mode 100644 index 046f91a81a33..000000000000 --- a/net-mgmt/nrpe2/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: nrpe -# Date created: 1 Aug 2002 -# Whom: Paul Dlug<paul@nerdlabs.com> -# -# $FreeBSD$ -# - -PORTNAME= nrpe -PORTVERSION= 1.9 -PORTREVISION= 0 -CATEGORIES= net-mgmt -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= nagios - -MAINTAINER= paul@nerdlabs.com -COMMENT= Nagios Remote Plugin Executor - -RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins - -GNU_CONFIGURE= yes - -CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \ - --sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe - ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe - ${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample - ${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh - -.include <bsd.port.mk> diff --git a/net-mgmt/nrpe2/distinfo b/net-mgmt/nrpe2/distinfo deleted file mode 100644 index 277ee47ae30f..000000000000 --- a/net-mgmt/nrpe2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (nrpe-1.9.tar.gz) = b4a5e00963f1aaa754ae877b9f921565 -SIZE (nrpe-1.9.tar.gz) = 41513 diff --git a/net-mgmt/nrpe2/pkg-descr b/net-mgmt/nrpe2/pkg-descr deleted file mode 100644 index ad2d2a4cee3f..000000000000 --- a/net-mgmt/nrpe2/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -nrpe is used to execute Nagios plugins on remote hosts and report the results -to the main Nagios server. From the Nagios homepage: - -Allows you to execute "local" plugins (like check_disk, check_procs, etc.) on -remote hosts. The check_nrpe plugin is called from Nagios and actually makes -the plugin requests to the remote host. Requires that nrpe be running on the -remote host (either as a standalone daemon or as a service under inetd). - -WWW: http://www.nagios.org/ diff --git a/net-mgmt/nrpe2/pkg-install b/net-mgmt/nrpe2/pkg-install deleted file mode 100644 index d40f64242dc6..000000000000 --- a/net-mgmt/nrpe2/pkg-install +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net-mgmt/nrpe2/Attic/pkg-install,v 1.1 2003-01-09 22:13:58 edwin Exp $ -# - -PKG_PREFIX=${PKG_PREFIX:=/usr/local} - -user=nagios -group=nagios - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -if [ x"$2" = xPRE-INSTALL ]; then - if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then - echo "You already have a group \"${group}\", so I will use it." - else - echo "You need a group \"${group}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw groupadd ${group} -h - || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if /usr/sbin/pw user show "${user}" 2>/dev/null; then - echo "You already have a user \"${user}\", so I will use it." - else - echo "You need a user \"${user}\"." - if yesno "Would you like me to create it" y; then - /usr/sbin/pw useradd ${user} -g ${group} -h - -d ${PKG_PREFIX}/var/nagios \ - -s /nonexistent -c "Nagios pseudo-user" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - -fi diff --git a/net-mgmt/nrpe2/pkg-plist b/net-mgmt/nrpe2/pkg-plist deleted file mode 100644 index fb4d15e163fc..000000000000 --- a/net-mgmt/nrpe2/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -sbin/nrpe -etc/nrpe.cfg-sample -etc/rc.d/nrpe.sh -libexec/nagios/check_nrpe diff --git a/net-mgmt/rancid-devel/Makefile b/net-mgmt/rancid-devel/Makefile deleted file mode 100644 index 43b88ca57085..000000000000 --- a/net-mgmt/rancid-devel/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# New ports collection makefile for: rancid -# Date created: 3 June 2002 -# Whom: Janos.Mohacsi@bsd.hu -# -# $FreeBSD$ -# - -PORTNAME= rancid -PORTVERSION= 2.3.r1 -PORTREVISION= 1 -CATEGORIES= net-mgmt -MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/ -DISTNAME= ${PORTNAME}-2.3.rc1 - -MAINTAINER= janos.mohacsi@bsd.hu -COMMENT= Really Awesome New Cisco confIg Differ - -BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect -RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \ - ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ - ${SITE_PERL}/LockFile/Simple.pm:${PORTSDIR}/devel/p5-LockFile-Simple - -USE_PERL5= yes -PKGMESSAGE= ${WRKDIR}/pkg-message -USE_GMAKE= yes -HAS_CONFIGURE= yes -CONFIGURE_ARGS= \ - --prefix=${PREFIX}/rancid - -MANPREFIX= ${PREFIX}/rancid - -MAN1= alogin.1 blogin.1 cat5rancid.1 clogin.1 control_rancid.1 \ - cssrancid.1 elogin.1 erancid.1 f10rancid.1 flogin.1 fnrancid.1 \ - francid.1 hlogin.1 hrancid.1 htlogin.1 htrancid.1 jerancid.1 \ - jlogin.1 jrancid.1 lg_intro.1 mrancid.1 nlogin.1 nrancid.1 \ - nslogin.1 nsrancid.1 par.1 prancid.1 rancid-cvs.1 rancid-run.1 \ - rancid.1 rancid_intro.1 rivlogin.1 rivrancid.1 tntlogin.1 \ - tntrancid.1 xrancid.1 zrancid.1 - -MAN5= lg.conf.5 cloginrc.5 rancid.conf.5 router.db.5 - -OLDCONFIG_FILE1= bin/env -OLDCONFIG_FILE2= util/lg/lg.conf -NEWCONFIG_FILES= etc/rancid.conf etc/lg.conf - -pre-everything:: - @ ${ECHO} "Make sure your rancid repository is quit before upgrading; disable rancid cron jobs" - -post-install: - @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/rancid:g" pkg-message >${PKGMESSAGE} -.if !defined(BATCH) - @ ${ECHO} - @ ${CAT} ${PKGMESSAGE} - @ ${ECHO} -.endif -.for file in ${NEWCONFIG_FILES} - @ if [ -f ${PREFIX}/rancid/${file} ] ; then \ - ${ECHO} "WARNING: *** new ${file} file is installed as ${PREFIX}/rancid/${file}.sample"; \ - ${ECHO} " : *** review ${file}.sample for new/deprecated switches or install in place ${file}"; \ - fi -.endfor - @ if [ -f ${PREFIX}/rancid/${OLDCONFIG_FILE1} ] ; then \ - ${ECHO} "WARNING: *** ${PREFIX}/rancid/${OLDCONFIG_FILE1} has been replaced with "; \ - ${ECHO} " : *** ${PREFIX}/rancid/etc/rancid.conf. Merge from sample and old file "; \ - fi - @ if [ -f ${PREFIX}/rancid/${OLDCONFIG_FILE2} ] ; then \ - ${ECHO} "WARNING: *** ${PREFIX}/rancid/${OLDCONFIG_FILE2} has been replaced with "; \ - ${ECHO} " : *** ${PREFIX}/rancid/etc/lg.conf. Merge from sample and old file "; \ - fi - @ if [ -f ${PREFIX}/rancid/${OLDCONFIG_FILE1} -o \ - -f ${PREFIX}/rancid/${OLDCONFIG_FILE2} ] ; then \ - ${ECHO} "WARNING: *** New CVS Repository will be stored ${PREFIX}/rancid/var "; \ - ${ECHO} " : *** Copy the repository if you want to keep the history "; \ - fi - -.include <bsd.port.mk> diff --git a/net-mgmt/rancid-devel/distinfo b/net-mgmt/rancid-devel/distinfo deleted file mode 100644 index 5f9b756bd5b4..000000000000 --- a/net-mgmt/rancid-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (rancid-2.3.rc1.tar.gz) = fb98161366fee76c879b4400805ec5bb -SIZE (rancid-2.3.rc1.tar.gz) = 269732 diff --git a/net-mgmt/rancid-devel/files/patch-etc::Makefile.am b/net-mgmt/rancid-devel/files/patch-etc::Makefile.am deleted file mode 100644 index e4805556c2c8..000000000000 --- a/net-mgmt/rancid-devel/files/patch-etc::Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ ---- etc/Makefile.am.orig Sun Jan 18 02:30:29 2004 -+++ etc/Makefile.am Sun Jan 18 02:32:16 2004 -@@ -29,24 +29,8 @@ - CLEANFILES= $(pkgdata_DATA) - - install-data-local: all -- @if test -f $(sysconfdir)/rancid.conf ; then \ -- echo ""; \ -- echo "WARNING: *** $(sysconfdir)/rancid.conf exists. See "; \ -- echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \ -- echo " *** examples."; \ -- echo ""; \ -- else \ -- $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/rancid.conf; \ -- fi; \ -- if test -f $(sysconfdir)/lg.conf ; then \ -- echo ""; \ -- echo "WARNING: *** $(sysconfdir)/lg.conf exists. See "; \ -- echo " *** $(pkgdatadir)/lg.conf.sample for new"; \ -- echo " *** examples."; \ -- echo ""; \ -- else \ -- $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/lg.conf; \ -- fi; -+ $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/ \ -+ $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/ - - #clean: - # rm -f Makefile rancid.conf $(BIN_DATAS) $(BIN_PROGS) diff --git a/net-mgmt/rancid-devel/files/patch-etc::Makefile.in b/net-mgmt/rancid-devel/files/patch-etc::Makefile.in deleted file mode 100644 index 1f78dfe1b6d5..000000000000 --- a/net-mgmt/rancid-devel/files/patch-etc::Makefile.in +++ /dev/null @@ -1,29 +0,0 @@ ---- etc/Makefile.in.orig Sun Jan 18 02:37:08 2004 -+++ etc/Makefile.in Sun Jan 18 02:38:03 2004 -@@ -342,24 +342,8 @@ - - - install-data-local: all -- @if test -f $(sysconfdir)/rancid.conf ; then \ -- echo ""; \ -- echo "WARNING: *** $(sysconfdir)/rancid.conf exists. See "; \ -- echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \ -- echo " *** examples."; \ -- echo ""; \ -- else \ -- $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/rancid.conf; \ -- fi; \ -- if test -f $(sysconfdir)/lg.conf ; then \ -- echo ""; \ -- echo "WARNING: *** $(sysconfdir)/lg.conf exists. See "; \ -- echo " *** $(pkgdatadir)/lg.conf.sample for new"; \ -- echo " *** examples."; \ -- echo ""; \ -- else \ -- $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/lg.conf; \ -- fi; -+ $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/; \ -+ $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/ - - lg.conf.sample: Makefile $(srcdir)/lg.conf.sample.in - rm -f lg.conf.sample lg.conf.sample.tmp; \ diff --git a/net-mgmt/rancid-devel/pkg-descr b/net-mgmt/rancid-devel/pkg-descr deleted file mode 100644 index 676fe9aae64c..000000000000 --- a/net-mgmt/rancid-devel/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -Rancid monitors a router's (or device's) configuration, including software -and hardware (cards, serial numbers, etc), using CVS. Rancid currently -supports Bay routers, Cisco routers, Juniper routers, Catalyst switches, -Foundry switches, Redback NASs, ADC EZT3 muxes, MRTd (and thus likely IRRd), -Alteon switches, HP procurve switches, Hitachi routers. - -Rancid logs into each of the devices in a router table file, runs various -commands, chomps the output, and emails any differences ( sample) from -the previous collection to a mail list. - -A looking glass is also included with rancid, based on Ed Kern's in use on -http://nitrous.digex.net/. Rancid version has added functions, supports cisco, - juniper, and foundry and uses the login scripts that come with rancid; -so it can use rsh, telnet, or ssh to connect to your router(s). - -WWW: http://www.shrubbery.net/rancid/ diff --git a/net-mgmt/rancid-devel/pkg-message b/net-mgmt/rancid-devel/pkg-message deleted file mode 100644 index 517216c88a5c..000000000000 --- a/net-mgmt/rancid-devel/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -For further configuration information please look at -%%INSTDIR%%/share/rancid/README. - -If you are upgrading from the previous version of rancid look at -%%INSTDIR%%/share/rancid/UPGRADING. - -If you would like to set up Rancid to be browseable from Web, -you need to install devel/cvsweb or devel/viewcvs. - -For rancid looking-glass copy the actual CGIs (located at -%%INSTDIR%%/bin/{lg.cgi lgform.cgi}) to your cgi-bin. diff --git a/net-mgmt/rancid-devel/pkg-plist b/net-mgmt/rancid-devel/pkg-plist deleted file mode 100644 index fc753236a97d..000000000000 --- a/net-mgmt/rancid-devel/pkg-plist +++ /dev/null @@ -1,72 +0,0 @@ -@exec mkdir -p %D/rancid/var -@exec chmod 775 %D/rancid/var -rancid/bin/alogin -rancid/bin/arancid -rancid/bin/blogin -rancid/bin/brancid -rancid/bin/cat5rancid -rancid/bin/clogin -rancid/bin/control_rancid -rancid/bin/cssrancid -rancid/bin/elogin -rancid/bin/erancid -rancid/bin/f10rancid -rancid/bin/flogin -rancid/bin/fnrancid -rancid/bin/francid -rancid/bin/hlogin -rancid/bin/hpuifilter -rancid/bin/hrancid -rancid/bin/htlogin -rancid/bin/htrancid -rancid/bin/jerancid -rancid/bin/jlogin -rancid/bin/jrancid -rancid/bin/lg.cgi -rancid/bin/lgform.cgi -rancid/bin/mrancid -rancid/bin/nlogin -rancid/bin/nrancid -rancid/bin/nslogin -rancid/bin/nsrancid -rancid/bin/par -rancid/bin/prancid -rancid/bin/rancid -rancid/bin/rancid-cvs -rancid/bin/rancid-fe -rancid/bin/rancid-run -rancid/bin/rivlogin -rancid/bin/rivrancid -rancid/bin/rrancid -rancid/bin/tntlogin -rancid/bin/tntrancid -rancid/bin/xrancid -rancid/bin/zrancid -rancid/etc/lg.conf.sample -rancid/etc/rancid.conf.sample -rancid/share/rancid/CHANGES -rancid/share/rancid/COPYING -rancid/share/rancid/FAQ -rancid/share/rancid/README -rancid/share/rancid/README.lg -rancid/share/rancid/README.misc -rancid/share/rancid/UPGRADING -rancid/share/rancid/cisco-load.exp -rancid/share/rancid/cisco-reload.exp -rancid/share/rancid/cloginrc.sample -rancid/share/rancid/downreport -rancid/share/rancid/getipacctg -rancid/share/rancid/index.html -rancid/share/rancid/lg.conf.sample -rancid/share/rancid/lgnotes.html -rancid/share/rancid/rancid.conf.sample -rancid/share/rancid/rtrfilter -@dirrm rancid/share/rancid -@dirrm rancid/share -@dirrm rancid/var -@dirrm rancid/etc -@dirrm rancid/bin -@dirrm rancid/man/man1 -@dirrm rancid/man/man5 -@dirrm rancid/man -@dirrm rancid diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile deleted file mode 100644 index 9be49e310bf9..000000000000 --- a/net-mgmt/smokeping/Makefile +++ /dev/null @@ -1,168 +0,0 @@ -# New ports collection makefile for: SmokePing -# Date created: Tue Feb 12 22:17:40 CET 2002 -# Whom: Lars Thegler <lars@thegler.dk> -# -# $FreeBSD$ -# - -PORTNAME= smokeping -PORTVERSION= 1.28 -CATEGORIES= net www -MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/ - -MAINTAINER= lars@thegler.dk -COMMENT= Latency logging and graphing system - -RUN_DEPENDS= rrdtool:${PORTSDIR}/net/rrdtool \ - ${SITE_PERL}/CGI/SpeedyCGI.pm:${PORTSDIR}/www/p5-CGI-SpeedyCGI \ - ${SITE_PERL}/BER.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ - ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ - ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \ - ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net - -OPTIONS= FPING "Support for fping probes" on -OPTIONS+= ECHOPING "Support for EchoPing probes" off -OPTIONS+= CURL "Support for Curl probes" off -OPTIONS+= LDAP "Support for LDAP probes" off -OPTIONS+= RADIUS "Support for Radius probes" off - -.include <bsd.port.pre.mk> - -.ifdef(WITH_FPING) -RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping -.endif - -.ifdef(WITH_ECHOPING) -RUN_DEPENDS+= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping -.endif - -.ifdef(WITH_CURL) -RUN_DEPENDS+= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl -.endif - -.ifdef(WITH_LDAP) -RUN_DEPENDS+= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap -.endif - -.ifdef(WITH_RADIUS) -RUN_DEPENDS+= ${SITE_PERL}/Authen/Radius.pm:${PORTSDIR}/security/p5-Authen-Radius -.endif - -.if defined(WITH_LDAP) || defined(WITH_RADIUS) -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes -.endif - -NO_BUILD= yes -USE_REINPLACE= yes -USE_PERL5= yes - -MAN1= CiscoRTTMonDNS.pm.1 CiscoRTTMonEchoICMP.pm.1 CiscoRTTMonTcpConnect.pm.1 \ - Curl.pm.1 DNS.pm.1 EchoPing.pm.1 EchoPingChargen.pm.1 EchoPingDiscard.pm.1 \ - EchoPingHttp.pm.1 EchoPingHttps.pm.1 EchoPingIcp.pm.1 EchoPingSmtp.pm.1 \ - FPing.pm.1 FPing6.pm.1 IOSPing.pm.1 ParseConfig.pm.1 RemoteFPing.pm.1 \ - Smokeping.pm.1 base.pm.1 basefork.pm.1 basevars.pm.1 smokeping.1 \ - smokeping.cgi.1 smokeping_config.1 smokeping_install.1 telnetIOSPing.pm.1 - -PKGMESSAGE= ${WRKDIR}/pkg-message -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${WRKDIR}/pkg-deinstall - -USER= smokeping -GROUP= smokeping -WWW_USER= www -WWW_UID= 80 -WWW_GROUP= www -WWW_GID= 80 - -FILES_SUB= USER=${USER} GROUP=${GROUP} \ - WWW_USER=${WWW_USER} WWW_UID=${WWW_UID} \ - WWW_GROUP=${WWW_GROUP} WWW_GID=${WWW_GID} \ - PERL=${PERL} PREFIX=${PREFIX} - -DOC1= CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO -DOC2= CiscoRTTMonDNS.pm CiscoRTTMonEchoICMP.pm CiscoRTTMonTcpConnect.pm \ - Curl.pm DNS.pm EchoPing.pm EchoPingChargen.pm EchoPingDiscard.pm \ - EchoPingHttp.pm EchoPingHttps.pm EchoPingIcp.pm EchoPingSmtp.pm \ - FPing.pm FPing6.pm IOSPing.pm ParseConfig.pm RemoteFPing.pm Smokeping.pm \ - base.pm basefork.pm basevars.pm smokeping.cgi \ - smokeping smokeping_config smokeping_install telnetIOSPing.pm -ETC1= basepage.html config smokemail config-echoping - -# Things that shouldn't have been in the tarball in the first place -post-extract: - @${RM} ${WRKSRC}/lib/BER.pm - @${RM} ${WRKSRC}/lib/SNMP_*.pm - @${RM} ${WRKSRC}/lib/probes/patch - @${RM} ${WRKSRC}/lib/Smokeping.pm.orig - @${RM} ${WRKSRC}/lib/Smokeping.pm.rej - -post-patch: - @${FIND} ${WRKSRC} -name \*.orig -delete - -pre-configure: - @${REINPLACE_CMD} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/bin/smokeping.dist \ - ${WRKSRC}/htdocs/smokeping.cgi.dist \ - ${WRKSRC}/etc/config.dist \ - ${WRKSRC}/lib/probes/*.pm - @${FIND} ${WRKSRC} -name \*.bak -delete - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${PKGDIR}/pkg-message > ${PKGMESSAGE} - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${PKGDIR}/pkg-install > ${PKGINSTALL} - @${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${PKGDIR}/pkg-deinstall > ${PKGDEINSTALL} - @${MV} ${WRKSRC}/bin/smokeping.dist ${WRKSRC}/bin/smokeping - @${MV} ${WRKSRC}/htdocs/smokeping.cgi.dist ${WRKSRC}/htdocs/smokeping.cgi - -# work around a bug in bsd.port.mk, see PR 63293 - remove when resolved -do-build: - @${DO_NADA} - -pre-su-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping ${PREFIX}/bin -.if !defined(NOPORTDOCS) -.for FILE in ${MAN1} - @${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${PREFIX}/man/man1 -.endfor - @${MKDIR} ${DOCSDIR} -.for FILE in ${DOC1} - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor -.for FILE in ${DOC2} - @${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.html ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/${FILE}.txt ${DOCSDIR} -.endfor -.endif - @${MKDIR} ${PREFIX}/etc/smokeping -.for FILE in ${ETC1} - @${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping - @if [ ! -f ${PREFIX}/etc/smokeping/${FILE} ]; then \ - ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \ - fi -.endfor - @${MKDIR} ${PREFIX}/smokeping - @${CP} -Rp ${WRKSRC}/[hl]* ${PREFIX}/smokeping/ - @${MKDIR} ${PREFIX}/var/smokeping - @${CHOWN} ${USER}:${GROUP} ${PREFIX}/var/smokeping - @${MKDIR} ${PREFIX}/smokeping/htdocs/img - @${CHOWN} ${WWW_USER}:${WWW_GROUP} ${PREFIX}/smokeping/htdocs/img - @if [ ! -f ${PREFIX}/etc/rc.d/smokeping.sh ]; then \ - ${ECHO} "Installing ${PREFIX}/etc/rc.d/smokeping.sh startup file."; \ - ${INSTALL_SCRIPT} ${FILESDIR}/smokeping.sh ${PREFIX}/etc/rc.d/smokeping.sh; \ - fi - -post-install: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if !defined(BATCH) - @${CAT} ${PKGMESSAGE} -.endif - -post-deinstall: - @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL - -.include <bsd.port.post.mk> diff --git a/net-mgmt/smokeping/distinfo b/net-mgmt/smokeping/distinfo deleted file mode 100644 index 784497ab4094..000000000000 --- a/net-mgmt/smokeping/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (smokeping-1.28.tar.gz) = c6f6b03e917c4b04d2079bff0aee6b35 -SIZE (smokeping-1.28.tar.gz) = 214564 diff --git a/net-mgmt/smokeping/files/patch-bin-smokeping.dist b/net-mgmt/smokeping/files/patch-bin-smokeping.dist deleted file mode 100644 index e605d1fa2b94..000000000000 --- a/net-mgmt/smokeping/files/patch-bin-smokeping.dist +++ /dev/null @@ -1,45 +0,0 @@ ---- bin/smokeping.dist.orig Sun Jan 18 15:48:21 2004 -+++ bin/smokeping.dist Sun Jan 18 15:52:40 2004 -@@ -1,14 +1,11 @@ --#!/usr/sepp/bin/perl -w -+#!%%PERL%% -w - # -*-perl-*- - --use lib qw(/home/oetiker/data/projects/AABN-rrdtool/perl-shared/blib/lib); --use lib qw(/home/oetiker/data/projects/AABN-rrdtool/perl-shared/blib/arch); --use lib qw(/usr/pack/rrdtool-1.0.40-ds/lib/perl/5.8.0); --use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib); -+use lib qw(%%PREFIX%%/smokeping/lib); - - use Smokeping 1.28; - --Smokeping::main("etc/config.dist"); -+Smokeping::main("%%PREFIX%%/etc/smokeping/config"); - - =head1 NAME - -@@ -86,22 +83,8 @@ - - =head1 SETUP - --When installing SmokePing, this file has to be adjusted to fit your --local system. Three paths have to be entered. -- --One pointing to your B<rrdtool> installation -- -- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); -- --One pointing to the place where you have installed the SmokePing libraries -- -- use lib qw(/home/oetiker/public_html/smokeping/lib); -- --The third path is the argument to the Smokeping::main command. It points to --the SmokePing configuration file. -- -- use Smokeping; -- Smokeping::main("/home/oetiker/.smokeping/config"); -+When installing SmokePing, this file has been adjusted to fit your -+local system. There should be no need for further path adjustments. - - =head1 COPYRIGHT - diff --git a/net-mgmt/smokeping/files/patch-etc-config.dist b/net-mgmt/smokeping/files/patch-etc-config.dist deleted file mode 100644 index 56ab47555974..000000000000 --- a/net-mgmt/smokeping/files/patch-etc-config.dist +++ /dev/null @@ -1,40 +0,0 @@ ---- etc/config.dist.orig Sun Jan 18 15:55:11 2004 -+++ etc/config.dist Sun Jan 18 15:57:10 2004 -@@ -7,13 +7,13 @@ - owner = Joe Random - contact = joe@some.place.xyz - mailhost = smtp.mailhost.abc --sendmail = /usr/lib/sendmail --imgcache = /home/oetiker/public_html/.simg --imgurl = ../.simg --datadir = /home/oetiker/data/projects/AADJ-smokeping/dist/var --piddir = /home/oetiker/data/projects/AADJ-smokeping/dist/var -+sendmail = /usr/sbin/sendmail -+imgcache = %%PREFIX%%/smokeping/htdocs/img -+imgurl = /smokeimg -+datadir = %%PREFIX%%/var/smokeping -+piddir = %%PREFIX%%/var/smokeping - cgiurl = http://people.ee.ethz.ch/~oetiker/smokeping/smokeping.cgi --smokemail = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/smokemail.dist -+smokemail = %%PREFIX%%/etc/smokeping/smokemail - # specify this to get syslog logging - # syslogfacility = local0 - -@@ -63,7 +63,7 @@ - - *** Presentation *** - --template = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/basepage.html.dist -+template = %%PREFIX%%/etc/smokeping/basepage.html - - + overview - -@@ -86,7 +86,7 @@ - - + FPing - --binary = /usr/sepp/bin/fping -+binary = %%PREFIX%%/sbin/fping - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-htdocs-smokeping.cgi.dist b/net-mgmt/smokeping/files/patch-htdocs-smokeping.cgi.dist deleted file mode 100644 index 8ce80c407559..000000000000 --- a/net-mgmt/smokeping/files/patch-htdocs-smokeping.cgi.dist +++ /dev/null @@ -1,18 +0,0 @@ ---- htdocs/smokeping.cgi.dist.orig Sun Oct 5 16:20:06 2003 -+++ htdocs/smokeping.cgi.dist Sun Jan 11 18:03:19 2004 -@@ -1,12 +1,11 @@ --#!/usr/sepp/bin/speedy -w -+#!%%PREFIX%%/bin/speedy -w - # -*-perl-*- - --use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); --use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib); -+use lib qw(%%PREFIX%%/smokeping/lib); - - use Smokeping 1.28; - --Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); -+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config"); - - - BEGIN { diff --git a/net-mgmt/smokeping/files/patch-lib-probes-Curl.pm b/net-mgmt/smokeping/files/patch-lib-probes-Curl.pm deleted file mode 100644 index 0dfe8a9f7e2d..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-Curl.pm +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/probes/Curl.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/Curl.pm Sun Jan 11 18:06:12 2004 -@@ -1,6 +1,6 @@ - package probes::Curl; - --my $DEFAULTBIN = "/usr/bin/curl"; -+my $DEFAULTBIN = "%%PREFIX%%/bin/curl"; - - =head1 NAME - -@@ -15,7 +15,7 @@ - *** Probes *** - + Curl - -- binary = /usr/bin/curl # default value -+ binary = %%PREFIX%%/bin/curl # default value - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm deleted file mode 100644 index bd90fa1f9950..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/probes/EchoPing.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPing.pm Sun Jan 11 18:06:12 2004 -@@ -1,6 +1,6 @@ - package probes::EchoPing; - --my $DEFAULTBIN = "/usr/bin/echoping"; -+my $DEFAULTBIN = "%%PREFIX%%/bin/echoping"; - - =head1 NAME - -@@ -16,7 +16,7 @@ - *** Probes *** - + EchoPing - -- binary = /usr/bin/echoping # default value -+ binary = %%PREFIX%%/bin/echoping # default value - - *** Targets *** - -@@ -105,7 +105,7 @@ - - The location of the echoping binary should probably be a global variable - instead of a probe-specific one. As things are, every EchoPing -derived probe --has to declare it if the default (/usr/bin/echoping) isn't correct. -+has to declare it if the default (%%PREFIX%%/bin/echoping) isn't correct. - - =head1 AUTHOR - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingChargen.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingChargen.pm deleted file mode 100644 index 29305add431e..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingChargen.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingChargen.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingChargen.pm Sun Jan 11 18:06:12 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + EchoPingChargen - -- binary = /usr/bin/echoping -+ binary = %%PREFIX%%/bin/echoping - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingDiscard.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingDiscard.pm deleted file mode 100644 index fe12d1194750..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingDiscard.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingDiscard.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingDiscard.pm Sun Jan 11 18:06:12 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + EchoPingDiscard - -- binary = /usr/bin/echoping -+ binary = %%PREFIX%%/bin/echoping - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttp.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttp.pm deleted file mode 100644 index 43aa1a403214..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttp.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingHttp.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingHttp.pm Sun Jan 11 18:06:12 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + EchoPingHttp - -- binary = /usr/bin/echoping # mandatory -+ binary = %%PREFIX%%/bin/echoping # mandatory - - - *** Targets *** diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttps.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttps.pm deleted file mode 100644 index e8d7036cb5db..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingHttps.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingHttps.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingHttps.pm Sun Jan 11 18:06:12 2004 -@@ -14,7 +14,7 @@ - *** Probes *** - + EchoPingHttps - -- binary = /usr/bin/echoping # mandatory -+ binary = %%PREFIX%%/bin/echoping # mandatory - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingIcp.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingIcp.pm deleted file mode 100644 index 60d762c3452b..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingIcp.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingIcp.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingIcp.pm Sun Jan 11 18:06:12 2004 -@@ -14,7 +14,7 @@ - *** Probes *** - + EchoPingIcp - -- binary = /usr/bin/echoping # mandatory -+ binary = %%PREFIX%%/bin/echoping # mandatory - - *** Targets *** - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingSmtp.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPingSmtp.pm deleted file mode 100644 index bf4fa61ea529..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-EchoPingSmtp.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/EchoPingSmtp.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/EchoPingSmtp.pm Sun Jan 11 18:06:12 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + EchoPingSmtp - -- binary = /usr/bin/echoping # mandatory -+ binary = %%PREFIX%%/bin/echoping # mandatory - - *** Targets *** - probe = EchoPingSmtp diff --git a/net-mgmt/smokeping/files/patch-lib-probes-IOSPing.pm b/net-mgmt/smokeping/files/patch-lib-probes-IOSPing.pm deleted file mode 100644 index 4868b7864d2c..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-IOSPing.pm +++ /dev/null @@ -1,22 +0,0 @@ ---- lib/probes/IOSPing.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/IOSPing.pm Sun Jan 11 18:06:12 2004 -@@ -8,7 +8,7 @@ - - *** Probes *** - + IOSPing -- binary = /usr/bin/remsh -+ binary = %%PREFIX%%/bin/remsh - packetsize = 1024 - forks = 1 - -@@ -27,8 +27,8 @@ - The binary and ioshost options are mandatory. - - The binary option specifies the path of the binary to be used to --connect to the IOS device. Commonly used binaries are /usr/bin/rsh --and /usr/bin/remsh, although any script or binary should work if can -+connect to the IOS device. Commonly used binaries are %%PREFIX%%/bin/rsh -+and %%PREFIX%%/bin/remsh, although any script or binary should work if can - be called as - - /path/to/binary [ -l user ] router ping diff --git a/net-mgmt/smokeping/files/patch-lib-probes-LDAP.pm b/net-mgmt/smokeping/files/patch-lib-probes-LDAP.pm deleted file mode 100644 index d66dadf4c561..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-LDAP.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/LDAP.pm.orig Fri Feb 20 00:28:14 2004 -+++ lib/probes/LDAP.pm Fri Feb 20 00:28:44 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + LDAP - -- passwordfile = /usr/share/smokeping/etc/password # optional -+ passwordfile = %%PREFIX%%/etc/smokeping/password # optional - sleeptime = 0.5 # optional, 1 second by default - - *** Targets *** diff --git a/net-mgmt/smokeping/files/patch-lib-probes-Radius.pm b/net-mgmt/smokeping/files/patch-lib-probes-Radius.pm deleted file mode 100644 index 0e25c7ebe52a..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-Radius.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/Radius.pm.orig Fri Feb 20 00:29:00 2004 -+++ lib/probes/Radius.pm Fri Feb 20 00:29:21 2004 -@@ -13,7 +13,7 @@ - *** Probes *** - + Radius - -- passwordfile = /usr/share/smokeping/etc/password -+ passwordfile = %%PREFIX%%/etc/smokeping/password - secretfile = /etc/raddb/secret - sleeptime = 0.5 # optional, 1 second by default - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-RemoteFPing.pm b/net-mgmt/smokeping/files/patch-lib-probes-RemoteFPing.pm deleted file mode 100644 index b88f9a593335..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-RemoteFPing.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/RemoteFPing.pm.orig Sun Jan 11 18:06:12 2004 -+++ lib/probes/RemoteFPing.pm Sun Jan 11 18:06:12 2004 -@@ -8,7 +8,7 @@ - - *** Probes *** - + RemoteFPing -- binary = /usr/bin/ssh -+ binary = %%PREFIX%%/bin/ssh - packetsize = 1024 - forks = 1 - diff --git a/net-mgmt/smokeping/files/patch-lib-probes-passwordchecker.pm b/net-mgmt/smokeping/files/patch-lib-probes-passwordchecker.pm deleted file mode 100644 index 031a03089d9a..000000000000 --- a/net-mgmt/smokeping/files/patch-lib-probes-passwordchecker.pm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/probes/passwordchecker.pm.orig Fri Feb 20 00:29:34 2004 -+++ lib/probes/passwordchecker.pm Fri Feb 20 00:29:55 2004 -@@ -16,7 +16,7 @@ - *** Probes *** - + MyPasswordChecker - # location of the file containing usernames and passwords -- passwordfile = /usr/share/smokeping/etc/passwords -+ passwordfile = %%PREFIX%%/etc/smokeping/passwords - - The specified password file: - diff --git a/net-mgmt/smokeping/files/smokeping.sh b/net-mgmt/smokeping/files/smokeping.sh deleted file mode 100644 index e47e7470d6d2..000000000000 --- a/net-mgmt/smokeping/files/smokeping.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi - -case "$1" in -start) - [ -r ${PREFIX}/etc/smokeping/config ] && \ - su -f -m smokeping -c ${PREFIX}/bin/smokeping > /dev/null && \ - echo -n ' smokeping' - ;; -restart) - [ -r ${PREFIX}/etc/smokeping/config ] && \ - su -f -m smokeping -c "${PREFIX}/bin/smokeping --restart" > /dev/null && \ - echo -n ' smokeping' - ;; -stop) - [ -r ${PREFIX}/var/smokeping/smokeping.pid ] && \ - su -f -m smokeping -c "kill `cat ${PREFIX}/var/smokeping/smokeping.pid`" > /dev/null && \ - echo -n ' smokeping' - ;; -*) - echo "Usage: `basename $0` {start|restart|stop}" >&2 - ;; -esac - -exit 0 diff --git a/net-mgmt/smokeping/pkg-deinstall b/net-mgmt/smokeping/pkg-deinstall deleted file mode 100644 index e02852135496..000000000000 --- a/net-mgmt/smokeping/pkg-deinstall +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -echo 'Stopping Smokeping daemon.' -if [ -f ${PKG_PREFIX}/var/smokeping/smokeping.pid ]; then - if [ -x ${PKG_PREFIX}/etc/rc.d/smokeping.sh ]; then - ${PKG_PREFIX}/etc/rc.d/smokeping.sh stop > /dev/null - fi - rm ${PKG_PREFIX}/var/smokeping/smokeping.pid -fi - -case $2 in -POST-DEINSTALL) - - if [ ! -n "$BATCH" ]; then - - if [ -d ${PKG_PREFIX}/etc/smokeping -o -d ${PKG_PREFIX}/var/smokeping ]; then - echo '=================================================================' - echo - echo 'You seem to have some custom config and data.' - echo 'The "%%USER%%" user and "%%GROUP%%" group were therefore not deleted.' - echo - echo 'You may delete them with:' - echo - echo ' pw groupdel %%GROUP%%' - echo ' pw userdel %%USER%%' - echo - echo 'The config and data can be deleted with:' - echo - echo " rm -R ${PKG_PREFIX}/etc/smokeping" - echo " rm -R ${PKG_PREFIX}/var/smokeping" - echo - echo '=================================================================' - else - if pw groupdel -n %%GROUP%%; then - echo 'Removed group "%%GROUP%%".' - else - echo 'Removing group "%%GROUP%%" failed...' - exit 1 - fi - - if pw userdel -n %%USER%%; then - echo 'Removed user "%%USER%%".' - else - echo 'Removing user "%%USER%%" failed...' - exit 1 - fi - fi - fi - - exit 0 - ;; -esac diff --git a/net-mgmt/smokeping/pkg-descr b/net-mgmt/smokeping/pkg-descr deleted file mode 100644 index 0361624e771e..000000000000 --- a/net-mgmt/smokeping/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -SmokePing is a latency logging and graphing system. It consists of a -daemon process which organizes the latency measurements and a CGI -which presents the graphs. - -WWW: http://people.ee.ethz.ch/~oetiker/webtools/smokeping - ---lars -lars@thegler.dk diff --git a/net-mgmt/smokeping/pkg-install b/net-mgmt/smokeping/pkg-install deleted file mode 100644 index d6d1620de394..000000000000 --- a/net-mgmt/smokeping/pkg-install +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# - -case $2 in -PRE-INSTALL) - if ! pw groupshow %%WWW_GROUP%% 2>/dev/null 1>&2; then - if pw groupadd %%WWW_GROUP%% -g %%WWW_GID%%; then - echo 'Added group "%%WWW_GROUP%%".' - else - echo 'Adding group "%%WWW_GROUP%%" failed...' - exit 1 - fi - fi - - if ! pw usershow %%WWW_USER%% 2>/dev/null 1>&2; then - if pw useradd %%WWW_USER%% -u %%WWW_UID%% -g %%WWW_GROUP%% -h - \ - -s /sbin/nologin -d /nonexistent \ - -c "World Wide Web Owner"; \ - then - echo 'Added user "%%WWW_USER%%".' - else - echo 'Adding user "%%WWW_USER%%" failed...' - exit 1 - fi - fi - - if ! pw groupshow %%GROUP%% 2>/dev/null 1>&2; then - if pw groupadd %%GROUP%%; then - echo 'Added group "%%GROUP%%".' - else - echo 'Adding group "%%GROUP%%" failed...' - exit 1 - fi - fi - - if ! pw usershow %%USER%% 2>/dev/null 1>&2; then - if pw useradd %%USER%% -g %%GROUP%% -h - \ - -s /nonexistent -c "SmokePing Daemon"; \ - then - echo 'Added user "%%USER%%".' - else - echo 'Adding user "%%USER%%" failed...' - exit 1 - fi - fi - - exit 0 - ;; -esac - diff --git a/net-mgmt/smokeping/pkg-message b/net-mgmt/smokeping/pkg-message deleted file mode 100644 index ba60a0827b61..000000000000 --- a/net-mgmt/smokeping/pkg-message +++ /dev/null @@ -1,31 +0,0 @@ -================================================================= - -SmokePing has now been installed in %%PREFIX%%/smokeping/. - -NOTE: A set of sample configuration files have been installed: - - %%PREFIX%%/etc/smokeping/config - %%PREFIX%%/etc/smokeping/smokemail - %%PREFIX%%/etc/smokeping/basepage.html - %%PREFIX%%/etc/smokeping/config-echoping - -You *MUST* edit these to suit your requirements. Please refer to -%%PREFIX%%/share/doc/smokeping/smokeping_install.txt and -%%PREFIX%%/share/doc/smokeping/smokeping_config.txt for further -details on installation and configuration. - - -Once configured, you can start SmokePing data collection by running: - - %%PREFIX%%/etc/rc.d/smokeping.sh start - - -To enable Apache web access, add the following to your -%%PREFIX%%/etc/apache/httpd.conf: - - ScriptAlias /smokeping.cgi %%PREFIX%%/smokeping/htdocs/smokeping.cgi - Alias /smokeimg/ %%PREFIX%%/smokeping/htdocs/img/ - -Enjoy! - -================================================================= diff --git a/net-mgmt/smokeping/pkg-plist b/net-mgmt/smokeping/pkg-plist deleted file mode 100644 index 78a4bd8b24fa..000000000000 --- a/net-mgmt/smokeping/pkg-plist +++ /dev/null @@ -1,111 +0,0 @@ -bin/smokeping -etc/rc.d/smokeping.sh -@unexec if cmp -s %D/etc/smokeping/basepage.html %D/etc/smokeping/basepage.html.dist; then rm -f %D/etc/smokeping/basepage.html; fi -etc/smokeping/basepage.html.dist -@exec [ -f %B/basepage.html ] || cp %B/%f %B/basepage.html -@unexec if cmp -s %D/etc/smokeping/config %D/etc/smokeping/config.dist; then rm -f %D/etc/smokeping/config; fi -etc/smokeping/config.dist -@exec [ -f %B/config ] || cp %B/%f %B/config -@unexec if cmp -s %D/etc/smokeping/smokemail %D/etc/smokeping/smokemail.dist; then rm -f %D/etc/smokeping/smokemail; fi -etc/smokeping/smokemail.dist -@exec [ -f %B/smokemail ] || cp %B/%f %B/smokemail -@unexec if cmp -s %D/etc/smokeping/config-echoping %D/etc/smokeping/config-echoping.dist; then rm -f %D/etc/smokeping/config-echoping; fi -etc/smokeping/config-echoping.dist -@exec [ -f %B/config-echoping ] || cp %B/%f %B/config-echoping -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonDNS.pm.html -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonDNS.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonEchoICMP.pm.html -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonEchoICMP.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonTcpConnect.pm.html -%%PORTDOCS%%%%DOCSDIR%%/CiscoRTTMonTcpConnect.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.html -%%PORTDOCS%%%%DOCSDIR%%/Curl.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/DNS.pm.html -%%PORTDOCS%%%%DOCSDIR%%/DNS.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPing.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPing.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingChargen.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingChargen.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingDiscard.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingDiscard.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingHttp.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingHttp.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingHttps.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingHttps.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingIcp.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingIcp.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/EchoPingSmtp.pm.html -%%PORTDOCS%%%%DOCSDIR%%/EchoPingSmtp.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/FPing.pm.html -%%PORTDOCS%%%%DOCSDIR%%/FPing.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/FPing6.pm.html -%%PORTDOCS%%%%DOCSDIR%%/FPing6.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/IOSPing.pm.html -%%PORTDOCS%%%%DOCSDIR%%/IOSPing.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/ParseConfig.pm.html -%%PORTDOCS%%%%DOCSDIR%%/ParseConfig.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/RemoteFPing.pm.html -%%PORTDOCS%%%%DOCSDIR%%/RemoteFPing.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/Smokeping.pm.html -%%PORTDOCS%%%%DOCSDIR%%/Smokeping.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/base.pm.html -%%PORTDOCS%%%%DOCSDIR%%/base.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/basefork.pm.html -%%PORTDOCS%%%%DOCSDIR%%/basefork.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/basevars.pm.html -%%PORTDOCS%%%%DOCSDIR%%/basevars.pm.txt -%%PORTDOCS%%%%DOCSDIR%%/smokeping.cgi.html -%%PORTDOCS%%%%DOCSDIR%%/smokeping.cgi.txt -%%PORTDOCS%%%%DOCSDIR%%/smokeping.html -%%PORTDOCS%%%%DOCSDIR%%/smokeping.txt -%%PORTDOCS%%%%DOCSDIR%%/smokeping_config.html -%%PORTDOCS%%%%DOCSDIR%%/smokeping_config.txt -%%PORTDOCS%%%%DOCSDIR%%/smokeping_install.html -%%PORTDOCS%%%%DOCSDIR%%/smokeping_install.txt -%%PORTDOCS%%%%DOCSDIR%%/telnetIOSPing.pm.html -%%PORTDOCS%%%%DOCSDIR%%/telnetIOSPing.pm.txt -smokeping/htdocs/smokeping.cgi -smokeping/lib/ISG/ParseConfig.pm -smokeping/lib/Smokeping.pm -smokeping/lib/ciscoRttMonMIB.pm -smokeping/lib/probes/CiscoRTTMonDNS.pm -smokeping/lib/probes/CiscoRTTMonEchoICMP.pm -smokeping/lib/probes/CiscoRTTMonTcpConnect.pm -smokeping/lib/probes/Curl.pm -smokeping/lib/probes/DNS.pm -smokeping/lib/probes/EchoPing.pm -smokeping/lib/probes/EchoPingChargen.pm -smokeping/lib/probes/EchoPingDiscard.pm -smokeping/lib/probes/EchoPingHttp.pm -smokeping/lib/probes/EchoPingHttps.pm -smokeping/lib/probes/EchoPingIcp.pm -smokeping/lib/probes/EchoPingSmtp.pm -smokeping/lib/probes/FPing.pm -smokeping/lib/probes/FPing6.pm -smokeping/lib/probes/IOSPing.pm -smokeping/lib/probes/LDAP.pm -smokeping/lib/probes/Radius.pm -smokeping/lib/probes/RemoteFPing.pm -smokeping/lib/probes/base.pm -smokeping/lib/probes/basefork.pm -smokeping/lib/probes/basevars.pm -smokeping/lib/probes/passwordchecker.pm -smokeping/lib/probes/telnetIOSPing.pm -@unexec rmdir %D/etc/smokeping 2>/dev/null || true -@exec mkdir -p %D/smokeping/htdocs/img; chown www:www %D/smokeping/htdocs/img -@unexec rm -rf %D/smokeping/htdocs/img 2>/dev/null || true -@exec mkdir -p %D/var/smokeping -@exec chown smokeping:smokeping %D/var/smokeping -@unexec rmdir %D/var/smokeping 2>/dev/null || true -@dirrm smokeping/htdocs -@dirrm smokeping/lib/probes -@dirrm smokeping/lib/ISG -@dirrm smokeping/lib -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@unexec rmdir %D/smokeping 2>/dev/null || true diff --git a/net-mgmt/zabbix-agent/Makefile b/net-mgmt/zabbix-agent/Makefile deleted file mode 100644 index 6f3ffefd272e..000000000000 --- a/net-mgmt/zabbix-agent/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# Ports collection makefile for: zabbix -# Date created: Jun 18 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= zabbix-agent -CATEGORIES= net - -MAINTAINER= asa@gascom.ru -COMMENT= Very advanced network monitoring system (agent only) - -ZABBIX_AGENT_ONLY=yes -MASTERDIR= ${.CURDIR}/../../net-mgmt/zabbix - -BROKEN= "Configure fails" - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix2-agent/Makefile b/net-mgmt/zabbix2-agent/Makefile deleted file mode 100644 index 6f3ffefd272e..000000000000 --- a/net-mgmt/zabbix2-agent/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# Ports collection makefile for: zabbix -# Date created: Jun 18 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= zabbix-agent -CATEGORIES= net - -MAINTAINER= asa@gascom.ru -COMMENT= Very advanced network monitoring system (agent only) - -ZABBIX_AGENT_ONLY=yes -MASTERDIR= ${.CURDIR}/../../net-mgmt/zabbix - -BROKEN= "Configure fails" - -.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile deleted file mode 100644 index 85a6be806e0b..000000000000 --- a/net-mgmt/zabbix2/Makefile +++ /dev/null @@ -1,119 +0,0 @@ -# Ports collection makefile for: zabbix -# Date created: Jun 18 2003 -# Whom: Sergey Akifyev <asa@gascom.ru> -# -# $FreeBSD$ -# - -PORTNAME= zabbix -PORTVERSION= 1.0 -PORTEPOCH= 1 -CATEGORIES?= net-mgmt -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} - -MAINTAINER= asa@gascom.ru -COMMENT= Very advanced network monitoring system - -.ifndef(ZABBIX_AGENT_ONLY) -OPTIONS= PGSQL "Use a PostgreSQL backend" off \ - MYSQL "Use a MySQL backend" on \ - FPING "Use fping for pinging hosts" on -.endif - -.include <bsd.port.pre.mk> - -.ifdef(ZABBIX_AGENT_ONLY) -PKGNAMESUFFIX= -agent -PLIST= ${MASTERDIR}/pkg-plist.agent -PKGMESSAGE= nonexistent -.else # ZABBIX_AGENT_ONLY -LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp -RUN_DEPENDS= php:${PORTSDIR}/lang/php4-nms -.endif # ZABBIX_AGENT_ONLY - -.ifndef(WITHOUT_FPING) -RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping -.endif - -.ifndef(ZABBIX_AGENT_ONLY) -.ifndef(WITH_PGSQL) -.ifdef(WITHOUT_MYSQL) -IGNORE= You should configure to use either a MySQL or PostgreSQL backend -.endif -.endif -.endif - -.ifdef(WITH_PGSQL) -CONFIGURE_ARGS+=--with-pgsql -LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql-client -.endif -.ifndef(WITHOUT_MYSQL) -USE_MYSQL= yes -CONFIGURE_ARGS= --with-mysql -.endif -CONFIGURE_ARGS+=--with-net-snmp -PKGMESSAGE= ${WRKDIR}/pkg-message - -USE_REINPLACE= yes -USE_RC_SUBR= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include - -ZABBIX_BINARIES= zabbix_agent zabbix_agentd zabbix_sender -ZABBIX_CONFIGS= zabbix_agent.conf zabbix_agentd.conf -.ifndef(ZABBIX_AGENT_ONLY) -ZABBIX_BINARIES+= zabbix_suckerd zabbix_trapper zabbix_trapperd -ZABBIX_CONFIGS+= zabbix_suckerd.conf zabbix_trapper.conf zabbix_trapperd.conf -.endif - -SCRIPT_REGEX= -e 's|%PREFIX%|${PREFIX}|g' -e 's|%LOCALBASE%|${LOCALBASE}|g' - -pre-patch: -.if !defined(ZABBIX_AGENT_ONLY) - @${SED} ${SCRIPT_REGEX} ${PKGDIR}/pkg-message > ${PKGMESSAGE} - @${SED} ${SCRIPT_REGEX} ${PKGDIR}/scripts/zabbix.sh.sample > \ - ${WRKDIR}/zabbix.sh.sample -.endif - @${SED} ${SCRIPT_REGEX} ${PKGDIR}/scripts/zabbix-agent.sh.sample > \ - ${WRKDIR}/zabbix-agent.sh.sample - -.ifndef(ZABBIX_AGENT_ONLY) -post-patch: - @${REINPLACE_CMD} 's|%LOCALBASE%|${LOCALBASE}|' ${WRKSRC}/src/zabbix_sucker/zabbix_sucker.c -.ifdef WITHOUT_FPING - @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_suckerd.conf -.endif -.endif # ZABBIX_AGENT_ONLY - -do-install: -.for FILE in ${ZABBIX_BINARIES} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin -.endfor - ${MKDIR} ${PREFIX}/etc/zabbix - ${LN} -sf ${PREFIX}/etc/zabbix /etc/zabbix -.for FILE in ${ZABBIX_CONFIGS} - ${INSTALL_DATA} ${WRKSRC}/misc/conf/${FILE} \ - ${PREFIX}/etc/zabbix/${FILE}.sample -.endfor -.ifndef(ZABBIX_AGENT_ONLY) - ${MKDIR} ${PREFIX}/share/zabbix - ${MKDIR} ${PREFIX}/share/zabbix/create - ${INSTALL_DATA} ${MASTERDIR}/scripts/dbsetup.sh \ - ${PREFIX}/share/zabbix/create - ${CP} -Rf ${WRKSRC}/frontends/* ${PREFIX}/share/zabbix - ${CP} -Rf ${WRKSRC}/create/* ${PREFIX}/share/zabbix/create - ${CP} -Rf ${WRKSRC}/upgrades/dbpatches ${PREFIX}/share/zabbix - ${INSTALL_SCRIPT} ${MASTERDIR}/scripts/dbsetup.sh \ - ${PREFIX}/share/zabbix/create - ${INSTALL_SCRIPT} ${MASTERDIR}/scripts/zabbix.sh.sample \ - ${PREFIX}/etc/rc.d -.endif - ${INSTALL_SCRIPT} ${MASTERDIR}/scripts/zabbix-agent.sh.sample \ - ${PREFIX}/etc/rc.d - ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL -.ifndef(ZABBIX_AGENT_ONLY) - @${CAT} ${PKGMESSAGE} -.endif - -.include <bsd.port.post.mk> diff --git a/net-mgmt/zabbix2/distinfo b/net-mgmt/zabbix2/distinfo deleted file mode 100644 index 7134e9c4f47a..000000000000 --- a/net-mgmt/zabbix2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (zabbix-1.0.tar.gz) = e83a3b92f13942081ed2f3fe3f3084d8 -SIZE (zabbix-1.0.tar.gz) = 1847471 diff --git a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in b/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in deleted file mode 100644 index d72d0587df50..000000000000 --- a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-Makefile.in +++ /dev/null @@ -1,12 +0,0 @@ ---- src/zabbix_sucker/Makefile.in.orig Mon Sep 1 21:34:12 2003 -+++ src/zabbix_sucker/Makefile.in Mon Sep 1 21:34:37 2003 -@@ -1,7 +1,7 @@ - # Build rules - --INCLUDE = @MYSQL_INCLUDE@ @PGSQL_INCLUDE@ @SNMP_INCLUDE@ --LIBS = @LIBS@ @MYSQL_LFLAGS@ @PGSQL_LFLAGS@ @SNMP_LFLAGS@ -+INCLUDE = @MYSQL_INCLUDE@ @PGSQL_INCLUDE@ @SNMP_INCLUDE@ -I$(LOCALBASE)/include -+LIBS = @LIBS@ @MYSQL_LFLAGS@ @PGSQL_LFLAGS@ @SNMP_LFLAGS@ -L$(LOCALBASE)/lib - - all: - diff --git a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c b/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c deleted file mode 100644 index 1b8ca44f8aac..000000000000 --- a/net-mgmt/zabbix2/files/patch-src-zabbix_sucker-zabbix_sucker.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/zabbix_sucker/zabbix_sucker.c.orig Wed Jan 14 07:43:02 2004 -+++ src/zabbix_sucker/zabbix_sucker.c Wed Jan 14 07:43:21 2004 -@@ -254,7 +254,7 @@ - } - if(CONFIG_FPING_LOCATION == NULL) - { -- CONFIG_FPING_LOCATION=strdup("/usr/sbin/fping"); -+ CONFIG_FPING_LOCATION=strdup("%LOCALBASE%/sbin/fping"); - } - } - diff --git a/net-mgmt/zabbix2/pkg-descr b/net-mgmt/zabbix2/pkg-descr deleted file mode 100644 index a85383fa4768..000000000000 --- a/net-mgmt/zabbix2/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Zabbix is software for application and network monitoring. -Zabbix supports both polling and trapping techniques to -collect data from monitored hosts. Flexible notification -mechanism allows easy and quckly configure email notifications -for pre-defined events. Zabbix is freely available under the -terms of the GNU General Public License (GPL). - -WWW: http://zabbix.sourceforge.net/ diff --git a/net-mgmt/zabbix2/pkg-install b/net-mgmt/zabbix2/pkg-install deleted file mode 100644 index bd120120918d..000000000000 --- a/net-mgmt/zabbix2/pkg-install +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# Script was taken from mysql323-server port, and modified -# to suit zabbix needs - -[ -n "${PACKAGE_BUILDING}" ] && exit 0 - -[ "${2}" = "POST-INSTALL" ] && exit 0 - -PATH=/bin:/usr/sbin - -USER=zabbix -GROUP=${USER} -UID=112 -GID=${UID} - -if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." -else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi -fi - -if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - if pw usermod ${USER} -d /nonexistent - then - echo "Changed home directory of \"${USER}\" to /nonexistent" - else - echo "Changing home directory of \"${USER}\" to /nonexistent failed..." - exit 1 - fi -else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /nonexistent -s /sbin/nologin -c "Zabbix Sandbox" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi -fi diff --git a/net-mgmt/zabbix2/pkg-message b/net-mgmt/zabbix2/pkg-message deleted file mode 100644 index 13c338ed4d4d..000000000000 --- a/net-mgmt/zabbix2/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -==================================================== -ACHTUNG!!! - -Run dbsetup.sh from %PREFIX%/share/zabbix/create -to setup database tables. Arguments, given to -it will be passed to mysql client, allowing -connection do non-local MySQL server -==================================================== diff --git a/net-mgmt/zabbix2/pkg-plist b/net-mgmt/zabbix2/pkg-plist deleted file mode 100644 index e197b32ccfe6..000000000000 --- a/net-mgmt/zabbix2/pkg-plist +++ /dev/null @@ -1,201 +0,0 @@ -etc/zabbix/zabbix_agent.conf.sample -etc/zabbix/zabbix_agentd.conf.sample -etc/zabbix/zabbix_suckerd.conf.sample -etc/zabbix/zabbix_trapper.conf.sample -etc/zabbix/zabbix_trapperd.conf.sample -etc/rc.d/zabbix.sh.sample -etc/rc.d/zabbix-agent.sh.sample -bin/zabbix_agent -bin/zabbix_agentd -bin/zabbix_sender -bin/zabbix_suckerd -bin/zabbix_trapper -bin/zabbix_trapperd -%%DATADIR%%/php/audio/disaster_on.wav -%%DATADIR%%/php/audio/warning_off.wav -%%DATADIR%%/php/audio/warning_on.wav -%%DATADIR%%/php/about.php -%%DATADIR%%/php/actions.php -%%DATADIR%%/php/alarms.php -%%DATADIR%%/php/alerts.php -%%DATADIR%%/php/chart.php -%%DATADIR%%/php/chart2.php -%%DATADIR%%/php/chart3.php -%%DATADIR%%/php/chart4.php -%%DATADIR%%/php/chart5.php -%%DATADIR%%/php/chart_diff.php -%%DATADIR%%/php/chart_sla.php -%%DATADIR%%/php/charts.php -%%DATADIR%%/php/compare.php -%%DATADIR%%/php/config.php -%%DATADIR%%/php/css.css -%%DATADIR%%/php/graph.php -%%DATADIR%%/php/graphs.php -%%DATADIR%%/php/helpdesk.php -%%DATADIR%%/php/history.php -%%DATADIR%%/php/hosts.php -%%DATADIR%%/php/index.php -%%DATADIR%%/php/items.php -%%DATADIR%%/php/latest.php -%%DATADIR%%/php/latestalarms.php -%%DATADIR%%/php/map.php -%%DATADIR%%/php/maps.php -%%DATADIR%%/php/media.php -%%DATADIR%%/php/queue.php -%%DATADIR%%/php/report1.php -%%DATADIR%%/php/report2.php -%%DATADIR%%/php/report3.php -%%DATADIR%%/php/screenconf.php -%%DATADIR%%/php/screenedit.php -%%DATADIR%%/php/screens.php -%%DATADIR%%/php/services.php -%%DATADIR%%/php/srv_status.php -%%DATADIR%%/php/sysmap.php -%%DATADIR%%/php/sysmaps.php -%%DATADIR%%/php/tr_comments.php -%%DATADIR%%/php/tr_status.php -%%DATADIR%%/php/trend.php -%%DATADIR%%/php/trends.php -%%DATADIR%%/php/triggers.php -%%DATADIR%%/php/users.php -%%DATADIR%%/php/images/sysmaps/old/Notebook.png -%%DATADIR%%/php/images/sysmaps/old/Hub.png -%%DATADIR%%/php/images/sysmaps/old/Printer.png -%%DATADIR%%/php/images/sysmaps/old/Router.png -%%DATADIR%%/php/images/sysmaps/old/Server.png -%%DATADIR%%/php/images/sysmaps/old/Workstation.png -%%DATADIR%%/php/images/sysmaps/UPS.png -%%DATADIR%%/php/images/sysmaps/Notebook.png -%%DATADIR%%/php/images/sysmaps/Hub.png -%%DATADIR%%/php/images/sysmaps/Printer.png -%%DATADIR%%/php/images/sysmaps/Router.png -%%DATADIR%%/php/images/sysmaps/Server.png -%%DATADIR%%/php/images/sysmaps/Workstation.png -%%DATADIR%%/php/images/sysmaps/README -%%DATADIR%%/php/images/sysmaps/Phone.png -%%DATADIR%%/php/images/sysmaps/Network.png -%%DATADIR%%/php/images/sysmaps/Satellite.png -%%DATADIR%%/php/include/.htaccess -%%DATADIR%%/php/include/classes.inc.php -%%DATADIR%%/php/include/config.inc.php -%%DATADIR%%/php/include/db.inc.php -%%DATADIR%%/php/include/defines.inc.php -%%DATADIR%%/create/data/data.sql -%%DATADIR%%/create/mysql/schema.sql -%%DATADIR%%/create/postgresql/schema.sql -%%DATADIR%%/create/dbsetup.sh -%%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/postgresql/patch.sql -%%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/mysql/patch.sql -%%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/postgresql/patch.sql -@dirrm etc/zabbix -@dirrm %%DATADIR%%/php/audio -@dirrm %%DATADIR%%/php/images/sysmaps/old -@dirrm %%DATADIR%%/php/images/sysmaps -@dirrm %%DATADIR%%/php/images -@dirrm %%DATADIR%%/php/include -@dirrm %%DATADIR%%/php -@dirrm %%DATADIR%%/create/data -@dirrm %%DATADIR%%/create/mysql -@dirrm %%DATADIR%%/create/postgresql -@dirrm %%DATADIR%%/create -@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha10_to_1.0alpha11 -@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha11_to_1.0alpha12 -@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha12_to_1.0beta1 -@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha3_to_1.0alpha4 -@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha4_to_1.0alpha5 -@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha6_to_1.0alpha7 -@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha7_to_1.0alpha8 -@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha8_to_1.0alpha9 -@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/mysql -@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0alpha9_to_1.0alpha10 -@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta2_to_1.0beta3 -@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta3_to_1.0beta4 -@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta4_to_1.0beta5 -@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta5_to_1.0beta6 -@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta6_to_1.0beta7 -@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta7_to_1.0beta8 -@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta8_to_1.0beta9 -@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta9_to_1.0beta10 -@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta10_to_1.0beta11 -@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta12_to_1.0beta13 -@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/mysql -@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14/postgresql -@dirrm %%DATADIR%%/dbpatches/1.0beta13_to_1.0beta14 -@dirrm %%DATADIR%%/dbpatches -@dirrm %%DATADIR%% -@exec ln -sf %D/etc/zabbix /etc/zabbix -@unexec rm /etc/zabbix diff --git a/net-mgmt/zabbix2/pkg-plist.agent b/net-mgmt/zabbix2/pkg-plist.agent deleted file mode 100644 index 2e5a1980939c..000000000000 --- a/net-mgmt/zabbix2/pkg-plist.agent +++ /dev/null @@ -1,8 +0,0 @@ -bin/zabbix_agent -bin/zabbix_agentd -bin/zabbix_sender -etc/zabbix/zabbix_agent.conf.sample -etc/zabbix/zabbix_agentd.conf.sample -@dirrm etc/zabbix -@exec ln -sf %D/etc/zabbix /etc/zabbix -@unexec rm /etc/zabbix diff --git a/net-mgmt/zabbix2/scripts/dbsetup.sh b/net-mgmt/zabbix2/scripts/dbsetup.sh deleted file mode 100644 index 240f46157640..000000000000 --- a/net-mgmt/zabbix2/scripts/dbsetup.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -{ - echo "create database zabbix; use zabbix;" - cat mysql/schema.sql data/data.sql -} | mysql ${*} diff --git a/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample b/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample deleted file mode 100644 index 1001c6cb694f..000000000000 --- a/net-mgmt/zabbix2/scripts/zabbix-agent.sh.sample +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -prefix=%PREFIX% - -zabbix_agentd_enable="YES" - -. %LOCALBASE%/etc/rc.subr - -name="zabbix_agentd" -rcvar=`set_rcvar` -command="${prefix}/bin/${name}" -required_files="/etc/zabbix/${name}.conf" - -run_rc_command "$1" diff --git a/net-mgmt/zabbix2/scripts/zabbix.sh.sample b/net-mgmt/zabbix2/scripts/zabbix.sh.sample deleted file mode 100644 index 01a0fbce27ef..000000000000 --- a/net-mgmt/zabbix2/scripts/zabbix.sh.sample +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -prefix=%PREFIX% - -zabbix_suckerd_enable="YES" - -. %LOCALBASE%/etc/rc.subr - -name="zabbix_suckerd" -rcvar=`set_rcvar` -command="${prefix}/bin/${name}" -required_files="/etc/zabbix/${name}.conf" - -run_rc_command "$1" |