Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/visitors/
Date: Mon, 17 Sep 2018 15:46:46
Message-Id: 1537198967.aeeb9735777818eec6940e7a73cc058290954fa3.mgorny@gentoo
1 commit: aeeb9735777818eec6940e7a73cc058290954fa3
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 10 18:58:37 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 17 15:42:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeeb9735
7
8 www-misc/visitors: revbump for EAPI7
9
10 Closes: https://bugs.gentoo.org/665644
11 Closes: https://github.com/gentoo/gentoo/pull/9819
12
13 www-misc/visitors/visitors-0.7-r2.ebuild | 41 ++++++++++++++++++++++++++++++++
14 1 file changed, 41 insertions(+)
15
16 diff --git a/www-misc/visitors/visitors-0.7-r2.ebuild b/www-misc/visitors/visitors-0.7-r2.ebuild
17 new file mode 100644
18 index 00000000000..2dee9398360
19 --- /dev/null
20 +++ b/www-misc/visitors/visitors-0.7-r2.ebuild
21 @@ -0,0 +1,41 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Fast web log analyzer"
30 +HOMEPAGE="http://www.hping.org/visitors/"
31 +SRC_URI="http://www.hping.org/${PN}/${P}.tar.gz"
32 +
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~x86"
36 +
37 +S="${WORKDIR}/${P/-/_}"
38 +
39 +DOCS=( AUTHORS Changelog README TODO )
40 +HTML_DOCS=( doc.html visitors.css visitors.png )
41 +
42 +src_prepare() {
43 + default
44 + sed -i doc.html \
45 + -e 's:graph\.gif:graph.png:' \
46 + || die "sed doc.html"
47 + sed -i Makefile \
48 + -e 's| -o | $(LDFLAGS)&|g' \
49 + || die "sed Makefile"
50 +}
51 +
52 +src_compile() {
53 + emake \
54 + CC=$(tc-getCC) \
55 + CFLAGS="${CFLAGS} -Wall -W" \
56 + DEBUG=""
57 +}
58 +
59 +src_install() {
60 + einstalldocs
61 + dobin visitors
62 +}