Author: mguevara Date: Wed Apr 12 16:27:40 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - 0.9.4 rel 0.3 - added dir, todo with init/registration with prelude-manager info
---- Files affected: SPECS: prelude-lml.spec (1.7 -> 1.8) ---- Diffs: ================================================================ Index: SPECS/prelude-lml.spec diff -u SPECS/prelude-lml.spec:1.7 SPECS/prelude-lml.spec:1.8 --- SPECS/prelude-lml.spec:1.7 Wed Apr 12 16:14:07 2006 +++ SPECS/prelude-lml.spec Wed Apr 12 18:27:33 2006 @@ -3,7 +3,7 @@ Summary(pl): System wykrywania intruzów w sieci Name: prelude-lml Version: 0.9.4 -Release: 0.2 +Release: 0.3 License: GPL Group: Applications Source0: http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz @@ -55,6 +55,8 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} +install -d $RPM_BUILD_ROOT/var/lib/%{name} + %clean rm -rf $RPM_BUILD_ROOT @@ -63,9 +65,24 @@ if [ -f /var/lock/subsys/prelude-lml ]; then %service prelude-lml restart 1>&2 else + echo "Remember to register with prelude-manager before first launch:" + echo "prelude-adduser register prelude-lml "idmef:w" <manager address> --uid 0 --gid 0" + echo "" echo "Run \"/sbin/service prelude-lml start\" to start Prelude LML." fi +# +# TODO: +# +# register with prelude-manager: +# +# on one console: +# prelude-adduser registration-server prelude-manager +# (remember one shot password) +# on the second one: +# prelude-adduser register prelude-lml "idmef:w" <manager address> --uid 0 --gid 0 +# (enter the password) + %preun if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/prelude-lml ]; then @@ -84,6 +101,7 @@ %attr(754,root,root) /etc/rc.d/init.d/%{name} %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} %dir %{_sysconfdir}/%{name} +%dir /var/lib/%{name} %{_sysconfdir}/%{name}/ruleset %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.* @@ -97,6 +115,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.8 2006/04/12 16:27:33 mguevara +- 0.9.4 rel 0.3 - added dir, todo with init/registration with + prelude-manager info + Revision 1.7 2006/04/12 14:14:07 mguevara - 0.9.4 rel 0.2 - use %service ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/prelude-lml.spec?r1=1.7&r2=1.8&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit