Most recent goaccess package added
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
Name: goaccess
|
||||
Version: 1.2
|
||||
Release: 3%{?dist}
|
||||
Version: 1.4.1
|
||||
Release: 1%{?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
|
||||
Source1: %{name}.service
|
||||
Source2: %{name}-get-logs.pl
|
||||
Source3: %{name}-sysconfig
|
||||
Source4: %{name}-systemd.conf
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
@@ -17,11 +13,10 @@ BuildRequires: ncurses-devel
|
||||
BuildRequires: tokyocabinet-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: bzip2-devel
|
||||
|
||||
%if 0%{?using_systemd}
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: libmaxminddb-devel
|
||||
%if %{with openssl}
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -74,57 +69,26 @@ autoreconf -fiv
|
||||
%configure \
|
||||
--enable-debug \
|
||||
--enable-geoip=legacy \
|
||||
--enable-geoip=mmdb \
|
||||
--enable-utf8 \
|
||||
--enable-tcb=btree \
|
||||
--with-getline \
|
||||
--with-openssl=%{_prefix} \
|
||||
--enable-bzip \
|
||||
--enable-zlib
|
||||
|
||||
--with-openssl
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# install additional systemd service
|
||||
install -D %{S:2} %{buildroot}%{_libexecdir}/%{name}-get-logs.pl
|
||||
install -D %{S:1} %{buildroot}%{_unitdir}/%{name}.service
|
||||
install -D %{S:3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||
install -D %{S:4} %{buildroot}%{_sysconfdir}/%{name}-systemd.conf
|
||||
install -d %{buildroot}%{_var}/www/html/%{name}
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
%if 0%{?using_systemd}
|
||||
%if 0%{?systemd_macro_scriptlet}
|
||||
%systemd_post %{name}.service
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if 0%{?using_systemd}
|
||||
%if 0%{?systemd_macro_scriptlet}
|
||||
%systemd_preun %{name}.service
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/browsers.list
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/podcast.list
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_pkgdocdir}
|
||||
%{_unitdir}/%{name}.service
|
||||
%dir %{_var}/www/html/%{name}
|
||||
%attr(755,-,-) %{_libexecdir}/%{name}-get-logs.pl
|
||||
%config() %{_sysconfdir}/sysconfig/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}-systemd.conf
|
||||
|
||||
%changelog
|
||||
* Sun Jul 16 2017 Daniel Steiner <dsteiner@redhat.com> - 1.2-3
|
||||
- Live status enable with systemd
|
||||
|
||||
* Sun Jul 16 2017 Daniel Steiner <dsteiner@redhat.com> - 1.2-2
|
||||
- Legacy GeoIP enabled.
|
||||
|
||||
* Sun Jul 16 2017 Daniel Steiner <dsteiner@redhat.com> - 1.2-1
|
||||
- Initial release for Fedora 25.
|
||||
* 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user