commit:     daf0730441dbf2fe6469a0cdb2b5187d39b65c90
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  9 13:14:30 2018 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jan  9 13:38:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf07304

net-analyzer/wapiti: 3.0.0 bump

New dependencies and optional support for kerberos/NTLM auth
Sync live ebuild

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/wapiti/Manifest            |  1 +
 net-analyzer/wapiti/metadata.xml        |  4 ++++
 net-analyzer/wapiti/wapiti-3.0.0.ebuild | 29 +++++++++++++++++++++++++++++
 net-analyzer/wapiti/wapiti-9999.ebuild  | 16 +++++++++++-----
 4 files changed, 45 insertions(+), 5 deletions(-)

diff --git a/net-analyzer/wapiti/Manifest b/net-analyzer/wapiti/Manifest
index 303ebfddf08..fd4cd782b23 100644
--- a/net-analyzer/wapiti/Manifest
+++ b/net-analyzer/wapiti/Manifest
@@ -1 +1,2 @@
 DIST wapiti-2.3.0.tar.gz 305739 BLAKE2B 
a425694bf334e373acd4e7a60734b1162a709a996eb322fd8d8c6a92c9db34e7ae3c8bab4f1b0a514e7f88cda8f9f7ba5f5d24e20425993c36d8283a12470d1f
 SHA512 
a72e87f4c2aec3884d5de7018c7fe1ab32721fc86420167c0b7636f31d9718661c787ff3d4ee66cc27e3932497543d0324b0bd238c33ce16f41f39213c119af2
+DIST wapiti-3.0.0.tar.gz 528316 BLAKE2B 
f1845e762fa155746b9706cb379ac187d0b8136082f6545ad5c486b915975561dcea272eb8213c9a3347b42bb7e9653fd2303e47c12c91f4d66f31047afd5a44
 SHA512 
5a04dde6e4bc051a05d55fb4f3f7171ee659a64c51f807d3c6d4dd0d8d182688d9e48e8449a1aeedab34f04fbf89dc13fa97d13fb0fdb45ba6820bde6936e36e

diff --git a/net-analyzer/wapiti/metadata.xml b/net-analyzer/wapiti/metadata.xml
index 043a4b4f70a..59ef9906d47 100644
--- a/net-analyzer/wapiti/metadata.xml
+++ b/net-analyzer/wapiti/metadata.xml
@@ -13,4 +13,8 @@ Once it gets this list, Wapiti acts like a fuzzer, injecting 
payloads to see if
        <upstream>
                <remote-id type="sourceforge">wapiti</remote-id>
        </upstream>
+       <use>
+               <flag name="kerberos">Support Kerberos authentication</flag>
+               <flag name="ntlm">Support NTLM authentication</flag>
+       </use>
 </pkgmetadata>

diff --git a/net-analyzer/wapiti/wapiti-3.0.0.ebuild 
b/net-analyzer/wapiti/wapiti-3.0.0.ebuild
new file mode 100644
index 00000000000..a3f9f3451f6
--- /dev/null
+++ b/net-analyzer/wapiti/wapiti-3.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE='xml'
+
+inherit distutils-r1
+
+DESCRIPTION="Web-application vulnerability scanner"
+HOMEPAGE="http://wapiti.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kerberos ntlm"
+
+DEPEND=""
+
+RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/mako[${PYTHON_USEDEP}]
+       >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
+       dev-python/tld[${PYTHON_USEDEP}]
+       dev-python/yaswfp[${PYTHON_USEDEP}]
+       kerberos? ( dev-python/requests-kerberos[${PYTHON_USEDEP}] )
+       ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )"

diff --git a/net-analyzer/wapiti/wapiti-9999.ebuild 
b/net-analyzer/wapiti/wapiti-9999.ebuild
index 7d202ad1e48..525c4a02ceb 100644
--- a/net-analyzer/wapiti/wapiti-9999.ebuild
+++ b/net-analyzer/wapiti/wapiti-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{4,5,6} )
 PYTHON_REQ_USE='xml'
 
 ESVN_REPO_URI="https://svn.code.sf.net/p/wapiti/code/trunk/";
@@ -16,8 +16,14 @@ SRC_URI=""
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="kerberos ntlm"
 
 DEPEND=""
 RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
-       >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]"
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/mako[${PYTHON_USEDEP}]
+       >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
+       dev-python/tld[${PYTHON_USEDEP}]
+       dev-python/yaswfp[${PYTHON_USEDEP}]
+       kerberos? ( dev-python/requests-kerberos[${PYTHON_USEDEP}] )
+       ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )"

Reply via email to