summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Seifert <m.seifert@digitalernachschub.de>2020-11-17 08:05:55 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-20 14:05:05 +0200
commit355e9d60f0ea52ae7acfd91e52a617eadabeda85 (patch)
tree7dd493c939296b6ad9a7a79bee7d6d70127cb5dc /net-analyzer/goaccess
parentnet-analyzer/goaccess: Adjusted SRC_URI and EGIT_REPO_URI in -9999 (diff)
downloadgentoo-355e9d60f0ea52ae7acfd91e52a617eadabeda85.tar.gz
gentoo-355e9d60f0ea52ae7acfd91e52a617eadabeda85.tar.bz2
gentoo-355e9d60f0ea52ae7acfd91e52a617eadabeda85.zip
net-analyzer/goaccess: Bumped to version 1.4.2.
Closes: https://bugs.gentoo.org/754996 Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/goaccess')
-rw-r--r--net-analyzer/goaccess/Manifest1
-rw-r--r--net-analyzer/goaccess/goaccess-1.4.2.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/net-analyzer/goaccess/Manifest b/net-analyzer/goaccess/Manifest
index 39e756052332..5176113fe6bf 100644
--- a/net-analyzer/goaccess/Manifest
+++ b/net-analyzer/goaccess/Manifest
@@ -1,2 +1,3 @@
DIST goaccess-1.2.tar.gz 423103 BLAKE2B 87c527a52db9fa69d6e6a02ffbda64a6a32e6214ca6bc1f2654e1451fe5d73e7caa02cf1416c93c511bee329b7885e4914fb7dfd37562ef5347ea3912d030c14 SHA512 bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889
DIST goaccess-1.3.tar.gz 541374 BLAKE2B 55942e35d06f1467df9b80a3fc42211e867b08963a7334783c0279ba7b9e0fd8d6e197277bee780547a9b8f6264ae15844374604f6d7c1b3b57f57768c2b2019 SHA512 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1
+DIST goaccess-1.4.2.tar.gz 633162 BLAKE2B 4da268bb051114893b480e4eef18e007ccffb9b61ae49cc9a96622864716a44793f0895b5d27685e1b5e22c33f1bdd256dc148d26c7b6fefbd982a3f8fdf1960 SHA512 14bc5a08c2e6bb1db8d664a224b778603a358cf3a52a341a3a3e04e84337d0bb574892cb5005dc62098a8a6f0a834d1014479c29593714fdd6a87cedb3f3fb38
diff --git a/net-analyzer/goaccess/goaccess-1.4.2.ebuild b/net-analyzer/goaccess/goaccess-1.4.2.ebuild
new file mode 100644
index 000000000000..e029cb0bf444
--- /dev/null
+++ b/net-analyzer/goaccess/goaccess-1.4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+if [[ ${PV} = *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/allinurl/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://tar.goaccess.io/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux"
+fi
+
+DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal"
+HOMEPAGE="https://goaccess.io"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="debug geoip geoipv2 getline libressl ssl unicode"
+REQUIRED_USE="geoipv2? ( geoip )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="sys-libs/ncurses:0=[unicode?]
+ geoip? (
+ !geoipv2? ( dev-libs/geoip )
+ geoipv2? ( dev-libs/libmaxminddb:0= )
+ )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ # Change path to GeoIP bases in config
+ sed -i -e s':/usr/local:/usr:' config/goaccess.conf || die "sed failed for goaccess.conf"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ "$(use_enable debug)" \
+ "$(use_enable geoip geoip "$(usex geoipv2 mmdb legacy)")" \
+ "$(use_enable unicode utf8)" \
+ "$(use_with getline)" \
+ "$(use_with ssl openssl)"
+}