summaryrefslogtreecommitdiff
blob: 3ee1b2d3daba33ae421100bd7276f510df73bb95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/xprobe/xprobe-0.2.1.ebuild,v 1.3 2005/01/29 05:12:52 dragonheart Exp $

inherit eutils

# This is new xprobe, so called xprobe2, due to xprobe1 being obsoleted.
# xprobe 2 has different approach to operating system fingerprinting. 
# Xprobe2 rely on fuzzy signature matching, probabilistic guesses, multiple
# matches simultaneously, and a signature database.
#
DESCRIPTION="Active OS fingerprinting tool - this is Xprobe2"
SRC_URI="mirror://sourceforge/${PN}/${PN}2-${PV}.tar.gz"
HOMEPAGE="http://www.sys-security.com/html/projects/X.html"

KEYWORDS="~x86 ~sparc"
SLOT="0"
LICENSE="GPL-2"

DEPEND="virtual/libpcap"
IUSE=""

src_unpack() {

	unpack ${A}

	#epatch ${FILESDIR}/${P}-gentoo.patch || die "epatch failed"
}

src_compile() {

	cd "${WORKDIR}/${PN}2-${PV}"
	# needed due to broken configure script
	unset CFLAGS
	unset CXXFLAGS
	econf || die "could not configure"
	emake || die "could not make"
}

src_install () {
	cd "${WORKDIR}/${PN}2-${PV}"
	make DESTDIR=${D} install || die
	dodoc AUTHORS CREDITS COPYING
	dodoc CHANGELOG TODO README
	dodoc docs/*
}