Merge branch 'master' of ssh://peterman@people.ipfire.org/pub/git/ipfire-2.x
authorPeter Pfeiffer <peterman@ipfire.org>
Fri, 15 May 2009 06:08:12 +0000 (08:08 +0200)
committerPeter Pfeiffer <peterman@ipfire.org>
Fri, 15 May 2009 06:08:12 +0000 (08:08 +0200)
config/cacti/cacti.conf [new file with mode: 0644]
config/cacti/cacti.cron [new file with mode: 0755]
config/rootfiles/packages/cacti [new file with mode: 0644]
doc/packages-list.txt
lfs/cacti [new file with mode: 0644]
make.sh
src/paks/cacti/install.sh [new file with mode: 0644]
src/paks/cacti/uninstall.sh [new file with mode: 0644]
src/paks/cacti/update.sh [new file with mode: 0644]

diff --git a/config/cacti/cacti.conf b/config/cacti/cacti.conf
new file mode 100644 (file)
index 0000000..9c39ef6
--- /dev/null
@@ -0,0 +1,11 @@
+Listen 1009
+
+<VirtualHost *:1009>
+
+    DocumentRoot /usr/share/cacti
+    Include /etc/httpd/conf/conf.d/php*.conf
+    <Directory /usr/share/cacti>
+        Options FollowSymLinks
+        AllowOverride None
+    </Directory>
+</VirtualHost>
diff --git a/config/cacti/cacti.cron b/config/cacti/cacti.cron
new file mode 100755 (executable)
index 0000000..c566995
--- /dev/null
@@ -0,0 +1 @@
+php /usr/share/cacti/poller.php > /dev/null 2>&1
diff --git a/config/rootfiles/packages/cacti b/config/rootfiles/packages/cacti
new file mode 100644 (file)
index 0000000..5115519
--- /dev/null
@@ -0,0 +1,499 @@
+etc/fcron.cyclic/cacti.cron
+etc/httpd/conf/vhosts.d/cacti.conf
+usr/share/cacti
+#usr/share/cacti/LICENSE
+#usr/share/cacti/README
+usr/share/cacti/about.php
+usr/share/cacti/auth_changepassword.php
+usr/share/cacti/auth_login.php
+usr/share/cacti/cacti.sql
+usr/share/cacti/cdef.php
+usr/share/cacti/cli
+usr/share/cacti/cli/.htaccess
+usr/share/cacti/cli/add_data_query.php
+usr/share/cacti/cli/add_device.php
+usr/share/cacti/cli/add_graph_template.php
+usr/share/cacti/cli/add_graphs.php
+usr/share/cacti/cli/add_perms.php
+usr/share/cacti/cli/add_tree.php
+usr/share/cacti/cli/copy_user.php
+usr/share/cacti/cli/host_update_template.php
+usr/share/cacti/cli/poller_data_sources_reapply_names.php
+usr/share/cacti/cli/poller_graphs_reapply_names.php
+usr/share/cacti/cli/poller_output_empty.php
+usr/share/cacti/cli/poller_reindex_hosts.php
+usr/share/cacti/cli/rebuild_poller_cache.php
+usr/share/cacti/cli/repair_database.php
+usr/share/cacti/cli/structure_rra_paths.php
+usr/share/cacti/cli/upgrade_database.php
+usr/share/cacti/cmd.php
+usr/share/cacti/color.php
+usr/share/cacti/data_input.php
+usr/share/cacti/data_queries.php
+usr/share/cacti/data_sources.php
+usr/share/cacti/data_templates.php
+#usr/share/cacti/docs
+#usr/share/cacti/docs/CHANGELOG
+#usr/share/cacti/docs/CONTRIB
+#usr/share/cacti/docs/INSTALL
+#usr/share/cacti/docs/README
+#usr/share/cacti/docs/REQUIREMENTS
+#usr/share/cacti/docs/UPGRADE
+#usr/share/cacti/docs/html
+#usr/share/cacti/docs/html/LICENSE.html
+#usr/share/cacti/docs/html/advanced_topics.html
+#usr/share/cacti/docs/html/basics.html
+#usr/share/cacti/docs/html/batch_copy_users.html
+#usr/share/cacti/docs/html/bsd_ports.html
+#usr/share/cacti/docs/html/cacti_help.html
+#usr/share/cacti/docs/html/cdefs.html
+#usr/share/cacti/docs/html/check_cacti_poller.html
+#usr/share/cacti/docs/html/check_data_gathering.html
+#usr/share/cacti/docs/html/check_mysql_updating.html
+#usr/share/cacti/docs/html/check_rrd_graph.html
+#usr/share/cacti/docs/html/check_rrd_numbers.html
+#usr/share/cacti/docs/html/check_rrd_owner.html
+#usr/share/cacti/docs/html/check_rrd_updating.html
+#usr/share/cacti/docs/html/check_zero_values.html
+#usr/share/cacti/docs/html/cli_add_data_query.html
+#usr/share/cacti/docs/html/cli_add_device.html
+#usr/share/cacti/docs/html/cli_add_graph_template.html
+#usr/share/cacti/docs/html/cli_add_graphs.html
+#usr/share/cacti/docs/html/cli_add_perms.html
+#usr/share/cacti/docs/html/cli_add_tree.html
+#usr/share/cacti/docs/html/cli_copy_user.html
+#usr/share/cacti/docs/html/cli_poller_graphs_reapply_names.html
+#usr/share/cacti/docs/html/cli_poller_output_empty.html
+#usr/share/cacti/docs/html/cli_poller_reindex_hosts.html
+#usr/share/cacti/docs/html/copying_user.html
+#usr/share/cacti/docs/html/create_new_user.html
+#usr/share/cacti/docs/html/data_input_methods.html
+#usr/share/cacti/docs/html/data_presentation.html
+#usr/share/cacti/docs/html/data_queries.html
+#usr/share/cacti/docs/html/data_storage.html
+#usr/share/cacti/docs/html/debug_miscellaneous.html
+#usr/share/cacti/docs/html/debug_rpm_installation.html
+#usr/share/cacti/docs/html/debugging.html
+#usr/share/cacti/docs/html/delete_users.html
+#usr/share/cacti/docs/html/enable_disable_users.html
+#usr/share/cacti/docs/html/faq.html
+#usr/share/cacti/docs/html/graph_howto.html
+#usr/share/cacti/docs/html/graph_overview.html
+#usr/share/cacti/docs/html/graph_snmp_oid.html
+#usr/share/cacti/docs/html/graph_templates.html
+#usr/share/cacti/docs/html/graph_viewing.html
+#usr/share/cacti/docs/html/guest_access.html
+#usr/share/cacti/docs/html/host_templates.html
+#usr/share/cacti/docs/html/host_variables.html
+#usr/share/cacti/docs/html/how_to.html
+#usr/share/cacti/docs/html/images
+#usr/share/cacti/docs/html/images/data_source_title_example1.png
+#usr/share/cacti/docs/html/images/data_source_title_example2.png
+#usr/share/cacti/docs/html/images/data_source_title_template.png
+#usr/share/cacti/docs/html/images/data_template.png
+#usr/share/cacti/docs/html/images/export_template.png
+#usr/share/cacti/docs/html/images/graph_template.png
+#usr/share/cacti/docs/html/images/graph_tree.png
+#usr/share/cacti/docs/html/images/host_template.png
+#usr/share/cacti/docs/html/images/import_template.png
+#usr/share/cacti/docs/html/images/new_device.png
+#usr/share/cacti/docs/html/images/new_graphs.png
+#usr/share/cacti/docs/html/images/principles_of_operation.png
+#usr/share/cacti/docs/html/images/user_management_batch_copy_1.png
+#usr/share/cacti/docs/html/images/user_management_batch_copy_2.png
+#usr/share/cacti/docs/html/images/user_management_copy_1.png
+#usr/share/cacti/docs/html/images/user_management_copy_2.png
+#usr/share/cacti/docs/html/images/user_management_delete_1.png
+#usr/share/cacti/docs/html/images/user_management_delete_2.png
+#usr/share/cacti/docs/html/images/user_management_edit.png
+#usr/share/cacti/docs/html/images/user_management_enable_disable_1.png
+#usr/share/cacti/docs/html/images/user_management_enable_disable_2.png
+#usr/share/cacti/docs/html/images/user_management_list.png
+#usr/share/cacti/docs/html/images/user_management_new.png
+#usr/share/cacti/docs/html/index.html
+#usr/share/cacti/docs/html/install_unix.html
+#usr/share/cacti/docs/html/install_windows.html
+#usr/share/cacti/docs/html/installation.html
+#usr/share/cacti/docs/html/making_scripts_work_with_cacti.html
+#usr/share/cacti/docs/html/manual.css
+#usr/share/cacti/docs/html/migration_php_scripts_to_script_server.html
+#usr/share/cacti/docs/html/new_graphs.html
+#usr/share/cacti/docs/html/operating_principles.html
+#usr/share/cacti/docs/html/php_script_server.html
+#usr/share/cacti/docs/html/reference.html
+#usr/share/cacti/docs/html/requirements.html
+#usr/share/cacti/docs/html/rrdtool_features.html
+#usr/share/cacti/docs/html/script_query_xml.html
+#usr/share/cacti/docs/html/scripts.html
+#usr/share/cacti/docs/html/snmp_query_xml.html
+#usr/share/cacti/docs/html/template_export.html
+#usr/share/cacti/docs/html/template_import.html
+#usr/share/cacti/docs/html/templates.html
+#usr/share/cacti/docs/html/testing_script_in_script_server.html
+#usr/share/cacti/docs/html/unix_apply_patches.html
+#usr/share/cacti/docs/html/unix_configure_cacti.html
+#usr/share/cacti/docs/html/unix_configure_httpd.html
+#usr/share/cacti/docs/html/unix_configure_mysql.html
+#usr/share/cacti/docs/html/unix_configure_php.html
+#usr/share/cacti/docs/html/unix_configure_spine.html
+#usr/share/cacti/docs/html/upgrade.html
+#usr/share/cacti/docs/html/upgrade_using_hostmib_data_queries.html
+#usr/share/cacti/docs/html/user_management.html
+#usr/share/cacti/docs/html/using_spine.html
+#usr/share/cacti/docs/html/variables.html
+#usr/share/cacti/docs/pdf
+#usr/share/cacti/docs/pdf/README
+#usr/share/cacti/docs/text
+#usr/share/cacti/docs/text/manual.txt
+usr/share/cacti/gprint_presets.php
+usr/share/cacti/graph.php
+usr/share/cacti/graph_image.php
+usr/share/cacti/graph_settings.php
+usr/share/cacti/graph_templates.php
+usr/share/cacti/graph_templates_inputs.php
+usr/share/cacti/graph_templates_items.php
+usr/share/cacti/graph_view.php
+usr/share/cacti/graph_xport.php
+usr/share/cacti/graphs.php
+usr/share/cacti/graphs_items.php
+usr/share/cacti/graphs_new.php
+usr/share/cacti/host.php
+usr/share/cacti/host_templates.php
+usr/share/cacti/images
+usr/share/cacti/images/arrow.gif
+usr/share/cacti/images/auth_deny.gif
+usr/share/cacti/images/auth_login.gif
+usr/share/cacti/images/auth_logout.gif
+usr/share/cacti/images/button_add.gif
+usr/share/cacti/images/button_cancel.gif
+usr/share/cacti/images/button_cancel2.gif
+usr/share/cacti/images/button_clear.gif
+usr/share/cacti/images/button_colapse_all.gif
+usr/share/cacti/images/button_create.gif
+usr/share/cacti/images/button_default.gif
+usr/share/cacti/images/button_delete.gif
+usr/share/cacti/images/button_expand_all.gif
+usr/share/cacti/images/button_export.gif
+usr/share/cacti/images/button_go.gif
+usr/share/cacti/images/button_help.gif
+usr/share/cacti/images/button_import.gif
+usr/share/cacti/images/button_no.gif
+usr/share/cacti/images/button_purge.gif
+usr/share/cacti/images/button_refresh.gif
+usr/share/cacti/images/button_save.gif
+usr/share/cacti/images/button_view.gif
+usr/share/cacti/images/button_yes.gif
+usr/share/cacti/images/cacti_about_logo.gif
+usr/share/cacti/images/cacti_backdrop.gif
+usr/share/cacti/images/cacti_backdrop2.gif
+usr/share/cacti/images/cacti_logo.gif
+usr/share/cacti/images/calendar.gif
+usr/share/cacti/images/delete_icon.gif
+usr/share/cacti/images/delete_icon_large.gif
+usr/share/cacti/images/favicon.ico
+usr/share/cacti/images/graph_page_top.gif
+usr/share/cacti/images/graph_properties.gif
+usr/share/cacti/images/graph_query.png
+usr/share/cacti/images/graph_zoom.gif
+usr/share/cacti/images/hide.gif
+usr/share/cacti/images/left_border.gif
+usr/share/cacti/images/menu_line.gif
+usr/share/cacti/images/menuarrow.gif
+usr/share/cacti/images/move_down.gif
+usr/share/cacti/images/move_left.gif
+usr/share/cacti/images/move_right.gif
+usr/share/cacti/images/move_up.gif
+usr/share/cacti/images/reload_icon_small.gif
+usr/share/cacti/images/shadow.gif
+usr/share/cacti/images/shadow_gray.gif
+usr/share/cacti/images/show.gif
+usr/share/cacti/images/tab_cacti.gif
+usr/share/cacti/images/tab_console.gif
+usr/share/cacti/images/tab_console_down.gif
+usr/share/cacti/images/tab_graphs.gif
+usr/share/cacti/images/tab_graphs_down.gif
+usr/share/cacti/images/tab_mode_list.gif
+usr/share/cacti/images/tab_mode_list_down.gif
+usr/share/cacti/images/tab_mode_preview.gif
+usr/share/cacti/images/tab_mode_preview_down.gif
+usr/share/cacti/images/tab_mode_tree.gif
+usr/share/cacti/images/tab_mode_tree_down.gif
+usr/share/cacti/images/tab_settings.gif
+usr/share/cacti/images/tab_settings_down.gif
+usr/share/cacti/images/transparent_line.gif
+usr/share/cacti/include
+usr/share/cacti/include/auth.php
+usr/share/cacti/include/bottom_footer.php
+usr/share/cacti/include/config.php
+usr/share/cacti/include/global.php
+usr/share/cacti/include/global_arrays.php
+usr/share/cacti/include/global_constants.php
+usr/share/cacti/include/global_form.php
+usr/share/cacti/include/global_settings.php
+usr/share/cacti/include/jscalendar
+usr/share/cacti/include/jscalendar/calendar-setup.js
+usr/share/cacti/include/jscalendar/calendar.js
+usr/share/cacti/include/jscalendar/lang
+usr/share/cacti/include/jscalendar/lang/calendar-af.js
+usr/share/cacti/include/jscalendar/lang/calendar-al.js
+usr/share/cacti/include/jscalendar/lang/calendar-bg.js
+usr/share/cacti/include/jscalendar/lang/calendar-big5-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-big5.js
+usr/share/cacti/include/jscalendar/lang/calendar-br.js
+usr/share/cacti/include/jscalendar/lang/calendar-ca.js
+usr/share/cacti/include/jscalendar/lang/calendar-cs-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-cs-win.js
+usr/share/cacti/include/jscalendar/lang/calendar-da.js
+usr/share/cacti/include/jscalendar/lang/calendar-de.js
+usr/share/cacti/include/jscalendar/lang/calendar-du.js
+usr/share/cacti/include/jscalendar/lang/calendar-el.js
+usr/share/cacti/include/jscalendar/lang/calendar-en.js
+usr/share/cacti/include/jscalendar/lang/calendar-es.js
+usr/share/cacti/include/jscalendar/lang/calendar-fi.js
+usr/share/cacti/include/jscalendar/lang/calendar-fr.js
+usr/share/cacti/include/jscalendar/lang/calendar-he-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-hr-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-hr.js
+usr/share/cacti/include/jscalendar/lang/calendar-hu.js
+usr/share/cacti/include/jscalendar/lang/calendar-it.js
+usr/share/cacti/include/jscalendar/lang/calendar-jp.js
+usr/share/cacti/include/jscalendar/lang/calendar-ko-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-ko.js
+usr/share/cacti/include/jscalendar/lang/calendar-lt-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-lt.js
+usr/share/cacti/include/jscalendar/lang/calendar-lv.js
+usr/share/cacti/include/jscalendar/lang/calendar-nl.js
+usr/share/cacti/include/jscalendar/lang/calendar-no.js
+usr/share/cacti/include/jscalendar/lang/calendar-pl-utf8.js
+usr/share/cacti/include/jscalendar/lang/calendar-pl.js
+usr/share/cacti/include/jscalendar/lang/calendar-pt.js
+usr/share/cacti/include/jscalendar/lang/calendar-ro.js
+usr/share/cacti/include/jscalendar/lang/calendar-ru.js
+usr/share/cacti/include/jscalendar/lang/calendar-ru_win_.js
+usr/share/cacti/include/jscalendar/lang/calendar-si.js
+usr/share/cacti/include/jscalendar/lang/calendar-sk.js
+usr/share/cacti/include/jscalendar/lang/calendar-sp.js
+usr/share/cacti/include/jscalendar/lang/calendar-sv.js
+usr/share/cacti/include/jscalendar/lang/calendar-tr.js
+usr/share/cacti/include/jscalendar/lang/calendar-zh.js
+usr/share/cacti/include/jscalendar/lang/cn_utf8.js
+usr/share/cacti/include/layout.js
+usr/share/cacti/include/main.css
+usr/share/cacti/include/top_graph_header.php
+usr/share/cacti/include/top_header.php
+usr/share/cacti/include/treeview
+usr/share/cacti/include/treeview/ftiens4.js
+usr/share/cacti/include/treeview/ftiens4_export.js
+usr/share/cacti/include/treeview/ftv2blank.gif
+usr/share/cacti/include/treeview/ftv2lastnode.gif
+usr/share/cacti/include/treeview/ftv2mlastnode.gif
+usr/share/cacti/include/treeview/ftv2mnode.gif
+usr/share/cacti/include/treeview/ftv2node.gif
+usr/share/cacti/include/treeview/ftv2plastnode.gif
+usr/share/cacti/include/treeview/ftv2pnode.gif
+usr/share/cacti/include/treeview/ftv2vertline.gif
+usr/share/cacti/include/treeview/ua.js
+usr/share/cacti/include/zoom.js
+usr/share/cacti/index.php
+usr/share/cacti/install
+#usr/share/cacti/install/0_8_1_to_0_8_2.php
+#usr/share/cacti/install/0_8_2_to_0_8_2a.php
+#usr/share/cacti/install/0_8_2a_to_0_8_3.php
+#usr/share/cacti/install/0_8_3_to_0_8_4.php
+#usr/share/cacti/install/0_8_4_to_0_8_5.php
+#usr/share/cacti/install/0_8_5a_to_0_8_6.php
+#usr/share/cacti/install/0_8_6_to_0_8_6a.php
+#usr/share/cacti/install/0_8_6c_to_0_8_6d.php
+#usr/share/cacti/install/0_8_6d_to_0_8_6e.php
+#usr/share/cacti/install/0_8_6f_to_0_8_6g.php
+#usr/share/cacti/install/0_8_6g_to_0_8_6h.php
+#usr/share/cacti/install/0_8_6h_to_0_8_6i.php
+#usr/share/cacti/install/0_8_6j_to_0_8_7.php
+#usr/share/cacti/install/0_8_7_to_0_8_7a.php
+#usr/share/cacti/install/0_8_7a_to_0_8_7b.php
+#usr/share/cacti/install/0_8_7b_to_0_8_7c.php
+#usr/share/cacti/install/0_8_7c_to_0_8_7d.php
+#usr/share/cacti/install/0_8_to_0_8_1.php
+usr/share/cacti/install/index.php
+usr/share/cacti/install/install_finish.gif
+usr/share/cacti/install/install_next.gif
+usr/share/cacti/lib
+usr/share/cacti/lib/adodb
+usr/share/cacti/lib/adodb/adodb-csvlib.inc.php
+usr/share/cacti/lib/adodb/adodb-datadict.inc.php
+usr/share/cacti/lib/adodb/adodb-error.inc.php
+usr/share/cacti/lib/adodb/adodb-errorhandler.inc.php
+usr/share/cacti/lib/adodb/adodb-errorpear.inc.php
+usr/share/cacti/lib/adodb/adodb-exceptions.inc.php
+usr/share/cacti/lib/adodb/adodb-iterator.inc.php
+usr/share/cacti/lib/adodb/adodb-lib.inc.php
+usr/share/cacti/lib/adodb/adodb-pear.inc.php
+usr/share/cacti/lib/adodb/adodb-perf.inc.php
+usr/share/cacti/lib/adodb/adodb-php4.inc.php
+usr/share/cacti/lib/adodb/adodb-time.inc.php
+usr/share/cacti/lib/adodb/adodb-xmlschema.inc.php
+usr/share/cacti/lib/adodb/adodb.inc.php
+usr/share/cacti/lib/adodb/datadict
+usr/share/cacti/lib/adodb/datadict/datadict-access.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-db2.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-firebird.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-generic.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-ibase.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-informix.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-mssql.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-mysql.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-oci8.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-postgres.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-sapdb.inc.php
+usr/share/cacti/lib/adodb/datadict/datadict-sybase.inc.php
+usr/share/cacti/lib/adodb/drivers
+usr/share/cacti/lib/adodb/drivers/adodb-access.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ado.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ado5.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ado_access.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ado_mssql.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-borland_ibase.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-csv.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-db2.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-fbsql.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-firebird.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ibase.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-informix.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-informix72.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-ldap.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-mssql.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-mssqlpo.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-mysql.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-mysqli.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-mysqlt.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-netezza.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-oci8.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-oci805.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-oci8po.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-odbc.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-odbc_mssql.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-odbc_oracle.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-odbtp.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-odbtp_unicode.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-oracle.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-pdo.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-postgres.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-postgres64.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-postgres7.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-proxy.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-sapdb.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-sqlanywhere.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-sqlite.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-sqlitepo.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-sybase.inc.php
+usr/share/cacti/lib/adodb/drivers/adodb-vfp.inc.php
+usr/share/cacti/lib/adodb/lang
+usr/share/cacti/lib/adodb/lang/adodb-ar.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-bg.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-bgutf8.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-ca.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-cn.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-cz.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-de.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-en.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-es.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-fr.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-hu.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-it.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-nl.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-pl.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-pt-br.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-ro.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-ru1251.inc.php
+usr/share/cacti/lib/adodb/lang/adodb-sv.inc.php
+usr/share/cacti/lib/adodb/license.txt
+usr/share/cacti/lib/adodb/toexport.inc.php
+usr/share/cacti/lib/adodb/tohtml.inc.php
+usr/share/cacti/lib/api_automation_tools.php
+usr/share/cacti/lib/api_data_source.php
+usr/share/cacti/lib/api_device.php
+usr/share/cacti/lib/api_graph.php
+usr/share/cacti/lib/api_poller.php
+usr/share/cacti/lib/api_tree.php
+usr/share/cacti/lib/auth.php
+usr/share/cacti/lib/cdef.php
+usr/share/cacti/lib/data_query.php
+usr/share/cacti/lib/database.php
+usr/share/cacti/lib/export.php
+usr/share/cacti/lib/functions.php
+usr/share/cacti/lib/graph_export.php
+usr/share/cacti/lib/graph_variables.php
+usr/share/cacti/lib/html.php
+usr/share/cacti/lib/html_form.php
+usr/share/cacti/lib/html_form_template.php
+usr/share/cacti/lib/html_tree.php
+usr/share/cacti/lib/html_utility.php
+usr/share/cacti/lib/html_validate.php
+usr/share/cacti/lib/import.php
+usr/share/cacti/lib/ldap.php
+usr/share/cacti/lib/ping.php
+usr/share/cacti/lib/poller.php
+usr/share/cacti/lib/rrd.php
+usr/share/cacti/lib/snmp.php
+usr/share/cacti/lib/sort.php
+usr/share/cacti/lib/template.php
+usr/share/cacti/lib/time.php
+usr/share/cacti/lib/timespan_settings.php
+usr/share/cacti/lib/tree.php
+usr/share/cacti/lib/utility.php
+usr/share/cacti/lib/variables.php
+usr/share/cacti/lib/xml.php
+usr/share/cacti/log
+usr/share/cacti/log/.htaccess
+usr/share/cacti/log/cacti.log
+usr/share/cacti/logout.php
+usr/share/cacti/poller.php
+usr/share/cacti/poller_commands.php
+usr/share/cacti/poller_export.php
+usr/share/cacti/resource
+usr/share/cacti/resource/script_queries
+usr/share/cacti/resource/script_queries/host_cpu.xml
+usr/share/cacti/resource/script_queries/host_disk.xml
+usr/share/cacti/resource/script_queries/unix_disk.xml
+usr/share/cacti/resource/script_server
+usr/share/cacti/resource/script_server/host_cpu.xml
+usr/share/cacti/resource/script_server/host_disk.xml
+usr/share/cacti/resource/snmp_queries
+usr/share/cacti/resource/snmp_queries/host_disk.xml
+usr/share/cacti/resource/snmp_queries/interface.xml
+usr/share/cacti/resource/snmp_queries/kbridge.xml
+usr/share/cacti/resource/snmp_queries/net-snmp_disk.xml
+usr/share/cacti/resource/snmp_queries/netware_cpu.xml
+usr/share/cacti/resource/snmp_queries/netware_disk.xml
+usr/share/cacti/rra
+usr/share/cacti/rra.php
+usr/share/cacti/rra/.placeholder
+usr/share/cacti/script_server.php
+usr/share/cacti/script_server.pl
+usr/share/cacti/scripts
+usr/share/cacti/scripts/3com_cable_modem.pl
+usr/share/cacti/scripts/diskfree.pl
+usr/share/cacti/scripts/diskfree.sh
+usr/share/cacti/scripts/linux_memory.pl
+usr/share/cacti/scripts/loadavg.pl
+usr/share/cacti/scripts/loadavg_multi.pl
+usr/share/cacti/scripts/ping.pl
+usr/share/cacti/scripts/query_host_cpu.php
+usr/share/cacti/scripts/query_host_partitions.php
+usr/share/cacti/scripts/query_unix_partitions.pl
+usr/share/cacti/scripts/sql.php
+usr/share/cacti/scripts/ss_fping.php
+usr/share/cacti/scripts/ss_host_cpu.php
+usr/share/cacti/scripts/ss_host_disk.php
+usr/share/cacti/scripts/ss_sql.php
+usr/share/cacti/scripts/unix_processes.pl
+usr/share/cacti/scripts/unix_tcp_connections.pl
+usr/share/cacti/scripts/unix_users.pl
+usr/share/cacti/scripts/weatherbug.pl
+usr/share/cacti/scripts/webhits.pl
+usr/share/cacti/settings.php
+usr/share/cacti/templates_export.php
+usr/share/cacti/templates_import.php
+usr/share/cacti/tree.php
+usr/share/cacti/user_admin.php
+usr/share/cacti/utilities.php
index b87953da5253545656609de63aee7d3a032a316b..966d732f9c8e1d9cf12c0a99760fca4b6de57c3a 100644 (file)
@@ -60,6 +60,7 @@
 * busybox-1.2.2
 * bwm-ng-0.6
 * bzip2-1.0.5
