SPECS: sarg.spec - updated to 2.2, todo - added -fix_pathes and -t...
darekr
darekr at pld-linux.org
Fri Oct 27 20:04:32 CEST 2006
Author: darekr Date: Fri Oct 27 18:04:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.2, todo
- added -fix_pathes and -topsites patches
---- Files affected:
SPECS:
sarg.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/sarg.spec
diff -u SPECS/sarg.spec:1.29 SPECS/sarg.spec:1.30
--- SPECS/sarg.spec:1.29 Sun Apr 16 21:12:27 2006
+++ SPECS/sarg.spec Fri Oct 27 20:04:27 2006
@@ -1,21 +1,24 @@
# $Revision$, $Date$
+# TODO:
+# - review user_limit_block script
Summary: Squid log analyzer
Summary(es): generador de informes del squid por utilizador/ip/nombre
Summary(pl): Analizator logów Squida
Summary(pt_BR): Gerador de relatórios por usuário/ip/nome do squid
Name: sarg
-Version: 2.1
+Version: 2.2
Release: 1
License: GPL v2
Group: Networking
Source0: http://dl.sourceforge.net/sarg/%{name}-%{version}.tar.gz
-# Source0-md5: 15b1c3fbff47ac6ea77573cae75b5e63
+# Source0-md5: ec1ae7a0b666831caa8ace596b01174a
Source1: %{name}.crontab
Patch0: %{name}-font.patch
Patch1: %{name}-config.patch
Patch2: %{name}-paths.patch
Patch3: %{name}-quiet.patch
-Patch4: %{name}-log.c.patch
+Patch4: %{name}-topsites.patch
+Patch5: %{name}-fix_pathes.patch
URL: http://sarg.sourceforge.net/sarg.php
BuildRequires: autoconf
BuildRequires: automake
@@ -53,6 +56,8 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
+
%build
%{__aclocal}
%{__autoconf}
@@ -74,6 +79,8 @@
install sarg.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/sarg.conf
install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name}
+install user_limit_block $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+
mv $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/images,%{_datadir}/%{name}}
mv $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/languages,%{_datadir}/%{name}}
rm -r $RPM_BUILD_ROOT{/etc/sarg/sarg-php,/etc/sarg/fonts}
@@ -90,6 +97,7 @@
%attr(771,root,stats) %dir /var/lib/%{name}/images
%attr(770,root,stats) %dir /var/lib/%{name}/tmp
%dir %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_sysconfdir}/%{name}/user_limit_block
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/sarg.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/exclude_codes
%config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
@@ -102,6 +110,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2006/10/27 18:04:27 darekr
+- updated to 2.2, todo
+- added -fix_pathes and -topsites patches
+
Revision 1.29 2006/04/16 19:12:27 darekr
- fix URL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sarg.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list