1 |
commit: 21fdd4546d25849fcf6494fe40826acc5ec49042 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jan 29 19:46:39 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 3 19:25:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fdd454 |
7 |
|
8 |
net-analyzer/authforce: EAPI7, fix manpage installation |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/authforce/authforce-0.9.9-r2.ebuild | 44 ++++++++++++++++++++++++ |
14 |
1 file changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/authforce/authforce-0.9.9-r2.ebuild b/net-analyzer/authforce/authforce-0.9.9-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..6bea4016bb1 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/authforce/authforce-0.9.9-r2.ebuild |
21 |
@@ -0,0 +1,44 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+DESCRIPTION="An HTTP authentication brute forcer" |
28 |
+HOMEPAGE="http://www.divineinvasion.net/authforce/" |
29 |
+SRC_URI="http://www.divineinvasion.net/${PN}/${P}.tar.gz" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~ppc ~x86" |
34 |
+IUSE="curl nls" |
35 |
+ |
36 |
+RDEPEND="sys-libs/readline:0= |
37 |
+ curl? ( net-misc/curl )" |
38 |
+DEPEND="${RDEPEND}" |
39 |
+BDEPEND="nls? ( sys-devel/gettext )" |
40 |
+ |
41 |
+DOCS=( AUTHORS BUGS NEWS README THANKS TODO ) |
42 |
+ |
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${P}-curl.patch |
45 |
+ "${FILESDIR}"/${P}-locale.patch |
46 |
+) |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ gunzip doc/${PN}.1.gz |
51 |
+ sed -i -e "s/${PN}.1.gz/${PN}.1/g" \ |
52 |
+ -e "s/\/mang/\/man1/g" doc/Makefile* || die |
53 |
+} |
54 |
+ |
55 |
+src_configure() { |
56 |
+ econf \ |
57 |
+ $(use_with curl) \ |
58 |
+ $(use_enable nls) \ |
59 |
+ --with-path=/usr/share/${PN}/data:. |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ default |
64 |
+ doman doc/${PN}.1 |
65 |
+} |