|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
%define version 0.1.2 |
|
|
|
|
%define version 0.1.3 |
|
|
|
|
%define release 1 |
|
|
|
|
%define name smeserver-samba-db-logd |
|
|
|
|
|
|
|
|
@ -23,6 +23,10 @@ Requires: perl(DBI) |
|
|
|
|
Log samba events in a MySQL database |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Mon Nov 5 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1 |
|
|
|
|
- Don't rotate tables, just remove old entries |
|
|
|
|
- Fix line parsing when day < 10 |
|
|
|
|
|
|
|
|
|
* Fri Oct 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1 |
|
|
|
|
- Skip opendir lines as they are flooding logs |
|
|
|
|
- Support more actions in log parser |
|
|
|
@ -52,7 +56,7 @@ perl createlinks |
|
|
|
|
--file /usr/bin/samba-db-logd 'attr(0755,root,root)' \ |
|
|
|
|
--file /var/service/samba-db-logd/run 'attr(0755,root,root)' \ |
|
|
|
|
--file /var/service/samba-db-logd/log/run 'attr(0755,root,root)' \ |
|
|
|
|
--file /etc/cron.monthly/samba-log-rotate 'attr(0755,root,root)' \ |
|
|
|
|
--file /etc/cron.daily/samba-db-cleanup 'attr(0755,root,root)' \ |
|
|
|
|
> %{name}-%{version}-filelist |
|
|
|
|
|
|
|
|
|
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
|
|
|
|