summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-05-17 21:22:32 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-05-17 21:22:32 +0000
commit028e948be760ab9f1def9887704cc48beb1ab833 (patch)
treec15aa875dadd243ed144a26fa6dc7e6f7ae2ba25 /net-analyzer/ncrack
parentAllow installation for Python 2. (diff)
downloadgentoo-2-028e948be760ab9f1def9887704cc48beb1ab833.tar.gz
gentoo-2-028e948be760ab9f1def9887704cc48beb1ab833.tar.bz2
gentoo-2-028e948be760ab9f1def9887704cc48beb1ab833.zip
Version bump
(Portage version: 2.1.9.47/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/ncrack')
-rw-r--r--net-analyzer/ncrack/ChangeLog9
-rw-r--r--net-analyzer/ncrack/metadata.xml3
-rw-r--r--net-analyzer/ncrack/ncrack-0.4_alpha.ebuild40
3 files changed, 50 insertions, 2 deletions
diff --git a/net-analyzer/ncrack/ChangeLog b/net-analyzer/ncrack/ChangeLog
index dc62703f5518..bae203b0598e 100644
--- a/net-analyzer/ncrack/ChangeLog
+++ b/net-analyzer/ncrack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/ncrack
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ncrack/ChangeLog,v 1.1 2010/11/01 21:22:14 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ncrack/ChangeLog,v 1.2 2011/05/17 21:22:32 hwoarang Exp $
+
+*ncrack-0.4_alpha (17 May 2011)
+
+ 17 May 2011; Markos Chandras <hwoarang@gentoo.org> +ncrack-0.4_alpha.ebuild:
+ version bump
*ncrack-0.3_alpha (01 Nov 2010)
diff --git a/net-analyzer/ncrack/metadata.xml b/net-analyzer/ncrack/metadata.xml
index 87afd6e36004..fb8ee6d3b96d 100644
--- a/net-analyzer/ncrack/metadata.xml
+++ b/net-analyzer/ncrack/metadata.xml
@@ -6,6 +6,9 @@
<email>hwoarang@gentoo.org</email>
<name>Markos Chandras</name>
</maintainer>
+<use>
+<flag name="ssh">Compile and link against the internal openssh modified library.</flag>
+</use>
<longdescription lang="en">
</longdescription>
</pkgmetadata>
diff --git a/net-analyzer/ncrack/ncrack-0.4_alpha.ebuild b/net-analyzer/ncrack/ncrack-0.4_alpha.ebuild
new file mode 100644
index 000000000000..12d6febd2d27
--- /dev/null
+++ b/net-analyzer/ncrack/ncrack-0.4_alpha.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ncrack/ncrack-0.4_alpha.ebuild,v 1.1 2011/05/17 21:22:32 hwoarang Exp $
+
+EAPI=2
+
+inherit base versionator
+
+MY_P="${PN}-$(get_version_component_range 1-2)ALPHA"
+
+DESCRIPTION="a high-speed network authentication cracking tool"
+HOMEPAGE="http://nmap.org/ncrack/"
+SRC_URI="http://nmap.org/${PN}/dist/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssh ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ ssh? ( net-misc/openssh )"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG docs/{AUTHORS,TODO,{devguide,mirror_pool,ncrack\.usage,openssh-library}.txt} )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i -e '/STRIP =/s:= .*:= echo:' Makefile.in || die
+}
+
+src_configure() {
+ econf --with-openssl=$(use ssl && echo yes || echo no) \
+ --with-openssh=$(use ssh && echo yes || echo no)
+}
+
+src_install() {
+ base_src_install
+ doman docs/${PN}.1 || die "doman failed"
+}