Now, goaccess support mmdb not legacy geoip database
This commit is contained in:
@@ -1,23 +1,28 @@
|
||||
%bcond_without lto
|
||||
%bcond_without openssl
|
||||
|
||||
%if %{with lto}
|
||||
%global optflags %{optflags} -flto
|
||||
%global build_ldflags %{build_ldflags} -flto
|
||||
%endif
|
||||
|
||||
Name: goaccess
|
||||
Version: 1.4.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.5
|
||||
Release: 99%{?dist}
|
||||
Summary: Real-time web log analyzer and interactive viewer
|
||||
License: GPLv2+
|
||||
URL: https://goaccess.io/
|
||||
Source0: http://tar.goaccess.io/%{name}-%{version}.tar.gz
|
||||
Source0: https://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
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libmaxminddb-devel
|
||||
%if %{with openssl}
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: gettext-devel
|
||||
%if %{with openssl}
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
GoAccess is a real-time web log analyzer and interactive viewer that runs in a
|
||||
@@ -28,7 +33,7 @@ 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.
|
||||
* 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.
|
||||
@@ -59,20 +64,20 @@ not limited to:
|
||||
* W3C format (IIS).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
# Prevent flags being overridden again and again.
|
||||
#sed -i 's|-pthread|$CFLAGS \0|' configure.ac
|
||||
sed -i '/-pthread/d' configure.ac
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
# autoreconf -fiv
|
||||
# %%configure --enable-debug --enable-geoip --enable-utf8 --enable-tcb=btree --with-getline
|
||||
%configure \
|
||||
--enable-debug \
|
||||
--enable-geoip=legacy \
|
||||
--enable-geoip=mmdb \
|
||||
--enable-utf8 \
|
||||
--with-getline \
|
||||
--with-openssl
|
||||
--enable-debug \
|
||||
--enable-geoip=mmdb \
|
||||
--enable-utf8 \
|
||||
--with-getline \
|
||||
%{?with_openssl: --with-openssl}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@@ -88,10 +93,6 @@ autoreconf -fiv
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 31 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- First build for Fedora 33.
|
||||
|
||||
* 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)
|
||||
* Thu Jun 3 2021 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- New build for Fedora 34 (1.5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user