/[gentoo-x86]/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild
Gentoo

Contents of /net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Nov 20 20:11:44 2012 UTC (7 years, 1 month ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #441438

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/dnshijacker-1.3-r2.ebuild,v 1.4 2012/11/04 11:52:45 ago Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="a libnet/libpcap based packet sniffer and spoofer"
10 HOMEPAGE="http://pedram.redhive.com/projects.php"
11 SRC_URI="http://pedram.redhive.com/downloads/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16 IUSE=""
17
18 DEPEND="net-libs/libpcap
19 >=net-libs/libnet-1.0.2a-r3:1.0"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${P}-gentoo.patch
24 }
25
26 src_compile() {
27 emake CC=$(tc-getCC)
28 }
29
30 src_install() {
31 dosbin dnshijacker ask_dns answer_dns
32
33 insinto /etc/dnshijacker
34 doins ftable
35
36 dodoc README
37 }

  ViewVC Help
Powered by ViewVC 1.1.20