Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop
This commit is contained in:
commit
f09d8b1fbd
|
@ -1,5 +1,5 @@
|
|||
package: pandorafms-agent-unix
|
||||
Version: 6.0RC1-150831
|
||||
Version: 6.0RC1-150901
|
||||
Architecture: all
|
||||
Priority: optional
|
||||
Section: admin
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
pandora_version="6.0RC1-150831"
|
||||
pandora_version="6.0RC1-150901"
|
||||
|
||||
echo "Test if you has the tools for to make the packages."
|
||||
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
||||
|
|
|
@ -41,7 +41,7 @@ my $Sem = undef;
|
|||
my $ThreadSem = undef;
|
||||
|
||||
use constant AGENT_VERSION => '6.0RC1';
|
||||
use constant AGENT_BUILD => '150831';
|
||||
use constant AGENT_BUILD => '150901';
|
||||
|
||||
# Commands to retrieve total memory information in kB
|
||||
use constant TOTALMEMORY_CMDS => {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_agent_unix
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
|
||||
Summary: Pandora FMS Linux agent, PERL version
|
||||
Name: %{name}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_agent_unix
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
|
||||
Summary: Pandora FMS Linux agent, PERL version
|
||||
Name: %{name}
|
||||
|
|
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||
{}
|
||||
|
||||
Version
|
||||
{150831}
|
||||
{150901}
|
||||
|
||||
ViewReadme
|
||||
{Yes}
|
||||
|
|
|
@ -30,7 +30,7 @@ using namespace Pandora;
|
|||
using namespace Pandora_Strutils;
|
||||
|
||||
#define PATH_SIZE _MAX_PATH+1
|
||||
#define PANDORA_VERSION ("6.0RC1(Build 150831)")
|
||||
#define PANDORA_VERSION ("6.0RC1(Build 150901)")
|
||||
|
||||
string pandora_path;
|
||||
string pandora_dir;
|
||||
|
|
|
@ -11,7 +11,7 @@ BEGIN
|
|||
VALUE "LegalCopyright", "Artica ST"
|
||||
VALUE "OriginalFilename", "PandoraAgent.exe"
|
||||
VALUE "ProductName", "Pandora FMS Windows Agent"
|
||||
VALUE "ProductVersion", "(6.0RC1(Build 150831))"
|
||||
VALUE "ProductVersion", "(6.0RC1(Build 150901))"
|
||||
VALUE "FileVersion", "1.0.0.0"
|
||||
END
|
||||
END
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package: pandorafms-console
|
||||
Version: 6.0RC1-150831
|
||||
Version: 6.0RC1-150901
|
||||
Architecture: all
|
||||
Priority: optional
|
||||
Section: admin
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
pandora_version="6.0RC1-150831"
|
||||
pandora_version="6.0RC1-150901"
|
||||
|
||||
package_pear=0
|
||||
package_pandora=1
|
||||
|
|
|
@ -86,13 +86,13 @@ function getPandoraDiagnostic(&$systemInfo) {
|
|||
$systemInfo['current_update'] = db_get_sql("SELECT value FROM tupdate_settings WHERE \"key\" = 'current_update'");
|
||||
break;
|
||||
case "oracle":
|
||||
$systemInfo['db_scheme_version'] = db_get_sql("SELECT value FROM tconfig WHERE token = 'db_scheme_version'");
|
||||
$systemInfo['db_scheme_build'] = db_get_sql("SELECT value FROM tconfig WHERE token = 'db_scheme_build'");
|
||||
$systemInfo['enterprise_installed'] = db_get_sql("SELECT value FROM tconfig WHERE token = 'enterprise_installed'");
|
||||
$systemInfo['db_maintance'] = db_get_sql ("SELECT value FROM tconfig WHERE token = 'db_maintance'");
|
||||
$systemInfo['customer_key'] = db_get_sql("SELECT value FROM tupdate_settings WHERE key = 'customer_key';");
|
||||
$systemInfo['updating_code_path'] = db_get_sql("SELECT value FROM tupdate_settings WHERE key = 'updating_code_path'");
|
||||
$systemInfo['current_update'] = db_get_sql("SELECT value FROM tupdate_settings WHERE key = 'current_update'");
|
||||
$systemInfo['db_scheme_version'] = db_get_sql("SELECT \"value\" FROM tconfig WHERE \"token\" = 'db_scheme_version'");
|
||||
$systemInfo['db_scheme_build'] = db_get_sql("SELECT \"value\" FROM tconfig WHERE \"token\" = 'db_scheme_build'");
|
||||
$systemInfo['enterprise_installed'] = db_get_sql("SELECT \"value\" FROM tconfig WHERE \"token\" = 'enterprise_installed'");
|
||||
$systemInfo['db_maintance'] = db_get_sql ("SELECT \"value\" FROM tconfig WHERE \"token\" = 'db_maintance'");
|
||||
$systemInfo['customer_key'] = db_get_sql("SELECT \"value\" FROM tupdate_settings WHERE \"key =\" 'customer_key';");
|
||||
$systemInfo['updating_code_path'] = db_get_sql("SELECT \"value\" FROM tupdate_settings WHERE \"key =\" 'updating_code_path'");
|
||||
$systemInfo['current_update'] = db_get_sql("SELECT \"value\" FROM tupdate_settings WHERE \"key =\" 'current_update'");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ if ($update_settings) {
|
|||
foreach ($_POST['keys'] as $key => $value) {
|
||||
db_process_sql_update(
|
||||
'tupdate_settings',
|
||||
array('value' => $value),
|
||||
array(db_escape_key_identifier('value') => $value),
|
||||
array(db_escape_key_identifier('key') => $key));
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
/**
|
||||
* Pandora build version and version
|
||||
*/
|
||||
$build_version = 'PC150831';
|
||||
$build_version = 'PC150901';
|
||||
$pandora_version = 'v6.0RC1';
|
||||
|
||||
// Do not overwrite default timezone set if defined.
|
||||
|
|
|
@ -178,7 +178,7 @@ function config_update_config () {
|
|||
if ($update_manager_installed == 1) {
|
||||
$license_info_key = get_parameter('license_info_key', '');
|
||||
if (!empty($license_info_key)) {
|
||||
$values = array("value" => $license_info_key);
|
||||
$values = array(db_escape_key_identifier('value') => $license_info_key);
|
||||
$where = array(db_escape_key_identifier('key') => 'customer_key');
|
||||
$update_manage_settings_result = db_process_sql_update('tupdate_settings', $values, $where);
|
||||
if ($update_manage_settings_result === false)
|
||||
|
|
|
@ -25,7 +25,7 @@ function update_manager_get_config_values() {
|
|||
global $pandora_version;
|
||||
|
||||
$license = db_get_value(
|
||||
'value',
|
||||
db_escape_key_identifier('value'),
|
||||
'tupdate_settings',
|
||||
db_escape_key_identifier('key'),
|
||||
'customer_key');
|
||||
|
@ -480,7 +480,7 @@ function update_manager_set_current_package($current_package) {
|
|||
$token = 'current_package';
|
||||
}
|
||||
|
||||
$col_value = 'value';
|
||||
$col_value = db_escape_key_identifier('value');
|
||||
$col_key = db_escape_key_identifier('key');
|
||||
|
||||
$value = db_get_value($col_value,
|
||||
|
@ -507,7 +507,7 @@ function update_manager_get_current_package() {
|
|||
$token = 'current_package';
|
||||
}
|
||||
$current_update = db_get_value(
|
||||
'value',
|
||||
db_escape_key_identifier('value'),
|
||||
'tupdate_settings',
|
||||
db_escape_key_identifier('key'),
|
||||
$token);
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<div style='height: 10px'>
|
||||
<?php
|
||||
$version = '6.0RC1';
|
||||
$build = '150831';
|
||||
$build = '150901';
|
||||
$banner = "v$version Build $build";
|
||||
|
||||
error_reporting(0);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_console
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
|
||||
# User and Group under which Apache is running
|
||||
%define httpd_name httpd
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_console
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
%define httpd_name httpd
|
||||
# User and Group under which Apache is running
|
||||
%define httpd_name apache2
|
||||
|
|
|
@ -39,7 +39,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
|||
('step_compact','1'),
|
||||
('db_scheme_first_version', '6.0dev'),
|
||||
('db_scheme_version','6.0RC1'),
|
||||
('db_scheme_build','PD150831'),
|
||||
('db_scheme_build','PD150901'),
|
||||
('show_unknown','0'),
|
||||
('show_lastalerts','1'),
|
||||
('style','pandora'),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package: pandorafms-server
|
||||
Version: 6.0RC1-150831
|
||||
Version: 6.0RC1-150901
|
||||
Architecture: all
|
||||
Priority: optional
|
||||
Section: admin
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
pandora_version="6.0RC1-150831"
|
||||
pandora_version="6.0RC1-150901"
|
||||
|
||||
package_cpan=0
|
||||
package_pandora=1
|
||||
|
|
|
@ -43,7 +43,7 @@ our @EXPORT = qw(
|
|||
|
||||
# version: Defines actual version of Pandora Server for this module only
|
||||
my $pandora_version = "6.0RC1";
|
||||
my $pandora_build = "150831";
|
||||
my $pandora_build = "150901";
|
||||
our $VERSION = $pandora_version." ".$pandora_build;
|
||||
|
||||
# Setup hash
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_server
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
|
||||
Summary: Pandora FMS Server
|
||||
Name: %{name}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
%define name pandorafms_server
|
||||
%define version 6.0RC1
|
||||
%define release 150831
|
||||
%define release 150901
|
||||
|
||||
Summary: Pandora FMS Server
|
||||
Name: %{name}
|
||||
|
|
|
@ -33,7 +33,7 @@ use PandoraFMS::Tools;
|
|||
use PandoraFMS::DB;
|
||||
|
||||
# version: define current version
|
||||
my $version = "6.0RC1 PS150831";
|
||||
my $version = "6.0RC1 PS150901";
|
||||
|
||||
# Pandora server configuration
|
||||
my %conf;
|
||||
|
|
|
@ -35,7 +35,7 @@ use Encode::Locale;
|
|||
Encode::Locale::decode_argv;
|
||||
|
||||
# version: define current version
|
||||
my $version = "6.0RC1 PS150831";
|
||||
my $version = "6.0RC1 PS150901";
|
||||
|
||||
# save program name for logging
|
||||
my $progname = basename($0);
|
||||
|
|
Loading…
Reference in New Issue