2010-11-26 Sancho Lerena <slerena@artica.es>

* pandora_agents/unix/DEBIAN/make_deb_package.sh,
	pandora_agents/unix/pandora_agent.spec,
	extras/build_deb.sh,
	pandora_console/DEBIAN/make_deb_package.sh,
	pandora_server/DEBIAN/make_deb_package.sh: Updated debian
	package generation (version update and small fixes/adjustements)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-11-25 22:48:13 +00:00
parent 83e2441032
commit d96b006f5e
5 changed files with 12 additions and 12 deletions

View File

@ -1,34 +1,34 @@
#!/bin/bash
CODEHOME=~/code/pandora/trunk
CODEHOME_ENT=~/code/artica/code
CODEHOME_ENT=~/code/artica
RPMHOME=/usr/src/packages
mkdir -p $RPMHOME/DEB
echo "Creating DEB packages in $RPMHOME/DEB"
cd $CODEHOME/pandora_console/DEBIAN
bash ./make_deb_package.sh -pear
sudo bash ./make_deb_package.sh
cd ..
mv *.deb $RPMHOME/DEB
cd $CODEHOME/pandora_server/DEBIAN
bash ./make_deb_package.sh -cpan
sudo bash ./make_deb_package.sh
cd ..
mv *.deb $RPMHOME/DEB
cd $CODEHOME/pandora_agents/unix/DEBIAN
bash ./make_deb_package.sh
sudo bash ./make_deb_package.sh
cd ..
mv *.deb $RPMHOME/DEB
cd $CODEHOME_ENT/pandora/trunk/pandora_console/DEBIAN
bash ./make_deb_package.sh
sudo bash ./make_deb_package.sh
cd ..
mv *.deb $RPMHOME/DEB
cd $CODEHOME_ENT/pandora/trunk/pandora_server/PandoraFMS-Enterprise/DEBIAN
bash ./make_deb_package.sh
sudo bash ./make_deb_package.sh
cd ..
mv *.deb $RPMHOME/DEB

View File

@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
pandora_version="3.2"
pandora_version="3.2rc2"
echo "Test if you has the tools for to make the packages."
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null

View File

@ -2,7 +2,7 @@
#Pandora FMS Linux Agent
#
%define name pandorafms_agent_unix
%define version 3.2RC2
%define version 3.2rc2
Summary: Pandora FMS Linux agent, PERL version
Name: %{name}
Version: %{version}

View File

@ -14,9 +14,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
pandora_version="3.2RC1"
pandora_version="3.2rc2"
package_pear=1
package_pear=0
package_pandora=1
for param in $@

View File

@ -14,9 +14,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
pandora_version="3.2RC1"
pandora_version="3.2rc2"
package_cpan=1
package_cpan=0
package_pandora=1
for param in $@
do