+* cacti-0.8.7d
 * calamaris-2.59
 * capi4k-utils-2005-07-18
 * ccache-2.4
diff --git a/lfs/cacti b/lfs/cacti
new file mode 100644 (file)
index 0000000..639dcf2
--- /dev/null
+++ b/lfs/cacti
@@ -0,0 +1,92 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 0.8.7d
+
+THISAPP    = cacti-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = cacti
+PAK_VER    = 1
+
+DEPS       = "net-snmp mysql"
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 0822068bfa547278e94d3143ef9279e0
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf /usr/share/cacti
+       mkdir /usr/share/cacti
+       cd $(DIR_APP) && mv -vf * /usr/share/cacti
+       cp -vf $(DIR_SRC)/config/cacti/cacti.conf /etc/httpd/conf/vhosts.d/     
+       cp -vf $(DIR_SRC)/config/cacti/cacti.cron /etc/fcron.cyclic/    
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
+
+
+
+
+
diff --git a/make.sh b/make.sh
index f5947ea24d532b0b26851c6a0b6985c4869b2077..1fb884afd7fea3b88c957f191f8db839939b069b 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -612,6 +612,7 @@ buildipfire() {
   ipfiremake perl-DBI
   ipfiremake perl-DBD-mysql
   ipfiremake lcr
+  ipfiremake cacti
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild
diff --git a/src/paks/cacti/install.sh b/src/paks/cacti/install.sh
new file mode 100644 (file)
index 0000000..2c05f64
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+extract_files
+mysqladmin --user=root -pmysqlfire create cacti
+mysql --user=root -pmysqlfire cacti < /usr/share/cacti/cacti.sql
+mysql --user=root -pmysqlfire -e "GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactiuser';" mysql
+/etc init.d/apache restart
diff --git a/src/paks/cacti/uninstall.sh b/src/paks/cacti/uninstall.sh
new file mode 100644 (file)
index 0000000..a7b8a53
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+stop_service ${NAME}
+make_backup ${NAME}
+remove_files
diff --git a/src/paks/cacti/update.sh b/src/paks/cacti/update.sh
new file mode 100644 (file)
index 0000000..89c40d0
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/bash
+############################################################################
+#                                                                          #
+# This file is part of the IPFire Firewall.                                #
+#                                                                          #
+# IPFire is free software; you can redistribute it and/or modify           #
+# it under the terms of the GNU General Public License as published by     #
+# the Free Software Foundation; either version 2 of the License, or        #
+# (at your option) any later version.                                      #
+#                                                                          #
+# IPFire is distributed in the hope that it will be useful,                #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of           #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
+# GNU General Public License for more details.                             #
+#                                                                          #
+# You should have received a copy of the GNU General Public License        #
+# along with IPFire; if not, write to the Free Software                    #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
+#                                                                          #
+# Copyright (C) 2007 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+./uninstall.sh
+./install.sh