--- cacti-0.8.7g.orig/debian/compat +++ cacti-0.8.7g/debian/compat @@ -0,0 +1 @@ +5 --- cacti-0.8.7g.orig/debian/cacti.apache.conf +++ cacti-0.8.7g/debian/cacti.apache.conf @@ -0,0 +1,24 @@ +Alias /cacti /usr/share/cacti/site + + + Options +FollowSymLinks + AllowOverride None + order allow,deny + allow from all + + AddType application/x-httpd-php .php + + + php_flag magic_quotes_gpc Off + php_flag short_open_tag On + php_flag register_globals Off + php_flag register_argc_argv On + php_flag track_vars On + # this setting is necessary for some locales + php_value mbstring.func_overload 0 + php_value include_path . + + + DirectoryIndex index.php + + --- cacti-0.8.7g.orig/debian/docs +++ cacti-0.8.7g/debian/docs @@ -0,0 +1,6 @@ +docs/README +docs/CONTRIB +docs/html/ +docs/txt/ +cacti.sql +debian/cacti.apache.conf --- cacti-0.8.7g.orig/debian/cacti.cron.d +++ cacti-0.8.7g/debian/cacti.cron.d @@ -0,0 +1,2 @@ +MAILTO=root +*/5 * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log --- cacti-0.8.7g.orig/debian/install.excludes +++ cacti-0.8.7g/debian/install.excludes @@ -0,0 +1,9 @@ +cactid +cacti.sql +docs +LICENSE +log +README +rra +#adodb # we use the debian libphp-adodb package +lib/adodb --- cacti-0.8.7g.orig/debian/cacti.links +++ cacti-0.8.7g/debian/cacti.links @@ -0,0 +1,2 @@ +/usr/share/cacti/resource /usr/share/cacti/site/resource +/usr/share/doc/cacti/html /usr/share/cacti/site/docs/html --- cacti-0.8.7g.orig/debian/watch +++ cacti-0.8.7g/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cacti.net/downloads/cacti-(.*)\.tar\.gz --- cacti-0.8.7g.orig/debian/dirs +++ cacti-0.8.7g/debian/dirs @@ -0,0 +1,10 @@ +etc/cacti +var/log/cacti +var/lib/cacti/rra +usr/share/cacti/site +usr/share/cacti/site/docs +usr/share/doc/cacti +usr/local/share/cacti/resource +usr/local/share/cacti/scripts +usr/share/lintian/overrides +usr/share/dbconfig-common/data/cacti/install --- cacti-0.8.7g.orig/debian/cacti.lintian-overrides +++ cacti-0.8.7g/debian/cacti.lintian-overrides @@ -0,0 +1,3 @@ +# the following directory has to be writable by www-data, and also +# may contain privileged/sensative data, hence root:www-data/0770. +cacti binary: non-standard-dir-perm var/lib/cacti/rra/ 0770 != 0755 --- cacti-0.8.7g.orig/debian/control +++ cacti-0.8.7g/debian/control @@ -0,0 +1,28 @@ +Source: cacti +Section: web +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sean Finney +Build-Depends: debhelper (>= 4.2.8), po-debconf, quilt +Homepage: http://www.cacti.net/ +Vcs-Browser: http://git.debian.org/?p=users/seanius/cacti.git +Vcs-Git: git://git.debian.org/git/users/seanius/cacti.git +Standards-Version: 3.7.3 + +Package: cacti +Architecture: all +Depends: apache2 | apache | apache-ssl | apache-perl | httpd, libapache2-mod-php5 | php5, php5-mysql, php5-cli, php5-snmp, virtual-mysql-client, rrdtool, snmp, libphp-adodb (>= 4.50-1), ucf, dbconfig-common (>= 1.8.8), ${misc:Depends} +Recommends: mysql-server, iputils-ping, logrotate +Suggests: php5-ldap +Description: Frontend to rrdtool for monitoring systems and services + Cacti is a complete frontend to rrdtool, it stores all of the necessary + information to create graphs and populates them with data in a MySQL + database. The frontend is completely PHP driven. Along with being able + to maintain Graphs, Data Sources, and Round Robin Archives in a + database, cacti handles the data gathering also. There is also SNMP + support for those used to creating traffic graphs with MRTG. + . + This package requires a functional MySQL database server on either the + installation host or remotely accessible system. If you do not already + have a database server available, you should also install mysql-server. + --- cacti-0.8.7g.orig/debian/changelog +++ cacti-0.8.7g/debian/changelog @@ -0,0 +1,942 @@ +cacti (0.8.7g-1ubuntu0.11.04.1) natty-security; urgency=low + + * SECURITY UPDATE: FIX SQL injection in auth_login.php (LP: #906773) + - debian/patches/CVE-2011-4824.patch: patch derived from upstream. + - CVE-2011-4824 + + -- Mahyuddin Susanto Tue, 20 Dec 2011 15:52:09 +0700 + +cacti (0.8.7g-1) unstable; urgency=low + + * New upstream release (Closes: #592465). + * Update context in 05_no-adodb.patch to remove fuzz. + * Remove "official" patches from previous release. + * Remove 563955_undefined_index_local_data_id.patch, incorporated upstream. + * Remove CVE-2010-2092.patch, incorporated upstream. + * Import new batch of "official" upstream patches. + * Update apache configuration to work in FastCGI deployments (Closes: #593203). + - thanks to Thijs Kinkhorst (Closes: #578909). + + -- Sean Finney Tue, 17 Aug 2010 22:22:02 +0200 + +cacti (0.8.7e-4) unstable; urgency=high + + * Forward-port fix for CVE-2010-2092 from stable package (Closes: #582691) + + -- Sean Finney Fri, 11 Jun 2010 21:08:02 +0000 + +cacti (0.8.7e-3) unstable; urgency=high + + * Import upstream fix for SQL injection vulnerability (no CVE assigned yet) + - thanks to Thijs Kinkhorst (Closes: #578909). + + -- Sean Finney Sat, 24 Apr 2010 17:54:20 +0200 + +cacti (0.8.7e-2) unstable; urgency=low + + * Import 2 new "official" patches from upstream + * Italian debconf translation + - thanks to Alessandro De Zorzi (Closes: #548447) + * Fix for "Undefined index: local_data_id in graphs_new.php" + - new debian patch 563955_undefined_index_local_data_id.patch + - thanks to Teodor MICU (Closes: #563955) + * Fix for "must not RE-add /etc/apache2/conf.d/cacti.conf link on upgrade" + - thanks to Patrick Schoenfeld (Closes: #561477) + * Bump debhelper compatibility level to 5 + + -- Sean Finney Sun, 24 Jan 2010 21:39:46 +0100 + +cacti (0.8.7e-1) unstable; urgency=low + + * New upstream release (Closes: #541490). + + [ Sean Finney ] + * fix path to global.php in cli scripts (Closes: #525024). + - thanks to Jean-François Masure + * add a watch file to track upstream updates (Closes: #527066). + - thanks to Laurent Bigonville + * downgrade Depends on logrotate to a Recommends (Closes: #526997). + - thanks to Russ Allbery + * updates to (eu,ru,ja) debconf translations + - eu: Piarres Beobide (Closes: #535636). + - ru: Yuri Kozlov (Closes: #535820). + - ja: Hideki Yamane (Debian-JP) (Closes: #546229). + + [ Sander Klein ] + * Change location of docs/text to docs/txt + * Removed 'Official' patches for 0.8.7d since they are not needed anymore + * Import 'Official' patches for 0.8.7e + * Make cli-include-path.patch apply + * use ':' with chown instead of deprecated '.' + * suggested spelling/grammar changes from lintian for ./debian/control + + -- Sean Finney Mon, 14 Sep 2009 23:42:32 +0200 + +cacti (0.8.7d-1) unstable; urgency=low + + * Imported Upstream version 0.8.7d + * update/massage/remove patches for new upstream release + * import new "official" patches for 0.8.7d + * remove obsolete dependencies on php4 packages (Closes: #514342) + * update default apache config php options (Closes: #459594) + * add Homepage field to control file (Closes: #494811) + * add Suggests: php5-ldap for ldap authentication (Closes: #496854) - + thanks to Paul Nijjar + * call ucf with --debconf-ok in postinst + * copy cli directory to /usr/share/cacti (Closes: #483556) + * add gbp.conf for git-buildpackage and friends + + -- Sean Finney Sun, 29 Mar 2009 17:51:10 +0200 + +cacti (0.8.7b-2) unstable; urgency=low + + * ack previous NMU, thanks Andreas. + * cacti packaging now in public git repository, updated Vcs-foo headers + in debian/control appropriately. + * update Standards-Version to 3.7.3. + * New upstream "official" patch: official_invalid-upgrade-path.patch + * New upstream "official" patch: official_snmp_auth_none_notice.patch + + -- Sean Finney Sat, 22 Mar 2008 23:58:08 +0100 + +cacti (0.8.7b-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Move ucf call in cacti.postinst above db_stop to fix freeze during + installation. (Closes: #470066) + + -- Andreas Henriksson Mon, 17 Mar 2008 12:52:17 +0100 + +cacti (0.8.7b-1) unstable; urgency=high + + * New upstream release. Fixes multiple security vulnerabilities (no + CVE references yet). Closes: #465567. Thanks to Alessandro Ogier for + the suggestion about the overzealous PHP_SELF checking. + + -- Sean Finney Wed, 13 Feb 2008 23:30:31 +0100 + +cacti (0.8.7a-2) unstable; urgency=high + + * Update errors in copyright information (closes: #457366). + + -- Sean Finney Sun, 30 Dec 2007 22:56:17 +0100 + +cacti (0.8.7a-1) unstable; urgency=high + + * New upstream release, including fixes for bugs and security issues. + Includes fix for CVE-2007-6035 (sql injection vulnerability) + Closes: #452085. + + -- Sean Finney Tue, 20 Nov 2007 18:20:13 +0100 + +cacti (0.8.7-1) unstable; urgency=low + + * New upstream release. + * updated 06_config_settings.php_cactid_path.patch with an extra fix + for the cacti logfile path. + + -- sean finney Wed, 24 Oct 2007 20:15:19 +0200 + +cacti (0.8.7~beta4-1~pre) experimental; urgency=low + + * New upstream (beta) release + * Removed "official" patches incorporated into upstream version: + - 07_official_graph_debug_lockup_fix.patch + - 07_official_ping_php_version4_snmpgetnext.patch + - 07_official_thumbnail_graphs_not_working.patch + - 07_official_tree_console_missing_hosts.patch + * updated 06_config_settings.php_cactid_path.patch to use FHS compatible + locations as default values, removing the need for shipping + compatibility symlinks (closes: #366662). + * updated list of upstream docs and changelog location. + * Package now uses quilt instead of dpatch for add-on patch managment. + + -- sean finney Tue, 09 Oct 2007 19:39:49 +0200 + +cacti (0.8.6j-1) unstable; urgency=low + + * New upstream release. Any further etch-targeted changes will be + handled in a seperate branch. + * The following patches are now obsolete: + - 07_official_poller_output_remainder.dpatch + - 07_official_import_template_argument_space_removal.dpatch + - 07_official_dec06-vulnerability-scripts-0.8.6i.dpatch + - 07_official_dec06-vulnerability-poller-0.8.6i.dpatch + - 08_svn_timespan_breakage_fix.dpatch + * The following new "official" patches are added: + - 07_official_graph_debug_lockup_fix.dpatch + - 07_official_ping_php_version4_snmpgetnext.dpatch + - 07_official_thumbnail_graphs_not_working.dpatch + - 07_official_tree_console_missing_hosts.dpatch + + -- sean finney Tue, 06 Mar 2007 19:00:03 +0100 + +cacti (0.8.6i-4) unstable; urgency=medium + + * don't unconditionally source the dbconfig-common helper script + in the cacti config script, which would at least require a + pre-depends, but ultimately isn't necessary (closes: #408550). + + -- sean finney Fri, 26 Jan 2007 23:25:11 +0100 + +cacti (0.8.6i-3) unstable; urgency=high + + * include the list of official patches from upstream which (among other + things) resolves multiple vulnerabilities in the poller and default + scripts (Closes: 404818). thanks to Alex de Oliveira Silva for reporting + this, and Neil McGovern for a bit of consultation. + * security references: + - SA23528, CVE-2006-6799 + * also include one extra changeset from svn which fixes a regression + introduced in the security patch. + * new patches: + - 07_official_dec06-vulnerability-scripts-0.8.6i.dpatch + - 07_official_dec06-vulnerability-poller-0.8.6i.dpatch + - 07_official_poller_output_remainder.dpatch + - 07_official_import_template_argument_space_removal.dpatch + - 08_svn_timespan_breakage_fix.dpatch + + -- sean finney Mon, 15 Jan 2007 15:36:25 +0100 + +cacti (0.8.6i-2) unstable; urgency=low + + * let cacti know where the cactid binary is, since it doesn't + seem to have a reasonable default an longer. + + -- sean finney Mon, 30 Oct 2006 23:18:55 +0100 + +cacti (0.8.6i-1) unstable; urgency=low + + * new upstream release + * no longer need the following patches: + - 06_official-fix_search_session_clear_issue.dpatch + - 07_official-fix_sql_syntax_related_to_default_rra_id.dpatch + - 08_official-mysql_5x_strict.dpatch + - 09_official-nth_percentile_empty_return_set_issue.dpatch + - 10_official-database_autoincrement_corruption.patch.dpatch + + + -- sean finney Sat, 28 Oct 2006 15:05:46 +0200 + +cacti (0.8.6h-6) unstable; urgency=low + + * fix up debian/rules targets to comply with policy (closes: #395584). + * change build-depends-indep to build-depends for targets needed + in the clean rule. + * update standards-version to 3.7.2 + + -- sean finney Fri, 22 Sep 2006 21:39:12 +0200 + +cacti (0.8.6h-5) unstable; urgency=low + + * fix for braindead bug in postrm script introduced by yours + truly. fixed a bashism in there while i was at it (closes: #387540). + thanks to Olivier Berger for finding this. + * fix for non-essential dependencies (dbconfig-common) in the config + script (closes: #388214). + * updated portuguese brazillian templates, thanks to Andre Luis Lopes + for providing them (closes: #374020). + + -- sean finney Fri, 22 Sep 2006 21:04:19 +0200 + +cacti (0.8.6h-4) unstable; urgency=low + + * updated dependencies to allow any httpd-providing daemon to + satisfy the requirements for cacti. that doesn't necessarily + mean any httpd will work, but i've heard from at least one + report that others do, and i'd like to make it easier for + others to test. closes: #373886. + * updated postrm to handle cases where it's being purged without + its dependencies present. + + -- sean finney Tue, 29 Aug 2006 09:35:34 +0200 + +cacti (0.8.6h-3) unstable; urgency=low + + * official patch from upstream to fix database corruption and display some + users were having as a result of the differing version of adodb + in debian vs. the bundled version in cacti. thanks to the upstream + authors for their help addressing the issue, and to Rene Cunningham + for testing out the initial version of the patch. + (closes: #364391, #351342) + * added note to README.Debian about potential unmet dependencies in + mixed php4/php5 environments (thanks to Uwe Storbeck), and also + about checking the cli configuration for the required modules (thanks + to Troy Poppe), and also about potential problems with the cli + poller and safe_mode (thanks to Birger Brunswiek) (closes: #359964). + * update package description to mention that it's likely that mysql-server + should also be installed unless cacti is to be configured against a + remote database system (closes: #349754). + * added a note to README.Debian about the initial user/pass, at the + suggestion of Jonas Genannt, thanks. (closes: #352724). + * changed package dependencies to list apache2 as the first of the + series of apache-providing packages, and likewise reordered the + php/apache modules (closes: #356843). + * updated version of 08_official-mysql_5x_strict.dpatch which fixes + the breakage in ldap authentication reported by Matt Clauson, thanks. + (closes: #354663) + + -- sean finney Tue, 25 Apr 2006 19:30:50 +0200 + +cacti (0.8.6h-2) unstable; urgency=low + + * incorporated the following official upstream patches: + - 06_official-fix_search_session_clear_issue.dpatch + - 07_official-fix_sql_syntax_related_to_default_rra_id.dpatch + - 08_official-mysql_5x_strict.dpatch + - 09_official-nth_percentile_empty_return_set_issue.dpatch + * updated german debconf translation, thanks to + Mathias Klein (closes: #345786). + * typographical corrections to package description, thanks to + Jens Siedel (closes: #346007). + + -- sean finney Mon, 16 Jan 2006 16:02:44 +0100 + +cacti (0.8.6h-1) unstable; urgency=low + + * new upstream release. + * upstream now officially supports mysql-5.0 (closes: #336531). + * updated README.Debian with some information about zombie mysql + processes that some users have been experiencing when viewing + graphs (closes: #344519). + * updated 01_config.php.dpatch and 05_no-adodb.dpatch to apply to new + upstream version. + * removed "official" patches which are now incorporated into the + new upstream release: + - 06_official-short_open_tag_parse_error.dpatch + - 07_official-graph_properties_zoom.dpatch + - 08_official-script_server_snmp_auth.dpatch + - 09_official-mib_file_loading.dpatch + * added a db_stop to the postinst to help prevent hangs when + restarting apache2. + + -- sean finney Fri, 06 Jan 2006 08:24:29 +0100 + +cacti (0.8.6g-3) unstable; urgency=low + + * cacti now uses dbconfig-common, and thus once again ships with + automagical database support. + * Portuguese translation for cacti's debconf messages by LuíFerreira + (closes: #336836). + * new Swedish translations from Daniel Nylander (closes: #338668). + + -- sean finney Thu, 01 Dec 2005 14:59:40 +0100 + +cacti (0.8.6g-2) unstable; urgency=low + + * updated dependencies to allow working with the php5 family of packages. + * new spanish debconf translations from César Gómez Martín and the + debian-l10n-spanish mailing list (closes: #334384). + * added a note to README.Debian about possible breakage if rrdtool + is upgraded without changing cacti settings (closes: #335737). + + -- sean finney Sat, 29 Oct 2005 12:58:39 +0200 + +cacti (0.8.6g-1) unstable; urgency=low + + * new upstream release. + * upstream has re-implemented the limited snmpv3 support that previously + existed but was later removed (closes: #301165). + * removed patches that are now incorporated upstream: + - 03_dos2unix_on_scripts + - 06_cmd-snmp-data-sanity-fixes + - 07_snmp_alternate_port + * added the current list of upstream patches: + - 06_official-short_open_tag_parse_error + - 07_official-graph_properties_zoom + - 08_official-script_server_snmp_auth + - 09_official-mib_file_loading + + -- sean finney Sat, 24 Sep 2005 10:10:15 -0400 + +cacti (0.8.6f-5) unstable; urgency=low + + * fix cacti to explicitly depend on versions of libphp-adodb starting + at the version which silently changed the path. thanks to + Mark Sheppard and Javier Fernández-Sanguino Peña for independantly + pointing this out (closes: #322707, #325376). + * fix cacti to depend on "virtual-mysql-client" virtual package, to + allow cacti to co-exist with the new mysql-5.0 series of packages. + thanks to Miah Gregory for pointing this out (closes: #326011). + + -- sean finney Fri, 02 Sep 2005 05:55:46 -0400 + +cacti (0.8.6f-4) unstable; urgency=low + + * cacti now properly depends on debconf. + + -- sean finney Mon, 08 Aug 2005 13:23:24 -0400 + +cacti (0.8.6f-3) unstable; urgency=low + + * fix to allow xml based check templates to work for hosts running + snmp on an alternate port. thanks to Justin Hallet for the + patch (closes: #317689). + * for posterity, the security fixes included in 0.8.6e-1 addressed + the following CVE id's: + - CAN-2005-1524 (idefense remote file inclusion) + - CAN-2005-1525 (idefense SQL injection) + - CAN-2005-1526 (idefense remote code execution) + * updated include path for adodb configuration (closes #320782), thanks + to loïc lefort for reporting this. + + -- sean finney Mon, 01 Aug 2005 13:33:05 -0400 + +cacti (0.8.6f-2) unstable; urgency=high + + * new version of the upstream 'sanity checking' patches introduced + in 0.8.6e-2 (closes: #317253). + * the updated Czech debconf translation from Martin Sín somehow + got mixed up with the debconf translation for mysql. fixed. + (closes: #317137). + * for posterity, the security updates included in the previous + update have the following CAN numbers assigned to them: + - CAN-2005-2148 (hardened-php advisories 032005 and 042005) + - CAN-2005-2149 (hardened-php advisory 052005) + * even though it's been like 5 days, and the previous version's urgency + was set to high, it has not entered testing, so urgency will remain + at this level. + + -- sean finney Thu, 07 Jul 2005 08:05:17 -0400 + +cacti (0.8.6f-1) unstable; urgency=high + + * new upstream release. + * this new version addresses the following security issues reported by the + php-hardened project: + - 032005: Cacti Multiple SQL Injection Vulnerabilities + - 042005: Cacti Remote Command Execution Vulnerability + - 052005: Cacti Authentication/Addslashes Bypass Vulnerability + + -- sean finney Sat, 02 Jul 2005 01:11:18 -0400 + +cacti (0.8.6e-2) UNRELEASED; urgency=high + + * updated standards version to 3.6.2 + * patch for sanity checking of some of the cached database information, + which sometimes causes cmd.php based poller checks to hang and + eventually fail. + + -- sean finney Tue, 28 Jun 2005 00:54:57 -0400 + +cacti (0.8.6e-1) unstable; urgency=high + + * new upstream release. + * this release contains fixes for the arbitrary sql injection and input + validation vulnerabilities discovered in 0.8.6d. + * new Vietnamese debian translations from Clytie Siddall (closes: #313190). + * removed obsolete (and poorly written) debconf templates. thanks + to Clytie Siddall for pointing these out (closes: #313191). + * updated Czech debconf translation from Martin Sín (closes: #314620). + * lintian fixes: + - include debhelper macro in preinst + - changelog converted to UTF-8 format. + - overrides file introduced, to ignore permissions on rra dir. + + -- sean finney Mon, 20 Jun 2005 22:30:05 -0400 + +cacti (0.8.6d-1) unstable; urgency=low + + * new upstream release. + * removed "official patches" patch, as they are now included in this version. + * the adodb code is now removed from the build tree instead of being patched + out of the source, which makes things a bit cleaner in the long run. + * document how to login after installation. thanks to Jari Aalto for + mentioning this omission (closes: #309619). + * initial czech translation for cacti, thanks to Martin Sin (closes: #311095). + * have the cronjob output stderr to a logfile instead of stdout. thanks + to Daniel van Eeden for helping find the best solution to this + (closes: #309425). + + -- sean finney Sat, 28 May 2005 19:42:30 -0400 + +cacti (0.8.6c-8) unstable; urgency=low + + * import of upstream patches was b0rken. should be fixed up in this + release. + * removed the adodb code, as we're allready depending on libphp-adodb, + and should have been using that instead this whole time. i also + updated the include statement in config.php to include adodb from + its new location. + * only change ownership/permissions of debian.php the first time it is + created (which should prevent local ownership/permission changes + later on from being silently overwritten) + * don't mask errors when you can't include debian.php + * don't throw away stderr from cacti's cron.d file, and change MAILTO + to send mail to root (otherwise it'd go to www-data). thanks for + this and the preceding two fixes go to Mark Sheppard + (closes: #309194). + + -- sean finney Wed, 11 May 2005 17:54:51 -0400 + +cacti (0.8.6c-7) unstable; urgency=low + + * brought in the rest of the patches from the upstream authors. + this should fix the problem with graphing negative numbers, as + reported by Kelly Brown (closes: #305561). + * updated dependency on php4-mysql to be versioned, to make dependencies + work better for woody users. thanks to Vittorio R Tracy + for mentioning this (closes: #302563). + + -- sean finney Wed, 06 Apr 2005 20:03:27 -0400 + +cacti (0.8.6c-6) unstable; urgency=low + + * updated french debconf translations, thanks for this to + Christian Perrier (closes: #299895). + * updated portuguese brazillian templates, thanks to + Tiago Bortoletto Vaz (closes: #301499). + * include upstream patch to fix tree browsing when authentication + is turned off. thanks to Hannu Teulahti (closes: #300843). + * strip ^M's from the scripts, as it can mess up execution according + to Fred Blaise , thanks (closes: #300845). + * debian.php is now managed via ucf. + * generate_config is now always called in the postinst, so calling + dpkg-reconfigure should regenerate the contents of the config + file. thanks to Mickael Marchand (closes: #300876). + * correction in README.Debian, thanks to Miah Gregory + and all the other people who emailed me about this. (closes: #299834). + * no longer depend on wwwconfig-common, only support the conf.d style + of apache configuration. this should as a side effect resolve the bug + reported by Tiago Bortoletto Vaz (closes: #289156). + + -- sean finney Tue, 29 Mar 2005 22:00:28 -0500 + +cacti (0.8.6c-5) unstable; urgency=high + + * oops, let's not rm -rf the old scripts directory in the preinst, + instead try to remove the directory or fail gracefully if there + are still things in there. thanks and an apology are due to + Gérald GARCIA (closes: #300449). this is a grave + severity bug, so urgency set to high. + * README.Debian updated to mention where custom user scripts should + go, so that they can stay out of my reach :) + + -- sean finney Mon, 21 Mar 2005 06:12:21 -0500 + +cacti (0.8.6c-4) unstable; urgency=high + + * turns out removing the symlink wasn't as easy, need to do a couple + extra things in the preinst otherwise dpkg will keep and follow + the symlink according to debian policy. + * minor fixes in the templates. + + -- sean finney Sun, 06 Mar 2005 12:21:01 -0500 + +cacti (0.8.6c-3) unstable; urgency=high + + * José de Paula Eufrásio Júnior found + that there's some voodoo with ereg that doesn't work in some + locales unless mbstring.func_overload is set to 0. this + prevents cacti from installing, which gave the bug a grave + severity, thus again the high urgency. sigh. thanks, josé + (closes: #298102). + * the script dir can't be a symlink after all, because it + breaks php scripts. thanks to Bernardo Achirica + for finding this out (closes: #298032). + + -- sean finney Fri, 04 Mar 2005 23:24:17 -0500 + +cacti (0.8.6c-2) unstable; urgency=high + + * removed unneccesary poller debconf cruft. + * otherwise the same as -1, but to unstable and urgency set to high + as foretold in the previous changelog entry (closes rc bug). + + -- sean finney Thu, 03 Mar 2005 14:21:01 -0500 + +cacti (0.8.6c-1) experimental; urgency=low + + * new upstream release (closes: #271661). + * the cacti source package no longer produces cacti-cactid, which is + provided by a seperate upstream tarball. + * cacti site stuff now in /usr/share/cacti/site, which frees + up /usr/share for non-site related stuff. + * automagical install/upgrades of the mysql database are disabled + for the time being. see README.Debian for the rationale. + * start to bring in ucf for managing config files. + * no longer have a need for /etc/cacti/default-poller, as this is + now handled completely inside the application (closes: #292365). + * rrd files are now stored in /var/lib/cacti/rra, as they can + not be reconstituted from scratch. this closes an rc bug, so priority + on this package will be set to high when it goes into unstable, which + will be the next upload (closes: #297470). + * documentation provided for what you need to do if you're upgrading + from a 0.6.x version of cacti. i can't guarantee that it will + work, but it did for me, and this is probably the best you're + going to get (closes: #226404). + * various README.Debian updates. + * cacti online documentation now made online to symlinking to where + it already exists in /usr/share/doc. + + -- sean finney Fri, 25 Feb 2005 19:26:57 -0500 + +cacti (0.8.5a-9) unstable; urgency=low + + * new maintainer has adopted the package (closes: #292770) + * fixed dependencies against mysql-client, so cacti now depends + mysql client or mysql-client-4.1 (i'm hesitant to use + virtual-mysql-client since i think mysql-client < 3.23 might + not work). thanks to Robert Loomans , + Olaf van der Spek , and the mysql maintainer + Christian Hammers for pointing this out. + (closes: #293750, #285002). + * no longer use delaycompress in the logrotate script, since + there's not much use to leaving it uncompressed by default + and it's a lot of data. thanks, Gustavo Franco + (closes: #275045). + + -- sean finney Sat, 19 Feb 2005 19:37:54 -0500 + +cacti (0.8.5a-8) unstable; urgency=high + + * Update pt_BR, nl debconf translations. (Closes: #270277, #270787) + + -- Thorsten Sauter Sat, 11 Sep 2004 00:18:12 +0200 + +cacti (0.8.5a-7) unstable; urgency=low + + * Update french translation. (Closes: #268801) + * Checking for short tags in cacti/debian.php and fix them if needed. (Closes: #269480) + * debian/README.Debian: add a new section about php short tags + + -- Thorsten Sauter Thu, 2 Sep 2004 23:27:27 +0200 + +cacti (0.8.5a-6) unstable; urgency=high + + * Don't know why it was last: change priority from extra to optional + * debian/README.Debian: spell checking, add docu for php4-cli + * ship a new script which check for php4-mysql support and print a + error message to the poller logfile. With the modification of the + readme file I think the bug can be closed. (Closes: #267009) + + -- Thorsten Sauter Thu, 26 Aug 2004 22:52:38 +0200 + +cacti (0.8.5a-5) unstable; urgency=high + + * debian/control: change priority from extra to optional + * replace Brazilian Portuguese translation. (Closes: #264090) + * debian/cacti.templates: Add new choice "None" to the webserver question. + This gives the user a chance to use his own webserver. (Closes: #255971) + * If we search for a local installed mysql-server check for packages + which are installed or on hold. (Closes: #263262) + * Fix some errors while removing include line from httpd.conf file. Also, + print an error message if this doesn't work. New installations should + use apache/conf.d anyway. (Closes: #253202) + * SECURITY-UPDATE: Fix SQL Injection in CACTI. (Closes: #267758) + Original upstream patch: + http://cvs.raxnet.net/cgi-bin/viewcvs.cgi/cacti/auth_login.php.diff?r1=1.48&r2=1.49 + Full-Disclosure: + http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0717.html + * cacti.apache.conf: Change some php4 settings to make cacti more robust/secure. + * /etc/cacti/debian.php: create long php4 tags ' Wed, 23 Jun 2004 08:46:37 +0200 + +cacti (0.8.5a-4) unstable; urgency=low + + * Change package priority to extra. + * Change cronjob. The output of the poller job is now appended to the + logfile + * Update french debconf translation: fr.po. (Closes: #253585) + * Add debconf translation: pt_BR.po. Don't know, which language + this is :-) (Closes: #252021, #252017) + * Backport cacti cvs fix (#0000176) into debian version. This will fix + compatiblity problem with the output of the df command and long device + names. (Closes: #254856) + + -- Thorsten Sauter Tue, 22 Jun 2004 23:26:17 +0200 + +cacti (0.8.5a-3) unstable; urgency=low + + * Fix type in package description. (Closes: #249590) + * Update dutch debconf translation. (Closes: #250652) + + -- Thorsten Sauter Wed, 26 May 2004 11:49:27 +0200 + +cacti (0.8.5a-2) unstable; urgency=low + + * Fix error in the cron script + - poll.sh isn't in the default path, we need ./poll.sh here + - make sure the cacti directory exists, otherwise we will get + a lot of error messages from cron. (Closes: #246982) + * Depend also on apache2. Still depend on php4-cgi, we need both + packages: php4 and php4-cgi. (Closes: #227295) + * Make the package apache2 "safe". Depend on php4 or libapache2-mod-php4 + * Include apache2 howto into debian/README.Debian. + * Update templates, maintainer scripts to install config files for apache2 + too. Update german translation + * cactid: remove upstream installation docu + + -- Thorsten Sauter Mon, 17 May 2004 11:12:05 +0200 + +cacti (0.8.5a-1) unstable; urgency=low + + * New upstream version. + * Include new dutch debconf translation: nl.po. (Closes: #245916) + * Insert new dependency on php4-snmp which removes a lot of extra cpu usage. + Thanks Rafael D'Halleweyn. (Closes: #228948) + * Update debconf template and german/french translations. + Thanks Christian Perrier. (Closes: #225890) + * Including the new multi-threading poller (cactid). This binary can collect + multiple datasources at the same time. (Closes: #186013, #237055) + The program is not in the core release and not marked as stable, that's + why I include it in an extra debian package. + * The MySQL admin password is now removed from debconf database, if the user + decide to not store it. (Closes: #224214) + * The new poll.sh script report the output from the poller into a logfile. + Maybe not the best solution, but so we don't loose any output. (Closes: #234726) + * The new package containts the install/ directory also. This is useful, + if we're not upgrading from 0.8.4 but from an other version. (Closes: #227737) + * Insert an upgrade path from 0.8.4 and 0.8.5, this is done via sql scripts + in updscripts/ + * A new poll.sh script is used for cronjobs. This script use either cacti + or the new cactid poller (depends on the default-poller file). + * During upgrade the databases are dumped/backuped. + * Update build system. Change to cdbs system. + * Update README.Debian file. + * Update Build-Depends/Depends + + -- Thorsten Sauter Mon, 26 Apr 2004 10:48:58 +0200 + +cacti (0.8.4-2) unstable; urgency=low + + * Print a warning message, if cacti is upgraded from an old version + * extend debian/README.Debian with upgrade database instructions + + -- Thorsten Sauter Tue, 30 Dec 2003 13:44:55 +0100 + +cacti (0.8.4-1) unstable; urgency=low + + * New maintainer. (Closes: #196199) + * New upstream version. (Closes: #198777) + * debian/changelog: + - convert to UTF-8 + * debian/control: + - update standards version + - update build dependencies + - insert new logrotate dependency + - depend on libphp-adodb, which is also in the archive + - add apache-perl to apache dependency list. (Closes: #204290) + * debian/rules: rewrite the way to install the files into the package + * debian/cacti.cron.d: + - make the script a little bit more robust. (Closes: #211249) + * debian/README.Debian: + - replace most parts of the text. + * debian/cacti.apache.conf: + - reformat the file a little bit + - remove unused phtml extension + * debian/cacti.logrotate: + - reformat the file + + -- Thorsten Sauter Tue, 2 Dec 2003 11:24:49 +0100 + +cacti (0.6.8a-13.1) unstable; urgency=low + + * NMU + * Rewrote debconf templates to more standard english with the help of + debian-l10n-english. Former templates have been left for future reference + Closes: #189401 + * French debconf templates update. Closes: #197119 + * More secure temp file handling in postrm. Thanks lintian. + + -- Christian Perrier Mon, 16 Jun 2003 22:54:11 +0200 + +cacti (0.6.8a-13) unstable; urgency=low + + * Orphan this package + + -- Igor Genibel Thu, 5 Jun 2003 11:58:50 +0200 + +cacti (0.6.8a-12) unstable; urgency=low + + * Missed to close bug #183287 (Closes: #183287) + + -- Igor Genibel Wed, 19 Mar 2003 09:32:25 +0100 + +cacti (0.6.8a-11) unstable; urgency=low + + * remove quote in cron.php in order to be run in safe_mode + and /var/log/httpd/access_log -> /var/log/apache/access_log in + scripts/webhits (Closes: #177791) + * fix non installation when no mysql server is present when localhost + installation (Closes: #183288, #184324) + * fix non removal when no mysql server found (in localhost installation) + (Closes: #183288) + * fix loop when upgrading and mysql-server != localhost (Closes: #179561) + * use po-debconf + + -- Igor Genibel Mon, 17 Mar 2003 15:00:55 +0100 + +cacti (0.6.8a-10) unstable; urgency=low + + * Fix various packaging mistakes + - Mention that mysql is not installed on local systems (complement to the + #172414) + - Provide a good cacti.sql (Closes: #166296) + - config.php is only store in /etc/cacti (Closes: #172410) + - Provide somes explanations for scripts provided in the package + (see the README.Debian file) (Closes: #167814) + * Standards-Version: 3.5.8 + + -- Igor Genibel Sun, 5 Jan 2003 21:15:49 +0100 + +cacti (0.6.8a-9) unstable; urgency=low + + * Fix extra OID in parameter. Thanks to Roberto Moreda + (Closes: #162873) + + -- Igor Genibel Mon, 30 Sep 2002 16:51:36 +0200 + +cacti (0.6.8a-8) unstable; urgency=low + + * Fix typo in postinst file (Closes: #162574) + + -- Igor Genibel Fri, 27 Sep 2002 12:20:28 +0200 + +cacti (0.6.8a-7) unstable; urgency=low + + * fix broken regexp in include/snmp_functions.php + * force the use of external snmp functions + + -- Igor Genibel Thu, 26 Sep 2002 17:39:03 +0200 + +cacti (0.6.8a-6) unstable; urgency=low + + * apply a patch provided by Blaine Kahle in order to + cleanly use net-snmp5 + + -- Igor Genibel Thu, 26 Sep 2002 16:50:24 +0200 + +cacti (0.6.8a-5) unstable; urgency=low + + * re-add lost patch provided by Adam Conrad in order to bypass the php4-cgi + installation bug (related bugs: #147385, #147261, #129883 and #145465) + (Closes: #154822) + + -- Igor Genibel Thu, 26 Sep 2002 16:10:05 +0200 + +cacti (0.6.8a-4) unstable; urgency=low + + * New recommends on iputils-ping (because of the "-w" ping option) + (Closes: #161278, #161279) + * New Standards (3.5.7.0) + * DH_COMPAT 4 + + -- Igor Genibel Thu, 26 Sep 2002 12:35:46 +0200 + +cacti (0.6.8a-3) unstable; urgency=low + + * Fix type in postinst file (Closes: #160694) + * Add missing ; in include/rrd_functions.php file (Closes: #160703) + + -- Igor Genibel Tue, 17 Sep 2002 17:51:09 +0200 + +cacti (0.6.8a-2) unstable; urgency=high + + * Security upload: + really fix the arbitrary program code execution. + + -- Igor Genibel Tue, 10 Sep 2002 09:57:00 +0200 + +cacti (0.6.8a-1) unstable; urgency=high + + * Security Upload: + prevent executing arbitrary program code under the user id of the web + server. + + -- Igor Genibel Mon, 9 Sep 2002 14:39:37 +0200 + +cacti (0.6.8-10) unstable; urgency=high + + * fix the wrong setcookie() call (Closes: #157740) + * force the use of net-snmp tool instead of using native broken php-snmp + functions (Closes: #157383,#157381) + * urgency=high because cacti is not usable with the php-snmp functions + + -- Igor Genibel Thu, 22 Aug 2002 17:20:32 +0200 + +cacti (0.6.8-9) unstable; urgency=low + + * The «I'm too lame and stupid» version + * really add the «if exists» statement + + -- Igor Genibel Mon, 19 Aug 2002 16:03:44 +0200 + +cacti (0.6.8-8) unstable; urgency=low + + * add a «if exists» when dropping the database (for partial installation) + + -- Igor Genibel Mon, 19 Aug 2002 15:46:58 +0200 + +cacti (0.6.8-7) unstable; urgency=low + + * Fix uninstallable package with calling mysql differently (Closes: #156951) + + -- Igor Genibel Mon, 19 Aug 2002 14:41:08 +0200 + +cacti (0.6.8-6) unstable; urgency=low + + * move php-cgi bug workaround from include/database.php to + include/config.php in order to fix the html export bug + * put strict dependency on mysql-client (because of SQL query) + (Closes: #149787) + + -- Igor Genibel Wed, 12 Jun 2002 19:40:29 +0200 + +cacti (0.6.8-5) unstable; urgency=low + + * ask for password confirmation. + * Test if provided password for mysql is Ok. (Closes: #148862) + * add two scripts + + -- Igor Genibel Mon, 3 Jun 2002 14:11:28 +0200 + +cacti (0.6.8-4) unstable; urgency=low + + * put php_flag short_open_tag On in apache.conf file (Closes: #147283) + * fix SQL entry for webhits script + + -- Igor Genibel Fri, 17 May 2002 18:45:17 +0200 + +cacti (0.6.8-3) unstable; urgency=low + + * provide the get_stat_for_interface.pl script (I'm too lame) + + -- Igor Genibel Fri, 17 May 2002 18:36:44 +0200 + +cacti (0.6.8-2) unstable; urgency=low + + * Suppress and fix wrong SQL inserts. (Closes: #147259,#147262) + Thanks to Guillaume + * Applied a patch provided by Adam Conrad in order to bypass php4-cgi + installation bug + + -- Igor Genibel Fri, 17 May 2002 16:19:14 +0200 + +cacti (0.6.8-1) unstable; urgency=low + + * New upstream version (Closes: #146799) + * add new script that fetches informations directly from /proc (Luc + Saillard) + * patch auth_login.php in order to move php4 dependency from Depends to + Recommends. Now only php4-cgi package is mandatory. (Luc Saillard) + * Standards-Version: 3.5.6.0 + + -- Igor Genibel Mon, 13 May 2002 16:03:13 +0200 + +cacti (0.6.7-2) unstable; urgency=low + + * add snmp to dependencies + * fix logrotate broken file + * add a note in README.Debian concerning php4-cgi installation + + -- Igor Genibel Fri, 5 Apr 2002 12:59:51 +0200 + +cacti (0.6.7-1) unstable; urgency=low + + * Initial Release. (Closes: #140461) + + -- Igor Genibel Wed, 3 Apr 2002 15:04:11 +0200 + --- cacti-0.8.7g.orig/debian/gbp.conf +++ cacti-0.8.7g/debian/gbp.conf @@ -0,0 +1,6 @@ +[DEFAULT] +debian-branch = debian-sid +upstream-branch = upstream-sid + +[git-dch] +meta = 1 --- cacti-0.8.7g.orig/debian/cacti.prerm +++ cacti-0.8.7g/debian/cacti.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# source debconf stuff +. /usr/share/debconf/confmodule +# source dbconfig-common stuff +. /usr/share/dbconfig-common/dpkg/prerm.mysql +dbc_go cacti $@ + +#DEBHELPER# --- cacti-0.8.7g.orig/debian/cacti.postinst +++ cacti-0.8.7g/debian/cacti.postinst @@ -0,0 +1,74 @@ +#!/bin/sh + +set -e + +# source debconf stuff +. /usr/share/debconf/confmodule +db_version 2.0 +# source dbconfig-common stuff +. /usr/share/dbconfig-common/dpkg/postinst.mysql +dbc_first_version="0.8.6g-3" +dbc_generate_include="php:/etc/cacti/debian.php" +dbc_generate_include_owner="root:www-data" +dbc_generate_include_perms="0640" +dbc_generate_include_args="--dbname=database_default --dbpass=database_password --dbuser=database_username --dbserver=database_hostname --dbport=database_port" +dbc_go cacti $@ + +# +# Skip, if we are not in "configure" state +# +if [ "$1" != "configure" ]; then + exit 0 +fi +version="$2" + +## Source debconf library + +# +# retieve various configuration options from debconf +# +db_get cacti/webserver +WWWTYPE="$RET" + +ucf --debconf-ok /usr/share/doc/cacti/cacti.apache.conf /etc/cacti/apache.conf + +# done with debconf... +db_stop + +# Create common files (logfile) and grant permissions +touch /var/log/cacti/rrd.log /var/log/cacti/cacti.log +chmod 0640 /var/log/cacti/rrd.log /var/log/cacti/cacti.log +chown -R www-data:www-data /var/log/cacti/ + +# update the webserver, if needed +case "$WWWTYPE" in + "Apache") + webservers="apache" ;; + "Apache-SSL") + webservers="apache-ssl" ;; + "Apache2") + webservers="apache2" ;; + "All") + webservers="apache apache-ssl apache2" ;; + *) + webservers="" ;; +esac + +# Only try to add a symlink on a fresh install to respect +# changes done by the administrator +if [ "$2" = '' ]; then + for server in $webservers; do + if [ -d "/etc/${server}/conf.d" ]; then + if [ ! -e "/etc/${server}/conf.d/cacti.conf" ] ; then + ln -s ../../cacti/apache.conf "/etc/${server}/conf.d/cacti.conf" + fi + invoke-rc.d $server reload || true + fi + done +fi + +# remove old unused config file +rm -f /etc/cacti/config.php + +#DEBHELPER# +exit 0 --- cacti-0.8.7g.orig/debian/cacti.templates +++ cacti-0.8.7g/debian/cacti.templates @@ -0,0 +1,8 @@ +Template: cacti/webserver +Type: select +_Choices: Apache, Apache-SSL, Apache2, All, None +Default: Apache +_Description: Webserver type + Which kind of web server should be used by cacti? + . + Select "None" if you would like to configure your webserver by hand. --- cacti-0.8.7g.orig/debian/rules +++ cacti-0.8.7g/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +TDIR:=debian/cacti +SHAREDIR:=${TDIR}/usr/share/cacti +SITEDIR:=${SHAREDIR}/site +RRADIR:=${TDIR}/var/lib/cacti/rra + +# include the patch/unpatch rules from quilt +include /usr/share/quilt/quilt.make + + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + touch configure-stamp + +build: build-stamp +build-stamp: patch configure-stamp + dh_testdir + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + debconf-updatepo + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -p *.php ${SITEDIR}/ + cp -pr scripts images include install lib ${SITEDIR}/ + cp -pr cli resource ${SHAREDIR}/ + # place the sql script where dbconfig-common wants it + cp cacti.sql ${TDIR}/usr/share/dbconfig-common/data/cacti/install/mysql + # normalize permissions in the site directory + find ${RRADIR} ${SITEDIR}/ -exec chown root:www-data {} \; + find ${SITEDIR}/ -type f -exec chmod 640 {} \; + find ${SITEDIR}/ -type d -exec chmod 750 {} \; + # and then fix the special case files + find ${SITEDIR}/scripts -type f -name '*.php' -exec chmod 640 {} \; + for f in cmd.php poller.php lib/ping.php; do \ + chmod ug+x ${SITEDIR}/$$f; \ + done + chmod 770 ${RRADIR} + # remove all adodb code at build time, as we get this from libphp-adodb + rm -rf ${SITEDIR}/lib/adodb + # plop in our lintian override file + cp debian/cacti.lintian-overrides ${TDIR}/usr/share/lintian/overrides/cacti + + +binary-arch: +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs docs/CHANGELOG + dh_installdocs + dh_installexamples + dh_installdebconf + dh_installlogrotate + dh_installcron + dh_installman + dh_usrlocal + dh_link + dh_strip + dh_compress + dh_fixperms -X/var/lib/cacti/rra + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-arch binary-indep binary install configure patch unpatch --- cacti-0.8.7g.orig/debian/cacti.logrotate +++ cacti-0.8.7g/debian/cacti.logrotate @@ -0,0 +1,10 @@ +/var/log/cacti/*.log { + weekly + missingok + rotate 52 + compress + notifempty + create 640 www-data www-data + sharedscripts +} + --- cacti-0.8.7g.orig/debian/TODO +++ cacti-0.8.7g/debian/TODO @@ -0,0 +1,6 @@ +================================================== +sean's todo list +================================================== +- permissions and such in postinst should be in rules +- doc symlink the $site/docs -> /usr/share/doc/html +================================================== --- cacti-0.8.7g.orig/debian/cacti.postrm +++ cacti-0.8.7g/debian/cacti.postrm @@ -0,0 +1,89 @@ +#!/bin/sh + + +# +# Skip, if we are not in "configure" state +# +if [ "$1" != "remove" ] && [ "$1" != "purge" ]; then + exit 0 +fi + +## Source debconf library +. /usr/share/debconf/confmodule +db_version 2.0 +# source dbconfig-common stuff +if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then + . /usr/share/dbconfig-common/dpkg/postrm.mysql + dbc_go cacti $@ +fi + + +# +# retieve various configuration options from debconf +# +db_get cacti/webserver +WWWTYPE="$RET" + +case "$WWWTYPE" in + "Apache") + webservers="apache" ;; + "Apache-SSL") + webservers="apache-ssl" ;; + "Apache2") + webservers="apache2" ;; + "All") + webservers="apache apache-ssl apache2" ;; + *) + webservers="" ;; +esac +includefile=/etc/cacti/apache.conf + +# +# remove or purge the whole package +# +case "$1" in +purge) + # cleanup some unsed directores + [ -d "/var/log/cacti" ] && rm -rf /var/log/cacti + [ -d "/var/cache/cacti" ] && rm -rf /var/cache/cacti + + # get rid of non conffiles generated in /etc + rm -f /etc/cacti/debian.php /etc/cacti/default-poller + + # get rid of ucf entries + if which ucf >/dev/null 2>&1; then + ucf --purge /etc/cacti/apache.conf + ucf --purge /etc/cacti/debian.php + fi + rm -f /etc/cacti/apache.conf + rm -f /etc/cacti/debian.php + + # remove apache config symlinks and restart apache + for server in $webservers; do + if [ -d "/etc/${server}/conf.d" ]; then + if [ -L "/etc/${server}/conf.d/cacti.conf" ]; then + rm "/etc/${server}/conf.d/cacti.conf" + fi + fi + invoke-rc.d $server reload || true + done + + ;; + +remove) + for server in $webservers; do + if [ -d "/etc/${server}/conf.d" ]; then + if [ -L "/etc/${server}/conf.d/cacti.conf" ]; then + rm "/etc/${server}/conf.d/cacti.conf" + fi + fi + invoke-rc.d $server reload || true + done + + ;; + +esac + +#DEBHELPER# +exit 0 + --- cacti-0.8.7g.orig/debian/copyright +++ cacti-0.8.7g/debian/copyright @@ -0,0 +1,64 @@ +This package was debianized by Igor Genibel on +Wed Apr 3 15:13:41 CEST 2002 + +It was downloaded from http://www.raxnet.net/products/cacti/ + +Author: Ian Berry. + += = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = + +Copyright (C) 2004-2007 The Cacti Group + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + += = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = + +This source package also includes an embedded copy of adodb, which is not +used in the resulting binary packages. adodb is dual licensed BSD-style/LGPL, +the former of which is included below: + +Copyright (c) 2000, 2001, 2002, 2003, 2004 John Lim +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list +of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list +of conditions and the following disclaimer in the documentation and/or other materials +provided with the distribution. + +Neither the name of the John Lim nor the names of its contributors may be used to +endorse or promote products derived from this software without specific prior written +permission. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +JOHN LIM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +alternatively the contents of the LGPL v2.1 can be found in +/usr/share/common-licenses/LGPL-2.1 --- cacti-0.8.7g.orig/debian/cacti.preinst +++ cacti-0.8.7g/debian/cacti.preinst @@ -0,0 +1,30 @@ +#!/bin/sh + +set -e + +# this is where rrd's used to go +oldrradir="/var/cache/cacti" +# this is where rrd's should go, according to policy +newrradir="/var/lib/cacti/rra" +# this used to be a symlink, and needs to be removed before unpacking +oldlink="/usr/share/cacti/site/scripts" +# and this is where it used to point +oldlinkdir="/usr/share/cacti/scripts" + +if [ "$1" = "install" -o "$1" = "upgrade" ]; then + # check for pre-existing rrd's in and move them to where they should be + if [ "`ls $oldrradir 2>/dev/null`" ]; then + mkdir -m 755 -p "$newrradir" || true + cp -pR ${oldrradir}/* ${newrradir}/ + rm -rf ${oldrradir} + chown -R www-data:www-data "$newrradir" + fi + if [ -L "$oldlink" ]; then + rm -f "$oldlink" + fi + if [ -d "$oldlinkdir" ]; then + rmdir "$oldlinkdir" || true + fi +fi + +#DEBHELPER# --- cacti-0.8.7g.orig/debian/README.Debian +++ cacti-0.8.7g/debian/README.Debian @@ -0,0 +1,198 @@ +cacti for Debian + +---------------- +originally written by Thorsten Sauter +Fri, 3 Sep 2004 11:25:28 +0200 + +last edited by sean finney +Fri, 06 Jan 2006 08:07:46 +0100 +---------------- + +* viewing graphs causing zombie mysql processes? + + If this happens, take a look at the solutions given in + http://bugs.debian.org/344519. + +* ERROR: Garbage ':33:09 To 2005/10/27 08:33:09\c' after command: + + If you get this, it's probably because you just upgraded rrdtool, + which changed its output format between versions and cacti is still + trying to parse it using the old versions' output. If you go into + your cacti settings, you will see an option to change the version + of rrdtool you have installed, which should solve your problem. + +* installation + + note that cacti now uses automatic configuration via dbconfig-common. + however, if you've chosen to go the manual route, the following + information may be helpful. + + using the username and password you provided in debconf (and stored + in the cacti config file /etc/cacti/debian.php), create a database + and load up the cacti skeleton. assuming you chose a database and + user both named 'cacti': + + mysql -u root -p -e "create database cacti" + mysql -u root -p -e "grant all privileges on cacti.* to cacti@localhost identified by 'yourpasswordhere'; flush privileges" + zcat /usr/share/doc/cacti/cacti.sql.gz | mysql -u cacti -p cacti + + next, go to http://$yourhost/cacti/, and follow the on-screen directions. + the default login is admin/admin. once automagical configuration is + brought back into cacti, this will probably change to something better. + +* Upgrading from recent versions of cacti (>= 0.8.x) + + There is a special directory install/ available, which contains some + basic php scripts to upgrade your current database to the new version + of cacti. + + Normally, this should happen automatically. If not, simply point your + browser to your cacti installation: + + http://$yourhost/cacti/install + + At some point the automatic upgrade feature will return, but not now. + +* Upgrading from old cacti versions (<= 0.6.x) + + The database structure has changed between version 0.6.x and 0.8.x. To make + cacti working again, you must create a new database, and import the cacti + database configuration. You can do this with the following commands. Please + replace "cacti" with your database name. Maybe you must also specify an + host name (-h host). + + # backup the old database + $ mysqldump -u root -p cacti | gzip -9 - >/tmp/cacti-old.gz + + # delete and create the database again + $ mysqladmin -u root -p drop cacti + $ mysqladmin -u root -p create cacti + + # import the database structure + $ zcat /usr/share/doc/cacti/cacti.sql.gz | mysql -u root -p cacti + + optionally, if you have lots and lots of data and it's critically important + to keep it, you can try the following, which i've had work on smaller test + installations: + + - downgrade to the previous 0.6.x version of cacti in woody. + - download version 0.6.8a from the old cacti repository: + http://www.cacti.net/downloads/archive/ + - extract the tarball in /usr/local/cacti, configure config.php. + - change your Alias to point /cacti/ at this directory + - go to http://$yourhost/cacti/install/ and do the 0.6.7->0.6.8a upgrade + - turn off cron (or at least the cronjob for cacti) + - back up your current database, load a copy into a database + called cacti-old. truncate the old database. + - repeat the described upgrade process to go from 0.6.8a to 0.8. + you'll be asked for an "old database" and a "new database". this + is where things will either work or not work. + - remove these two cacti directories in /usr/local + - install the latest version of cacti from sarge/sid + - point your apache config back where it should + - go to http://$yourhost/cacti/install/ and cacti should take you + the rest of the way to the current version. + - turn the cronjob back on + + note that i haven't tried this on a large scale, it takes quite a bit + of effort, and i can't guarantee it will work. sorry :/ + + i would like at some point to offer some automated (or at least cmdline) + programs to help automate this, but my first priority is to get the next + upstream release out the door. i've already done some work on this, if + you're interested in helping out, send me an email. + +* PHP command line scripts: + + If you install the php4-{cli,cgi} package _after_ the php4-mysql package, + there will be no entry for the mysql extension in this file. + To fix this, you can run the following command and select the cgi + interface also: + # dpkg-reconfigure php4-mysql + + You need to enable mysql support for apache, cli and/or cgi. Depending + on your configuration. + +* Apache2 support + + If you would like to use cacti with apache2 you need to install the php4 + package for apache2: libapache2-mod-php4. After this you need to enable + the mysql and snmp extension for php4. + + # cd /etc/php4/apache2/ + # grep -q mysql.so php.ini || echo "extension=mysql.so">>php.ini + # grep -q snmp.so php.ini || echo "extension=snmp.so">>php.ini + + (Please note the two ">>" signs) + +* PHP short tags problem in /etc/cacti/debian.php + + Previous versions of cacti create the debian.php file with short php + tags ' +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: cacti\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-08-29 18:36+0100\n" +"Last-Translator: César Gómez Martín \n" +"Language-Team: Debian l10n spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-Country: SPAIN\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Todos, Ninguno" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Tipo de servidor web" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "¿Qué tipo de servidor web quiere usar con cacti?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Seleccione «Ninguno» si quiere configurar su servidor web manualmente." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "" +#~ "¡Las instalaciones y actualizaciones de MySQL se deben hacer de forma " +#~ "manual!" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "Por ahora el soporte para la actualización automática de la base de datos " +#~ "MySQL de Cacti se ha deshabilitado. Por favor, consulte en /usr/share/doc/" +#~ "cacti/README.Debian.gz los motivos y lo que necesita para instalar o " +#~ "actualizar Cacti." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Tenga en cuenta que todavía se le preguntará sobre la información " +#~ "relevante que se usará para generar los ficheros de configuración " +#~ "apropiados. " + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "" +#~ "Cambios de la estructura de la base de datos en la configuración de cacti." + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Está actualizando desde una versión previa a 0.8.x. Desafortunadamente su " +#~ "vieja base de datos no funcionará con la última versión de Cacti. Por " +#~ "favor, lea /usr/share/doc/cacti/README.Debian.gz para ver las distintas " +#~ "opciones de las que dispone." + +#~ msgid "MySQL server host name" +#~ msgstr "Nombre de máquina del servidor MySQL" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "" +#~ "Por favor, introduzca el nombre de la máquina en la que está la base de " +#~ "datos de Cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Nombre de la base de datos para cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Por favor, introduzca el nombre de la base de datos de Cacti. Cacti " +#~ "almacenará y obtendrá datos de ella." + +#~ msgid "MySQL administrator username" +#~ msgstr "Nombre de usuario del administrador de MySQL" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Por favor, introduzca el nombre del administrador de MySQL (se necesita " +#~ "para la creación de la base de datos de Cacti)." + +#~ msgid "MySQL administrator password" +#~ msgstr "Contraseña del administrador de MySQL" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Introduzca «none» si no hay ninguna contraseña para la administración de " +#~ "MySQL." + +#~ msgid "Cacti database username" +#~ msgstr "Nombre de usuario de la base de datos de Cacti" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Por favor, introduzca el nombre que se usará para conectar a la base de " +#~ "datos de Cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Contraseña del usuario de Cacti" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Por favor, introduzca una contraseña para el usuario de la base de datos " +#~ "de Cacti (por omisión «cacti»)." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "¿Quiere purgar la base de datos cuando se purge el paquete?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Responda afirmativamente si quiere eliminar la base de datos y el usuario " +#~ "correspondiente cuando se purge el paquete." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Confirmación de la contraseña del administrador de MySQL" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Por favor, confirme la contraseña para el administrador de MySQL." + +#~ msgid "Error" +#~ msgstr "Error" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "" +#~ "La contraseña y su confirmación no coinciden. ¡Por favor, introdúzcala " +#~ "nuevamente!" --- cacti-0.8.7g.orig/debian/po/pt.po +++ cacti-0.8.7g/debian/po/pt.po @@ -0,0 +1,158 @@ +# Portuguese translation of cacti's debconf messages. +# 2005, Luís Ferreira +# +# 01-11-2005 - Luís Ferreira - Initial translation +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.6g-2\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-11-01 12:08+0100\n" +"Last-Translator: Luís Ferreira \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Todos, Nenhum" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Tipo de servidor web" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Que tipo de servidor web deve o cacti usar?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Selecione \"Nenhum\" se desejar configurar o seu servidor web á mão." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "" +#~ "As instalações e actualizações de MySQL devem ser feitas manualmente!" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "Por enquanto o suporte para a actualização automática da base de dados " +#~ "MySQL do cacti foi desactivado. Por favor veja o que precisa de fazer " +#~ "para instalar ou actualizar o cacti em /usr/share/doc/cacti/README.Debian." +#~ "gz." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Note que ainda lhe vai ser pedida a informação relevante, que será usada " +#~ "para gerar ficheiros de configuração apropriados." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "A estrutura da base de dados foi alterada na configuração do cacti." + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Você está a actualizar de uma versão anterior a 0.8.x. Infelizmente a sua " +#~ "base de dados antiga não vai funcionar com a última versão do cacti. Veja " +#~ "quais as suas opções em /usr/share/doc/cacti/README.Debian.gz." + +#~ msgid "MySQL server host name" +#~ msgstr "Nome do servidor anfitrião do MySQL." + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "" +#~ "Por favor introduza o nome da máquina que está a hospedar a base de dados " +#~ "do cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Nome da base de dados para o cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Por favor introduza o nome da base de dados do cacti. O cacti vai guardar " +#~ "e buscar dados daí." + +#~ msgid "MySQL administrator username" +#~ msgstr "Nome de utilizador do administrador de MySQL" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Por favor introduza o nome de utilizador do administrador de MySQL " +#~ "(necessário para a criação da base de dados do cacti)." + +#~ msgid "MySQL administrator password" +#~ msgstr "Palavra chave do administrador de MySQL." + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Introduza \"none\" se não existir palavra chave para a administração de " +#~ "MySQL." + +#~ msgid "Cacti database username" +#~ msgstr "Utilizador da base de dados do cacti" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Por favor introduza o nome que será usado para ligar à base de dados do " +#~ "cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Palavra chave do utilizador de Cacti" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Por favor introduza uma palavra chave para o utilizador da base de dados " +#~ "do Cacti (por omissão é \"cacti\")." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "" +#~ "Deseja remover a base de dados quando remover as configurações do pacote?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Aceite aqui se desejar perder a base de dados e o utilizador " +#~ "correspondente quando remover as configurações do pacote." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Confirmação da palavra chave do administrador de MySQL" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Por favor confirme a palavra chave do administrador de MySQL." + +#~ msgid "Error" +#~ msgstr "Erro" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "" +#~ "A palavra chave e a sua confirmação não coincidem. Por favor reintroduza " +#~ "a palavra chave." --- cacti-0.8.7g.orig/debian/po/templates.pot +++ cacti-0.8.7g/debian/po/templates.pot @@ -0,0 +1,41 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "" --- cacti-0.8.7g.orig/debian/po/ja.po +++ cacti-0.8.7g/debian/po/ja.po @@ -0,0 +1,41 @@ +# Copyright (C) 2008 Sean Finney +# as cacti Debian package's copyright holder. +# This file is distributed under the same license as the cacti package. +# Hideki Yamane (Debian-JP) , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.7b-2\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2008-07-31 11:21+0200\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, すべて, どれでもない" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "ウェブサーバの種類" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "どのウェブサーバで cacti を使いますか?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "ウェブサーバを手動で設定したい場合は「どれでもない」を選んでください。" --- cacti-0.8.7g.orig/debian/po/eu.po +++ cacti-0.8.7g/debian/po/eu.po @@ -0,0 +1,42 @@ +# translation of templates.po to Euskara +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Piarres Beobide , 2009. +msgid "" +msgstr "" +"Project-Id-Version: templates\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2009-07-03 23:58+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Denak, Bat ere ez" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Web-zerbitzari mota" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Zein web-zerbitzari mota erabili behar du cactik?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "\"Bat ere ez\" hautatu web zerbitzaria eskuz konfiguratu nahi baduzu." --- cacti-0.8.7g.orig/debian/po/cs.po +++ cacti-0.8.7g/debian/po/cs.po @@ -0,0 +1,158 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.6f-1\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-07-06 16:30+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Všechny, Žádný" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Typ webového serveru" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Jaký typ webového serveru použít pro cacti?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Pokud chcete nastavit webový server ručně, vyberte \"Žádný\"." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "Instalace a aktualizace serveru MySQL musí být provedeny ručně!" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "Prozatím bude podpora pro automatické aktualizace MySQL databáze cacti " +#~ "zakázána. Důvody tohoto rozhodnutí a návod, jak instalovat či " +#~ "aktualizovat cacti, jsou uloženy v souboru /usr/share/doc/cacti/README." +#~ "Debian.gz." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Poznámka: budete dotázáni na podstatné informace, které se použijí pro " +#~ "vytvoření odpovídajících konfiguračních souborů." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "Změny databázové struktury v konfiguraci cacti" + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Aktualizujete z dřívější verze než 0.8.x. Bohužel, vaše současná databáze " +#~ "nebude pracovat s poslední verzí programu cacti. Vaše dostupné možnosti " +#~ "naleznete v souboru /usr/share/doc/cacti/README.Debian.gz." + +#~ msgid "MySQL server host name" +#~ msgstr "Jméno počítače s MySQL serverem" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "" +#~ "Zadejte prosím jméno počítače, na kterém bude umístěna databáze cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Jméno databáze programu cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Zadejte prosím jméno databáze programu cacti. Cacti zde bude ukládat a " +#~ "poté načítat svá data." + +#~ msgid "MySQL administrator username" +#~ msgstr "Uživatelské jméno administrátora MySQL" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Zadejte prosím jméno administrátora databáze MySQL (nutné pro vytvoření " +#~ "databáze cacti)." + +#~ msgid "MySQL administrator password" +#~ msgstr "Heslo administrátora MySQL" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "Pokud heslo pro správu MySQL nepoužíváte, zadejte \"none\"." + +#~ msgid "Cacti database username" +#~ msgstr "Uživatelské jméno databáze Cacti" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Zadejte prosím jméno, které se použije pro připojení k databázi cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Heslo uživatele Cacti" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Zadejte prosím heslo pro databázového uživatele Cacti (výchozí je \"cacti" +#~ "\")." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Přejete si odstranit databázi při smazání balíčku?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Budete-li zde souhlasit, bude při odstranění balíčku smazána databáze a " +#~ "odpovídající uživatel." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Potvrzení hesla administrátora MySQL" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Zadejte prosím pro potvrzení heslo administrátora MySQL." + +#~ msgid "Error" +#~ msgstr "Chyba" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "Hesla nesouhlasí. Zadejte je prosím znovu!" --- cacti-0.8.7g.orig/debian/po/vi.po +++ cacti-0.8.7g/debian/po/vi.po @@ -0,0 +1,164 @@ +# Vietnamese translation for cacti. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.6d-1\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-06-12 20:42+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Tất cả, Không có" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Loại trình phục vụ Mạng" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Trình cacti sẽ dùng trình phục vụ Mạng loại nào?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Hãy chọn «Không có» nếu bạn muốn tự cấu hình trình phục vụ Mạng." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "• Cần phải tự cài đặt và nâng cập MySQL. •" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "Hiện thời, tính năng tự động nâng cấp cơ sở dữ liệu MySQL cacti bị tắt. " +#~ "Hãy xem lý do căn bản, và phương pháp cài đặt hay nâng cấp trình cacti, " +#~ "trong tập tin «/usr/share/doc/cacti/README.Debian.gz»." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Hãy ghi chú: trình này sẽ còn nhắc bạn nhập thông tin liên quan, mà sẽ " +#~ "được dùng để tạo ra những tập tin cấu hình thích hợp." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "Thay đổi cấu trúc cơ sở dữ liệu trong cấu hình cacti" + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Lúc này bạn nâng cấp từ một phiên bản trước 0.8.x. Tiếc là cơ sở dữ liệu " +#~ "cũ của bạn sẽ không hoạt động với phiên bản cacti mới nhất. Hãy xem tập " +#~ "tin «/usr/share/doc/cacti/README.Debian.gz» để tìm tùy chọn." + +#~ msgid "MySQL server host name" +#~ msgstr "Tên máy của máy phục vụ MySQL" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "Hãy nhập tên máy của máy hỗ trợ cơ sở dữ liệu cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Tên cơ sở dữ liệu cho cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Hãy nhập tên cơ sở dữ liệu cacti. Trình cacti sẽ lưu dữ liệu vào đó, và " +#~ "gọi dữ liệu từ đó." + +#~ msgid "MySQL administrator username" +#~ msgstr "Tên người dùng của quản trị MySQL" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "Hãy nhập tên quản trị MySQL (cần thiết để tạo cơ sở dữ liệu cacti)." + +#~ msgid "MySQL administrator password" +#~ msgstr "Mật khẩu quản trị MySQL" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Hãy nhập «none» (không có) nếu không dùng mật khẩu để quản lý MySQL." + +#~ msgid "Cacti database username" +#~ msgstr "Tên người dùng cơ sở dữ liệu cacti" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "Hãy nhập tên sẽ được dùng để kết nối đến cơ sở dữ liệu cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Mật khẩu người dùng cacti" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Hãy nhập một mật khẩu cho người dùng cơ sở dữ liệu cacti (mặc định là " +#~ "«cacti»)." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Bạn có muốn xóa bỏ cơ sở dữ liệu khi tẩy gói tin này không?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Hãy chấp nhận tùy chọn này, nếu bạn muốn xóa bỏ cơ sở dữ liệu và người " +#~ "dùng tương ứng, khi tẩy gói tin này." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Xác nhận mật khẩu quản trị MySQL" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Hãy xác nhận mật khẩu cho quản trị MySQL." + +#~ msgid "Error" +#~ msgstr "Lỗi" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "Hai mật khẩu không khớp được. Hãy nhập lại." + +#~ msgid "Store the MySQL admin password" +#~ msgstr "Lưu mật khẩu quản trị MySQL" + +#~ msgid "" +#~ "To update the cacti database automaticlly during a package upgrade the " +#~ "MySQL admin password must be safed in the debconf database. This is a " +#~ "security risk!!!" +#~ msgstr "" +#~ "Để tự động cập nhật cơ sở dữ liệu cacti trong khi nâng cấp gói tin, cần " +#~ "phải lưu mật khẩu quản trị MySQL vào cơ sở dữ liệu debconf. • Làm như thế " +#~ "rủi ro bảo mật. •" + +#~ msgid "" +#~ "If the password is not stored in the database it will asked everytime!" +#~ msgstr "" +#~ "Tuy nhiên, nếu mật khẩu ấy không được lưu trong cơ sở dữ liệu, trình cấu " +#~ "hình sẽ nhắc bạn nhập nó mỗi lúc cần thiết." --- cacti-0.8.7g.orig/debian/po/ru.po +++ cacti-0.8.7g/debian/po/ru.po @@ -0,0 +1,44 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2009. +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.7d-1\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2009-06-30 21:10+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, все, ни одного" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Тип веб-сервера:" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Тип используемого cacti веб-сервера" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Выберите \"ни одного\", если хотите настроить веб-сервер вручную." --- cacti-0.8.7g.orig/debian/po/POTFILES.in +++ cacti-0.8.7g/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] cacti.templates --- cacti-0.8.7g.orig/debian/po/nl.po +++ cacti-0.8.7g/debian/po/nl.po @@ -0,0 +1,230 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.4-2\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2004-09-09 11:57+0100\n" +"Last-Translator: Luk Claes \n" +"Language-Team: Debian l10n Dutch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Allemaal, Geen" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Type webserver" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Welk soort webserver moet door cacti worden gebruikt?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Selecteer \"Geen\" als u uw webserver handmatig wilt configureren." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "Wijzigingen in de databankstructuur van de cacti-configuratie" + +#~ msgid "MySQL server host name" +#~ msgstr "De computernaam van de MySQL-server" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "Geef de naam van de machine die de cacti-databank aanbiedt." + +#~ msgid "Database name for cacti" +#~ msgstr "De naam van de cacti-databank" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Geef de naam van de cacti-databank. Cacti zal daar zijn data bewaren en " +#~ "ophalen." + +#~ msgid "MySQL administrator username" +#~ msgstr "De gebruikersnaam van de MySQL-beheerder" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Geef de gebruikersnaam van de MySQL-beheerder (nodig voor de aanmaak van " +#~ "de cacti-databank)" + +#~ msgid "MySQL administrator password" +#~ msgstr "Het wachtwoord van de MySQL-beheerder" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "Voer \"none\" in als er geen wachtwoord is voor het MySQL-beheer." + +#~ msgid "Cacti database username" +#~ msgstr "De gebruikersnaam van de cacti-databank" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Geef de gebruikersnaam die gebruikt wordt om verbinding te maken met de " +#~ "cacti-databank." + +#~ msgid "Cacti user password" +#~ msgstr "Wachtwoord van de cacti-gebruiker" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Geef het wachtwoord voor de cacti-databankgebruiker (standaard is dit " +#~ "\"cacti\")." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Wilt u de databank wissen als het pakket wordt gewist (purged)?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Aanvaard dit als u de databank en de corresponderende gebruikersnaam wilt " +#~ "verwijderen bij het wissen (purge) van het pakket." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Bevestiging van het wachtwoord van de MySQL-beheerder" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Geef het wachtwoord van de MySQL-beheerder opnieuw in ter controle" + +#~ msgid "Error" +#~ msgstr "Fout" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "Het wachtwoord is niet hetzelfde. Geef het wachtwoord nog eens in!" + +#~ msgid "Store the MySQL admin password" +#~ msgstr "Bewaar het wachtwoord van de MySQL-beheerder" + +#~ msgid "" +#~ "To update the cacti database automaticlly during a package upgrade the " +#~ "MySQL admin password must be safed in the debconf database. This is a " +#~ "security risk!!!" +#~ msgstr "" +#~ "Om de cacti-databank automatisch bij te werken bij een pakketopwaardering " +#~ "moet het MySQL-adminwachtwoord bewaard worden in de debconf-databank. Dit " +#~ "is een veiligheidsrisico!!!" + +#~ msgid "" +#~ "If the password is not stored in the database it will asked everytime!" +#~ msgstr "" +#~ "Als het wachtwoord niet wordt bewaard in de databank zal het telkens " +#~ "opnieuw gevraagd worden!" + +#~ msgid "MySQL server not found" +#~ msgstr "De MySQL-server is niet gevonden" + +#~ msgid "" +#~ "You entered \"localhost\" as MySQL server but I can't find any server " +#~ "installed on localhost. Either install the mysql-server package or run " +#~ "\"dpkg-reconfigure cacti\" in order to change the MySQL server host." +#~ msgstr "" +#~ "U voerde \"localhost\" in als MySQL-server maar ik kan geen lokale server " +#~ "vinden. Ofwel installeer het mysql-server-pakket ofwel voer \"dpkg-" +#~ "reconfigure cacti\" uit om de MySQL-server te wijzigen." + +#~ msgid "No MySQL server on localhost" +#~ msgstr "Er is geen lokale (localhost) MySQL-server" + +#~ msgid "No MySQL server has been found on localhost." +#~ msgstr "Er is geen lokale (localhost) MySQL-server gevonden." + +#~ msgid "/var/cache/cacti/dumps" +#~ msgstr "/var/cache/cacti/dumps" + +#~ msgid "Where should the existing database be saved during an upgrade?" +#~ msgstr "" +#~ "Waar moet de bestaande databank worden bewaard tijdens een opwaardering?" + +#~ msgid "" +#~ "During a database upgrade, the existing database will first be copied to " +#~ "a separate directory location so that you are able to go back to the " +#~ "previous version of Cacti in case of upgrade problems." +#~ msgstr "" +#~ "Tijdens een databankopwaardering zal de bestaande databank eerst worden " +#~ "gekopieerd naar een afzonderlijke map zodat u kunt terugkeren naar de " +#~ "vorige versie van Cacti in geval van opwaarderingsproblemen." + +#~ msgid "" +#~ "You must specify the pathname of a directory which will have the capacity " +#~ "to receive this dump file. The dump will be created in that directory as " +#~ "a file called cacti-${DATE}.dump." +#~ msgstr "" +#~ "U moet het padnaam of een map aangeven die de capaciteit zal hebben om " +#~ "dit dump-bestand te ontvangen. De dump zal in deze map worden aangemaakt " +#~ "als een bestand met de naam cacti-${DATE}.dump." + +#~ msgid "Select the desired default poller." +#~ msgstr "Selecteer de gewenste standaard poller." + +#~ msgid "" +#~ "A poller is a program that collect all datas for the cacti database and " +#~ "graphics." +#~ msgstr "" +#~ "Een poller is een programma dat alle data voor de cacti-databank en " +#~ "grafieken verzamelt." + +#~ msgid "" +#~ "Only on poller can collect informations, but multiple poller packages are " +#~ "installed. Please select which poller should run by default." +#~ msgstr "" +#~ "Er kan maar n poller informatie verzamelen, maar er zijn meer poller-" +#~ "pakketten genstalleerd. Selecteer welke poller standaard moet draaien." + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. You must backup your current " +#~ "cacti database, and replace it with the new database structure. Please " +#~ "read the available documentation and change your database accordingly." +#~ msgstr "" +#~ "U ben aan het opwaarderen van een versie voor 0.8.X. U moet een " +#~ "veiligheidskopie nemen van uw huidige cacti-databank, en vervangen door " +#~ "de nieuwe databankstructuur. Kijk in de aanwezige documentatie en wijzig " +#~ "uw databank zonodig." + +#~ msgid "" +#~ "Automatically converting your setup is unfortunately impossible. You will " +#~ "have to do it yourself." +#~ msgstr "" +#~ "Uw configuratie automatisch converteren is helaas onmogelijk. U zult dit " +#~ "zelf moeten doen." + +#~ msgid "" +#~ "Cacti will probably be unable to use the existing database and restart " +#~ "collecting your systems." +#~ msgstr "" +#~ "Cacti zal waarschijnlijk de bestaande databank niet kunnen gebruiken en " +#~ "opnieuw starten met het verzamelen van uw systemen." --- cacti-0.8.7g.orig/debian/po/it.po +++ cacti-0.8.7g/debian/po/it.po @@ -0,0 +1,43 @@ +# Italian debconf translation of cacti. +# Copyright (C) 2002 Igor Genibel +# This file is distributed under the same license as the cacti package. +# +# Alessandro De Zorzi , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.7e\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2009-09-26 14:58+0100\n" +"Last-Translator: Alessandro De Zorzi \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Tutti, Nessuno" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Tipo di webserver" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Quale tipo di server web dovrebbe essere utilizzato da cacti?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "" +"Selezionare \"Nessuno\" se si desidera configurare il server web manualmente." --- cacti-0.8.7g.orig/debian/po/de.po +++ cacti-0.8.7g/debian/po/de.po @@ -0,0 +1,46 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.6g\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-12-29 14:02+0100\n" +"Last-Translator: Mathias Klein \n" +"Language-Team: Deutsch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, alle, keiner" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Webserver" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Welche Art von Webserver soll von Cacti verwendet werden?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "" +"Wählen Sie »keiner«, wenn Sie den Webserver von Hand konfigurieren wollen." --- cacti-0.8.7g.orig/debian/po/sv.po +++ cacti-0.8.7g/debian/po/sv.po @@ -0,0 +1,161 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.8.6g-1\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-11-12 00:07+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: swe\n" +"X-Poedit-Country: swe\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Alla, Ingen" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Webbserver-typ" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Vilken typ av webbserver ska användas för cacti?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "Välj \"Ingen\" om du vill konfigurera din webbserver på egen hand." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "MySQL-installationer och uppgraderingar måste göras manuellt!" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "För närvarande är stöd för automatisk uppgradering av cactis MySQL-" +#~ "databas avstängd. Vänligen se rationale och vad du behöver göra för att " +#~ "antingen installera eller uppgradera cacti i /usr/share/doc/cacti/README." +#~ "Debian.gz." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Notera att du kommer fortfarande att frågas efter relevant information " +#~ "som kommer att användas för att generera passande konfigurationsfiler." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "Ändringar i databasstrukturen i cacti-konfigurationen" + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Du uppgraderar från en version före 0.8.x. Tyvärr kommer din gamla " +#~ "databas inte att fungera med den senaste versionen av cacti. Vänligen se /" +#~ "usr/share/doc/cacti/README.Debian.gz för information vad du kan göra." + +#~ msgid "MySQL server host name" +#~ msgstr "Värdnamnet för MySQL-servern" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "Ange namnet på den maskin som är värd för cacti-databasen." + +#~ msgid "Database name for cacti" +#~ msgstr "Databasnamn för cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Ange namnet för cacti-databasen. Cacti kommer att lagra och hämta data " +#~ "där." + +#~ msgid "MySQL administrator username" +#~ msgstr "MySQL-administratörens användarnamn" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Ange MySQL-administratörens namn (behövs för att skapa cacti-databasen)." + +#~ msgid "MySQL administrator password" +#~ msgstr "MySQL-administratörens lösenord" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Ange \"none\" om det inte finns något lösenord för MySQL-administration." + +#~ msgid "Cacti database username" +#~ msgstr "Användarnamn för Cacti-databasen" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Vänligen ange namnet som ska användas för att ansluta till cacti-" +#~ "databasen." + +#~ msgid "Cacti user password" +#~ msgstr "Lösenord för Cacti-användaren" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Ange ett lösenord för databasanvändaren för Cacti (standard är \"cacti\")." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Vill du rensa databasen när paketet rensas (avinstalleras)?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Acceptera här om du vill tömma databasen och dess respektive användare " +#~ "när paketet rensas." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Bekräfta MySQL-administratörens lösenord" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Vänligen bekräfta lösenordet för MySQL-administratören." + +#~ msgid "Error" +#~ msgstr "Fel" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "" +#~ "Lösenordet och dess bekräftelse stämde inte överens. Vänligen ange " +#~ "lösenordet igen!" --- cacti-0.8.7g.orig/debian/po/fr.po +++ cacti-0.8.7g/debian/po/fr.po @@ -0,0 +1,284 @@ +# translation of fr.po to French +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Christian Perrier , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti 0.6.8a-13\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-03-07 08:06+0100\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" +"Plural-Forms: Plural-Forms: nplurals=2; plural=n>1;\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Tous, Aucun" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Type de serveur web:" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Veuillez choisir le type de serveur web qu'utilisera Cacti." + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "" +"Choisissez Aucun si vous prfrez configurer vous-mme votre serveur web." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "" +#~ "Pas d'installations ou mises jour automatises pour les bases MySQL de " +#~ "Cacti" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ " l'heure actuelle, la gestion des mises jour automatises de la base " +#~ "de donnes MySQL de Cacti a t dsactive. Veuillez consulter les " +#~ "justifications de ce choix et les instructions d'installation ou de mise " +#~ " jour de Cacti dans le fichier /usr/share/doc/cacti/README.Debian.gz." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Veuillez noter que certaines informations vous seront malgr tout " +#~ "demandes parce qu'elles sont requises lors de la cration des fichiers " +#~ "de configuration." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "" +#~ "Changement de la structure de base de donnes dans la configuration de " +#~ "Cacti" + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Vous mettez actuellement Cacti niveau depuis une version antrieure " +#~ "0.8.x. Malheureusement, l'ancienne base de donnes ne fonctionnera pas " +#~ "avec la nouvelle version de Cacti. Veuillez consulter le fichier /usr/" +#~ "share/doc/cacti/README.Debian pour connatre les possibilits qui " +#~ "s'offrent vous." + +#~ msgid "MySQL server host name" +#~ msgstr "Serveur MySQL:" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "" +#~ "Veuillez indiquer le nom d'hte du serveur qui accueillera la base de " +#~ "donnes de Cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Nom de la base de donnes de Cacti:" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Veuillez indiquer le nom de la base de donnes o Cacti conservera ses " +#~ "informations." + +#~ msgid "MySQL administrator username" +#~ msgstr "Nom de l'administrateur de MySQL:" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Veuillez indiquer le nom de l'administrateur de MySQL. Il sera utilis " +#~ "pour la cration de la base de donnes de Cacti." + +#~ msgid "MySQL administrator password" +#~ msgstr "Mot de passe de l'administrateur de MySQL:" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Indiquez none s'il n'y a pas de mot de passe pour l'administration de " +#~ "MySQL." + +#~ msgid "Cacti database username" +#~ msgstr "Utilisateur de la base de donnes de Cacti:" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Veuillez indiquer l'identifiant qui servira pour la connexion la base " +#~ "de donnes de Cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Mot de passe de l'utilisateur Cacti:" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Veuillez donner un mot de passe pour l'utilisateur de la base de donnes " +#~ "de Cacti (la valeur par dfaut est cacti)." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Faut-il supprimer la base de donnes la purge du paquet?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Choisissez cette option si vous souhaitez que la base de donnes et " +#~ "l'utilisateur associ soient supprims lorsque le paquet est entirement " +#~ "supprim (purge du paquet)." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Confirmation du mot de passe de l'administrateur de MySQL:" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Veuillez confirmer le mot de passe de l'administrateur de MySQL." + +#~ msgid "Error" +#~ msgstr "Erreur" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "" +#~ "Le mot de passe et sa confirmation sont diffrents. Veuillez indiquer " +#~ "nouveau le mot de passe." + +#~ msgid "Store the MySQL admin password" +#~ msgstr "Faut-il conserver le mot de passe de l'administrateur de MySQL?" + +#~ msgid "" +#~ "To update the cacti database automaticlly during a package upgrade the " +#~ "MySQL admin password must be safed in the debconf database. This is a " +#~ "security risk!!!" +#~ msgstr "" +#~ "Afin de permettre la mise jour automatique de la base de donnes de " +#~ "Cacti lors des mises niveau, le mot de passe de l'administrateur de " +#~ "MySQL doit tre conserv dans la base de donnes de debconf. Cela " +#~ "comporte un risque pour la scurit du systme." + +#~ msgid "" +#~ "If the password is not stored in the database it will asked everytime!" +#~ msgstr "" +#~ "Si le mot de passe n'est pas conserv dans la base de donnes, il vous " +#~ "sera demand chaque fois." + +#~ msgid "MySQL server not found" +#~ msgstr "Aucun serveur MySQL trouv" + +#~ msgid "" +#~ "You entered \"localhost\" as MySQL server but I can't find any server " +#~ "installed on localhost. Either install the mysql-server package or run " +#~ "\"dpkg-reconfigure cacti\" in order to change the MySQL server host." +#~ msgstr "" +#~ "Vous avez indiqu localhost pour le serveur de bases de donnes MySQL " +#~ "mais je n'ai pas trouv de serveur sur l'hte local. Vous pouvez " +#~ "installer le paquet mysql-server ou lancer dpkg-reconfigure cacti " +#~ "afin de modifier l'emplacement du serveur MySQL." + +#~ msgid "No MySQL server on localhost" +#~ msgstr "Pas de serveur MySQL sur l'hte local" + +#~ msgid "No MySQL server has been found on localhost." +#~ msgstr "Aucun serveur MySQL n'a t trouv sur l'hte local." + +#~ msgid "/var/cache/cacti/dumps" +#~ msgstr "/var/cache/cacti/dumps" + +#~ msgid "Where should the existing database be saved during an upgrade?" +#~ msgstr "" +#~ "Emplacement de sauvegarde de la base de donnes lors des mises jour:" + +#~ msgid "" +#~ "During a database upgrade, the existing database will first be copied to " +#~ "a separate directory location so that you are able to go back to the " +#~ "previous version of Cacti in case of upgrade problems." +#~ msgstr "" +#~ "Pendant les mises jour, la base de donnes existante sera pralablement " +#~ "copie dans un autre rpertoire afin de vous permettre de revenir la " +#~ "version prcdente de Cacti si des difficults de mise jour " +#~ "apparaissaient." + +#~ msgid "" +#~ "You must specify the pathname of a directory which will have the capacity " +#~ "to receive this dump file. The dump will be created in that directory as " +#~ "a file called cacti-${DATE}.dump." +#~ msgstr "" +#~ "Veuillez indiquer le rpertoire qui disposera de la place suffisante pour " +#~ "hberger le fichier d'export. Ce fichier (dump) sera cr dans ce " +#~ "rpertoire avec le nom cacti-${DATE}.dump." + +#~ msgid "Select the desired default poller." +#~ msgstr "Programme de rcupration (poller) par dfaut:" + +#~ msgid "" +#~ "A poller is a program that collect all datas for the cacti database and " +#~ "graphics." +#~ msgstr "" +#~ "Un programme de rcupration (poller) permet de rcuprer toutes les " +#~ "donnes destines la base de donnes de Cacti et aux graphiques." + +#~ msgid "" +#~ "Only on poller can collect informations, but multiple poller packages are " +#~ "installed. Please select which poller should run by default." +#~ msgstr "" +#~ "Un seul programme de rcupration peut rcuprer des informations, mais " +#~ "plusieurs tels programmes sont installs. Veuillez choisir celui qui sera " +#~ "utilis par dfaut." + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. You must backup your current " +#~ "cacti database, and replace it with the new database structure. Please " +#~ "read the available documentation and change your database accordingly." +#~ msgstr "" +#~ "Vous mettez niveau une version antrieure 0.8.x. Vous devez " +#~ "sauvegarder votre base de donnes actuelle puis la remplacer avec la " +#~ "nouvelle structure de base de donnes. Veuillez consulter la " +#~ "documentation disponible et modifier votre base de donnes." + +#~ msgid "" +#~ "Automatically converting your setup is unfortunately impossible. You will " +#~ "have to do it yourself." +#~ msgstr "" +#~ "Il est malheureusement impossible de convertir automatiquement votre " +#~ "configuration. Vous devrez le faire vous-mme." + +#~ msgid "" +#~ "Cacti will probably be unable to use the existing database and restart " +#~ "collecting your systems." +#~ msgstr "" +#~ "ll est galement possible que Cacti ne puisse pas utiliser la base de " +#~ "donnes actuelle et qu'il ne relance pas la collecte automatique de vos " +#~ "systmes." --- cacti-0.8.7g.orig/debian/po/pt_BR.po +++ cacti-0.8.7g/debian/po/pt_BR.po @@ -0,0 +1,270 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: cacti\n" +"Report-Msgid-Bugs-To: seanius@debian.org\n" +"POT-Creation-Date: 2007-10-09 20:13+0200\n" +"PO-Revision-Date: 2005-03-25 21:33-0300\n" +"Last-Translator: André Luís Lopes \n" +"Language-Team: Debian-BR Project\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../cacti.templates:1001 +msgid "Apache, Apache-SSL, Apache2, All, None" +msgstr "Apache, Apache-SSL, Apache2, Todos, Nenhum" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Webserver type" +msgstr "Tipo do servidor Web" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Which kind of web server should be used by cacti?" +msgstr "Que tipo de servidor Web deve ser utilizado pelo cacti ?" + +#. Type: select +#. Description +#: ../cacti.templates:1002 +msgid "Select \"None\" if you would like to configure your webserver by hand." +msgstr "" +"Selecione \"Nenhum\" caso você queira configurar seu servidor Web " +"manualmente." + +#~ msgid "MySQL installs and upgrades must be performed manually!" +#~ msgstr "A instalação e atualização do MySQL deve ser feita manualmente!" + +#~ msgid "" +#~ "For the time being, support for automatic upgrading of the cacti mysql " +#~ "database has been disabled. Please see the rationale and what you will " +#~ "need to do for either installing or upgrading cacti in /usr/share/doc/" +#~ "cacti/README.Debian.gz." +#~ msgstr "" +#~ "No momento o suporte para atualização automática da base de dados mysql " +#~ "do cacti está desabilitado. Por favor veja o motivo e o que você " +#~ "necessitará fazer para instalar ou atualizar o cacti em /usr/share/doc/" +#~ "cacti/README.Debian.gz." + +#~ msgid "" +#~ "Note that you will still be prompted for the relevant information, which " +#~ "will be used to generate the appropriate configuration files." +#~ msgstr "" +#~ "Note que você ainda será perguntado sobre informações relevantes, que " +#~ "serão usadas para gerar os arquivos de configuração corretamente." + +#~ msgid "Database structure changes in cacti configuration" +#~ msgstr "Mudanças na estrutura de base de dados na configuração do cacti" + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. Unfortunately, your old " +#~ "database will not work with the latest version of cacti. Please see /usr/" +#~ "share/doc/cacti/README.Debian.gz to see what your options are." +#~ msgstr "" +#~ "Você está atualizando a partir de uma versão pré 0.8.x. Infelizmente, sua " +#~ "base de dados antiga não funcionará com a última versão do cacti. Por " +#~ "favor veja /usr/share/doc/cacti/README.Debian.gz para ver quais são suas " +#~ "opções." + +#~ msgid "MySQL server host name" +#~ msgstr "Nome do host MySQL" + +#~ msgid "Please enter the name of the machine hosting the cacti database." +#~ msgstr "" +#~ "Por favor, informe o nome da máquina que hospeda o banco de dados do " +#~ "cacti." + +#~ msgid "Database name for cacti" +#~ msgstr "Nome do banco de dados para o cacti" + +#~ msgid "" +#~ "Please enter the cacti database name. Cacti will store and fetch data " +#~ "there." +#~ msgstr "" +#~ "Por favor, informe o nome da base de dados do cacti. O cacti irá gravar e " +#~ "ler os dados nessa base." + +#~ msgid "MySQL administrator username" +#~ msgstr "Nome do usuário administrador do MySQL" + +#~ msgid "" +#~ "Please enter the MySQL administrator name (needed for cacti database " +#~ "creation)." +#~ msgstr "" +#~ "Por favor, informe o nome do usuário administrador do MySQL (necessário " +#~ "para a criação da base de dados)." + +#~ msgid "MySQL administrator password" +#~ msgstr "Senha do administrador do MySQL" + +#~ msgid "Enter \"none\" if there is no password for MySQL administration." +#~ msgstr "" +#~ "Informe \"none\" caso não exista uma senha para administração do MySQL." + +#~ msgid "Cacti database username" +#~ msgstr "Nome do usuário da base de dados do cacti" + +#~ msgid "" +#~ "Please enter the name which will be used for connecting to the cacti " +#~ "database." +#~ msgstr "" +#~ "Por favor, informe o nome que será usado para conexão com a base de dados " +#~ "do cacti." + +#~ msgid "Cacti user password" +#~ msgstr "Senha do usuário cacti" + +#~ msgid "" +#~ "Please enter a password for the Cacti database user (default is \"cacti" +#~ "\")." +#~ msgstr "" +#~ "Por favor, informe uma senha para o usuário da base de dados do Cacti (a " +#~ "senha padrão é \"cacti\")." + +#~ msgid "Do you want to purge the database when purging the package?" +#~ msgstr "Você deseja remover a base de dados quando o pacote for removido ?" + +#~ msgid "" +#~ "Accept here if you want to drop the database and the corresponding user " +#~ "when purging the package." +#~ msgstr "" +#~ "Aceite esta opção caso você queira que a base de dados e o usuário " +#~ "correspondente sejam removidos quando o pacote for removido." + +#~ msgid "MySQL administrator password confirmation" +#~ msgstr "Confirmação da senha do administrador do MySQL" + +#~ msgid "Please confirm the password for the MySQL administrator." +#~ msgstr "Por favor, confirme a senha do administrador do MySQL." + +#~ msgid "Error" +#~ msgstr "Erro" + +#~ msgid "" +#~ "The password and its confirmation do not match. Please re-enter the " +#~ "password!" +#~ msgstr "As senhas não conferem. Por favor, informe a senha novamente !" + +#~ msgid "Store the MySQL admin password" +#~ msgstr "Gravar a senha do administrador do MySQL" + +#~ msgid "" +#~ "To update the cacti database automaticlly during a package upgrade the " +#~ "MySQL admin password must be safed in the debconf database. This is a " +#~ "security risk!!!" +#~ msgstr "" +#~ "Para atualizar a base de dados do cacti automaticamente durante a " +#~ "atualização do pacote, a senha do administrador do MySQL deve ser " +#~ "armazenada na base de dados do debconf. Isso é um risco de segurança !!!" + +#~ msgid "" +#~ "If the password is not stored in the database it will asked everytime!" +#~ msgstr "" +#~ "Caso a senha não seja armazenada na base de dados, a mesma será " +#~ "requisitada novamente a toda hora !" + +#~ msgid "MySQL server not found" +#~ msgstr "Servidor MySQL não encontrado" + +#~ msgid "" +#~ "You entered \"localhost\" as MySQL server but I can't find any server " +#~ "installed on localhost. Either install the mysql-server package or run " +#~ "\"dpkg-reconfigure cacti\" in order to change the MySQL server host." +#~ msgstr "" +#~ "Você informou \"localhost\" como servidor MySQL mas nenhum servidor foi " +#~ "encontrado instalado localmente. Instale o pacote mysql-server ou execute " +#~ "o comando \"dpkg-reconfigure cacti\" para modificar o host onde o MySQL " +#~ "se encontra." + +#~ msgid "No MySQL server on localhost" +#~ msgstr "Não existe um servidor MySQL na máquina local" + +#~ msgid "No MySQL server has been found on localhost." +#~ msgstr "Nenhum servidor MySQL foi encontrado na máquina local." + +#~ msgid "/var/cache/cacti/dumps" +#~ msgstr "/var/cache/cacti/dumps" + +#~ msgid "Where should the existing database be saved during an upgrade?" +#~ msgstr "" +#~ "Onde as base de dados existentes devem ser salvas durante uma " +#~ "atualização ?" + +#~ msgid "" +#~ "During a database upgrade, the existing database will first be copied to " +#~ "a separate directory location so that you are able to go back to the " +#~ "previous version of Cacti in case of upgrade problems." +#~ msgstr "" +#~ "Durante uma atualização de base de dados, a base de dados existente será " +#~ "primeiro copiada para um diretório separado de forma que você possa " +#~ "voltar a versão anterior do Cacti em caso de problemas durante a " +#~ "atualização." + +#~ msgid "" +#~ "You must specify the pathname of a directory which will have the capacity " +#~ "to receive this dump file. The dump will be created in that directory as " +#~ "a file called cacti-${DATE}.dump." +#~ msgstr "" +#~ "Você deve especificar o caminho do diretório que possui a capacidade de " +#~ "receber este arquivo de dump da base de dados. O dump será criado nesse " +#~ "diretório como um arquivo de nome cacti-${DATE}.dump." + +#~ msgid "Select the desired default poller." +#~ msgstr "Selecione o poller padrão desejado." + +#~ msgid "" +#~ "A poller is a program that collect all datas for the cacti database and " +#~ "graphics." +#~ msgstr "" +#~ "Um poller é um programa que coleta todos os dados para a base de dados do " +#~ "cacti e para os gráficos." + +#~ msgid "" +#~ "Only on poller can collect informations, but multiple poller packages are " +#~ "installed. Please select which poller should run by default." +#~ msgstr "" +#~ "Somente um poller pode coletar informações, mas diversos pacotes de " +#~ "pollers estão instalados. Por favor, selecione qual poller deverá ser " +#~ "executado por padrão." + +#~ msgid "" +#~ "You are upgrading from a pre 0.8.x version. You must backup your current " +#~ "cacti database, and replace it with the new database structure. Please " +#~ "read the available documentation and change your database accordingly." +#~ msgstr "" +#~ "Você está atualizando a partir de uma versão anterior à versão 0.8.x. " +#~ "Você deve fazer o backup de sua base de dados cacti atual e substituí-la " +#~ "pela nova estrutura de base de dados. Por favor, leia a documentação " +#~ "disponível e mude sua base de dados de acordo com a mesma." + +#~ msgid "" +#~ "Automatically converting your setup is unfortunately impossible. You will " +#~ "have to do it yourself." +#~ msgstr "" +#~ "Infelizmente, é impossível converter sua configuração automaticamente. " +#~ "Você deverá fazê-lo manualmente." + +#~ msgid "" +#~ "Cacti will probably be unable to use the existing database and restart " +#~ "collecting your systems." +#~ msgstr "" +#~ "O cacti não será capaz de utilizar a base de dados existente e reiniciar " +#~ "a coletagem de seus sistemas." --- cacti-0.8.7g.orig/debian/patches/graph_list_view.patch +++ cacti-0.8.7g/debian/patches/graph_list_view.patch @@ -0,0 +1,110 @@ +--- cacti-0.8.7g/graph_view.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/graph_view.php 2010-07-27 21:30:31.000000000 -0400 +@@ -204,7 +204,7 @@ + $sql_where = ""; + $sql_join = ""; + } +- /* the user select a bunch of graphs of the 'list' view and wants them dsplayed here */ ++ /* the user select a bunch of graphs of the 'list' view and wants them displayed here */ + if (isset($_REQUEST["style"])) { + if (get_request_var_request("style") == "selective") { + +@@ -296,8 +296,9 @@ + $sql_where = get_graph_permissions_sql($current_user["policy_graphs"], $current_user["policy_hosts"], $current_user["policy_graph_templates"]); + + $hosts = db_fetch_assoc("SELECT DISTINCT host.id, host.description as name +- FROM (graph_templates_graph,graph_local) +- LEFT JOIN host ON (host.id=graph_local.host_id) ++ FROM host ++ LEFT JOIN graph_local ON ( host.id = graph_local.host_id ) ++ LEFT JOIN graph_templates_graph ON ( graph_templates_graph.local_graph_id = graph_local.id ) + LEFT JOIN graph_templates ON (graph_templates.id=graph_local.graph_template_id) + LEFT JOIN user_auth_perms ON ((graph_templates_graph.local_graph_id=user_auth_perms.item_id and user_auth_perms.type=1 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ") OR (host.id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ") OR (graph_templates.id=user_auth_perms.item_id and user_auth_perms.type=4 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ")) + WHERE graph_templates_graph.local_graph_id=graph_local.id +@@ -327,8 +328,9 @@ + + "> + +-
++ + + + +- + \n"; +@@ -1310,16 +1310,17 @@ + $i = 0; + if (sizeof($data_sources) > 0) { + foreach ($data_sources as $data_source) { +- $data_template_name = ((empty($data_source["data_template_name"])) ? "None" : $data_source["data_template_name"]); +- $data_input_name = ((empty($data_source["data_input_name"])) ? "External" : $data_source["data_input_name"]); ++ /* we're escaping strings here, so no need to escape them on form_selectable_cell */ ++ $data_template_name = ((empty($data_source["data_template_name"])) ? "None" : htmlspecialchars($data_source["data_template_name"])); ++ $data_input_name = ((empty($data_source["data_input_name"])) ? "External" : htmlspecialchars($data_source["data_input_name"])); + $poller_interval = ((isset($poller_intervals[$data_source["local_data_id"]])) ? $poller_intervals[$data_source["local_data_id"]] : 0); + form_alternate_row_color($colors["alternate"], $colors["light"], $i, 'line' . $data_source["local_data_id"]); $i++; + form_selectable_cell("" . ((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", title_trim(htmlspecialchars($data_source["name_cache"]), read_config_option("max_title_data_source"))) : title_trim(htmlspecialchars($data_source["name_cache"]), read_config_option("max_title_data_source"))) . "", $data_source["local_data_id"]); + form_selectable_cell($data_source['local_data_id'], $data_source['local_data_id']); +- form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", htmlspecialchars($data_input_name)) : htmlspecialchars($data_input_name)), $data_source["local_data_id"]); ++ form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", $data_input_name) : $data_input_name), $data_source["local_data_id"]); + form_selectable_cell(get_poller_interval($poller_interval), $data_source["local_data_id"]); + form_selectable_cell(($data_source['active'] == "on" ? "Yes" : "No"), $data_source["local_data_id"]); +- form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", htmlspecialchars($data_source['data_template_name'])) : htmlspecialchars($data_source['data_template_name'])), $data_source["local_data_id"]); ++ form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", $data_template_name) : $data_template_name), $data_source["local_data_id"]); + form_checkbox_cell($data_source["name_cache"], $data_source["local_data_id"]); + form_end_row(); + } +--- cacti-0.8.7g/graphs.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/graphs.php 2010-07-27 21:30:31.000000000 -0400 +@@ -1317,11 +1317,12 @@ + $i = 0; + if (sizeof($graph_list) > 0) { + foreach ($graph_list as $graph) { +- $template_name = ((empty($graph["name"])) ? "None" : $graph["name"]); ++ /* we're escaping strings here, so no need to escape them on form_selectable_cell */ ++ $template_name = ((empty($graph["name"])) ? "None" : htmlspecialchars($graph["name"])); + form_alternate_row_color($colors["alternate"], $colors["light"], $i, 'line' . $graph["local_graph_id"]); $i++; + form_selectable_cell("" . ((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", title_trim(htmlspecialchars($graph["title_cache"]), read_config_option("max_title_graph"))) : title_trim(htmlspecialchars($graph["title_cache"]), read_config_option("max_title_graph"))) . "", $graph["local_graph_id"]); + form_selectable_cell($graph["local_graph_id"], $graph["local_graph_id"]); +- form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", htmlspecialchars($template_name)) : htmlspecialchars($template_name)), $graph["local_graph_id"]); ++ form_selectable_cell(((get_request_var_request("filter") != "") ? eregi_replace("(" . preg_quote(get_request_var_request("filter")) . ")", "\\1", $template_name) : $template_name), $graph["local_graph_id"]); + form_selectable_cell($graph["height"] . "x" . $graph["width"], $graph["local_graph_id"]); + form_checkbox_cell($graph["title_cache"], $graph["local_graph_id"]); + form_end_row(); --- cacti-0.8.7g.orig/debian/patches/05_no-adodb.patch +++ cacti-0.8.7g/debian/patches/05_no-adodb.patch @@ -0,0 +1,13 @@ +Index: cacti/include/global.php +=================================================================== +--- cacti.orig/include/global.php 2008-02-13 23:30:52.000000000 +0100 ++++ cacti/include/global.php 2008-02-13 23:30:58.000000000 +0100 +@@ -180,7 +180,7 @@ + } + + /* include base modules */ +-include($config["library_path"] . "/adodb/adodb.inc.php"); ++include("/usr/share/php/adodb/adodb.inc.php"); + include($config["library_path"] . "/database.php"); + include_once($config["library_path"] . "/functions.php"); + include_once($config["include_path"] . "/global_constants.php"); --- cacti-0.8.7g.orig/debian/patches/01_config.php.patch +++ cacti-0.8.7g/debian/patches/01_config.php.patch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_config.php.dpatch by +## +## DP: modify the default config.php to include authentication info from +## DP: debian.php, which can be managed by debconf/ucf + +@DPATCH@ +Index: cacti-0.8.7~beta4/include/config.php +=================================================================== +--- cacti-0.8.7~beta4.orig/include/config.php 2007-10-09 20:01:12.000000000 +0200 ++++ cacti-0.8.7~beta4/include/config.php 2007-10-09 20:02:48.000000000 +0200 +@@ -24,11 +24,7 @@ + + /* make sure these values refect your actual database/host/user/password */ + $database_type = "mysql"; +-$database_default = "cacti"; +-$database_hostname = "localhost"; +-$database_username = "cactiuser"; +-$database_password = "cactiuser"; +-$database_port = "3306"; ++require('/etc/cacti/debian.php'); + + /* Default session name - Session name must contain alpha characters */ + #$cacti_session_name = "Cacti"; --- cacti-0.8.7g.orig/debian/patches/series +++ cacti-0.8.7g/debian/patches/series @@ -0,0 +1,10 @@ +01_config.php.patch +05_no-adodb.patch +06_config_settings.php_cactid_path.patch +cli-include-path.patch +data_source_deactivate.patch +graph_list_view.patch +html_output.patch +script_server_command_line_parse.patch +ldap_group_authenication.patch +CVE-2011-4824.patch --- cacti-0.8.7g.orig/debian/patches/ldap_group_authenication.patch +++ cacti-0.8.7g/debian/patches/ldap_group_authenication.patch @@ -0,0 +1,11 @@ +--- cacti-0.8.7g/lib/ldap.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/lib/ldap.php 2010-07-27 21:30:31.000000000 -0400 +@@ -250,7 +250,7 @@ + if ($ldap_response) { + if ($this->group_require == 1) { + /* Process group membership if required */ +- if ($ldap_group_member_type == 1) { ++ if ($this->group_member_type == 1) { + $ldap_group_response = @ldap_compare($ldap_conn, $this->group_dn, $this->group_attrib, $this->dn); + } else { + $ldap_group_response = @ldap_compare($ldap_conn, $this->group_dn, $this->group_attrib, $this->username);
+@@ -578,8 +580,9 @@ + $sql_where = get_graph_permissions_sql($current_user["policy_graphs"], $current_user["policy_hosts"], $current_user["policy_graph_templates"]); + + $hosts = db_fetch_assoc("SELECT DISTINCT host.id, host.description as name +- FROM (graph_templates_graph,graph_local) +- LEFT JOIN host ON (host.id=graph_local.host_id) ++ FROM host ++ LEFT JOIN graph_local ON ( host.id = graph_local.host_id ) ++ LEFT JOIN graph_templates_graph ON ( graph_templates_graph.local_graph_id = graph_local.id ) + LEFT JOIN graph_templates ON (graph_templates.id=graph_local.graph_template_id) + LEFT JOIN user_auth_perms ON ((graph_templates_graph.local_graph_id=user_auth_perms.item_id and user_auth_perms.type=1 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ") OR (host.id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ") OR (graph_templates.id=user_auth_perms.item_id and user_auth_perms.type=4 and user_auth_perms.user_id=" . $_SESSION["sess_user_id"] . ")) + WHERE graph_templates_graph.local_graph_id=graph_local.id +@@ -608,8 +611,9 @@ + " . htmlspecialchars($graph["title_cache"]) . "", $graph["local_graph_id"]); ++ form_selectable_cell("" . htmlspecialchars($graph["title_cache"]) . "", $graph["local_graph_id"]); + form_selectable_cell($graph["height"] . "x" . $graph["width"], $graph["local_graph_id"]); + form_checkbox_cell($graph["title_cache"], $graph["local_graph_id"]); + form_end_row(); +@@ -795,8 +799,8 @@ + strDel = strDel.substring(0,strDel.length - 1); + strURL = '&graph_add=' + strAdd + '&graph_remove=' + strDel; + return strNavURL + strURL; +- alert(strAdd); +- alert(strDel); ++ //alert(strAdd); ++ //alert(strDel); + } + function url_go(strURL) { + document.location = strURL; --- cacti-0.8.7g.orig/debian/patches/script_server_command_line_parse.patch +++ cacti-0.8.7g/debian/patches/script_server_command_line_parse.patch @@ -0,0 +1,136 @@ +--- cacti-0.8.7g/script_server.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/script_server.php 2010-07-27 21:30:31.000000000 -0400 +@@ -72,7 +72,7 @@ + } + + /* record the script start time */ +-list($micro,$seconds) = split(" ", microtime()); ++list($micro,$seconds) = explode(" ", microtime()); + $start = $seconds + $micro; + + /* some debugging */ +@@ -171,7 +171,11 @@ + + if (isset($command_array[2])) { + $parameters = trim($command_array[2]); +- $parameter_array = explode(" ", trim($command_array[2])); ++ $parameter_array = array(); ++ if (!parseArgs($parameters, $parameter_array)) { ++ cacti_log("WARNING: Script Server count not parse '$parameters' for $function", false, "PHPSVR"); ++ return "U"; ++ } + }else{ + $parameters = ""; + $parameters_array = array(); +@@ -236,3 +240,111 @@ + exit (-1); + } + } ++ ++function parseArgs($string, &$str_list, $debug = false) { ++ $delimiters = array("'",'"'); ++ $delimited = false; ++ $str_list = array(); ++ ++ if ($debug) echo "String: '" . $string . "'\n"; ++ ++ foreach($delimiters as $delimiter) { ++ if (strpos($string, $delimiter) !== false) { ++ $delimited = true; ++ break; ++ } ++ } ++ ++ /* process the simple case */ ++ if (!$delimited) { ++ $str_list = explode(" ", $string); ++ ++ if ($debug) echo "Output: '" . implode(",", $str_list) . "'\n"; ++ ++ return true; ++ } ++ ++ /* Break str down into an array of characters and process */ ++ $char_array = str_split($string); ++ $escaping = false; ++ $indelim = false; ++ $parse_ok = true; ++ $curstr = ''; ++ foreach($char_array as $char) { ++ switch ($char) { ++ case '\'': ++ case '"': ++ if (!$indelim) { ++ if (!$escaping) { ++ $indelim = true; ++ }else{ ++ $curstr .= $char; ++ $escaping = false; ++ } ++ }elseif (!$escaping) { ++ $str_list[] = $curstr; ++ $curstr = ''; ++ $indelim = false; ++ }elseif ($escaping) { ++ $curstr .= $char; ++ $escaping = false; ++ } ++ ++ break; ++ case '\\': ++ if ($escaping) { ++ $curstr .= $char; ++ $escaping = false; ++ }else{ ++ $escaping = true; ++ } ++ ++ break; ++ case ' ': ++ if ($escaping) { ++ $parse_ok = false; ++ $msg = 'Parse error attempting to parse string'; ++ }elseif ($indelim) { ++ $curstr .= $char; ++ }elseif (strlen($curstr)) { ++ $str_list[] = $curstr; ++ $curstr = ''; ++ } ++ ++ break; ++ case '`': ++ $parse_ok = false; ++ $msg = 'Backtic (`) characters not allowed'; ++ ++ break; ++ default: ++ if ($escaping) { ++ $parse_ok = false; ++ $msg = 'Parse error attempting to parse string'; ++ }else{ ++ $curstr .= $char; ++ } ++ break; ++ } ++ ++ if (!$parse_ok) { ++ break; ++ } ++ } ++ ++ /* Add the last str to the string array */ ++ if ($indelim || $escaping) { ++ $parse_ok = false; ++ $msg = 'Parse error attempting to parse string'; ++ } ++ ++ if (!$parse_ok) { ++ echo "ERROR: " . $msg . " '" . $string . "'\n"; ++ }else{ ++ $str_list[] = $curstr; ++ } ++ ++ if ($debug) echo "Output: '" . implode(",", $str_list) . "'\n"; ++ ++ return $parse_ok; ++} --- cacti-0.8.7g.orig/debian/patches/06_config_settings.php_cactid_path.patch +++ cacti-0.8.7g/debian/patches/06_config_settings.php_cactid_path.patch @@ -0,0 +1,47 @@ +--- cacti.orig/include/global_settings.php ++++ cacti/include/global_settings.php +@@ -94,9 +94,9 @@ $settings = array( + ), + "path_cactilog" => array( + "friendly_name" => "Cacti Log File Path", +- "description" => "The path to your Cacti log file (if blank, defaults to /log/cacti.log)", ++ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti/cacti.log)", + "method" => "filepath", +- "default" => $config["base_path"] . "/log/cacti.log", ++ "default" => "/var/log/cacti/cacti.log", + "max_length" => "255" + ), + "pollerpaths_header" => array( +@@ -105,8 +105,9 @@ $settings = array( + ), + "path_spine" => array( + "friendly_name" => "Spine Poller File Path", +- "description" => "The path to Spine binary.", ++ "description" => "The path to Spine binary (if blank, defaults to /usr/sbin/spine).", + "method" => "filepath", ++ "default" => "/usr/sbin/spine", + "max_length" => "255" + ), + "extendedpaths_header" => array( +--- cacti.orig/include/global.php ++++ cacti/include/global.php +@@ -88,7 +88,7 @@ $config["php_snmp_support"] = function_e + $config["base_path"] = strtr(ereg_replace("(.*)[\\\/]include", "\\1", dirname(__FILE__)), "\\", "/"); + $config["library_path"] = ereg_replace("(.*[\\\/])include", "\\1lib", dirname(__FILE__)); + $config["include_path"] = dirname(__FILE__); +-$config["rra_path"] = $config["base_path"] . '/rra'; ++$config["rra_path"] = '/var/lib/cacti/rra'; + + /* colors */ + $colors["dark_outline"] = "454E53"; +--- cacti.orig/install/index.php ++++ cacti/install/index.php +@@ -264,7 +264,7 @@ $input["path_cactilog"]["description"] = + if (config_value_exists("path_cactilog")) { + $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); + } else { +- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; ++ $input["path_cactilog"]["default"] = "/var/log/cacti/cacti.log"; + } + + /* SNMP Version */ --- cacti-0.8.7g.orig/debian/patches/data_source_deactivate.patch +++ cacti-0.8.7g/debian/patches/data_source_deactivate.patch @@ -0,0 +1,17 @@ +--- cacti-0.8.7g/lib/api_data_source.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/lib/api_data_source.php 2010-07-27 21:30:31.000000000 -0400 +@@ -131,12 +131,12 @@ + + $i++; + +- if ($i % 1000) { ++ if (!($i % 1000)) { + db_execute("DELETE FROM poller_item WHERE local_data_id IN ($ids_to_disable)"); + db_execute("UPDATE data_template_data SET active='' WHERE local_data_id IN ($ids_to_disable)"); + + $i = 0; +- $ids_to_delete = ""; ++ $ids_to_disable = ""; + } + } + --- cacti-0.8.7g.orig/debian/patches/CVE-2011-4824.patch +++ cacti-0.8.7g/debian/patches/CVE-2011-4824.patch @@ -0,0 +1,56 @@ +Description: Fixes SQL injection vulnerability in auth_login.php that allows + remote attackers to execute arbitrary SQL commands via the login_username + parameter. +Origin: http://svn.cacti.net/viewvc/cacti/branches/0.8.7/auth_login.php?r1=6807&r2=6806&pathrev=6807 +Bug-Debian: http://bugs.debian.org/652371 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/906773 + +Index: cacti-0.8.7g/auth_login.php +=================================================================== +--- cacti-0.8.7g.orig/auth_login.php 2010-07-10 05:33:46.000000000 +0700 ++++ cacti-0.8.7g/auth_login.php 2011-12-20 15:52:04.238500489 +0700 +@@ -77,7 +77,7 @@ + $user_auth = true; + $realm = 2; + /* Locate user in database */ +- $user = db_fetch_row("SELECT * FROM user_auth WHERE username = '" . $username . "' AND realm = 2"); ++ $user = db_fetch_row("SELECT * FROM user_auth WHERE username = " . $cnn_id->qstr($username) . " AND realm = 2"); + + break; + case "3": +@@ -110,7 +110,7 @@ + $realm = 1; + /* Locate user in database */ + cacti_log("LOGIN: LDAP User '" . $username . "' Authenticated", false, "AUTH"); +- $user = db_fetch_row("SELECT * FROM user_auth WHERE username = '" . $username . "' AND realm = 1"); ++ $user = db_fetch_row("SELECT * FROM user_auth WHERE username = " . $cnn_id->qstr($username) . " AND realm = 1"); + }else{ + /* error */ + cacti_log("LOGIN: LDAP Error: " . $ldap_auth_response["error_text"], false, "AUTH"); +@@ -127,7 +127,7 @@ + /* Builtin Auth */ + if ((!$user_auth) && (!$ldap_error)) { + /* if auth has not occured process for builtin - AKA Ldap fall through */ +- $user = db_fetch_row("SELECT * FROM user_auth WHERE username = '" . $username . "' AND password = '" . md5(get_request_var_post("login_password")) . "' AND realm = 0"); ++ $user = db_fetch_row("SELECT * FROM user_auth WHERE username = " . $cnn_id->qstr($username) . " AND password = '" . md5(get_request_var_post("login_password")) . "' AND realm = 0"); + } + } + /* end of switch */ +@@ -140,7 +140,7 @@ + /* template user found */ + user_copy(read_config_option("user_template"), $username, 0, $realm); + /* requery newly created user */ +- $user = db_fetch_row("SELECT * FROM user_auth WHERE username = '" . $username . "' AND realm = " . $realm); ++ $user = db_fetch_row("SELECT * FROM user_auth WHERE username = " . $cnn_id->qstr($username) . " AND realm = " . $realm); + }else{ + /* error */ + cacti_log("LOGIN: Template user '" . read_config_option("user_template") . "' does not exist.", false, "AUTH"); +@@ -168,7 +168,7 @@ + /* Process the user */ + if (sizeof($user) > 0) { + cacti_log("LOGIN: User '" . $user["username"] . "' Authenticated", false, "AUTH"); +- db_execute("INSERT INTO user_log (username,user_id,result,ip,time) VALUES ('" . $username ."'," . $user["id"] . ",1,'" . $_SERVER["REMOTE_ADDR"] . "',NOW())"); ++ db_execute("INSERT INTO user_log (username,user_id,result,ip,time) VALUES (" . $cnn_id->qstr($username) ."," . $user["id"] . ",1,'" . $_SERVER["REMOTE_ADDR"] . "',NOW())"); + /* is user enabled */ + $user_enabled = $user["enabled"]; + if ($user_enabled != "on") { --- cacti-0.8.7g.orig/debian/patches/cli-include-path.patch +++ cacti-0.8.7g/debian/patches/cli-include-path.patch @@ -0,0 +1,176 @@ +--- cacti.orig/cli/add_data_query.php ++++ cacti/cli/add_data_query.php +@@ -31,7 +31,7 @@ if (!isset($_SERVER["argv"][0]) || isset + /* We are not talking to the browser */ + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + include_once($config["base_path"]."/lib/data_query.php"); + +--- cacti.orig/cli/add_device.php ++++ cacti/cli/add_device.php +@@ -31,7 +31,7 @@ if (!isset($_SERVER["argv"][0]) || isset + /* We are not talking to the browser */ + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + include_once($config["base_path"]."/lib/utility.php"); + include_once($config["base_path"]."/lib/api_data_source.php"); +--- cacti.orig/cli/add_graphs.php ++++ cacti/cli/add_graphs.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER["argv"][0]) || isset + + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + include_once($config["base_path"]."/lib/data_query.php"); + include_once($config["base_path"]."/lib/utility.php"); +--- cacti.orig/cli/add_graph_template.php ++++ cacti/cli/add_graph_template.php +@@ -31,7 +31,7 @@ if (!isset($_SERVER["argv"][0]) || isset + /* We are not talking to the browser */ + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + + /* process calling arguments */ +--- cacti.orig/cli/add_perms.php ++++ cacti/cli/add_perms.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER["argv"][0]) || isset + + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + + /* process calling arguments */ +--- cacti.orig/cli/add_tree.php ++++ cacti/cli/add_tree.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER["argv"][0]) || isset + + $no_http_headers = true; + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/api_automation_tools.php"); + include_once($config["base_path"].'/lib/tree.php'); + +--- cacti.orig/cli/copy_user.php ++++ cacti/cli/copy_user.php +@@ -36,7 +36,7 @@ if (empty($_SERVER["argv"][2])) { + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/auth.php"); + + $template_user = $_SERVER["argv"][1]; +--- cacti.orig/cli/host_update_template.php ++++ cacti/cli/host_update_template.php +@@ -32,7 +32,7 @@ ini_set("memory_limit", "64M"); + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/snmp.php"); + include_once($config["base_path"] . "/lib/data_query.php"); + include_once($config["base_path"] . "/lib/api_automation_tools.php"); +--- cacti.orig/cli/poller_data_sources_reapply_names.php ++++ cacti/cli/poller_data_sources_reapply_names.php +@@ -32,7 +32,7 @@ ini_set("memory_limit", "64M"); + + $no_http_headers = true; + +-include (dirname(__FILE__) . "/../include/global.php"); ++include (dirname(__FILE__) . "/../site/include/global.php"); + include_once ($config["base_path"] . "/lib/api_data_source.php"); + + /* process calling arguments */ +--- cacti.orig/cli/poller_graphs_reapply_names.php ++++ cacti/cli/poller_graphs_reapply_names.php +@@ -32,7 +32,7 @@ ini_set("memory_limit", "64M"); + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/api_graph.php"); + + /* process calling arguments */ +--- cacti.orig/cli/poller_output_empty.php ++++ cacti/cli/poller_output_empty.php +@@ -31,7 +31,7 @@ if (!isset($_SERVER["argv"][0]) || isset + $no_http_headers = true; + + /* start initialization section */ +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/poller.php"); + include_once($config["base_path"] . "/lib/data_query.php"); + include_once($config["base_path"] . "/lib/graph_export.php"); +--- cacti.orig/cli/poller_reindex_hosts.php ++++ cacti/cli/poller_reindex_hosts.php +@@ -32,7 +32,7 @@ ini_set("memory_limit", "64M"); + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/snmp.php"); + include_once($config["base_path"] . "/lib/data_query.php"); + +--- cacti.orig/cli/rebuild_poller_cache.php ++++ cacti/cli/rebuild_poller_cache.php +@@ -29,7 +29,7 @@ if (!isset($_SERVER["argv"][0]) || isset + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + include_once($config["base_path"] . "/lib/utility.php"); + + /* process calling arguments */ +--- cacti.orig/cli/repair_database.php ++++ cacti/cli/repair_database.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER["argv"][0]) || isset + + $no_http_headers = true; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + + /* process calling arguments */ + $parms = $_SERVER["argv"]; +--- cacti.orig/cli/structure_rra_paths.php ++++ cacti/cli/structure_rra_paths.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER["argv"][0]) || isset + $no_http_headers = TRUE; + $proceed = FALSE; + +-include(dirname(__FILE__) . "/../include/global.php"); ++include(dirname(__FILE__) . "/../site/include/global.php"); + + /* process calling arguments */ + $parms = $_SERVER["argv"]; +--- cacti.orig/cli/upgrade_database.php ++++ cacti/cli/upgrade_database.php +@@ -30,7 +30,7 @@ if (!isset($_SERVER['argv'][0]) || isset + /* allow the upgrade script to run for as long as it needs to */ + ini_set('max_execution_time', '0'); + +-include(dirname(__FILE__)."/../include/global.php"); ++include(dirname(__FILE__)."/../site/include/global.php"); + include_once($config["base_path"]."/lib/data_query.php"); + include_once($config["base_path"]."/lib/utility.php"); + --- cacti-0.8.7g.orig/debian/patches/html_output.patch +++ cacti-0.8.7g/debian/patches/html_output.patch @@ -0,0 +1,71 @@ +--- cacti-0.8.7g/lib/html_form.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/lib/html_form.php 2010-07-27 21:30:31.000000000 -0400 +@@ -65,7 +65,7 @@ + form_alternate_row_color($colors["form_alternate1"], $colors["form_alternate2"], $i, 'row_' . $field_name); + } + +- print "\n" . htmlspecialchars($field_array["friendly_name"]) . "
\n"; ++ print "
\n" . $field_array["friendly_name"] . "
\n"; + + if (isset($field_array["sub_checkbox"])) { + form_checkbox($field_array["sub_checkbox"]["name"], $field_array["sub_checkbox"]["value"], +--- cacti-0.8.7g/lib/data_query.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/lib/data_query.php 2010-07-27 21:30:31.000000000 -0400 +@@ -620,6 +620,7 @@ + } + + /* update the cache */ ++ /* TODO: if both $sort field and $title_format are empty, this yields funny results */ + db_execute("update host_snmp_query set sort_field = '$sort_field', title_format = '$title_format' where host_id = '$host_id' and snmp_query_id = '$data_query_id'"); + } + +--- cacti-0.8.7g/data_sources.php 2010-07-09 18:33:46.000000000 -0400 ++++ cacti-0.8.7g-patched/data_sources.php 2010-07-27 21:30:31.000000000 -0400 +@@ -899,7 +899,7 @@ +
+ Data Source Item $header_label + ++ + " . ((!empty($_GET["id"]) && (empty($data_template["id"]))) ? "New " : "") . " +