Update of /cvsroot/freevo/freevo/contrib/rpm
In directory sc8-pr-cvs1:/tmp/cvs-serv14407
Modified Files:
freevo-src.spec
Log Message:
Enabled chkconfig add and del in boot package
Index: freevo-src.spec
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo-src.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** freevo-src.spec 18 Sep 2003 05:16:35 -0000 1.6
--- freevo-src.spec 18 Sep 2003 06:54:11 -0000 1.7
***************
*** 50,54 ****
Available rpmbuild rebuild options :
! --without: us_defaults use_sysapps compile
%package boot
--- 50,54 ----
Available rpmbuild rebuild options :
! --without: us_defaults use_sysapps compile_obj
%package boot
***************
*** 95,102 ****
install -m 755 boot/freevo %{buildroot}%{_sysconfdir}/rc.d/init.d
install -m 755 boot/freevo_dep %{buildroot}%{_sysconfdir}/rc.d/init.d
! install -m 755 boot/record_server %{buildroot}%{_sysconfdir}/rc.d/init.d
! install -m 755 boot/webserver %{buildroot}%{_sysconfdir}/rc.d/init.d
! install -m 755 boot/record_server_init %{buildroot}%{_bindir}
! install -m 755 boot/webserver_init %{buildroot}%{_bindir}
install -m 644 boot/boot_config %{buildroot}%{_sysconfdir}/freevo/
--- 95,102 ----
install -m 755 boot/freevo %{buildroot}%{_sysconfdir}/rc.d/init.d
install -m 755 boot/freevo_dep %{buildroot}%{_sysconfdir}/rc.d/init.d
! install -m 755 boot/record_server
%{buildroot}%{_sysconfdir}/rc.d/init.d/freevo_recordserver
! install -m 755 boot/webserver %{buildroot}%{_sysconfdir}/rc.d/init.d/freevo_webserver
! install -m 755 boot/record_server_init
%{buildroot}%{_bindir}/freevo_recordserver_init
! install -m 755 boot/webserver_init %{buildroot}%{_bindir}/freevo_webserver_init
install -m 644 boot/boot_config %{buildroot}%{_sysconfdir}/freevo/
***************
*** 149,156 ****
%files boot
%defattr(644,root,root,755)
- %attr(755,root,root) %dir %{_sysconfdir}/freevo
%attr(755,root,root) %{_sysconfdir}/rc.d/init.d
! %attr(755,root,root) %{_bindir}/record_server_init
! %attr(755,root,root) %{_bindir}/webserver_init
%attr(644,root,root) %config %{_sysconfdir}/freevo/boot_config
--- 149,155 ----
%files boot
%defattr(644,root,root,755)
%attr(755,root,root) %{_sysconfdir}/rc.d/init.d
! %attr(755,root,root) %{_bindir}/freevo_*
! %attr(755,root,root) %dir %{_sysconfdir}/freevo
%attr(644,root,root) %config %{_sysconfdir}/freevo/boot_config
***************
*** 159,177 ****
%{_cachedir}/freevo/testfiles
! #
! # The boot scripts were not chkconfig enabled
! #
! #%post boot
! #if [ -x /sbin/chkconfig ]; then
! # chkconfig --add freevo
! #fi
! #depmod -a
! #
! #%preun boot
! #if [ "$1" = 0 ] ; then
! # if [ -x /sbin/chkconfig ]; then
! # chkconfig --del freevo
! # fi
! #fi
%changelog
--- 158,179 ----
%{_cachedir}/freevo/testfiles
! %post boot
! if [ -x /sbin/chkconfig ]; then
! chkconfig --add freevo
! chkconfig --add freevo_dep
! chkconfig --add freevo_recordserver
! chkconfig --add freevo_webserver
! fi
! depmod -a
!
! %preun boot
! if [ "$1" = 0 ] ; then
! if [ -x /sbin/chkconfig ]; then
! chkconfig --del freevo
! chkconfig --del freevo_dep
! chkconfig --del freevo_recordserver
! chkconfig --del freevo_webserver
! fi
! fi
%changelog
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog