mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
3e3f4d6783
commit
6eb81e4838
@ -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>
|
2010-05-13 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* pandora_windows_service.cc: Check the return codee of the tentacle
|
* pandora_windows_service.cc: Check the return codee of the tentacle
|
||||||
|
@ -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_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
|
PandoraAgent_CXXFLAGS=-O2 -DCURL_STATICLIB
|
||||||
endif
|
endif
|
||||||
|
PandoraAgent_LDFLAGS=-enable-auto-import
|
||||||
|
@ -3,5 +3,11 @@
|
|||||||
# The installer will be placed in ./installer/output/.
|
# The installer will be placed in ./installer/output/.
|
||||||
# InstallJammer must be installed and in the PATH.
|
# 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
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{100421}
|
{100519}
|
||||||
|
|
||||||
ViewReadme
|
ViewReadme
|
||||||
{Yes}
|
{Yes}
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#ifndef __PANDORA_DATA_H__
|
#ifndef __PANDORA_DATA_H__
|
||||||
#define __PANDORA_DATA_H__
|
#define __PANDORA_DATA_H__
|
||||||
|
|
||||||
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#define __PANDORA_MODULE_ODBC_H__
|
#define __PANDORA_MODULE_ODBC_H__
|
||||||
|
|
||||||
#include "pandora_module.h"
|
#include "pandora_module.h"
|
||||||
|
#include <memory>
|
||||||
#include <odbc++/connection.h>
|
#include <odbc++/connection.h>
|
||||||
|
|
||||||
using namespace odbc;
|
using namespace odbc;
|
||||||
|
@ -30,7 +30,7 @@ using namespace Pandora;
|
|||||||
using namespace Pandora_Strutils;
|
using namespace Pandora_Strutils;
|
||||||
|
|
||||||
#define PATH_SIZE _MAX_PATH+1
|
#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_path;
|
||||||
string pandora_dir;
|
string pandora_dir;
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#define __PANDORA__
|
#define __PANDORA__
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#undef WINVER
|
#undef WINVER
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#ifndef __STRUTILS_H__
|
#ifndef __STRUTILS_H__
|
||||||
#define __STRUTILS_H__
|
#define __STRUTILS_H__
|
||||||
|
|
||||||
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#define MAX_PACKET_SIZE 1024
|
#define MAX_PACKET_SIZE 1024
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include "../pandora_windows_service.h"
|
#include "../pandora_windows_service.h"
|
||||||
|
|
||||||
namespace Pandora {
|
namespace Pandora {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user