2017-07-16 11:58:24 +02:00
|
|
|
Name: goaccess
|
2020-08-28 14:11:42 +02:00
|
|
|
Version: 1.4.1
|
|
|
|
|
Release: 1%{?dist}
|
2017-07-16 11:58:24 +02:00
|
|
|
Summary: Real-time web log analyzer and interactive viewer
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://goaccess.io/
|
|
|
|
|
Source0: http://tar.goaccess.io/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: GeoIP-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: tokyocabinet-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: bzip2-devel
|
2020-08-28 14:11:42 +02:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
BuildRequires: libmaxminddb-devel
|
|
|
|
|
%if %{with openssl}
|
|
|
|
|
BuildRequires: openssl-devel
|
2017-07-16 16:20:37 +02:00
|
|
|
%endif
|
|
|
|
|
|
2017-07-16 11:58:24 +02:00
|
|
|
%description
|
|
|
|
|
GoAccess is a real-time web log analyzer and interactive viewer that runs in a
|
|
|
|
|
terminal in *nix systems. It provides fast and valuable HTTP statistics for
|
|
|
|
|
system administrators that require a visual server report on the fly.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
GoAccess parses the specified web log file and outputs the data to terminal.
|
|
|
|
|
|
|
|
|
|
* General statistics, bandwidth, etc.
|
|
|
|
|
* Time taken to serve the request (useful to track pages that are slowing down.
|
|
|
|
|
your site).
|
|
|
|
|
* Metrics for cumulative, average and slowest running requests.
|
|
|
|
|
* Top visitors.
|
|
|
|
|
* Requested files & static files.
|
|
|
|
|
* 404 or Not Found.
|
|
|
|
|
* Hosts, Reverse DNS, IP Location.
|
|
|
|
|
* Operating Systems.
|
|
|
|
|
* Browsers and Spiders.
|
|
|
|
|
* Referring Sites & URLs.
|
|
|
|
|
* Keyphrases.
|
|
|
|
|
* Geo Location - Continent/Country/City.
|
|
|
|
|
* Visitors Time Distribution.
|
|
|
|
|
* HTTP Status Codes.
|
|
|
|
|
* Ability to output JSON and CSV.
|
|
|
|
|
* Tailor GoAccess to suit your own color taste/schemes.
|
|
|
|
|
* Support for large datasets + data persistence.
|
|
|
|
|
* Support for IPv6.
|
|
|
|
|
* Output statistics to HTML.
|
|
|
|
|
and more...
|
|
|
|
|
|
|
|
|
|
GoAccess allows any custom log format string. Predefined options include, but
|
|
|
|
|
not limited to:
|
|
|
|
|
|
|
|
|
|
* Amazon CloudFront (Download Distribution).
|
|
|
|
|
* AWS Elastic Load Balancing.
|
|
|
|
|
* Apache/Nginx Common/Combined + VHosts.
|
|
|
|
|
* Google Cloud Storage.
|
|
|
|
|
* W3C format (IIS).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
# Prevent flags being overridden again and again.
|
|
|
|
|
#sed -i 's|-pthread|$CFLAGS \0|' configure.ac
|
|
|
|
|
sed -i '/-pthread/d' configure.ac
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure \
|
2020-08-28 14:11:42 +02:00
|
|
|
--enable-debug \
|
|
|
|
|
--enable-geoip=legacy \
|
|
|
|
|
--enable-geoip=mmdb \
|
|
|
|
|
--enable-utf8 \
|
|
|
|
|
--with-getline \
|
|
|
|
|
--with-openssl
|
2017-07-16 11:58:24 +02:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
2020-08-28 14:11:42 +02:00
|
|
|
%find_lang %{name}
|
2017-07-16 16:20:37 +02:00
|
|
|
|
2020-08-28 14:11:42 +02:00
|
|
|
%files -f %{name}.lang
|
2017-07-16 11:58:24 +02:00
|
|
|
%license COPYING
|
2020-08-28 14:11:42 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/browsers.list
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/podcast.list
|
2017-07-16 11:58:24 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-08-28 14:11:42 +02:00
|
|
|
* Fri Aug 28 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
|
|
|
|
- mmdb enabled for new GeoLite2 dBs.
|
|
|
|
|
- First, initial version for Fedora 32 (1.4.1)
|
2017-07-16 11:58:24 +02:00
|
|
|
|