diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/hydra |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r-- | net-analyzer/hydra/Manifest | 11 | ||||
-rw-r--r-- | net-analyzer/hydra/files/hydra-8.0-configure.patch | 44 | ||||
-rw-r--r-- | net-analyzer/hydra/files/hydra-8.4-configure.patch | 48 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-8.1.ebuild | 98 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-8.5.ebuild | 105 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-8.6.ebuild | 105 | ||||
-rw-r--r-- | net-analyzer/hydra/metadata.xml | 10 |
7 files changed, 421 insertions, 0 deletions
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest new file mode 100644 index 000000000000..009a774dd4bf --- /dev/null +++ b/net-analyzer/hydra/Manifest @@ -0,0 +1,11 @@ +AUX hydra-8.0-configure.patch 1089 SHA256 21e813cb4428c8e858086a3abe282cf95ea3d43afb3a5dfa53f634946a923e25 SHA512 d7fbc56b9d0fd6cc89ca689a07c0dcf618827bfaafb332217b695b38cc6382c32aedfec4c046575dc34c0946c9b0212a22d82554a296697d1b922ad45084a0bd WHIRLPOOL 57eded4d78362449f25bb314fa3107f2d20c4b42e689af42c7f4798ff342281d5ea41cfeebdd1b371bd8b5af64c947a1a41fdda5b5fefee0d76791795d4c5976 +AUX hydra-8.4-configure.patch 1217 SHA256 fa8819a0294ffdfdf5f76d673d5fde3f2ce1875122cd615d09a4e2b3c50410e5 SHA512 18d76ac35660955a07ba435bf00ceebcd62423fd08c97237f7aa3be4187532f454997008be5395b2d8ae9d66e10204f76905481034c3e5cb1761aec2b02e32c3 WHIRLPOOL 4719f9ddc703b16f16f7f2ccc665f47188dd72a09cf3293cb26d1f803f2cc1f7d505d519fad3b6873ea613b81f860c1bf5db862b84d4f66e98fe8133226ed2ea +DIST hydra-8.1.tar.gz 559031 SHA256 e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959 WHIRLPOOL b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c +DIST hydra-8.5.tar.gz 1193694 SHA256 69b69d16ce9499f3a941836b4d8a1c8a3ff9b905c921cc8c588a3af7f65a3b4b SHA512 67fd92bd5983a94314334471c526b71ca77dec6e359e55f4fb2fc78160e2065957b6c9af1ff694bcc5334893a8b5e0fe1b39d984248bde4e55dc2a9f9a8b1271 WHIRLPOOL a71e1cb94986ead4eb114f19738cc1e3ed7288220a79d67ef4e6d93bc5c59910ecee1207fd7a10da9300cba9c3b92d5c6f4cdc3bb1a30bde8db523d7d4cce998 +DIST hydra-8.6.tar.gz 1200238 SHA256 05a87eb018507b24afca970081f067e64441460319fb75ca1e64c4a1f322b80b SHA512 d5d70b5df54fbc556c6db9e9e44b869f29e54aca03dc3cc9e1777d310fcf604b9602ba08250c5bb0d009963dc0ca5c169e61d3f64d7ec2383760fc819d6b6c61 WHIRLPOOL 898f605d556dcb6efe4f4c4b3114c4a2c53dd6baef4956cbf413ef98074ce30b4153f05ff4f69103407fd1a753b2530074293f03d13e83e93c88891821b06ee2 +EBUILD hydra-8.1.ebuild 2233 SHA256 4fd20fdd2aa2787c2eb103b4c885213fcfc5f54b9635701e8f0d21266680493e SHA512 ec97e4046bba01f8bb5e42c2524e88ede9dbb92d92d13cf02218ccabb8cbf94372af4b55e87cb64c73b745138f16cd63b2fef552304289db6761d5f1568ebd3c WHIRLPOOL 3d9172c231d4d824b6211fc47613e31bfebea09bf9848c7e4fd82f8e97608b233701d8a6e0ccff769c2c8218a6d09179c2d632506f65d84c13a1732a720aa3a1 +EBUILD hydra-8.5.ebuild 2377 SHA256 f604451e27f7b71fc957b68c61d130c8015a86b37c1f16c8aa3d471bb3faeb6b SHA512 fa623c7e18cdf7db4c699d8ca56caf19b5da3c87f3e1711c3f47630ba441a695f466d71a439af40ffa455abdd74f95b583f97bca8182050c27b8f34a758fc817 WHIRLPOOL 868dcf89438f754b121cf205582fc0eeb46a116abefae595baef2d257c08f7650d8e20de92885b4d6ee417f9b8929e6015cfb382cd9d3a6ebb604eb924d7f534 +EBUILD hydra-8.6.ebuild 2376 SHA256 d99269750431ce5dc874ec357d57797738aa66a54bbe3f1598640b161567cd33 SHA512 4a8bfabd386b802a5e8dd425f91526bc2217111953460221eef39a09964554de2f5692c8a3018150b3a467274e6008d69dab8041b11664f00ab579d932c49c31 WHIRLPOOL 642a34511ad606332a4b95f3e3e94d465fecf99f0bd8093aa1b8769e7b3e579f01615236c2f317c67fbde208cf3d6d1d383b5b6bb9376100c74b84333f768200 +MISC ChangeLog 2620 SHA256 853a015db7de564aad93bed944684c81c305026cd478c2b1c142529e88fef259 SHA512 2f8087b24e6c3dc8365a6a5369a81f315365035ac6e996e76df299bdc393f40a15b417f08c9f31721e002d4286a1a4a08f2607dbdba8f95e10ed8d4f8914b2be WHIRLPOOL b3dfe949ee908af7556bb542f547d1a5b63850d32bcd686aa28062e8a0327e1f1fc6faf46b31b015bd97dc71a0e41d3460c7ce11e66c83ddcbae508d22edfce3 +MISC ChangeLog-2015 12577 SHA256 2168d253e7716ed146f28e413c2877a9f7d02fdf42fc072084b13caad913d167 SHA512 5c8bc0be1dc981ae4d56672a6b68dca5fc50d7c9ee88b30e94fb07fc53b2f7516b8b656ed4db66b5400ecede5acdc273fe876c37657fc6a02cb792d636fa8282 WHIRLPOOL dd59315ceb156fe19bfd6fd9bf7241c60285e8768e2936de6dceaeeda1ffe9d2c6b97687d26bc24ca79e2d6987717ae0585b83fdddf4a85715880eee5809a4fb +MISC metadata.xml 440 SHA256 a2fd22d7bb1c9f5bf2f0bc6c5100a831e6ae79f4cbd22439929c0ebc1ca30a43 SHA512 7ea011416c0de77c47fb7d8276cdcbefe0a11a9f9bb9b9a1d763f7f0c1bae705aea7db6252ba3284e3141c257216c845b8353c4a944c67ba3c8881467d827afa WHIRLPOOL b5c1dadbca7dc4a9a3b9eb9f55b10090f868af48f1b45fb70f47b44eead1849816f53f6456a1e1dcbc30f15984453d3fd0d28fb5e343a0811595ee53f671cd11 diff --git a/net-analyzer/hydra/files/hydra-8.0-configure.patch b/net-analyzer/hydra/files/hydra-8.0-configure.patch new file mode 100644 index 000000000000..3ab9989b6384 --- /dev/null +++ b/net-analyzer/hydra/files/hydra-8.0-configure.patch @@ -0,0 +1,44 @@ +--- a/configure ++++ b/configure +@@ -66,8 +66,6 @@ + MYSQL_IPATH="" + AFP_PATH="" + AFP_IPATH="" +-NCP_PATH="" +-NCP_IPATH="" + SVN_PATH="" + SVN_IPATH="" + APR_IPATH="" +@@ -508,32 +506,6 @@ + fi + + echo "Checking for NCP (libncp.so / nwcalls.h) ..." +-for i in $LIBDIRS ; do +- if [ "X" = "X$NCP_PATH" ]; then +- if [ -f "$i/libncp.so" -o -f "$i/libncp.dylib" -o -f "$i/libncp.a" ]; then +- NCP_PATH="$i" +- fi +- fi +- if [ "X" = "X$NCP_PATH" ]; then +- TMP_LIB=`/bin/ls $i/libncp.so.* 2> /dev/null | grep ncp.` +- if [ -n "$TMP_LIB" ]; then +- NCP_PATH="$i" +- fi +- fi +- if [ "X" = "X$NCP_PATH" ]; then +- TMP_LIB=`/bin/ls $i/libncp.dll* 2> /dev/null | grep ncp.` +- if [ -n "$TMP_LIB" ]; then +- NCP_PATH="$i" +- fi +- fi +-done +-for i in $INCDIRS ; do +- if [ "X" != "X$NCP_PATH" ]; then +- if [ -f "$i/ncp/nwcalls.h" ]; then +- NCP_IPATH="$i" +- fi +- fi +-done + if [ -n "$NCP_PATH" -a -n "$NCP_IPATH" ]; then + echo " ... found" + fi diff --git a/net-analyzer/hydra/files/hydra-8.4-configure.patch b/net-analyzer/hydra/files/hydra-8.4-configure.patch new file mode 100644 index 000000000000..ba99ff2acda4 --- /dev/null +++ b/net-analyzer/hydra/files/hydra-8.4-configure.patch @@ -0,0 +1,48 @@ +--- a/configure ++++ b/configure +@@ -46,8 +46,6 @@ + MYSQL_IPATH="" + AFP_PATH="" + AFP_IPATH="" +-NCP_PATH="" +-NCP_IPATH="" + SVN_PATH="" + SVN_IPATH="" + APR_IPATH="" +@@ -679,36 +677,6 @@ + fi + + echo "Checking for NCP (libncp.so / nwcalls.h) ..." +-for i in $LIBDIRS ; do +- if [ "X" = "X$NCP_PATH" ]; then +- if [ -f "$i/libncp.so" -o -f "$i/libncp.dylib" -o -f "$i/libncp.a" ]; then +- NCP_PATH="$i" +- fi +- fi +- if [ "X" = "X$NCP_PATH" ]; then +- TMP_LIB=`/bin/ls $i/libncp.so.* 2> /dev/null | grep ncp.` +- if [ -n "$TMP_LIB" ]; then +- NCP_PATH="$i" +- fi +- fi +- if [ "X" = "X$NCP_PATH" ]; then +- TMP_LIB=`/bin/ls $i/libncp.dll* 2> /dev/null | grep ncp.` +- if [ -n "$TMP_LIB" ]; then +- NCP_PATH="$i" +- fi +- fi +-done +-for i in $INCDIRS ; do +- if [ "X" != "X$NCP_PATH" ]; then +- if [ -f "$i/ncp/nwcalls.h" ]; then +- NCP_IPATH="$i" +- fi +- fi +-done +-if [ "X" != "X$DEBUG" ]; then +- echo DEBUG: NCP_PATH=$NCP_PATH/libncp +- echo DEBUG: NCP_IPATH=$NCP_IPATH/ncp/nwcalls.h +-fi + if [ -n "$NCP_PATH" -a -n "$NCP_IPATH" ]; then + echo " ... found" + fi diff --git a/net-analyzer/hydra/hydra-8.1.ebuild b/net-analyzer/hydra/hydra-8.1.ebuild new file mode 100644 index 000000000000..64a4453dc1f3 --- /dev/null +++ b/net-analyzer/hydra/hydra-8.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Advanced parallized login hacker" +HOMEPAGE="http://www.thc.org/thc-hydra/" +SRC_URI="http://freeworld.thc.org/releases/${P}.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 + sys-libs/ncurses + 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? ( virtual/mysql ) + ncp? ( net-fs/ncpfs ) + oracle? ( dev-db/oracle-instantclient-basic ) + pcre? ( dev-libs/libpcre ) + postgres? ( dev-db/postgresql ) + ssl? ( >=net-libs/libssh-0.4.0 ) + subversion? ( dev-vcs/subversion ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # None of the settings in Makefile.unix are useful to us + : > Makefile.unix + + sed -i \ + -e 's:|| echo.*$::' \ + -e '/\t-$(CC)/s:-::' \ + -e '/^OPTS/{s|=|+=|;s| -O3||}' \ + -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \ + Makefile.am || die + + epatch "${FILESDIR}"/${PN}-8.0-configure.patch +} + +src_configure() { + export OPTS="${CFLAGS}" + + if ! use subversion; then + sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1//;s/-DLIBSVN//' configure || die + fi + + if ! use mysql; then + sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die + fi + + # Linking against libtinfo might be enough here but pkg-config --libs tinfo + # would require a USE=tinfo flag and recent linkers should drop libcurses + # as needed + sed -i \ + -e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \ + configure || die + + # Note: despite the naming convention, the top level script is not an + # autoconf-based script. + export NCP_PATH=$(usex ncp /usr/$(get_libdir) '') + export NCP_IPATH=$(usex ncp /usr/include '') + sh configure \ + --prefix=/usr \ + --nostrip \ + $(use gtk && echo --disable-xhydra) \ + || die + + if use gtk ; then + cd hydra-gtk && \ + econf + fi +} + +src_compile() { + tc-export CC + emake XLIBPATHS='' + use gtk && emake -C hydra-gtk +} + +src_install() { + dobin hydra pw-inspector + use gtk && dobin hydra-gtk/src/xhydra + dodoc CHANGES README +} diff --git a/net-analyzer/hydra/hydra-8.5.ebuild b/net-analyzer/hydra/hydra-8.5.ebuild new file mode 100644 index 000000000000..70d970dfe574 --- /dev/null +++ b/net-analyzer/hydra/hydra-8.5.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="Advanced parallized login hacker" +HOMEPAGE="https://www.thc.org/thc-hydra/" +SRC_URI=" + https://github.com/vanhauser-thc/thc-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="firebird gtk idn libressl mysql ncp oracle pcre postgres ssl subversion" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-libs/ncurses:= + 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? ( virtual/mysql ) + ncp? ( net-fs/ncpfs ) + oracle? ( dev-db/oracle-instantclient-basic ) + pcre? ( dev-libs/libpcre ) + postgres? ( dev-db/postgresql:* ) + ssl? ( >=net-libs/libssh-0.4.0 ) + subversion? ( dev-vcs/subversion ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +PATCHES=( + "${FILESDIR}"/${PN}-8.4-configure.patch +) +S=${WORKDIR}/thc-${P} + +src_prepare() { + default + + # None of the settings in Makefile.unix are useful to us + : > Makefile.unix + + sed -i \ + -e 's:|| echo.*$::' \ + -e '/\t-$(CC)/s:-::' \ + -e '/^OPTS/{s|=|+=|;s| -O3||}' \ + -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \ + Makefile.am || die +} + +src_configure() { + export OPTS="${CFLAGS}" + + if ! use subversion; then + sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1//;s/-DLIBSVN//' configure || die + fi + + if ! use mysql; then + sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die + fi + + # Linking against libtinfo might be enough here but pkg-config --libs tinfo + # would require a USE=tinfo flag and recent linkers should drop libcurses + # as needed + sed -i \ + -e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \ + configure || die + + # Note: despite the naming convention, the top level script is not an + # autoconf-based script. + export NCP_PATH=$(usex ncp /usr/$(get_libdir) '') + export NCP_IPATH=$(usex ncp /usr/include '') + sh configure \ + --prefix=/usr \ + --nostrip \ + $(use gtk && echo --disable-xhydra) \ + || die + + if use gtk ; then + cd hydra-gtk && \ + econf + fi +} + +src_compile() { + tc-export CC + emake XLIBPATHS='' + use gtk && emake -C hydra-gtk +} + +src_install() { + dobin hydra pw-inspector + use gtk && dobin hydra-gtk/src/xhydra + dodoc CHANGES README +} diff --git a/net-analyzer/hydra/hydra-8.6.ebuild b/net-analyzer/hydra/hydra-8.6.ebuild new file mode 100644 index 000000000000..bed5fc36e987 --- /dev/null +++ b/net-analyzer/hydra/hydra-8.6.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="Advanced parallized login hacker" +HOMEPAGE="https://www.thc.org/thc-hydra/" +SRC_URI=" + https://github.com/vanhauser-thc/thc-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="firebird gtk idn libressl mysql ncp oracle pcre postgres ssl subversion" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sys-libs/ncurses:= + 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? ( virtual/mysql ) + ncp? ( net-fs/ncpfs ) + oracle? ( dev-db/oracle-instantclient-basic ) + pcre? ( dev-libs/libpcre ) + postgres? ( dev-db/postgresql:* ) + ssl? ( >=net-libs/libssh-0.4.0 ) + subversion? ( dev-vcs/subversion ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +PATCHES=( + "${FILESDIR}"/${PN}-8.4-configure.patch +) +S=${WORKDIR}/thc-${P} + +src_prepare() { + default + + # None of the settings in Makefile.unix are useful to us + : > Makefile.unix + + sed -i \ + -e 's:|| echo.*$::' \ + -e '/\t-$(CC)/s:-::' \ + -e '/^OPTS/{s|=|+=|;s| -O3||}' \ + -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \ + Makefile.am || die +} + +src_configure() { + export OPTS="${CFLAGS}" + + if ! use subversion; then + sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1//;s/-DLIBSVN//' configure || die + fi + + if ! use mysql; then + sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die + fi + + # Linking against libtinfo might be enough here but pkg-config --libs tinfo + # would require a USE=tinfo flag and recent linkers should drop libcurses + # as needed + sed -i \ + -e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \ + configure || die + + # Note: despite the naming convention, the top level script is not an + # autoconf-based script. + export NCP_PATH=$(usex ncp /usr/$(get_libdir) '') + export NCP_IPATH=$(usex ncp /usr/include '') + sh configure \ + --prefix=/usr \ + --nostrip \ + $(use gtk && echo --disable-xhydra) \ + || die + + if use gtk ; then + cd hydra-gtk && \ + econf + fi +} + +src_compile() { + tc-export CC + emake XLIBPATHS='' + use gtk && emake -C hydra-gtk +} + +src_install() { + dobin hydra pw-inspector + use gtk && dobin hydra-gtk/src/xhydra + dodoc CHANGES README +} diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml new file mode 100644 index 000000000000..40f7b4bb57bc --- /dev/null +++ b/net-analyzer/hydra/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> +<email>netmon@gentoo.org</email> +<name>Gentoo network monitoring and analysis project</name> +</maintainer> +<longdescription>Advanced parallized login hacker</longdescription> +<use><flag name="ncp">NCP protocol (NetWare) support through <pkg>net-fs/ncpfs</pkg></flag></use> +</pkgmetadata> |