summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-28 19:30:26 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-28 19:30:26 +0000
commit9d4f6e5406e52132919ef0abaf4ef609b7fac626 (patch)
tree67dcbdb13fc09a06c8edf55b1a70238861c8b9e8 /www-misc/visitors
parentAdd one more missing line on newinitd. (diff)
downloadgentoo-2-9d4f6e5406e52132919ef0abaf4ef609b7fac626.tar.gz
gentoo-2-9d4f6e5406e52132919ef0abaf4ef609b7fac626.tar.bz2
gentoo-2-9d4f6e5406e52132919ef0abaf4ef609b7fac626.zip
Respect LDFLAGS (bug #337115), CC, more CFLAGS. Make sed die. Remove empty DEPEND. Remove useless USE=debug and related logic.
(Portage version: 2.2_rc86/cvs/Linux i686)
Diffstat (limited to 'www-misc/visitors')
-rw-r--r--www-misc/visitors/ChangeLog8
-rw-r--r--www-misc/visitors/visitors-0.7-r1.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/www-misc/visitors/ChangeLog b/www-misc/visitors/ChangeLog
index ab16074dd3b1..fc4bad8816a0 100644
--- a/www-misc/visitors/ChangeLog
+++ b/www-misc/visitors/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-misc/visitors
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/visitors/ChangeLog,v 1.11 2010/04/13 18:48:41 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/visitors/ChangeLog,v 1.12 2010/09/28 19:30:26 jer Exp $
+
+*visitors-0.7-r1 (28 Sep 2010)
+
+ 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +visitors-0.7-r1.ebuild:
+ Respect LDFLAGS (bug #337115), CC, more CFLAGS. Make sed die. Remove empty
+ DEPEND. Remove useless USE=debug and related logic.
13 Apr 2010; Markos Chandras <hwoarang@gentoo.org> visitors-0.7.ebuild:
Keyworded for amd64 wrt bug #314543
diff --git a/www-misc/visitors/visitors-0.7-r1.ebuild b/www-misc/visitors/visitors-0.7-r1.ebuild
new file mode 100644
index 000000000000..9ca7688f4419
--- /dev/null
+++ b/www-misc/visitors/visitors-0.7-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/visitors/visitors-0.7-r1.ebuild,v 1.1 2010/09/28 19:30:26 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Fast web log analyzer"
+HOMEPAGE="http://www.hping.org/visitors/"
+SRC_URI="http://www.hping.org/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${P/-/_}"
+
+src_prepare() {
+ sed -i doc.html \
+ -e 's:graph\.gif:graph.png:' \
+ || die "sed doc.html"
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS} -Wall -W" \
+ DEBUG="" \
+ || die "emake failed"
+}
+
+src_install() {
+ dobin visitors
+ dodoc AUTHORS Changelog README TODO
+ dohtml doc.html visitors.css visitors.png
+}