From 3ecec66c891b3bedfc9a6129d7d24f775915e781 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Mon, 23 Aug 2021 10:54:31 +0200 Subject: net-analyzer/goaccess: Add 1.5.1 This ebuild was taken directly from the Gentoo portage tree without modification. Package-Manager: Portage-3.0.20, Repoman-3.0.3 --- net-analyzer/goaccess/Manifest | 3 ++ net-analyzer/goaccess/goaccess-1.5.1.ebuild | 51 +++++++++++++++++++++++++++++ net-analyzer/goaccess/metadata.xml | 25 ++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 net-analyzer/goaccess/Manifest create mode 100644 net-analyzer/goaccess/goaccess-1.5.1.ebuild create mode 100644 net-analyzer/goaccess/metadata.xml (limited to 'net-analyzer') diff --git a/net-analyzer/goaccess/Manifest b/net-analyzer/goaccess/Manifest new file mode 100644 index 0000000..12324f0 --- /dev/null +++ b/net-analyzer/goaccess/Manifest @@ -0,0 +1,3 @@ +DIST goaccess-1.5.1.tar.gz 642860 BLAKE2B 609768adcf18fafb72259270ed2d1c3b1cf9d791536ef52e0e8911297d5076054dc4709228056ecee11fe60384fd4b4630342929b1ecbcdad2cbc70cc4073a06 SHA512 aefdc8a61d85d7f8148857c6873b4589eb2f1d3f5b4986a97d0d4223c1d30da23d5fc8e6ba3cbdf41654072b299036fbcbae397d1934a95d1d26931e7f2f5d9a +EBUILD goaccess-1.5.1.ebuild 1140 BLAKE2B 2877e909e432af6a45c27832272820448195ad934fa4413a1a1745e1de617d21a788b7ea4d27c20dc2cfaaf585d653d62a482abab6e35c6d7cc7b27810948eff SHA512 afe67cb040bd1ef09d53d758492e481b4c2d7948893305f8fef2913a766e90a7f62c5341afcd560721e3312158dbd38a4005272af2cfe9f8d20e178805a60c7a +MISC metadata.xml 967 BLAKE2B 7f8a5a613fad521ba3379e0b034173cbe1b3847c737d0b6f17f9b7ed5f4c95af11c1702049c7c6fa23cf1fbed0f0a615c4ac8c130f8c8399d923a43d41d3853c SHA512 2ccfb0fefddfd0e116983e1129b02638879b313c4c494a6c3e99dfb5443728b3929b36d6dcdacc72898dff17186850c7adf87d660ddbf4d894a9c1633e8fe290 diff --git a/net-analyzer/goaccess/goaccess-1.5.1.ebuild b/net-analyzer/goaccess/goaccess-1.5.1.ebuild new file mode 100644 index 0000000..4f3beee --- /dev/null +++ b/net-analyzer/goaccess/goaccess-1.5.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 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 ssl unicode" +REQUIRED_USE="geoipv2? ( geoip )" + +BDEPEND="virtual/pkgconfig" +RDEPEND="sys-libs/ncurses:=[unicode(+)?] + geoip? ( + !geoipv2? ( dev-libs/geoip ) + geoipv2? ( dev-libs/libmaxminddb:0= ) + ) + ssl? ( + dev-libs/openssl: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)" +} diff --git a/net-analyzer/goaccess/metadata.xml b/net-analyzer/goaccess/metadata.xml new file mode 100644 index 0000000..3a1e539 --- /dev/null +++ b/net-analyzer/goaccess/metadata.xml @@ -0,0 +1,25 @@ + + + + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + GoAccess is an open source 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. + + + Enable support for GeoIP2 through dev-libs/libmaxminddb + Use GNU getline() to parse full line requests + + + allinurl/goaccess + + -- cgit v1.2.3-2-gb3c3