2010-05-19 Ramon Novoa <rnovoa@artica.es>

* pandora_strutils.h, modules/pandora_module_odbc.h,
          modules/pandora_data.h, build.sh, pandora.h,
          udp_server/udp_server.h, Makefile.am: Small fixes so the agent
          builds under newer versions of MinGW.

        * installer/pandora.mpi: Updated build.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-05-19 15:21:10 +00:00
parent 82c0d27dc5
commit 659cfe1c17
10 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2010-05-19 Ramon Novoa <rnovoa@artica.es>
* pandora_strutils.h, modules/pandora_module_odbc.h,
modules/pandora_data.h, build.sh, pandora.h,
udp_server/udp_server.h, Makefile.am: Small fixes so the agent
builds under newer versions of MinGW.
* installer/pandora.mpi: Updated build.
2010-05-13 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Check the return codee of the tentacle

View File

@ -6,3 +6,4 @@ else
PandoraAgent_SOURCES = misc/pandora_file.cc modules/pandora_data.cc modules/pandora_module_factory.cc modules/pandora_module.cc modules/pandora_module_list.cc modules/pandora_module_plugin.cc modules/pandora_module_inventory.cc modules/pandora_module_freememory.cc modules/pandora_module_exec.cc modules/pandora_module_odbc.cc modules/pandora_module_perfcounter.cc modules/pandora_module_proc.cc modules/pandora_module_tcpcheck.cc modules/pandora_module_freememory_percent.cc modules/pandora_module_freedisk.cc modules/pandora_module_freedisk_percent.cc modules/pandora_module_logevent.cc modules/pandora_module_service.cc modules/pandora_module_cpuusage.cc modules/pandora_module_wmiquery.cc modules/pandora_module_regexp.cc udp_server/udp_server.cc main.cc pandora_strutils.cc pandora.cc windows_service.cc pandora_agent_conf.cc windows/pandora_windows_info.cc windows/pandora_wmi.cc pandora_windows_service.cc misc/md5.c windows/wmi/disphelper.c ssh/libssh2/channel.c ssh/libssh2/mac.c ssh/libssh2/session.c ssh/libssh2/comp.c ssh/libssh2/misc.c ssh/libssh2/sftp.c ssh/libssh2/crypt.c ssh/libssh2/packet.c ssh/libssh2/userauth.c ssh/libssh2/hostkey.c ssh/libssh2/publickey.c ssh/libssh2/kex.c ssh/libssh2/scp.c ssh/pandora_ssh_client.cc ssh/pandora_ssh_test.cc ftp/pandora_ftp_client.cc ftp/pandora_ftp_test.cc
PandoraAgent_CXXFLAGS=-O2 -DCURL_STATICLIB
endif
PandoraAgent_LDFLAGS=-enable-auto-import

View File

@ -3,5 +3,11 @@
# The installer will be placed in ./installer/output/.
# InstallJammer must be installed and in the PATH.
./autogen.sh && ./configure --host=i586-mingw32msvc && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi
DIST=`lsb_release -i | awk '{print $3}'`
HOST="i586-mingw32msvc"
if [ "$DIST" == "SUSE" ]; then
HOST="i686-pc-mingw32"
fi
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi

View File

@ -186,7 +186,7 @@ UpgradeApplicationID
{}
Version
{100421}
{100519}
ViewReadme
{Yes}

View File

@ -22,6 +22,7 @@
#ifndef __PANDORA_DATA_H__
#define __PANDORA_DATA_H__
#include <cstdio>
#include <string>
#include <windows.h>

View File

@ -23,6 +23,7 @@
#define __PANDORA_MODULE_ODBC_H__
#include "pandora_module.h"
#include <memory>
#include <odbc++/connection.h>
using namespace odbc;

View File

@ -30,7 +30,7 @@ using namespace Pandora;
using namespace Pandora_Strutils;
#define PATH_SIZE _MAX_PATH+1
#define PANDORA_VERSION ("3.1RC1(Build 100421)")
#define PANDORA_VERSION ("3.1RC1(Build 100519)")
string pandora_path;
string pandora_dir;

View File

@ -21,6 +21,7 @@
#define __PANDORA__
#include <list>
#include <cstdio>
#include <string>
#undef WINVER

View File

@ -22,6 +22,7 @@
#ifndef __STRUTILS_H__
#define __STRUTILS_H__
#include <cstdio>
#include <string>
#include <list>

View File

@ -24,6 +24,7 @@
#define MAX_PACKET_SIZE 1024
#include <algorithm>
#include "../pandora_windows_service.h"
namespace Pandora {