You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/packit/packit-1.0-r2.ebuild

35 lines
900 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/packit/packit-1.0-r2.ebuild,v 1.4 2014/07/16 15:43:37 jer Exp $
EAPI=5
inherit eutils
DESCRIPTION="network auditing tool that allows you to monitor, manipulate, and inject customized IPv4 traffic"
HOMEPAGE="http://packetfactory.openwall.net/projects/packit/"
SRC_URI="${HOMEPAGE}downloads/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
DEPEND="
net-libs/libnet:1.1
net-libs/libpcap
"
RDEPEND="${DEPEND}"
src_prepare(){
epatch \
"${FILESDIR}"/packit-1.0-format.patch \
"${FILESDIR}"/packit-1.0-noopt.patch \
"${FILESDIR}"/packit-1.0-nostrip.patch \
"${FILESDIR}"/packit-1.0-overflow.patch \
"${FILESDIR}"/packit-1.0-pcap-header.patch
}
src_install() {
default
dodoc docs/*
}