1 |
commit: 01662c892aee64170e8b344d96d279d4f70fa374 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 13:24:53 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 13:30:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01662c89 |
7 |
|
8 |
net-analyzer/labrea: Move INSTALL out of the way |
9 |
|
10 |
After running autoreconf, the INSTALL file will be magically replaced by |
11 |
the generic GNU version. Move it before calling eautoreconf. |
12 |
|
13 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
14 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
15 |
|
16 |
net-analyzer/labrea/labrea-2.5_p1.ebuild | 41 ++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/net-analyzer/labrea/labrea-2.5_p1.ebuild b/net-analyzer/labrea/labrea-2.5_p1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..5c375b86225 |
22 |
--- /dev/null |
23 |
+++ b/net-analyzer/labrea/labrea-2.5_p1.ebuild |
24 |
@@ -0,0 +1,41 @@ |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+inherit autotools |
30 |
+ |
31 |
+DESCRIPTION="'Sticky' Honeypot and IDS" |
32 |
+HOMEPAGE="http://labrea.sourceforge.net/" |
33 |
+SRC_URI="mirror://sourceforge/${PN}/${P/_p*}-stable-${PV/*_p}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~ppc ~x86" |
38 |
+ |
39 |
+DEPEND=" |
40 |
+ net-libs/libpcap |
41 |
+ >=dev-libs/libdnet-1.7 |
42 |
+" |
43 |
+RDEPEND=" |
44 |
+ ${DEPEND} |
45 |
+" |
46 |
+DOCS=( AUTHORS ChangeLog README{,.first} TODO NEWS ) |
47 |
+PATCHES=( |
48 |
+ "${FILESDIR}"/${P/_p/-stable-}-incdir.patch |
49 |
+ "${FILESDIR}"/${P/_p*}-pcap_open.patch |
50 |
+) |
51 |
+S=${WORKDIR}/${P/_p/-stable-} |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ # autotools will overwrite this with the generic version |
57 |
+ mv INSTALL README.first || die |
58 |
+ |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+pkg_postinst() { |
63 |
+ ewarn "Before using this package please read the README.first and README as" |
64 |
+ ewarn "the author states that it can cause serious problems on your network" |
65 |
+} |