blob: 6cba311f9bfd05c2c3948dec45789e8e85422705 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/amap-2.7.ebuild,v 1.6 2004/07/01 16:10:31 squinky86 Exp $
DESCRIPTION="A next-generation scanning tool for pentesters"
HOMEPAGE="http://www.thc.org/releases.php"
SRC_URI="http://packetstormsecurity.nl/groups/thc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="ssl"
DEPEND="virtual/libc
ssl? ( >=dev-libs/openssl-0.9.6j )"
src_unpack() {
unpack ${A}
cd ${S}
# gentoo standard place for templates/configuration files
sed -i -e '/archpath/ s:/usr/etc/:/usr/share/amap/:' amap.h
}
src_compile() {
make || die
}
src_install() {
local files
files="appdefs.trig appdefs.resp appdefs.rpc"
# the makefile is difficult to patch in a gentoo-sane way
# easyer to install by hand
exeinto /usr/bin
doexe amap
doexe amapcrap
dodir /usr/share/${PN}
insinto /usr/share/${PN}
doins ${files}
doman ${PN}.1
dodoc README BUGS TODO CHANGES
}
|