2009-12-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer, * linux/DEBIAN/control, * linux/pandora_agent.spec: Updated versions. * unix/pandora_agent: Fixed bug #2887050. Updated version git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7a37ce93c6
commit
9c8c2f94eb
|
@ -1,3 +1,11 @@
|
||||||
|
2009-12-18 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* unix/pandora_agent_installer,
|
||||||
|
* linux/DEBIAN/control,
|
||||||
|
* linux/pandora_agent.spec: Updated versions.
|
||||||
|
|
||||||
|
* unix/pandora_agent: Fixed bug #2887050. Updated version
|
||||||
|
|
||||||
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* linux/DEBIAN/postinst: change the code to insert as service the agent.
|
* linux/DEBIAN/postinst: change the code to insert as service the agent.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package: PandoraFMS-Agent
|
package: PandoraFMS-Agent
|
||||||
Version: 3.0.0.RC3
|
Version: 3.0.0
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
Summary: Pandora FMS Linux agent
|
Summary: Pandora FMS Linux agent
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 2
|
Release: 4
|
||||||
License: GPL
|
License: GPL
|
||||||
Vendor: ArticaST <http://www.artica.es>
|
Vendor: ArticaST <http://www.artica.es>
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
|
@ -486,18 +486,13 @@ sub guess_os_version ($) {
|
||||||
# Linux
|
# Linux
|
||||||
return `lsb_release -sd` if ($os eq 'linux');
|
return `lsb_release -sd` if ($os eq 'linux');
|
||||||
|
|
||||||
# Solaris
|
|
||||||
return `uname -r` if ($os eq 'solaris');
|
|
||||||
|
|
||||||
# AIX
|
# AIX
|
||||||
if ($os eq 'aix') {
|
if ($os eq 'aix') {
|
||||||
return "$2.$1" if (`uname -rv` =~ /\s*(\d)\s+(\d)\s*/);
|
return "$2.$1" if (`uname -rv` =~ /\s*(\d)\s+(\d)\s*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
# HP-UX
|
# Solaris, HP-UX, BSD and others
|
||||||
return `uname -r` if ($os eq 'aix');
|
return `uname -r`;
|
||||||
|
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
# This is a generic installer for all Unix-like systems.(AIX, HP-UX, SunOS, Linux)
|
# This is a generic installer for all Unix-like systems.(AIX, HP-UX, SunOS, Linux)
|
||||||
# Please see http://www.pandorafms.org
|
# Please see http://www.pandorafms.org
|
||||||
# v3.0 Build 091103
|
# v3.0 Build 091215
|
||||||
# This code is licensed under GPL 2.0 license.
|
# This code is licensed under GPL 2.0 license.
|
||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue