-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89eab1a
commit 1c16fb3
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DIST goaccess-1.5.7.tar.gz 655477 BLAKE2B e671859fab61440a85932f4302889b9f3e59720b15a527f9e0dacab201b326b69172fe01fb1abbf75325501d32d07e37600884888974aca37860af0b9e906e1a SHA512 b0c0fd86903209f3cf9ff3f68a62680025ffa77c5a7db66ffebc05f1c4441d793321e879717689f50a3a9c04cddf456ecfce436d0efbca3a11292d5df298b754 | ||
EBUILD goaccess-1.5.7.ebuild 1140 BLAKE2B 2877e909e432af6a45c27832272820448195ad934fa4413a1a1745e1de617d21a788b7ea4d27c20dc2cfaaf585d653d62a482abab6e35c6d7cc7b27810948eff SHA512 afe67cb040bd1ef09d53d758492e481b4c2d7948893305f8fef2913a766e90a7f62c5341afcd560721e3312158dbd38a4005272af2cfe9f8d20e178805a60c7a | ||
MISC metadata.xml 968 BLAKE2B 9b84cc00a75dd00ea5563ef605475fdb6c4fae9ee303fe06d8a8f74a2c3db58794b468866fa0dc06080bcb1a20298969378c6ccfa16da5f9f0cf1582ca8272b8 SHA512 a2f894feb012129a86a85fe3a5c386b6f0fdbc6acc0fd76d53b5b0df90ce528f9ac438d4081ca54f0c05fa79796015d4e0b3429e5a68639b764d0a3f17dd1f05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person" proxied="yes"> | ||
<email>spiderx@spiderx.dp.ua</email> | ||
<name>Vladimir Pavljuchenkov</name> | ||
</maintainer> | ||
<maintainer type="project" proxied="proxy"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
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. | ||
</longdescription> | ||
<use> | ||
<flag name="geoipv2">Enable support for GeoIP2 through <pkg>dev-libs/libmaxminddb</pkg></flag> | ||
<flag name="getline">Use GNU getline() to parse full line requests</flag> | ||
</use> | ||
<upstream> | ||
<remote-id type="github">allinurl/goaccess</remote-id> | ||
</upstream> | ||
</pkgmetadata> |