Author: qboosh Date: Sat Mar 5 21:32:20 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - standard init script perms - bin dirs in /usr not writable for bs; config files must be moved away!
---- Files affected: SPECS: bigsister.spec (1.32 -> 1.33) ---- Diffs: ================================================================ Index: SPECS/bigsister.spec diff -u SPECS/bigsister.spec:1.32 SPECS/bigsister.spec:1.33 --- SPECS/bigsister.spec:1.32 Sat Mar 5 10:05:47 2005 +++ SPECS/bigsister.spec Sat Mar 5 22:32:15 2005 @@ -139,7 +139,7 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_sysconfdir}{/rc.d/init.d,/sysconfig,/httpd/httpd.conf} +install -d $RPM_BUILD_ROOT/etc{/rc.d/init.d,/sysconfig,/httpd/httpd.conf} %{__make} install-server install-client install-reporting install-modules install-doc \ DESTDIR=$RPM_BUILD_ROOT @@ -153,8 +153,8 @@ mv -f $RPM_BUILD_ROOT%{_sysconfdir}/bigsister/httpd.conf \ $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/92_bigsister.conf -install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} -install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} +install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} +install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -221,21 +221,22 @@ %doc %{_usr}/share/doc/bigsister/* %{_sysconfdir}/httpd/httpd.conf/92_bigsister.conf %attr(755,root,root) /etc/cron.weekly/bigsister_logs -%attr(754,root,bs) /etc/rc.d/init.d/bigsister +%attr(754,root,root) /etc/rc.d/init.d/bigsister +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bigsister %{_mandir}/man*/* %attr(750,root,bs) %dir %{_sysconfdir}/bigsister -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/resources -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/uxmon-net -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/OV -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/syslog -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/eventlog -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/tests.cfg -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sysconfig/bigsister -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/resources -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin/Monitor -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin/Reader -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin/BigSister +# XXX: /usr is not writable at runtime! +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/resources +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/OV +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/syslog +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/eventlog +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/tests.cfg +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/resources +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/uxmon-net +%dir %{_usr}/share/bigsister/bin +%dir %{_usr}/share/bigsister/bin/Monitor +%dir %{_usr}/share/bigsister/bin/Reader +%dir %{_usr}/share/bigsister/bin/BigSister %{_usr}/share/bigsister/bin/BS_unix.pm %{_usr}/share/bigsister/bin/BigSister/common.pm %{_usr}/share/bigsister/bin/[CHPRSTcp]*.pm @@ -280,18 +281,19 @@ %files server %defattr(644,root,root,755) -%dir %{_sysconfdir}/bigsister/ -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/bb-display.cfg -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/bb_event_generator.cfg -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/bsmon_site.cfg -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/notify.cfg -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/bigsister/permissions +%dir %{_sysconfdir}/bigsister +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bb-display.cfg +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bb_event_generator.cfg +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/bsmon_site.cfg +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/notify.cfg +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bigsister/permissions %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/reporting %{_sysconfdir}/bigsister/reporting/* -%attr(770,root,bs) %dir %{_usr}/share/bigsister/etc -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/bsmon.cfg -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/graphtemplates -%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) %{_usr}/share/bigsister/etc/keys +%attr(750,root,bs) %dir %{_usr}/share/bigsister/etc +# XXX: /usr is not writable at runtime! +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/bsmon.cfg +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/graphtemplates +%attr(660,root,bs) %config(noreplace) %verify(not md5 mtime size) %{_usr}/share/bigsister/etc/keys %attr(750,root,bs) %dir %{_usr}/share/bigsister/etc/graphdef %{_usr}/share/bigsister/etc/graphdef/* %attr(750,root,bs) %dir %{_usr}/share/bigsister/etc/moduleinfo @@ -337,8 +339,8 @@ %{_var}/lib/bigsister/www/help/*.html %{_var}/lib/bigsister/www/help/*.jpg %{_var}/lib/bigsister/www/help/images/*png -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin -%attr(775,root,bs) %dir %{_usr}/share/bigsister/bin/Statusmon +%dir %{_usr}/share/bigsister/bin +%dir %{_usr}/share/bigsister/bin/Statusmon %{_usr}/share/bigsister/bin/Statusmon/[BDGHRSTght]*.pm %{_usr}/share/bigsister/bin/Statusmon/bs_evgen.pm %{_usr}/share/bigsister/bin/access.pm @@ -412,6 +414,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.33 2005/03/05 21:32:15 qboosh +- standard init script perms +- bin dirs in /usr not writable for bs; config files must be moved away! + Revision 1.32 2005/03/05 09:05:47 darekr - fixed perms for init script, unified ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/bigsister.spec?r1=1.32&r2=1.33&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit