diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-01-14 08:30:23 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-01-14 08:32:04 +0100 |
commit | 25a7fb64d0dfa3fc0196dc05d16daf0eff6d9a9a (patch) | |
tree | 00de656c77d427f69ef3fdcd28b118ffdc4ad329 /net-analyzer | |
parent | media-sound/ardour: fixed various little things. See bug 571734 (diff) | |
download | gentoo-25a7fb64d0dfa3fc0196dc05d16daf0eff6d9a9a.tar.gz gentoo-25a7fb64d0dfa3fc0196dc05d16daf0eff6d9a9a.tar.bz2 gentoo-25a7fb64d0dfa3fc0196dc05d16daf0eff6d9a9a.zip |
net-analyzer/hunt: Fix building with gcc-5 (bug #517774 by Willard Dawson).
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/hunt/hunt-1.5-r3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/hunt/hunt-1.5-r3.ebuild b/net-analyzer/hunt/hunt-1.5-r3.ebuild new file mode 100644 index 000000000000..61c006718f41 --- /dev/null +++ b/net-analyzer/hunt/hunt-1.5-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="tool for checking well known weaknesses in the TCP/IP protocol" +HOMEPAGE="http://lin.fsid.cvut.cz/~kra/index.html" +SRC_URI="http://lin.fsid.cvut.cz/~kra/hunt/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-exit.patch \ + "${FILESDIR}"/${P}-flags.patch \ + "${FILESDIR}"/${P}-log2.patch +} + +src_compile() { + append-cflags -std=gnu89 + emake CC=$(tc-getCC) +} + +src_install() { + dobin hunt + doman man/hunt.1 + dodoc CHANGES README* TODO tpsetup/transproxy +} |