2007-04-19 Manuel Arostegui <marostegui@artica.es>

* pandora_server/specs/fedoracore5/pandora_server: Added files of the
          new 1.3 version.

        * pandora_agents/linux/pandora_agents.spec: Added links from
          init.d to rc0.d, rc6.d, rc3.d and rc5.d



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
marostegui 2007-04-19 14:20:15 +00:00
parent 392bb864b8
commit 2dfaa8b6e3
4 changed files with 23 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-04-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agents.spec: Added links from
init.d to rc0.d, rc6.d, rc3.d and rc5.d
2007-04-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Changed PATHS to

View File

@ -49,6 +49,7 @@ mkdir -p $RPM_BUILD_ROOT/var/log/pandora/
cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_agent/
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent.sh $RPM_BUILD_ROOT/usr/bin/pandora_agent
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/usr/bin/pandora_agent_daemon
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/etc/init.d/pandora_agent_daemon
cp pandora.1 $RPM_BUILD_ROOT/usr/share/man/man1/
cp pandora_agents.1 $RPM_BUILD_ROOT/usr/share/man/man1/
if [ -f $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/%{name}.spec ] ; then
@ -63,6 +64,10 @@ echo "Pandora Agent configuration file is /etc/pandora/pandora_agent.conf"
mkdir -p /etc/pandora
ln -s /usr/share/pandora_agent/pandora_agent.conf /etc/pandora/pandora_agent.conf
ln -s /usr/share/pandora_agent/pandora_user.conf /etc/pandora/pandora_user.conf
ln -s /etc/init.d/pandora_agent_daemon /etc/rc0.d/K99pandora_agent_daemon
ln -s /etc/init.d/pandora_agent_daemon /etc/rc6.d/K99pandora_agent_daemon
ln -s /etc/init.d/pandora_agent_daemon /etc/rc3.d/S99pandora_agent_daemon
ln -s /etc/init.d/pandora_agent_daemon /etc/rc5.d/S99pandora_agent_daemon
%files
%defattr(700,pandora,pandora)
/usr/bin/pandora_agent_daemon

View File

@ -1,3 +1,8 @@
2007-04-19 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server: Added files of the
new 1.3 version.
2007-04-17 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Added code to evaluate

View File

@ -67,8 +67,10 @@ mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_db.pm $RPM
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_tools.pm $RPM_BUILD_ROOT/usr/share/pandora_server/util/
cp $RPM_BUILD_ROOT/usr/share/pandora_server/util/pandora_config.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/
cp $RPM_BUILD_ROOT/usr/share/pandora_server/util/pandora_db.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/
cp $RPM_BUILD_ROOT/usr/share/pandora_server/util/pandora_tools.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/
cp $RPM_BUILD_ROOT/usr/share/pandora_server/util/pandora_tools.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/
cp $RPM_BUILD_ROOT/usr/share/pandora_server/pandora_server $RPM_BUILD_ROOT/etc/init.d/pandora_server
cp $RPM_BUILD_ROOT/usr/share/pandora_server/pandora_recon $RPM_BUILD_ROOT/etc/init.d/pandora_recon
cp $RPM_BUILD_ROOT/usr/share/pandora_server/bin/pandora_recon.pl $RPM_BUILD_ROOT/usr/bin/pandora_recon
cp pandora.1 $RPM_BUILD_ROOT/usr/share/man/man1/
cp pandora_server.1 $RPM_BUILD_ROOT/usr/share/man/man1/
@ -103,7 +105,11 @@ echo "For further information please: man pandora or man pandora_server"
/usr/bin/pandora_network
/usr/bin/pandora_snmpconsole
/var/spool/pandora/
/usr/bin/pandora_recon
/etc/init.d/pandora_recon
/etc/init.d/pandora_server
%defattr(755,pandora,pandora)
#/etc/pandora/conf/pandora_server.conf
/usr/share/pandora_server/util/pandora_config.pm
/usr/share/pandora_server/util/pandora_db.pm