blob: 5c375b86225bee888c504725f1d4e7dfda4e1750 (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="'Sticky' Honeypot and IDS"
HOMEPAGE="http://labrea.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P/_p*}-stable-${PV/*_p}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
DEPEND="
net-libs/libpcap
>=dev-libs/libdnet-1.7
"
RDEPEND="
${DEPEND}
"
DOCS=( AUTHORS ChangeLog README{,.first} TODO NEWS )
PATCHES=(
"${FILESDIR}"/${P/_p/-stable-}-incdir.patch
"${FILESDIR}"/${P/_p*}-pcap_open.patch
)
S=${WORKDIR}/${P/_p/-stable-}
src_prepare() {
default
# autotools will overwrite this with the generic version
mv INSTALL README.first || die
eautoreconf
}
pkg_postinst() {
ewarn "Before using this package please read the README.first and README as"
ewarn "the author states that it can cause serious problems on your network"
}
|