From 11086ccb40c8033f927e9b816b3f3042c91a7386 Mon Sep 17 00:00:00 2001 From: slerena Date: Tue, 10 Nov 2009 00:52:18 +0000 Subject: [PATCH] 2009-11-10 Sancho Lerena * linux/DEBIAN/control: Updated to RC2. * linux/DEBIAN/make_deb_package.sh: /usr/bin/pandora_agent was not being copied FIXED. DEB package tested and running fine in latest Debian Stable. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/linux/DEBIAN/control | 4 ++-- pandora_agents/linux/DEBIAN/make_deb_package.sh | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pandora_agents/linux/DEBIAN/control b/pandora_agents/linux/DEBIAN/control index 4171a2a7dc..d1c429181f 100755 --- a/pandora_agents/linux/DEBIAN/control +++ b/pandora_agents/linux/DEBIAN/control @@ -1,5 +1,5 @@ package: PandoraFMS-Agent -Version: 3.0.0.rc1 +Version: 3.0.0.rc2 Architecture: all Priority: optional Section: admin @@ -7,4 +7,4 @@ Installed-Size: 260 Maintainer: Miguel de Dios Homepage: http://pandorafms.org/ Depends: coreutils, perl -Description: andora FMS agents are based on native languages in every platform: scripts that can be written in any language. It’s possible to reproduce any agent in any programming language and can be extended without difficulty the existing ones in order to cover aspects not taken into account up to the moment. These scripts are formed by modules that each one gathers a "chunk" of information. Thus, every agent gathers several "chunks" of information; this one is organized in a data set and stored in a single file, called data file. +Description: Pandora FMS agents are based on native languages in every platform: scripts that can be written in any language. It’s possible to reproduce any agent in any programming language and can be extended without difficulty the existing ones in order to cover aspects not taken into account up to the moment. These scripts are formed by modules that each one gathers a "chunk" of information. Thus, every agent gathers several "chunks" of information; this one is organized in a data set and stored in a single file, called data file. diff --git a/pandora_agents/linux/DEBIAN/make_deb_package.sh b/pandora_agents/linux/DEBIAN/make_deb_package.sh index 405142af6b..30f7251e70 100644 --- a/pandora_agents/linux/DEBIAN/make_deb_package.sh +++ b/pandora_agents/linux/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_agent_version="3.0.0.rc1" +pandora_agent_version="3.0.0.rc2" echo "Test if you has the tools for to make the packages." whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null @@ -26,20 +26,21 @@ else echo "Found \"dpkg-debs\"." fi +cd .. + echo "Make a \"temp_package\" temp dir for job." mkdir -p temp_package/usr/share/pandora_agent mkdir -p temp_package/var/spool/pandora/data_out mkdir -p temp_package/var/log/pandora/ mkdir -p temp_package/etc/pandora mkdir -p temp_package/etc/init.d/ - -cd .. +mkdir -p temp_package/usr/bin echo "Make directory system tree for package." cp DEBIAN temp_package -R PANDORA_LOG=temp_package/var/log/pandora/pandora_agent.log -PANDORA_BIN=temp_package/usr/bin +PANDORA_BIN=temp_package/usr/bin/pandora_agent PANDORA_HOME=temp_package/usr/share/pandora_agent TENTACLE=temp_package/usr/bin/tentacle_client PANDORA_CFG=temp_package/etc/pandora