From 2c683da10b8a0bfdd8b4a2cd42b583cf3f47887f Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 13 Jan 2010 18:33:04 +0000 Subject: [PATCH] 2010-12-13 Miguel de Dios * PandoraFMS-Enterprise/DEBIAN/*: add scripts and conf files to make a deb package. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/DEBIAN/control | 2 +- pandora_server/DEBIAN/make_deb_package.sh | 6 +++--- pandora_server/DEBIAN/md5sums | 1 + pandora_server/DEBIAN/postinst | 2 +- pandora_server/DEBIAN/prerm | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pandora_server/DEBIAN/control b/pandora_server/DEBIAN/control index ec2cc89d14..b0de5a8781 100644 --- a/pandora_server/DEBIAN/control +++ b/pandora_server/DEBIAN/control @@ -7,4 +7,4 @@ Installed-Size: 640 Maintainer: Miguel de Dios Homepage: http://pandorafms.org/ Depends: pandorafms-server, libio-socket-multicast-perl -Description: Pandora FMS is a monitoring system for big IT environments. It uses remote tests, or local agents to grab information. Pandora supports all standard OS (Linux, AIX, HP-UX, Solaris and Windows XP,2000/2003), and support multiple setups in HA enviroments. +Description: Pandora FMS is a monitoring system for big IT environments. It uses remote tests, or local agents to grab information. Pandora supports all standard OS (Linux, AIX, HP-UX, Solaris and Windows XP,2000/2003), and support multiple setups in HA enviroments. \ No newline at end of file diff --git a/pandora_server/DEBIAN/make_deb_package.sh b/pandora_server/DEBIAN/make_deb_package.sh index 56b2fa7b1f..2dabb3d71a 100644 --- a/pandora_server/DEBIAN/make_deb_package.sh +++ b/pandora_server/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_console_version="3.0.0" +pandora_server_version="3.0.0" echo "This script to make deb must run as root (because the dh-make-perl need this). Then test if you are root." if [ `id -u` != 0 ] @@ -100,8 +100,8 @@ echo "END" echo "Make the package \"Pandorafms server\"." dpkg-deb --build temp_package -mv temp_package.deb pandorafms.server_enterprise_$pandora_console_version.deb -chmod 777 pandorafms.server_enterprise_$pandora_console_version.deb +mv temp_package.deb pandorafms.server_enterprise_$pandora_server_version.deb +chmod 777 pandorafms.server_enterprise_$pandora_server_version.deb echo "Delete the \"temp_package\" temp dir for job." rm Makefile diff --git a/pandora_server/DEBIAN/md5sums b/pandora_server/DEBIAN/md5sums index e69de29bb2..8b13789179 100644 --- a/pandora_server/DEBIAN/md5sums +++ b/pandora_server/DEBIAN/md5sums @@ -0,0 +1 @@ + diff --git a/pandora_server/DEBIAN/postinst b/pandora_server/DEBIAN/postinst index 8708d78183..c6d4060de0 100755 --- a/pandora_server/DEBIAN/postinst +++ b/pandora_server/DEBIAN/postinst @@ -1,4 +1,4 @@ #!/bin/bash echo "NOTICE: You will need to edit your pandora_server.conf file to enable Enterprise features and restart Pandora FMS server after that." -echo "Please note that you must enter in Pandora FMS Enteprise console PRIOR to execute Pandora FMS Enterprise server" +echo "Please note that you must enter in Pandora FMS Enteprise console PRIOR to execute Pandora FMS Enterprise server" \ No newline at end of file diff --git a/pandora_server/DEBIAN/prerm b/pandora_server/DEBIAN/prerm index a9bf588e2f..05a7907cf5 100755 --- a/pandora_server/DEBIAN/prerm +++ b/pandora_server/DEBIAN/prerm @@ -1 +1,2 @@ #!/bin/bash +