From 0d7da618f6dd2511b17d7e591569060b8f9ea589 Mon Sep 17 00:00:00 2001 From: slerena Date: Fri, 21 Aug 2009 12:13:36 +0000 Subject: [PATCH] 2009-08-20 Sancho Lerena * bsd-ipso/pandora_agent.sh aix/pandora_agent mac_osx/pandora_agent openWRT/pandora_agent hp-ux/pandora_agent win32/udp_server/udp_server.cc win32/udp_server/udp_server.h meta_agent/pandora_agent_sim.sh solaris/pandora_agent: Header updates. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 12 +++++++++++ pandora_agents/aix/pandora_agent | 9 ++++---- pandora_agents/bsd-ipso/pandora_agent.sh | 9 ++++---- pandora_agents/hp-ux/pandora_agent | 9 ++++---- pandora_agents/mac_osx/pandora_agent | 7 +++---- .../meta_agent/pandora_agent_sim.sh | 9 ++++---- pandora_agents/openWRT/pandora_agent | 8 +++---- pandora_agents/solaris/pandora_agent | 9 ++++---- pandora_agents/win32/udp_server/udp_server.cc | 20 ++++++++++++++++++ pandora_agents/win32/udp_server/udp_server.h | 21 +++++++++++++++++++ 10 files changed, 79 insertions(+), 34 deletions(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 84dfc93ea0..19b6b4efbf 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,15 @@ +2009-08-20 Sancho Lerena + + * bsd-ipso/pandora_agent.sh + aix/pandora_agent + mac_osx/pandora_agent + openWRT/pandora_agent + hp-ux/pandora_agent + win32/udp_server/udp_server.cc + win32/udp_server/udp_server.h + meta_agent/pandora_agent_sim.sh + solaris/pandora_agent: Header updates. + 2009-08-19 Manuel Arostegui * linux/pandora_agent.spec: Changed email. diff --git a/pandora_agents/aix/pandora_agent b/pandora_agents/aix/pandora_agent index 1cb38f66f2..cad0fb38af 100755 --- a/pandora_agents/aix/pandora_agent +++ b/pandora_agents/aix/pandora_agent @@ -1,10 +1,9 @@ #!/usr/bin/ksh # ********************************************************************** -# Pandora Agent for AIX -# v1.3 -# (c) Sancho Lerena 2003-2006, slerena@gmail.com -# Este codigo esta licenciado bajo la licencia GPL 2.0 o posterior -# This code is licenced under GPL 2.0 licence or later +# Pandora FMS AIX Agent +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org +# This code is licensed under GPL 2.0 license. # ********************************************************************** AGENT_VERSION="1.3" diff --git a/pandora_agents/bsd-ipso/pandora_agent.sh b/pandora_agents/bsd-ipso/pandora_agent.sh index e33c2e7ad1..523cee8d86 100755 --- a/pandora_agents/bsd-ipso/pandora_agent.sh +++ b/pandora_agents/bsd-ipso/pandora_agent.sh @@ -1,10 +1,9 @@ #!/bin/sh # ********************************************************************** -# Agente Generico Pandora -# FreeBSD/IPSO version -# (c) Sancho Lerena 2003-2007, slerena@gmail.com -# Este codigo esta licenciado bajo la licencia GPL 2.0 -# This code is licenced under GPL 2.0 licence. +# Pandora FMS Generic IPSO/HPUX +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org +# This code is licensed under GPL 2.0 license. # ********************************************************************** AGENT_VERSION=1.3 diff --git a/pandora_agents/hp-ux/pandora_agent b/pandora_agents/hp-ux/pandora_agent index 8fdd79f5b8..c0deb851ca 100644 --- a/pandora_agents/hp-ux/pandora_agent +++ b/pandora_agents/hp-ux/pandora_agent @@ -1,10 +1,9 @@ #!/bin/sh # ********************************************************************** -# Pandora Agent -# HPUX Version (v11) -# (c) Sancho Lerena 2003-2005, slerena@gmail.com -# Este codigo esta licenciado bajo la licencia GPL 2.0 -# This code is licenced under GPL 2.0 licence. +# Pandora FMS Generic HPUX Agent +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org +# This code is licensed under GPL 2.0 license. # ********************************************************************** AGENT_VERSION=1.1 diff --git a/pandora_agents/mac_osx/pandora_agent b/pandora_agents/mac_osx/pandora_agent index 7c850bf86f..9a774250c5 100755 --- a/pandora_agents/mac_osx/pandora_agent +++ b/pandora_agents/mac_osx/pandora_agent @@ -1,9 +1,8 @@ #!/bin/bash # ********************************************************************** -# Pandora FMS Generic Host Agent -# Mac OS X/Linux version 2.0 -# (c) 2003-2008 Sancho Lerena -# with the help of many people. Please see http://pandora.sourceforge.net +# Pandora FMS Generic MacOS Agent +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org # This code is licensed under GPL 2.0 license. # ********************************************************************** diff --git a/pandora_agents/meta_agent/pandora_agent_sim.sh b/pandora_agents/meta_agent/pandora_agent_sim.sh index 9655af1f23..0d9c6adff9 100755 --- a/pandora_agents/meta_agent/pandora_agent_sim.sh +++ b/pandora_agents/meta_agent/pandora_agent_sim.sh @@ -1,11 +1,10 @@ #!/bin/bash # ********************************************************************** -# SIMULADOR DE AGENTES Pandora (Pandora Meta Agent) -# Linux version -# (c) Sancho Lerena 2003,2004,2005 -# Este codigo esta licenciado bajo la licencia GPL 2.0. -# This code is licenced under GPL 2.0 licence. +# Pandora FMS Agent Simulator (MetaAgent) +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org +# This code is licensed under GPL 2.0 license. # ********************************************************************** IFS=$'\n' diff --git a/pandora_agents/openWRT/pandora_agent b/pandora_agents/openWRT/pandora_agent index 9f28379a56..bca0791cdb 100755 --- a/pandora_agents/openWRT/pandora_agent +++ b/pandora_agents/openWRT/pandora_agent @@ -1,10 +1,8 @@ #!/bin/sh # ********************************************************************** -# Pandora FMS Agent -# OpenWRT version -# (c) 2003-2008 Sancho Lerena -# (c) 2007-2008 Jorge Loza -# with the help of many people. Please see http://pandora.sourceforge.net +# Pandora FMS OpenWRT Agent +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org # This code is licensed under GPL 2.0 license. # ********************************************************************** AGENT_VERSION=2.0 diff --git a/pandora_agents/solaris/pandora_agent b/pandora_agents/solaris/pandora_agent index 39f3a35f6f..ba89d828fe 100755 --- a/pandora_agents/solaris/pandora_agent +++ b/pandora_agents/solaris/pandora_agent @@ -1,10 +1,9 @@ #!/usr/bin/ksh # ********************************************************************** -# Pandora Agent for Solaris -# v1.3 -# (c) Sancho Lerena 2003-2006, slerena@gmail.com -# Este codigo esta licenciado bajo la licencia GPL 2.0 o posterior -# This code is licenced under GPL 2.0 licence +# Pandora FMS Solaris Agent +# (c) 2009 Artica Soluciones Tecnológicas SL +# with the help of many people. Please see http://pandorafms.org +# This code is licensed under GPL 2.0 license. # ********************************************************************** AGENT_VERSION="1.3" diff --git a/pandora_agents/win32/udp_server/udp_server.cc b/pandora_agents/win32/udp_server/udp_server.cc index 53d121658e..9958957029 100644 --- a/pandora_agents/win32/udp_server/udp_server.cc +++ b/pandora_agents/win32/udp_server/udp_server.cc @@ -1,3 +1,23 @@ +/* + + Copyright (C) 2009 Artica ST. + Written by Ramon Novoa + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + #include #include #include diff --git a/pandora_agents/win32/udp_server/udp_server.h b/pandora_agents/win32/udp_server/udp_server.h index bb96b64348..7942acc0bb 100644 --- a/pandora_agents/win32/udp_server/udp_server.h +++ b/pandora_agents/win32/udp_server/udp_server.h @@ -1,3 +1,24 @@ +/* + + Copyright (C) 2009 Artica ST. + Written by Ramon Novoa + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + + #ifndef __UDP_SERVER_H__ #define __UDP_SERVER_H__