2009-11-10 Sancho Lerena <slerena@gmail.com>
* pandora_console.spec: Fixed small problem with .spec * DEBIAN/control: Edited package description. * DEBIAN/make_deb_package.sh: Several changes, deletion and copy of files and .svn are not made with cp and xargs | rm: Faster. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
08ab164248
commit
06de7c965a
|
@ -1,3 +1,12 @@
|
|||
2009-11-10 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* pandora_console.spec: Fixed small problem with .spec
|
||||
|
||||
* DEBIAN/control: Edited package description.
|
||||
|
||||
* DEBIAN/make_deb_package.sh: Several changes, deletion and copy
|
||||
of files and .svn are not made with cp and xargs | rm: Faster.
|
||||
|
||||
2009-11-07 Sancho Lerena <slerena@gmail.com>
|
||||
|
||||
* include/config_process.php: COme back to non-persistent pconnect
|
||||
|
|
|
@ -7,4 +7,4 @@ Installed-Size: 42112
|
|||
Maintainer: Miguel de Dios <miguel.dedios@artica.es>
|
||||
Homepage: http://pandorafms.org/
|
||||
Depends: apache2, libapache2-mod-php5, php5, php5-snmp, php5-gd, php5-mysql, php-pear, php-db, php5-xmlrpc, php-gettext, graphviz, dbconfig-common, php5-ldap, mysql-client
|
||||
Description: The Web Console is a web application that allows to see graphical reports, state of every agent, also to access to the information sent by the agent, to see every monitored parameter and to see its evolution throughout the time, to form the different nodes, groups and users of the system. It is the part that interacts with the final user, and that will allows you to administer the system.
|
||||
Description: Pandora FMS is a monitoring Open Source software. It watches your systems and applications, and allows you to know the status of any element of those systems. Web console is the graphical user interface (GUI) to manage and watch reports and graphs from Pandora FMS monitoring.
|
||||
|
|
|
@ -59,45 +59,10 @@ echo "Make a \"temp_package\" temporary dir for job."
|
|||
mkdir -p temp_package/var/www/pandora_console
|
||||
|
||||
echo "Make directory system tree for package."
|
||||
for item in `ls `
|
||||
do
|
||||
echo -n "."
|
||||
|
||||
if [ $item != 'temp_package' -a $item != 'pandora_console.spec' ]
|
||||
then
|
||||
if [ $item = 'DEBIAN' ]
|
||||
then
|
||||
cp $item temp_package -R
|
||||
else
|
||||
cp $item temp_package/var/www/pandora_console -R
|
||||
fi
|
||||
fi
|
||||
done
|
||||
echo "END"
|
||||
|
||||
# if [ $item != 'temp_package' -a $item != 'pandora_console.spec' -a $item != 'make_deb_package.sh' ]
|
||||
# then
|
||||
# fi
|
||||
|
||||
echo "Remove the SVN files and other temp files."
|
||||
for item in `find temp_package`
|
||||
do
|
||||
echo -n "."
|
||||
echo $item | grep "svn" > /dev/null
|
||||
#last command success
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
rm -rf $item
|
||||
fi
|
||||
|
||||
echo $item | grep "make_deb_package.sh" > /dev/null
|
||||
#last command success
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
rm -rf $item
|
||||
fi
|
||||
done
|
||||
echo "END"
|
||||
cp -R $(ls | grep -v temp_package | grep -v DEBIAN ) temp_package/var/www/pandora_console
|
||||
cp -R DEBIAN temp_package
|
||||
find temp_package/var/www/pandora_console -name ".svn" | xargs rm -Rf
|
||||
rm -Rf temp_package/var/www/pandora_console/pandora_console.spec
|
||||
|
||||
echo "Calculate md5sum for md5sums package control file."
|
||||
for item in `find temp_package`
|
||||
|
@ -134,4 +99,6 @@ cd ..
|
|||
|
||||
|
||||
echo "Delete the \"temp_package\" temporary dir for job."
|
||||
rm -rf temp_package
|
||||
rm -Rf temp_package
|
||||
|
||||
echo "DONE: Package ready at: ../pandorafms.console_$pandora_console_version.deb"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
Summary: Pandora FMS Console
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
License: GPL
|
||||
Vendor: Artica ST <info@artica.es>
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
|
Loading…
Reference in New Issue