blob: e99493ad13a228fea458a6944cd04d3158ad094f (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bigeye/bigeye-0.3-r3.ebuild,v 1.1 2011/08/01 01:41:43 jer Exp $
EAPI="4"
inherit eutils toolchain-funcs
DESCRIPTION="network utility dump and simple honeypot utility"
HOMEPAGE="http://violating.us/projects/bigeye/"
SRC_URI="http://violating.us/projects/bigeye/download/${P}.tgz
mirror://gentoo/${P}-gcc34.diff.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
src_prepare() {
epatch \
"${WORKDIR}"/${P}-gcc34.diff \
"${FILESDIR}"/${P}-overflow.patch
sed -i README \
-e "s|-- /messages/|-- /usr/share/bigeye/messages/|g" \
|| die "sed README"
}
src_compile() {
cd src || die
$(tc-getCC) ${CFLAGS} ${LDFLAGS} bigeye.c emulate.c -o bigeye || die
}
src_install() {
dobin src/bigeye
insinto /usr/share/bigeye
doins sig.file
cp -r messages/ "${D}"/usr/share/bigeye/
dodoc README
}
|