summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-09-14 05:49:26 +0000
committerJeroen Roovers <jer@gentoo.org>2011-09-14 05:49:26 +0000
commit1fae8690ab7127bb14c652bd2ab70ccb46c1a6e7 (patch)
treea91167398bd036ee788e26daae92aee835b64a8d /net-analyzer/hydra
parentMask USE=oracle once more for net-analyzer/hydra. (diff)
downloadhistorical-1fae8690ab7127bb14c652bd2ab70ccb46c1a6e7.tar.gz
historical-1fae8690ab7127bb14c652bd2ab70ccb46c1a6e7.tar.bz2
historical-1fae8690ab7127bb14c652bd2ab70ccb46c1a6e7.zip
Version bump. Add many dependencies already used, and USE flags to go with them.
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog8
-rw-r--r--net-analyzer/hydra/Manifest12
-rw-r--r--net-analyzer/hydra/hydra-7.0.ebuild98
-rw-r--r--net-analyzer/hydra/metadata.xml1
4 files changed, 113 insertions, 6 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index 4a26c732f29c..396d79f49812 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/hydra
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.62 2011/08/15 10:20:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.63 2011/09/14 05:49:26 jer Exp $
+
+*hydra-7.0 (14 Sep 2011)
+
+ 14 Sep 2011; Jeroen Roovers <jer@gentoo.org> +hydra-7.0.ebuild, metadata.xml:
+ Version bump. Add many dependencies already used, and USE flags to go with
+ them.
15 Aug 2011; Jeroen Roovers <jer@gentoo.org> -hydra-5.9.ebuild,
-hydra-6.0.ebuild:
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index adfd2251e9d5..0682752dd738 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -6,17 +6,19 @@ DIST hydra-6.1-src.tar.gz 432515 RMD160 06f4f98aec813ccee13445d6a843f6be1f51806a
DIST hydra-6.2-src.tar.gz 452626 RMD160 09276718aac4a1839fd8d9f2e1ef370ae153f745 SHA1 9056c076737fa0692fb0bfe7e2b2a97050623d8f SHA256 0b340632db9d429eb3c32a592a51f7333feda0fe682229c2027ae445a1e3f54e
DIST hydra-6.3-src.tar.gz 473265 RMD160 dacf334cbd22a1fa864c948e367dfff6df681df3 SHA1 0cf6c47f03f782b620d4287c4c604c09cc7ea30a SHA256 bd5bc70b70640984fb2f18a9742c10b9a0edf1ebaf0f8dd32da589d34defd424
DIST hydra-6.5-src.tar.gz 633851 RMD160 441f4ff4383241512d82d5c14141b5d4c9b98231 SHA1 28b6fed025772e5fc075afd25e4dbf6abe788880 SHA256 1225b0f4bde4d80946c0cb2f24e39e7a14954c21d3e82fd7c83c683d32023da4
+DIST hydra-7.0-src.tar.gz 650342 RMD160 c1271146dfb8a4e9f2902ccf37bce3daebbe2a4e SHA1 1bdbc123269b14eabef2d7d1b07fea6e52e55efc SHA256 a2457636b51f8a958bc092aafb7a59af57fa31e31d9b90211566247ac7cda33c
EBUILD hydra-6.1.ebuild 1787 RMD160 7233b32e427652bb57a4b39cb377cd11dcda3c52 SHA1 c49bcf72f8d62f65fd6a893137748e8ab3991b3f SHA256 f0bc502d266d8b0465d88c29ff477ade38fa8cb7a62ba874f742a2a9e9be95b3
EBUILD hydra-6.2.ebuild 1788 RMD160 6a0479cf81085e2623f13c5380cbdb7d0d58592e SHA1 191e71efaad7660b9792b51d04e83275618b6ea1 SHA256 be284b1dfa3bb6d3881c4c7005876fd8385a7abad786a62fc5e8954dbf350f7e
EBUILD hydra-6.3.ebuild 1788 RMD160 531ff1acf2db8efbd3031cbe32f2682572ba804a SHA1 fe4a2cffe583a2799d63c917164a4099d78f4cad SHA256 b7341ce6ce159c8ec5076bf591336826aab73b3430607b37713330761e5b0946
EBUILD hydra-6.5-r1.ebuild 1764 RMD160 19f4a087c48acc873eab09b647fcee6c0fe2f9f0 SHA1 53e162956d47d83542db719549778a6aa54ea561 SHA256 905399994eadd5f6dc275b5ee026287b5da011e5bd0cadeda66e62fe5407000e
EBUILD hydra-6.5.ebuild 1800 RMD160 a71c768de56fd5586ad09319054384eba4e00969 SHA1 c1b2d5a9d279d4ddf8685cafec44d2ceea491122 SHA256 0330bcb41bd18df7f8476d8bcf2ebd744bfec6a3505092f8d2e0dfbf6db89841
-MISC ChangeLog 8236 RMD160 34392d6d2e6ece05585c3a08eb5c0575510a9257 SHA1 1123b27cf2eccb13f05992c182231348015dae58 SHA256 8d883605c0997d27fad85c06505ed16f4f0bd207431aa7bbbd66f711ead90f49
-MISC metadata.xml 227 RMD160 2a8754b01b0efe35e1f147451db54318da704ec1 SHA1 905f8d225c7defc78c835ebf7f44a83bed62fce3 SHA256 549534fb196ce43008704171f81429d1df086465e990f62d1685b69a7583d27c
+EBUILD hydra-7.0.ebuild 2097 RMD160 6256ae8ec891daba08c1ab24ebfd035635a74994 SHA1 9273d177e6b3a49322f8098b43f7ecd54e35fa98 SHA256 723380db5aba80e1ece70557e96e407f59062848ab2764393f63303feb7d2094
+MISC ChangeLog 8428 RMD160 33b628431104c2787437bdda4b112fd27ed03900 SHA1 0ec6c922e72057e026aa8c996962ae1b14fca177 SHA256 4a188e3d86bc06db3d3d6d202c45b9854277f96664e0a51b74aea34ff96a4c90
+MISC metadata.xml 325 RMD160 9e4ce93fbda6b59b383b25bb2817b1f36ee105a5 SHA1 73aa5248a0e1cc74f0548d4a796b83d17c69b434 SHA256 51ac19ac1cb61a0ee06bdbb7016d57609518824e153e51bd160ff1a4a74a4f26
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEUEARECAAYFAk5I8wgACgkQVWmRsqeSphOXIgCYnoBmdklv+KEJ0jMunfqaPqEz
-dACfTy5/NgK3SarTE2lnLVUelZVWH60=
-=/+9f
+iEYEARECAAYFAk5wQHAACgkQVWmRsqeSphNSJQCfQNAW7LRv3zcpLBFiLUt/uPum
+ThgAn3Hoi3aD/PfF+T+UAyrwWOn576ly
+=6Ne4
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/hydra/hydra-7.0.ebuild b/net-analyzer/hydra/hydra-7.0.ebuild
new file mode 100644
index 000000000000..2d1d7868cb41
--- /dev/null
+++ b/net-analyzer/hydra/hydra-7.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-7.0.ebuild,v 1.1 2011/09/14 05:49:26 jer Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="http://www.thc.org/thc-hydra/"
+SRC_URI="http://freeworld.thc.org/releases/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="firebird gtk idn mysql ncp oracle pcre postgres ssl subversion"
+
+RDEPEND="
+ dev-libs/openssl
+ firebird? ( dev-db/firebird )
+ gtk? (
+ dev-libs/atk
+ dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ )
+ idn? ( net-dns/libidn )
+ mysql? ( dev-db/mysql )
+ ncp? ( net-fs/ncpfs )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ pcre? ( dev-libs/libpcre )
+ postgres? ( dev-db/postgresql-base )
+ ssl? ( >=net-libs/libssh-0.4.0 )
+ subversion? ( dev-vcs/subversion )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/pkgconfig
+"
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ # None of the settings in Makefile.unix are useful to us
+ : > Makefile.unix
+
+ sed -i \
+ -e 's:-O2:$(CPPFLAGS) $(CFLAGS):g' \
+ -e 's:|| echo.*$::' \
+ -e '/\t-$(CC)/s:-::' \
+ -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
+ Makefile.am || die "sed failed"
+}
+
+src_configure() {
+ # Note: despite the naming convention, the top level script is not an
+ # autoconf-based script.
+ ./configure \
+ --prefix=/usr \
+ $(use gtk && echo --disable-xhydra) \
+ || die "configure failed"
+
+ sed -i \
+ -e '/^XDEFINES=/s:=.*:=:' \
+ -e '/^XLIBS=/s:=.*:=-lcrypto:' \
+ -e '/^XLIBPATHS/s:=.*:=:' \
+ -e '/^XIPATHS=/s:=.*:=:' \
+ Makefile || die "pruning vars"
+
+ if use ssl ; then
+ sed -i \
+ -e '/^XDEFINES=/s:=:=-DLIBOPENSSLNEW -DLIBSSH:' \
+ -e '/^XLIBS=/s:$: -lssl -lssh:' \
+ Makefile || die "adding ssl"
+ fi
+
+ if use gtk ; then
+ cd hydra-gtk && \
+ econf || die "econf failed"
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake
+ if use gtk ; then
+ cd hydra-gtk && \
+ emake
+ fi
+}
+
+src_install() {
+ dobin hydra pw-inspector
+ if use gtk ; then
+ dobin hydra-gtk/src/xhydra
+ fi
+ dodoc CHANGES README
+}
diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml
index ce670dcb6aeb..022063110f44 100644
--- a/net-analyzer/hydra/metadata.xml
+++ b/net-analyzer/hydra/metadata.xml
@@ -3,4 +3,5 @@
<pkgmetadata>
<herd>netmon</herd>
<longdescription>Advanced parallized login hacker</longdescription>
+<use><flag name="ncp">NCP protocol (NetWare) support through <pkg>net-fs/ncpfs</pkg></flag></use>
</pkgmetadata>