Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
awstats
> awstats.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File awstats.spec of Package awstats (Revision 14)
Currently displaying revision
14
,
show latest
# # spec file for package awstats (Version 6.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: awstats Requires: apache2 perl perl-Net-DNS BuildRequires: java2-devel-packages License: GNU General Public License (GPL) Group: Productivity/Networking/Web/Utilities Autoreqprov: on Version: 6.7 Release: 41 URL: http://awstats.sourceforge.net Summary: Advanced Web Statistics Source: awstats-%{version}.tar.bz2 Source2: module.awstats Source4: cron.d.awstats Source5: awstats-update Source6: awstats-update.8 Source7: awstats.logrotate Source8: apache2.awstats.conf Patch: %{name}-6.6.patch Patch1: %{name}-CVE-2006-2237_read_open.patch Patch2: %{name}-6.6-geo.patch Patch3: %{name}-6.6-enable_ipv6.patch Patch4: %{name}-6.6-ftp_conf.patch Patch5: %{name}-6.6-smtp_conf.patch Patch6: %{name}-6.6-feature.patch BuildArchitectures: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define apache_serverroot /srv/www %description Advanced Web Statistics (AWStats) is a powerful Web server log file analyzer (Perl script) that shows Web statistics including visitors, pages, hits, hours, search engines, keywords used to find your site, broken links, robots, and more. %prep %setup %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 find -type f -name .cvsignore -print0 | xargs -r0 rm -v %build wwwroot/classes/src/Makefile.pl %install install -d -m 755 $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin install -d -m 755 $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin/classes install -d -m 755 $RPM_BUILD_ROOT%{apache_serverroot}/htdocs/icons/awstats install -d -m 755 $RPM_BUILD_ROOT/var/lib/awstats/lang install -d -m 755 $RPM_BUILD_ROOT/var/cache/awstats install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/apache2 install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/awstats install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d install -d -m 755 $RPM_BUILD_ROOT/usr/sbin install -d -m 755 $RPM_BUILD_ROOT/usr/share/apache2/icons/awstats/ install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man8 cp -a wwwroot/icon/* $RPM_BUILD_ROOT%{apache_serverroot}/htdocs/icons/awstats/ cp -a wwwroot/icon/* $RPM_BUILD_ROOT/usr/share/apache2/icons/awstats/ cp -a wwwroot/cgi-bin/lang $RPM_BUILD_ROOT/var/lib/awstats/ cp -a wwwroot/cgi-bin/{lib,plugins} $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin/ cp -a wwwroot/classes/* $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin/classes/ cp -a wwwroot/cgi-bin/awstats.pl $RPM_BUILD_ROOT%{apache_serverroot}/cgi-bin/ cp -a wwwroot/cgi-bin/awstats.model.conf $RPM_BUILD_ROOT%{_sysconfdir}/awstats/awstats.conf.web cp -a wwwroot/cgi-bin/awstats.model.conf.ftp $RPM_BUILD_ROOT%{_sysconfdir}/awstats/awstats.conf.ftp cp -a wwwroot/cgi-bin/awstats.model.conf.smtp $RPM_BUILD_ROOT%{_sysconfdir}/awstats/awstats.conf.smtp install -m 644 $RPM_SOURCE_DIR/apache2.awstats.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/awstats.conf install -d -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 $RPM_SOURCE_DIR/cron.d.awstats $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/suse-awstats install -m 755 $RPM_SOURCE_DIR/awstats-update $RPM_BUILD_ROOT/usr/sbin install -m 644 $RPM_SOURCE_DIR/awstats-update.8 $RPM_BUILD_ROOT%{_mandir}/man8 install -m 644 $RPM_SOURCE_DIR/awstats.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/awstats %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %doc README.TXT docs/* wwwroot/js wwwroot/css tools %config(noreplace) /etc/logrotate.d/awstats %dir /etc/awstats %attr(644,root,root) %config /etc/awstats/awstats.conf.web %attr(644,root,root) %config /etc/awstats/awstats.conf.ftp %attr(644,root,root) %config /etc/awstats/awstats.conf.smtp %config /etc/cron.d/suse-awstats %{_sbindir}/awstats-update %doc %{_mandir}/man8/awstats-update.8.gz %{apache_serverroot}/cgi-bin/awstats.pl %{apache_serverroot}/cgi-bin/plugins %{apache_serverroot}/cgi-bin/lib %{apache_serverroot}/cgi-bin/classes %dir %{apache_serverroot}/htdocs/icons %{apache_serverroot}/htdocs/icons/* /var/lib/awstats /var/cache/awstats %dir /etc/apache2 %dir /etc/apache2/conf.d %dir /usr/share/apache2 %dir /usr/share/apache2/icons %config /etc/apache2/conf.d/awstats.conf /usr/share/apache2/icons/awstats %changelog * Thu Mar 08 2007 - mskibbe@suse.de - awstats: missing dependency (#250629) * Wed Oct 25 2006 - ro@suse.de - use java2-devel-packages in buildreq * Tue Oct 10 2006 - mskibbe@suse.de - fix Bug 211218 - awstats won't load piped output - fix Bug 211219 - awstats won't place it's icons into /srv/www/htdocs/icons * Wed Sep 13 2006 - mskibbe@suse.de - install the classes directory - fix Requires BuildRequires * Fri Aug 04 2006 - mskibbe@suse.de - add example configs for ftp and smtp * Mon Jul 31 2006 - mskibbe@suse.de - bugfix for geoip function (Bug #188142) which fix a syntax error * Wed Jun 14 2006 - mrueckert@suse.de - Upgraded to version 6.6, list of new things among others: - RSS catcher/readers in robot database - Enhanced GeoIP support. - LevelForBrowsersDetection can accept value 'allphones' to use file browsers_phone.pm instead of browsers.pm file for AWStats database. - Add option ShowSummary. - If LogFormat is 2, AWStats autodetect log format change. - Add a way to set ArchiveLogRecords with same tags than LogFile to add suffix to archived log files. - Security fix for CVE-2006-2237: missing sanitizing of the "migrate" parameter. #173041 - Security fix for CVE-2006-2644: missing sanitizing of the "configdir" parameter. #173041 - Make sure open() only opens files for read/write by adding explicit < and >. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Dec 27 2005 - hmuelle@suse.de - Update to official Version 6.5 - removed patch awstats-Secfix20050811.dif as it was just a backport from 6.5 beta * Sun Aug 14 2005 - hmuelle@suse.de - Applied security fix [Bug #103788] AWStats ShowInfoURL Remote Command Execution Vulnerability * Sun Jul 17 2005 - hmuelle@suse.de - Update to version 6.4 * Tue Jun 07 2005 - ro@suse.de - rename cron script to local namespace for LSB conformance * Mon Jan 31 2005 - hmuelle@suse.de - Update to version 6.3 the security-patch from somedays ago is no longer needed * Thu Jan 20 2005 - hmuelle@suse.de - Applied a security fix [Bug #49967] Remote Command Execution Vulnerability * Mon Nov 08 2004 - hmuelle@suse.de - Update to version 6.2 * Mon Aug 30 2004 - ro@suse.de - removed obsolete postinstall script and now obsolete prereq * Sat Aug 28 2004 - hmuelle@suse.de - Removed sysconfig.apache-awstats , missed it by last change * Tue Aug 17 2004 - hmuelle@suse.de - Removed old apache1 stuff, as no longer supported with newer versions of SUSE Linux - Update to version 6.1 * Sun Feb 29 2004 - hmuelle@suse.de - Update to version 6.0 * Wed Feb 04 2004 - hmacht@suse.de - added option # norootforbuild in specfile * Tue Dec 09 2003 - kukuk@suse.de - Update to version 5.9 - Add tools directory as documentation [Bug #32331] * Tue Jul 01 2003 - kukuk@suse.de - Update to version 5.6 * Fri Jun 20 2003 - ro@suse.de - added apache2 to neededforbuild - added directory to filelist * Mon Mar 10 2003 - poeml@suse.de - fix path to awstats.log in awstats.logrotate, and add the apache2 logfile. Reload both servers but only if they run. - the "modules" mechanism via /etc/apache2/modules/* and sysconfig variables is no longer in use with apache2. Instead, put awstats into conf.d for automatic inclusion and enclose the content in <IfDefine AWSTATS>. It can be activated via APACHE_SERVER_FLAGS in sysconfig.apache. * Mon Feb 24 2003 - kukuk@suse.de - Update to offical tar archive. * Fri Feb 21 2003 - kukuk@suse.de - Update to new snapshot (minor bug fixes) * Fri Feb 14 2003 - kukuk@suse.de - Update to new snapshot * Wed Feb 05 2003 - kukuk@suse.de - Update to new snapshot (autodetect start language) * Tue Jan 28 2003 - kukuk@suse.de - Update to new snapshot (small bug fixes) * Fri Jan 17 2003 - kukuk@suse.de - Update to new snapshot - Use different sysconfig Variables for Apache 1.x and 2.x * Thu Jan 09 2003 - kukuk@suse.de - Enable DNS reverse lookup - Enable tooltips * Wed Jan 08 2003 - kukuk@suse.de - Update to 5.4 beta - Fix path to log files * Sun Dec 15 2002 - kukuk@suse.de - Add support for Apache2 - Fix icon path in default conf * Sun Dec 15 2002 - kukuk@suse.de - Update to version 5.2 * Thu Aug 15 2002 - kukuk@suse.de - Add PreRequires * Fri Aug 02 2002 - kukuk@suse.de - Don't use apxs, it does not work with this package - Fix new web root path in shell scripts - Adjust default configuration * Fri Aug 02 2002 - ro@suse.de - adapt server-root * Tue Jul 23 2002 - kukuk@suse.de - Update to version 4.1 * Wed Mar 13 2002 - kukuk@suse.de - Add /etc/awstats * Thu Jan 17 2002 - ro@suse.de - adapted for /etc/sysconfig/apache * Wed Dec 12 2001 - kukuk@suse.de - Add logrotate config file * Fri Nov 02 2001 - kukuk@suse.de - Add update script, manual page and cronjob * Wed Oct 31 2001 - kukuk@suse.de - Update to version 3.1 - Make package noarch * Wed Aug 29 2001 - kukuk@suse.de - Add apache config files * Mon Aug 13 2001 - kukuk@suse.de - Initial version