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:
parent
e5613de94a
commit
c9c2b83169
|
@ -1,34 +1,34 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CODEHOME=~/code/pandora/trunk
|
CODEHOME=~/code/pandora/trunk
|
||||||
CODEHOME_ENT=~/code/artica/code
|
CODEHOME_ENT=~/code/artica
|
||||||
RPMHOME=/usr/src/packages
|
RPMHOME=/usr/src/packages
|
||||||
|
|
||||||
mkdir -p $RPMHOME/DEB
|
mkdir -p $RPMHOME/DEB
|
||||||
|
|
||||||
echo "Creating DEB packages in $RPMHOME/DEB"
|
echo "Creating DEB packages in $RPMHOME/DEB"
|
||||||
cd $CODEHOME/pandora_console/DEBIAN
|
cd $CODEHOME/pandora_console/DEBIAN
|
||||||
bash ./make_deb_package.sh -pear
|
sudo bash ./make_deb_package.sh
|
||||||
cd ..
|
cd ..
|
||||||
mv *.deb $RPMHOME/DEB
|
mv *.deb $RPMHOME/DEB
|
||||||
|
|
||||||
cd $CODEHOME/pandora_server/DEBIAN
|
cd $CODEHOME/pandora_server/DEBIAN
|
||||||
bash ./make_deb_package.sh -cpan
|
sudo bash ./make_deb_package.sh
|
||||||
cd ..
|
cd ..
|
||||||
mv *.deb $RPMHOME/DEB
|
mv *.deb $RPMHOME/DEB
|
||||||
|
|
||||||
cd $CODEHOME/pandora_agents/unix/DEBIAN
|
cd $CODEHOME/pandora_agents/unix/DEBIAN
|
||||||
bash ./make_deb_package.sh
|
sudo bash ./make_deb_package.sh
|
||||||
cd ..
|
cd ..
|
||||||
mv *.deb $RPMHOME/DEB
|
mv *.deb $RPMHOME/DEB
|
||||||
|
|
||||||
cd $CODEHOME_ENT/pandora/trunk/pandora_console/DEBIAN
|
cd $CODEHOME_ENT/pandora/trunk/pandora_console/DEBIAN
|
||||||
bash ./make_deb_package.sh
|
sudo bash ./make_deb_package.sh
|
||||||
cd ..
|
cd ..
|
||||||
mv *.deb $RPMHOME/DEB
|
mv *.deb $RPMHOME/DEB
|
||||||
|
|
||||||
cd $CODEHOME_ENT/pandora/trunk/pandora_server/PandoraFMS-Enterprise/DEBIAN
|
cd $CODEHOME_ENT/pandora/trunk/pandora_server/PandoraFMS-Enterprise/DEBIAN
|
||||||
bash ./make_deb_package.sh
|
sudo bash ./make_deb_package.sh
|
||||||
cd ..
|
cd ..
|
||||||
mv *.deb $RPMHOME/DEB
|
mv *.deb $RPMHOME/DEB
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# 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."
|
echo "Test if you has the tools for to make the packages."
|
||||||
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#Pandora FMS Linux Agent
|
#Pandora FMS Linux Agent
|
||||||
#
|
#
|
||||||
%define name pandorafms_agent_unix
|
%define name pandorafms_agent_unix
|
||||||
%define version 3.2RC2
|
%define version 3.2rc2
|
||||||
Summary: Pandora FMS Linux agent, PERL version
|
Summary: Pandora FMS Linux agent, PERL version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="3.2RC1"
|
pandora_version="3.2rc2"
|
||||||
|
|
||||||
package_pear=1
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
|
||||||
for param in $@
|
for param in $@
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="3.2RC1"
|
pandora_version="3.2rc2"
|
||||||
|
|
||||||
package_cpan=1
|
package_cpan=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
for param in $@
|
for param in $@
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue