packages: zabbix/zabbix.spec - move sql scripts to server package
areq
areq at pld-linux.org
Sun Aug 21 16:43:44 CEST 2011
Author: areq Date: Sun Aug 21 14:43:44 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- move sql scripts to server package
---- Files affected:
packages/zabbix:
zabbix.spec (1.46 -> 1.47)
---- Diffs:
================================================================
Index: packages/zabbix/zabbix.spec
diff -u packages/zabbix/zabbix.spec:1.46 packages/zabbix/zabbix.spec:1.47
--- packages/zabbix/zabbix.spec:1.46 Sun Aug 21 15:17:10 2011
+++ packages/zabbix/zabbix.spec Sun Aug 21 16:43:38 2011
@@ -10,7 +10,7 @@
Summary(pl.UTF-8): zabbix - oprogramowanie do monitorowania sieci
Name: zabbix
Version: 1.8.6
-Release: 0.2
+Release: 0.3
License: GPL v2+
Group: Networking/Utilities
Source0: http://dl.sourceforge.net/zabbix/%{name}-%{version}.tar.gz
@@ -180,8 +180,8 @@
install misc/conf/zabbix_{a*,s*}.conf $RPM_BUILD_ROOT%{_sysconfdir}
cp -r frontends $RPM_BUILD_ROOT%{_appdir}
-mv -f $RPM_BUILD_ROOT%{_appdir}/frontends/php/include/db.inc.php $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
-ln -s %{_webapps}/%{_webapp}/db.inc.php $RPM_BUILD_ROOT%{_appdir}/frontends/php/include
+#mv -f $RPM_BUILD_ROOT%{_appdir}/frontends/php/include/db.inc.php $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
+#ln -s %{_webapps}/%{_webapp}/db.inc.php $RPM_BUILD_ROOT%{_appdir}/frontends/php/include
install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/zabbix-agent
install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
@@ -205,7 +205,7 @@
%groupadd -g 111 zabbix
%useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
-%post
+%post server
if [ "$1" = 1 ]; then
%banner -e %{name} <<-EOF
You should create database for Zabbix.
@@ -241,7 +241,7 @@
%files
%defattr(644,root,root,755)
-%doc AUTHORS NEWS README ChangeLog create upgrades
+%doc AUTHORS NEWS README ChangeLog
%attr(750,root,zabbix) %dir %{_sysconfdir}
%dir %{_appdir}
%dir %{_appdir}/frontends
@@ -276,6 +276,7 @@
%files server
%defattr(644,root,root,755)
+%doc create upgrades
%attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
%attr(755,root,root) %{_sbindir}/zabbix_server
%{_mandir}/man8/zabbix_server*
@@ -286,6 +287,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.47 2011/08/21 14:43:38 areq
+- move sql scripts to server package
+
Revision 1.46 2011/08/21 13:17:10 areq
- enable jabber & curl
- php requires updated
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/zabbix/zabbix.spec?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list