summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-27 15:24:53 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-27 15:30:31 +0200
commit01662c892aee64170e8b344d96d279d4f70fa374 (patch)
tree5975a7044ef54fa28a72fd4be6411c6983881a49 /net-analyzer/labrea
parentnet-misc/openssh-8.3_p1-r5: fix compilation on Solaris (diff)
downloadgentoo-01662c892aee64170e8b344d96d279d4f70fa374.tar.gz
gentoo-01662c892aee64170e8b344d96d279d4f70fa374.tar.bz2
gentoo-01662c892aee64170e8b344d96d279d4f70fa374.zip
net-analyzer/labrea: Move INSTALL out of the way
After running autoreconf, the INSTALL file will be magically replaced by the generic GNU version. Move it before calling eautoreconf. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/labrea')
-rw-r--r--net-analyzer/labrea/labrea-2.5_p1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-analyzer/labrea/labrea-2.5_p1.ebuild b/net-analyzer/labrea/labrea-2.5_p1.ebuild
new file mode 100644
index 000000000000..5c375b86225b
--- /dev/null
+++ b/net-analyzer/labrea/labrea-2.5_p1.ebuild
@@ -0,0 +1,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"
+}