Summary: Squid log analyse - Squint Name: squint Version: 0.3.18 Release: 2 Source0: %{name}-%{version}.tar.gz License: GPL Group: System/Tools BuildArch: noarch BuildRoot: /var/tmp/%{name}-%{version}-buildroot AutoReqProv: no %description Squint generates a little report of who is spending the most time and resources browsing the internet via your squid proxy server. The top offenders in terms of data transfer, number of files transferred and on-line time are reported. squint now also generates a detailed history for each person which can be viewed with a browser. %define debug_package %{nil} %prep %setup -q %build %install echo "install" mkdir -p $RPM_BUILD_ROOT/usr/bin cp -r %{_builddir}/%{name}-%{version}/squint.cron.sh $RPM_BUILD_ROOT/usr/bin cp -r %{_builddir}/%{name}-%{version}/squint.pl $RPM_BUILD_ROOT/usr/bin %clean rm -rf $RPM_BUILD_ROOT %post # bad form, cant make an rpm interactive like this #echo "" #echo "Make sure you configure squint correctly." #echo "Configuration file: (head of) /usr/bin/squint.cron.sh" #echo "" #echo "Once configured, you have to run those commands:" #echo "1- /usr/bin/squint.cron.sh init" #echo "2- /usr/bin/squint.cron.sh all" #echo "" #echo "Command 1 will create a place for the reports and install" #echo "the crontabs for daily, weekly and monthly reports." #echo "Command 2 will create the first reports." #echo "" #echo "For more information, check /usr/share/doc/%{name}-%{version}/INSTALL" #echo "" %files %defattr(755,root,root,-) /usr/bin/squint.cron.sh /usr/bin/squint.pl %doc README INSTALL FAQ COPYING TODO Changelog %doc excludelist fakenames userlist *.diff* Makefile %changelog * Thu Feb 22 2007 Scott R. Shinn 0.3.18-2 - build tweaks * Wed May 23 2006 Jean-Francois Levesque 0.3.18-1 - Initial RPM release