net-analyzer/goaccess: drop 1.6.2

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-02-16 04:17:08 +00:00
parent 6e9dc1610d
commit e5379db591
2 changed files with 0 additions and 72 deletions

View File

@@ -1,2 +1 @@
DIST goaccess-1.6.2.tar.gz 658679 BLAKE2B 93aea3e4142ec2fa8ea4b1600bac4bcdf28f845904935c1b2e88e720e3ba342fd07f7f22ac05b8010932263e708ecdf6c516f901b690532a395e337494a69486 SHA512 5299df01fd06777bf85da12e4d4ec3b9eca866bbab6cac64f3d674b0b3ecc90dc4c28f5bc2c94064b7654d381aa873626e98ec9f26fc2b546380bb9e40077a85
DIST goaccess-1.6.3.tar.gz 658827 BLAKE2B 48378235a75c11e7392bcaca98c64689032e74377696cf6fd3e0e230dd35a2e0f78e5f4283da2c4693ec072942ae6be4d3dc27f91f23d8390f81a330d9955c93 SHA512 7890fc35700db9ce1d3c720607cce6008a3140a14d143fcdd02f11a79f5344a26c648c9b7e6316a21d3ff07f588815bcdfb33072b5e0a18c429e9bfdb8bf99f4

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools systemd tmpfiles
DESCRIPTION="A real-time web log analyzer and interactive viewer in a terminal"
HOMEPAGE="https://goaccess.io"
SRC_URI="https://tar.goaccess.io/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="debug geoip geoipv2 getline ssl unicode"
REQUIRED_USE="geoipv2? ( geoip )"
RDEPEND="acct-group/goaccess
acct-user/goaccess
sys-libs/ncurses:=[unicode(+)?]
geoip? (
!geoipv2? ( dev-libs/geoip )
geoipv2? ( dev-libs/libmaxminddb:0= )
)
ssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
# Enable log-format, define log file and db path,
# change path to GeoIP bases in config
sed -i -e '/log-format COMBINED/s/#//' \
-e '/log-file/s/#//' \
-e '/db-path/s|tmp|var/lib/goaccess|' \
-e '/geoip-database/s|local/||' 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)"
}
src_install() {
default
newinitd "${FILESDIR}"/goaccess.initd goaccess
newconfd "${FILESDIR}"/goaccess.confd goaccess
systemd_dounit "${FILESDIR}"/goaccess.service
newtmpfiles "${FILESDIR}"/goaccess.tmpfile goaccess.conf
diropts -o goaccess -g goaccess -m 0700
keepdir /var/lib/goaccess/db /var/log/goaccess
}
pkg_postinst() {
if ! has_version net-misc/geoipupdate ; then
einfo "You should consider to install net-misc/geoipupdate"
einfo "to be able to use GeoIP databases"
fi
tmpfiles_process goaccess.conf
}