mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2011-11-15 Ramon Novoa <rnovoa@artica.es>
* build.sh, modules/pandora_module_odbc.cc, Makefile.am: Made changes to cross-compile in openSUSE 11.4. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1759d2c5e8
commit
722d8bf10b
@ -1,3 +1,8 @@
|
|||||||
|
2011-11-15 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* build.sh, modules/pandora_module_odbc.cc, Makefile.am: Made
|
||||||
|
changes to cross-compile in openSUSE 11.4.
|
||||||
|
|
||||||
2011-11-03 Ramon Novoa <rnovoa@artica.es>
|
2011-11-03 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* pandora_windows_service.h,
|
* pandora_windows_service.h,
|
||||||
|
@ -6,7 +6,7 @@ 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 -static-libgcc -static-libstdc++
|
PandoraAgent_LDFLAGS=-static-libgcc -static-libstdc++
|
||||||
|
|
||||||
LDADD = versioninfo.res
|
LDADD = versioninfo.res
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
DIST=`lsb_release -i | awk '{print $3}'`
|
DIST=`lsb_release -i | awk '{print $3}'`
|
||||||
HOST="i586-mingw32msvc"
|
HOST="i586-mingw32msvc"
|
||||||
if [ "$DIST" == "SUSE" ]; then
|
if [ "$DIST" == "SUSE" ]; then
|
||||||
HOST="i686-pc-mingw32"
|
HOST="i686-w64-mingw32"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi
|
./autogen.sh && ./configure --host=$HOST && make clean && make && cp PandoraAgent.exe bin/ && installjammer --build installer/pandora.mpi
|
||||||
|
@ -44,7 +44,7 @@ Pandora_Module_Odbc::Pandora_Module_Odbc (string name,
|
|||||||
string query)
|
string query)
|
||||||
: Pandora_Module (name) {
|
: Pandora_Module (name) {
|
||||||
|
|
||||||
Pandora_Agent_Conf::Pandora_Agent_Conf *conf;
|
Pandora_Agent_Conf *conf;
|
||||||
|
|
||||||
conf = Pandora_Agent_Conf::getInstance ();
|
conf = Pandora_Agent_Conf::getInstance ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user