Author: arekm Date: Tue Mar 25 23:04:46 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - update todos/solve some todos
---- Files affected: SPECS: cvsnt.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/cvsnt.spec diff -u SPECS/cvsnt.spec:1.1 SPECS/cvsnt.spec:1.2 --- SPECS/cvsnt.spec:1.1 Tue Mar 25 23:58:14 2008 +++ SPECS/cvsnt.spec Wed Mar 26 00:04:40 2008 @@ -1,7 +1,7 @@ # $Revision$, $Date$ # TODO: -# - check server mode -# - verify when cvslockd is needed (in main or in pserver package) +# - check server mode and default config +# - create cvsnt-database-xyz and cvsnt-protocol-xyz subpackages Summary: Concurrent Versioning System Summary(pl.UTF-8): Concurrent Versioning System Name: cvsnt @@ -139,7 +139,17 @@ %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post +/sbin/ldconfig +/sbin/chkconfig --add cvslockd +%service cvslockd restart + +%preun +if [ "$1" = "0" ]; then + %service cvslockd stop + /sbin/chkconfig --del cvslockd +fi + %postun -p /sbin/ldconfig %pre pserver @@ -161,16 +171,13 @@ %service -q rc-inetd reload fi -%triggerpostun -- cvs-pserver < 1.1.13-1 -echo "Warning: default cvsroot moved to %{_cvs_root}." -echo "Check your configration." - %files %defattr(644,root,root,755) %doc doc/html_cvsclient %doc AUTHORS FAQ README %dir %{_sysconfdir}/cvsnt %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cvsnt/* +%attr(754,root,root) /etc/rc.d/init.d/cvslockd %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/cvsnt %dir %{_libdir}/cvsnt/* @@ -184,7 +191,6 @@ %doc doc/html_cvs %attr(770,root,cvs) %dir %{_cvs_root} %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/cvsnt -%attr(754,root,root) /etc/rc.d/init.d/cvslockd %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -192,6 +198,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2008-03-25 23:04:40 arekm +- update todos/solve some todos + Revision 1.1 2008-03-25 22:58:14 arekm - initial; feature rich cvs server/client ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cvsnt.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit