Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 5349596afe502b53ae0a97a59ebc22d9 > files > 6

apachetop-0.12.6-4.mga3.src.rpm

Summary:	Utility to display Apache logs with a top-like interface
Name:		apachetop
Version:	0.12.6
Release:	%mkrel 4
License:	BSD
Group:		Monitoring
URL:		http://www.webta.org/projects/apachetop
Source0:	http://www.webta.org/apachetop/%name-%version.tar.bz2
# mandrivaize default logfile
Patch1:		%name-0.12.6-logfile.patch
# support logfiles over 2GB (from Debian)
Patch2:		apachetop-0.12.5-large_logfile.patch
# gcc4.1 fixes (from Debian)
Patch3:		apachetop-0.12.6-gcc41.patch
# fix some error
Patch4:		apachetop-0.12.6-buffer_overflow.patch
BuildRequires:	ncurses-devel
BuildRequires:	m4
BuildRequires:	pcre-devel
BuildRequires:	gamin-devel	
BuildRequires:	readline-devel
BuildRequires:	autoconf2.5
Requires:	apache

%description
ApacheTop watches a log-file generated by Apache (in standard common or
combined log-format, although it doesn't (yet) make use of any of the extra
fields in combined) and generates human coherent output in real-time.

%prep
%setup -q
%patch1 -p1 -b .log
%patch2 -p1 -b .large
%patch3 -p1 -b .gcc41
%patch4 -p0
sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/ configure.ac

%build
%configure2_5x \
	--with-pcre=%_prefix \
	--without-adns \
	--with-logfile=%{_localstatedir}/log/httpd/access_log

%make


%install
%makeinstall



%files
%defattr(-,root,root,)
%_bindir/*
%doc AUTHORS LICENSE README ChangeLog TODO
%_mandir/man1/*



%changelog

* Fri Jan 11 2013 umeabot <umeabot> 0.12.6-4.mga3
+ Revision: 345928
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 30 2012 pterjan <pterjan> 0.12.6-3.mga3
+ Revision: 336434
- Fix build with automake 1.13

* Fri Dec 28 2012 pterjan <pterjan> 0.12.6-2.mga3
+ Revision: 335924
- Fix BuildRequires
- Use configure2_5x
- --with-pcre expects a path

* Mon Mar 05 2012 juancho <juancho> 0.12.6-1.mga2
+ Revision: 219078
- imported package apachetop