#2 Update to 1.4
Merged 3 years ago by filiperosset. Opened 3 years ago by losuler.
rpms/ losuler/goaccess master  into  master

file modified
+2
@@ -15,3 +15,5 @@ 

  /goaccess-1.1.1.tar.gz

  /goaccess-1.2.tar.gz

  /goaccess-1.3.tar.gz

+ /goaccess-1.4.tar.gz

+ /goaccess-1.4.3.tar.gz

file modified
+18 -27
@@ -1,35 +1,27 @@ 

  %bcond_without lto

- 		

- %bcond_without tcb_memhash

- 	

- %bcond_with tcb_btree

- 		

+ 

  %bcond_without openssl

- 		

- %if %{with lto}	

+ 

+ %if %{with lto}

  %global optflags        %{optflags} -flto

  %global build_ldflags   %{build_ldflags} -flto

  %endif

  

  Name:           goaccess

- Version:        1.3

- Release:        3%{?dist}

+ Version:        1.4.3

+ 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

- Patch1:         patch.diff

+ 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

- %if %{with openssl}	

- BuildRequires:  openssl-devel	

+ BuildRequires:  gettext-devel

+ %if %{with openssl}

+ BuildRequires:  openssl-devel

  %endif

  

  %description
@@ -41,7 +33,7 @@ 

  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.
@@ -72,22 +64,20 @@ 

  * W3C format (IIS).

  

  %prep

- %autosetup -p1

+ %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

- # %configure --enable-debug --enable-geoip --enable-utf8 --enable-tcb=btree --with-getline

+ # %%configure --enable-debug --enable-geoip --enable-utf8 --enable-tcb=btree --with-getline

  %configure \

- 	--enable-debug \

- 	--enable-geoip=legacy \

- 	%{?with_tcb_memhash: --enable-tcb=memhash} \

- 	%{?with_tcb_btree: --enable-tcb=btree} \

- 	--enable-utf8 \

- 	--with-getline \

- 	 %{?with_openssl: --with-openssl}

+     --enable-debug \

+     --enable-geoip=legacy \

+     --enable-utf8 \

+     --with-getline \

+     %{?with_openssl: --with-openssl}

  %make_build

  

  %install
@@ -98,6 +88,7 @@ 

  %license COPYING

  %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf

  %config(noreplace) %{_sysconfdir}/%{name}/browsers.list

+ %config(noreplace) %{_sysconfdir}/%{name}/podcast.list

  %{_bindir}/%{name}

  %{_mandir}/man1/%{name}.1*

  

file removed
-26
@@ -1,26 +0,0 @@ 

- diff --git a/src/commons.h b/src/commons.h

- index 6bdf88be..8751de38 100644

- --- a/src/commons.h

- +++ b/src/commons.h

- @@ -44,7 +44,7 @@

-  #define GO_UNUSED __attribute__((unused))

-  #define GO_VERSION 		"1.3"

-  #define GO_WEBSITE 		"http://goaccess.io/"

- -struct tm *now_tm;

- +extern struct tm *now_tm;

-  

-  /* common char array buffer size */

-  #define INIT_BUF_SIZE 1024

- diff --git a/src/csv.c b/src/csv.c

- index fefaa0e0..9ef74c85 100644

- --- a/src/csv.c

- +++ b/src/csv.c

- @@ -55,6 +55,8 @@

-  #include "ui.h"

-  #include "util.h"

-  

- +struct tm *now_tm;

- +

-  /* Panel output */

-  typedef struct GPanel_

-  {

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1

+ SHA512 (goaccess-1.4.3.tar.gz) = 8f5cbd6d9aca9fdb9310a969b0e8ae86a388a2d82d35a120a56a8d81597c163d8df6b27465ade400492c7edd50b3a73192154e8f8243f782421997fac36bc50a

Included in this pull request:

Not included in this pull request (for the epel7 branch):

  • Fixed aclocal missing build error (uncommenting autoreconf -fiv)
    • This is caused by the sed on configure.ac, but for some reason only causes the epel7 build to fail.
  • Removed unused source file (deleting goaccess-1.0.2.tar.gz)

@echevemaster / @cicku -- any chance we could get this looked at? Would be great to have :-)

@losuler can you please rewrite the patch to version 1.4.3 so I can go ahead merge & build this new release

1 new commit added

  • Update Version to 1.4.3
3 years ago

@filiperosset I've updated it to 1.4.3, the only change that was needed was to bump the version.

@filiperosset I've updated it to 1.4.3, the only change that was needed was to bump the version.

I still cannot merge the PR (The pull-request cannot be merged due to conflicts)

The patch should be rewrite on top of this commit -> https://src.fedoraproject.org/rpms/goaccess/c/2db84effc73c955d3eb96537c14050cf70daf8a7?branch=master

rebased onto 144dce3

3 years ago

My apologies, I didn't notice the releng commits. I've rebased my fork now.

Pull-Request has been merged by filiperosset

3 years ago

My apologies, I didn't notice the releng commits. I've rebased my fork now.

@losuler thank you, great work!
1.4.3 is currently available in rawhide and will be part of Fedora 34