[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2024-05-15 Thread Mike Gilbert
commit: f1087dec93f74fa151e00ef3c117dc3f1456ac27
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed May 15 20:24:22 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed May 15 20:24:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1087dec

net-analyzer/hydra: drop 9.5-r1

Signed-off-by: Mike Gilbert  gentoo.org>

 net-analyzer/hydra/hydra-9.5-r1.ebuild | 128 -
 1 file changed, 128 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.5-r1.ebuild 
b/net-analyzer/hydra/hydra-9.5-r1.ebuild
deleted file mode 100644
index daca94b7c580..
--- a/net-analyzer/hydra/hydra-9.5-r1.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo toolchain-funcs
-
-DESCRIPTION="Parallelized network login hacker"
-HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
-SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}"/thc-${P}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
-
-RDEPEND="
-   dev-libs/openssl:=
-   gtk? (
-   >=app-accessibility/at-spi2-core-2.46.0
-   dev-libs/glib:2
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:2
-   )
-   firebird? ( dev-db/firebird )
-   gcrypt? ( dev-libs/libgcrypt )
-   idn? ( net-dns/libidn:= )
-   memcached? ( dev-libs/libmemcached[sasl] )
-   mongodb? ( dev-libs/mongo-c-driver )
-   mysql? ( dev-db/mysql-connector-c:= )
-   ncurses? ( sys-libs/ncurses:= )
-   oracle? ( dev-db/oracle-instantclient[sdk] )
-   pcre? ( dev-libs/libpcre2 )
-   postgres? ( dev-db/postgresql:* )
-   rdp? ( =net-libs/libssh-0.4.0 )
-   samba? ( net-fs/samba )
-   subversion? ( dev-vcs/subversion )
-   zlib? ( sys-libs/zlib )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-9.5-no-clobber-fortify-source.patch
-)
-
-src_prepare() {
-   default
-
-   # None of the settings in Makefile.unix are useful to us
-   mv Makefile.unix{,.gentoo_unused} || die
-   touch Makefile.unix || die
-
-   sed -i \
-   -e 's:|| echo.*$::' \
-   -e '/\t-$(CC)/s:-::' \
-   -e '/^OPTS/{s|=|+=|;s| -O3||}' \
-   -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
-   Makefile.am || die
-
-   # Needed to get GTK+ 3 change in configure.in (.in got updated, but
-   # configure not regen'd.)
-   #cd hydra-gtk || die
-   #sed -i -e 's:AC_INIT(configure.in):AC_INIT(configure.ac):' 
configure.in || die
-   #eautoreconf
-}
-
-src_configure() {
-   # Note: the top level configure script is not autoconf-based
-   tc-export CC PKG_CONFIG
-
-   export OPTS="${CFLAGS}"
-
-   hydra_sed() {
-   if use ${1}; then
-   einfo "Enabling ${1}"
-   if [[ -n "${3}" ]]; then
-   sed -i 's#'"${2}"'#'"${3}"'#' configure || die
-   fi
-   else
-   einfo "Disabling ${1}"
-   sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die
-   fi
-   }
-
-   hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD'
-   hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config 
--libs )' '-DHAVE_GCRYPT'
-   hydra_sed idn '-lidn' '$( "${PKG_CONFIG}" --libs libidn )' '-DLIBIDN 
-DHAVE_PR29_H'
-   hydra_sed libssh '-lssh' '$( "${PKG_CONFIG}" --libs libssh )' '-DLIBSSH'
-   hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}" --libs 
libmemcached )' '-DLIBMCACHED'
-   hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}" --libs 
libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON'
-   hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config 
--libs )' '-DLIBMYSQLCLIENT'
-   hydra_sed ncurses '-lcurses' '$( "${PKG_CONFIG}" --libs ncurses )' 
'-DLIBNCURSES'
-   hydra_sed pcre '-lpcre2-8' '$( "${PKG_CONFIG}" --libs libpcre2-8 )' 
'-DHAVE_PCRE'
-   hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' 
'-DLIBPOSTGRES'
-   hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE'
-   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP'
-   # TODO: https://bugs.gentoo.org/686148
-   #hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'$( "${PKG_CONFIG}" --libs libsvn_client )' '-DLIBSVN'
-   hydra_sed samba '-lsmbclient' '$( "${PKG_CONFIG}" --libs smbclient )' 
'-DLIBSMBCLIENT'
-   hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'' '-DLIBSVN'
-   hydra_sed zlib '-lz' '$( "${PKG_CONFIG}" --libs zlib )' '-DHAVE_ZLIB'
-
-   edo 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/

2024-03-23 Thread Arthur Zamarin
commit: 3b305d92ffdaab6b7703010911dccff204b67571
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Mar 19 19:20:31 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 23 06:05:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b305d92

net-analyzer/hydra: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35834
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../hydra/files/hydra-9.4-implicit-func-decl.patch | 33 --
 1 file changed, 33 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch 
b/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
deleted file mode 100644
index bf4dd61e33ce..
--- a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/vanhauser-thc/thc-hydra/pull/786
-
-From 613bd02264dcc989eeeb77b83603d4c2f48f0bbc Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Fri, 9 Sep 2022 04:32:05 +0100
-Subject: [PATCH] Makefile.am: add -D_GNU_SOURCE for strcasestr
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-strcasestr is not a standard function and per
-the man page, needs -D_GNU_SOURCE to be visible.
-
-Fixes a build error:
-```
-hydra-rtsp.c:20:7: error: implicit declaration of function ‘strcasestr’; did 
you mean ‘strcasecmp’? [-Werror=implicit-function-declaration]
-   20 |   if (strcasestr(s, "401 Unauthorized") != NULL) {
-  |   ^~
-  |   strcasecmp
-```
-
-Signed-off-by: Sam James 
 a/Makefile.am
-+++ b/Makefile.am
-@@ -5,6 +5,7 @@ WARN_CLANG=-Wformat-nonliteral -Wstrncat-size 
-Wformat-security -Wsign-conversio
- WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral 
-Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 
-Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion 
-Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-fno-common -Wcast-align
- CFLAGS ?= -g
- OPTS=-I. -O3 $(CFLAGS) -fcommon
-+CPPFLAGS += -D_GNU_SOURCE
- # -Wall -g -pedantic
- LIBS=-lm
- DESTDIR ?=
-



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2024-03-17 Thread Mike Gilbert
commit: c2081661cb30896789e361f9eaa8085e4adf30c2
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 16 16:50:17 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Mar 17 16:34:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2081661

net-analyzer/hydra: depend on slotted freerdp

Bug: https://bugs.gentoo.org/925662
Signed-off-by: Mike Gilbert  gentoo.org>

 net-analyzer/hydra/{hydra-9.5.ebuild => hydra-9.5-r1.ebuild}  | 4 ++--
 net-analyzer/hydra/{hydra-9.5.ebuild => hydra-9.5-r10.ebuild} | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.5.ebuild 
b/net-analyzer/hydra/hydra-9.5-r1.ebuild
similarity index 98%
copy from net-analyzer/hydra/hydra-9.5.ebuild
copy to net-analyzer/hydra/hydra-9.5-r1.ebuild
index da02a32c17e6..daca94b7c580 100644
--- a/net-analyzer/hydra/hydra-9.5.ebuild
+++ b/net-analyzer/hydra/hydra-9.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -33,7 +33,7 @@ RDEPEND="
oracle? ( dev-db/oracle-instantclient[sdk] )
pcre? ( dev-libs/libpcre2 )
postgres? ( dev-db/postgresql:* )
-   rdp? ( net-misc/freerdp )
+   rdp? ( =net-libs/libssh-0.4.0 )
samba? ( net-fs/samba )
subversion? ( dev-vcs/subversion )

diff --git a/net-analyzer/hydra/hydra-9.5.ebuild 
b/net-analyzer/hydra/hydra-9.5-r10.ebuild
similarity index 97%
rename from net-analyzer/hydra/hydra-9.5.ebuild
rename to net-analyzer/hydra/hydra-9.5-r10.ebuild
index da02a32c17e6..c24df6641725 100644
--- a/net-analyzer/hydra/hydra-9.5.ebuild
+++ b/net-analyzer/hydra/hydra-9.5-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ S="${WORKDIR}"/thc-${P}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
 
 RDEPEND="
@@ -33,7 +33,7 @@ RDEPEND="
oracle? ( dev-db/oracle-instantclient[sdk] )
pcre? ( dev-libs/libpcre2 )
postgres? ( dev-db/postgresql:* )
-   rdp? ( net-misc/freerdp )
+   rdp? ( net-misc/freerdp:2= )
libssh? ( >=net-libs/libssh-0.4.0 )
samba? ( net-fs/samba )
subversion? ( dev-vcs/subversion )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2024-03-17 Thread Mike Gilbert
commit: 29886124440e865324fdd3eb38fa4762fa8369a8
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 16 16:49:30 2024 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Mar 17 16:34:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29886124

net-analyzer/hydra: drop 9.4

Signed-off-by: Mike Gilbert  gentoo.org>

 net-analyzer/hydra/Manifest |   1 -
 net-analyzer/hydra/hydra-9.4.ebuild | 127 
 2 files changed, 128 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index df629c2399dc..b72f822f43c3 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,2 +1 @@
-DIST hydra-9.4.tar.gz 833465 BLAKE2B 
2ba7f7e4a70c4f6c9dc4ec94d652ab7534cb0fb17b88412dfcf1e651d9f31af573ab9acd2d9cb698da6462f4744f53dfb8f87a437c32bebfa4f9a04f2f9136c0
 SHA512 
de5a1e73673fdc2f193cfb1aeec337c9d8faad52b06524850f352a797a4a5ef08cba8fc51da96fed1db01d141127e58c2aa874027f51c40a94a474de778d5241
 DIST hydra-9.5.tar.gz 833798 BLAKE2B 
848c5b34719c2db98b3a3bee1c47e0b2ebeea668f5c387f015c7079f800cf0607a8cb5accba25ef2e253deb44422d51cf6e012c313496942a47468e0503000e8
 SHA512 
a8fe42d175d184cdb82072f3a963b956d767fa908aaf1cbbc0746b6a67cfd37f8b5e3ecf9be82085a7f6c1ef57e91a8bf05bfeb41e96708899b6c8d7f05eee06

diff --git a/net-analyzer/hydra/hydra-9.4.ebuild 
b/net-analyzer/hydra/hydra-9.4.ebuild
deleted file mode 100644
index 2eb786561e35..
--- a/net-analyzer/hydra/hydra-9.4.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo toolchain-funcs
-
-DESCRIPTION="Parallelized network login hacker"
-HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
-SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}"/thc-${P}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
-
-RDEPEND="
-   dev-libs/openssl:=
-   gtk? (
-   dev-libs/atk
-   dev-libs/glib:2
-   x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:2
-   )
-   firebird? ( dev-db/firebird )
-   gcrypt? ( dev-libs/libgcrypt )
-   idn? ( net-dns/libidn:0= )
-   memcached? ( dev-libs/libmemcached[sasl] )
-   mongodb? ( dev-libs/mongo-c-driver )
-   mysql? ( dev-db/mysql-connector-c:0= )
-   ncurses? ( sys-libs/ncurses:= )
-   oracle? ( dev-db/oracle-instantclient[sdk] )
-   pcre? ( dev-libs/libpcre2 )
-   postgres? ( dev-db/postgresql:* )
-   rdp? ( net-misc/freerdp )
-   libssh? ( >=net-libs/libssh-0.4.0 )
-   samba? ( net-fs/samba )
-   subversion? ( dev-vcs/subversion )
-   zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-9.4-implicit-func-decl.patch
-)
-
-src_prepare() {
-   default
-
-   # None of the settings in Makefile.unix are useful to us
-   mv Makefile.unix{,.gentoo_unused} || die
-   touch Makefile.unix || die
-
-   sed -i \
-   -e 's:|| echo.*$::' \
-   -e '/\t-$(CC)/s:-::' \
-   -e '/^OPTS/{s|=|+=|;s| -O3||}' \
-   -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
-   Makefile.am || die
-
-   # Needed to get GTK+ 3 change in configure.in (.in got updated, but
-   # configure not regen'd.)
-   #cd hydra-gtk || die
-   #sed -i -e 's:AC_INIT(configure.in):AC_INIT(configure.ac):' 
configure.in || die
-   #eautoreconf
-}
-
-src_configure() {
-   # Note: the top level configure script is not autoconf-based
-   tc-export CC PKG_CONFIG
-
-   export OPTS="${CFLAGS}"
-
-   hydra_sed() {
-   if use ${1}; then
-   einfo "Enabling ${1}"
-   if [[ -n "${3}" ]]; then
-   sed -i 's#'"${2}"'#'"${3}"'#' configure || die
-   fi
-   else
-   einfo "Disabling ${1}"
-   sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die
-   fi
-   }
-
-   hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD'
-   hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config 
--libs )' '-DHAVE_GCRYPT'
-   hydra_sed idn '-lidn' '$( "${PKG_CONFIG}" --libs libidn )' '-DLIBIDN 
-DHAVE_PR29_H'
-   hydra_sed libssh '-lssh' '$( "${PKG_CONFIG}" --libs libssh )' '-DLIBSSH'
-   hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}" --libs 
libmemcached )' '-DLIBMCACHED'
-   hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}" --libs 
libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON'
-   hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config 
--libs )' '-DLIBMYSQLCLIENT'
-   hydra_sed ncurses '-lcurses' '$( 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2023-11-04 Thread Arthur Zamarin
commit: 378d3e82302f116a4cd806c058190c5ed3d956c5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov  4 16:11:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov  4 16:11:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378d3e82

net-analyzer/hydra: Stabilize 9.5 amd64, #916845

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/hydra/hydra-9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.5.ebuild 
b/net-analyzer/hydra/hydra-9.5.ebuild
index 0b5bbff3fe3a..da02a32c17e6 100644
--- a/net-analyzer/hydra/hydra-9.5.ebuild
+++ b/net-analyzer/hydra/hydra-9.5.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/thc-${P}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2023-11-04 Thread Sam James
commit: 870b8a97a5080775c01024e5111bdfd7530b3a28
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  4 12:23:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  4 12:23:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870b8a97

net-analyzer/hydra: Stabilize 9.5 x86, #916845

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.5.ebuild 
b/net-analyzer/hydra/hydra-9.5.ebuild
index 12201fa9828f..0b5bbff3fe3a 100644
--- a/net-analyzer/hydra/hydra-9.5.ebuild
+++ b/net-analyzer/hydra/hydra-9.5.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/thc-${P}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2023-10-04 Thread Sam James
commit: 72fa57a7886b0b295dea643dd1dda2d7ee1ae77e
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct  4 16:46:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct  4 16:47:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fa57a7

net-analyzer/hydra: add 9.5

Closes: https://bugs.gentoo.org/895530
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/Manifest|   1 +
 .../hydra-9.5-no-clobber-fortify-source.patch  |  14 +++
 net-analyzer/hydra/hydra-9.5.ebuild| 128 +
 3 files changed, 143 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 64c4c34ffc82..df629c2399dc 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1 +1,2 @@
 DIST hydra-9.4.tar.gz 833465 BLAKE2B 
2ba7f7e4a70c4f6c9dc4ec94d652ab7534cb0fb17b88412dfcf1e651d9f31af573ab9acd2d9cb698da6462f4744f53dfb8f87a437c32bebfa4f9a04f2f9136c0
 SHA512 
de5a1e73673fdc2f193cfb1aeec337c9d8faad52b06524850f352a797a4a5ef08cba8fc51da96fed1db01d141127e58c2aa874027f51c40a94a474de778d5241
+DIST hydra-9.5.tar.gz 833798 BLAKE2B 
848c5b34719c2db98b3a3bee1c47e0b2ebeea668f5c387f015c7079f800cf0607a8cb5accba25ef2e253deb44422d51cf6e012c313496942a47468e0503000e8
 SHA512 
a8fe42d175d184cdb82072f3a963b956d767fa908aaf1cbbc0746b6a67cfd37f8b5e3ecf9be82085a7f6c1ef57e91a8bf05bfeb41e96708899b6c8d7f05eee06

diff --git a/net-analyzer/hydra/files/hydra-9.5-no-clobber-fortify-source.patch 
b/net-analyzer/hydra/files/hydra-9.5-no-clobber-fortify-source.patch
new file mode 100644
index ..281e5b63c9ff
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.5-no-clobber-fortify-source.patch
@@ -0,0 +1,14 @@
+Don't clobber toolchain defaults.
+
+https://bugs.gentoo.org/895530
+--- a/configure
 b/configure
+@@ -1381,7 +1381,7 @@ fi
+ echo "Checking for secure compile option support in $CC ..."
+ GCCSEC="no"
+ LDSEC="no"
+-GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2"
++GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4"
+ echo '#include ' > $TMPC.c
+ echo 'int main() { printf(""); return 0; }' >> $TMPC.c
+ $CC -pie -fPIE $GCCSEPOPT -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err

diff --git a/net-analyzer/hydra/hydra-9.5.ebuild 
b/net-analyzer/hydra/hydra-9.5.ebuild
new file mode 100644
index ..12201fa9828f
--- /dev/null
+++ b/net-analyzer/hydra/hydra-9.5.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+DESCRIPTION="Parallelized network login hacker"
+HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"/thc-${P}
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
+
+RDEPEND="
+   dev-libs/openssl:=
+   gtk? (
+   >=app-accessibility/at-spi2-core-2.46.0
+   dev-libs/glib:2
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:2
+   )
+   firebird? ( dev-db/firebird )
+   gcrypt? ( dev-libs/libgcrypt )
+   idn? ( net-dns/libidn:= )
+   memcached? ( dev-libs/libmemcached[sasl] )
+   mongodb? ( dev-libs/mongo-c-driver )
+   mysql? ( dev-db/mysql-connector-c:= )
+   ncurses? ( sys-libs/ncurses:= )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
+   pcre? ( dev-libs/libpcre2 )
+   postgres? ( dev-db/postgresql:* )
+   rdp? ( net-misc/freerdp )
+   libssh? ( >=net-libs/libssh-0.4.0 )
+   samba? ( net-fs/samba )
+   subversion? ( dev-vcs/subversion )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-9.5-no-clobber-fortify-source.patch
+)
+
+src_prepare() {
+   default
+
+   # None of the settings in Makefile.unix are useful to us
+   mv Makefile.unix{,.gentoo_unused} || die
+   touch Makefile.unix || die
+
+   sed -i \
+   -e 's:|| echo.*$::' \
+   -e '/\t-$(CC)/s:-::' \
+   -e '/^OPTS/{s|=|+=|;s| -O3||}' \
+   -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
+   Makefile.am || die
+
+   # Needed to get GTK+ 3 change in configure.in (.in got updated, but
+   # configure not regen'd.)
+   #cd hydra-gtk || die
+   #sed -i -e 's:AC_INIT(configure.in):AC_INIT(configure.ac):' 
configure.in || die
+   #eautoreconf
+}
+
+src_configure() {
+   # Note: the top level configure script is not autoconf-based
+   tc-export CC PKG_CONFIG
+
+   export OPTS="${CFLAGS}"
+
+   hydra_sed() {
+   if use ${1}; then
+   einfo "Enabling ${1}"
+   if [[ -n "${3}" ]]; then
+

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2022-12-15 Thread Sam James
commit: aa64fc352e750fd453df2921c69867750b4bf2f2
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 07:39:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 07:39:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa64fc35

net-analyzer/hydra: Stabilize 9.4 amd64, #886229

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.4.ebuild 
b/net-analyzer/hydra/hydra-9.4.ebuild
index 156d8dd35936..e064f23109b7 100644
--- a/net-analyzer/hydra/hydra-9.4.ebuild
+++ b/net-analyzer/hydra/hydra-9.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/thc-${P}
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/

2022-09-24 Thread Sam James
commit: 83eeb745e14a21cf045994a56cf70f66d1945b25
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Sep 14 06:37:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 01:27:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83eeb745

net-analyzer/hydra: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27248
Signed-off-by: Sam James  gentoo.org>

 .../files/hydra-999-respect-cflags-more.patch  | 31 --
 1 file changed, 31 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch 
b/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch
deleted file mode 100644
index 0fe5753ec8af..
--- a/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Don't inject hardening CFLAGS. We already have these by default in Gentoo.
 a/configure
-+++ b/configure
-@@ -1380,27 +1380,6 @@ if [ -n "$CRYPTO_PATH" ]; then
-   echo "  ... RSA_generate_key()$RSA found"
- fi
-
--echo "Checking for secure compile option support in $CC ..."
--GCCSEC="no"
--LDSEC="no"
--GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2"
--echo '#include ' > $TMPC.c
--echo 'int main() { printf(""); return 0; }' >> $TMPC.c
--$CC -pie -fPIE $GCCSEPOPT -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err
--test -x $TMPC && GCCSEC="yes"
--grep -q fPI $TMPC.c.err || GCCSECOPT="-pie -fPIE $GCCSECOPT"
--rm -f "$TMPC"
--$CC $GCCSECOPT -Wl,-z,now -Wl,-z,relro -o $TMPC $TMPC.c > /dev/null 2> 
$TMPC.c.err
--test -x $TMPC && { LDSEC="yes" ; GCCSECOPT="$GCCSECOPT -Wl,-z,now 
-Wl,-z,relro" ; }
--rm -f $TMPC $TMPC.c $TMPC.c.err
--echo "  Compiling... $GCCSEC"
--echo "  Linking... $LDSEC"
--
--echo "Checking for --allow-multiple-definition linker option ... $WALLOW"
--if [ "$WALLOW" = "yes" ]; then
--  GCCSECOPT="$GCCSECOPT -Wl,--allow-multiple-definition"
--fi
--
- echo
- XDEFINES=""
- XLIBS=""
\ No newline at end of file



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/, net-analyzer/hydra/

2022-09-08 Thread Sam James
commit: 4c9c2bb1098e1146d681b1f807163f3c42ffe93a
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  9 03:35:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  9 03:35:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9c2bb1

net-analyzer/hydra: add 9.4, drop 999

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/Manifest|  1 +
 .../hydra/files/hydra-9.4-implicit-func-decl.patch | 33 +++
 .../{hydra-999.ebuild => hydra-9.4.ebuild} | 38 +-
 3 files changed, 56 insertions(+), 16 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index b3c28ec91261..62f2f9a362a3 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,4 @@
 DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2
 DIST hydra-9.2.tar.gz 614176 BLAKE2B 
102c744fbdd3702c624b1c8339178883b689db093d9f1c66d8e04816327eb8095f3e3133f889b2a6ee6dcabb9e5af0c71ec8470731b4b174021fbd79741d05e7
 SHA512 
ee8ecd854b61ac9d708098c8a0d9a128d8b80b38db1a2ba8eb06de6fbbc6865135d994620ade8e3742fb993899274ed9d8fd0e95bed7a9fbeb1ca9e182540322
 DIST hydra-9.3.tar.gz 829856 BLAKE2B 
5ae1ab77f64d2bc17bd8389acf8a47201d84455a82f5ae28ab740594571a13ab145f5981efdfb09ddab3d6cc443e171e4664bff08c1a6b2f08169dea4f87ba54
 SHA512 
06d2ed61492c76d16ff3b2fbbde3938f79d6038c979a2af949f9b4d116a1506943e0a3a246da4d1bc8848cf440097e6175962e3fdf3e7644dd36ad7c2f6b2ce4
+DIST hydra-9.4.tar.gz 833465 BLAKE2B 
2ba7f7e4a70c4f6c9dc4ec94d652ab7534cb0fb17b88412dfcf1e651d9f31af573ab9acd2d9cb698da6462f4744f53dfb8f87a437c32bebfa4f9a04f2f9136c0
 SHA512 
de5a1e73673fdc2f193cfb1aeec337c9d8faad52b06524850f352a797a4a5ef08cba8fc51da96fed1db01d141127e58c2aa874027f51c40a94a474de778d5241

diff --git a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch 
b/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
new file mode 100644
index ..bf4dd61e33ce
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
@@ -0,0 +1,33 @@
+https://github.com/vanhauser-thc/thc-hydra/pull/786
+
+From 613bd02264dcc989eeeb77b83603d4c2f48f0bbc Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 9 Sep 2022 04:32:05 +0100
+Subject: [PATCH] Makefile.am: add -D_GNU_SOURCE for strcasestr
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+strcasestr is not a standard function and per
+the man page, needs -D_GNU_SOURCE to be visible.
+
+Fixes a build error:
+```
+hydra-rtsp.c:20:7: error: implicit declaration of function ‘strcasestr’; did 
you mean ‘strcasecmp’? [-Werror=implicit-function-declaration]
+   20 |   if (strcasestr(s, "401 Unauthorized") != NULL) {
+  |   ^~
+  |   strcasecmp
+```
+
+Signed-off-by: Sam James 
+--- a/Makefile.am
 b/Makefile.am
+@@ -5,6 +5,7 @@ WARN_CLANG=-Wformat-nonliteral -Wstrncat-size 
-Wformat-security -Wsign-conversio
+ WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral 
-Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 
-Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion 
-Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-fno-common -Wcast-align
+ CFLAGS ?= -g
+ OPTS=-I. -O3 $(CFLAGS) -fcommon
++CPPFLAGS += -D_GNU_SOURCE
+ # -Wall -g -pedantic
+ LIBS=-lm
+ DESTDIR ?=
+

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-9.4.ebuild
similarity index 76%
rename from net-analyzer/hydra/hydra-999.ebuild
rename to net-analyzer/hydra/hydra-9.4.ebuild
index 1e7e5e715482..156d8dd35936 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-9.4.ebuild
@@ -1,22 +1,22 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit git-r3 toolchain-funcs
+inherit edo toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
-EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"/thc-${P}
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="
-   debug firebird gcrypt gtk idn memcached mongodb mysql ncurses
-   oracle pcre postgres rdp libssh subversion zlib
-"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug firebird gcrypt gtk idn memcached mongodb mysql ncurses oracle 
pcre postgres rdp libssh samba subversion zlib"
 
 RDEPEND="
+   dev-libs/openssl:=
gtk? (
dev-libs/atk
dev-libs/glib:2
@@ -26,24 +26,23 @@ RDEPEND="
firebird? ( dev-db/firebird 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2022-04-12 Thread Sam James
commit: 5e7beb72164015bed393c8edef78790ef8f36533
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 04:55:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 04:55:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7beb72

net-analyzer/hydra: drop autotools.eclass

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.3-r1.ebuild 
b/net-analyzer/hydra/hydra-9.3-r1.ebuild
index d149fdce2dde..5ce501996e27 100644
--- a/net-analyzer/hydra/hydra-9.3-r1.ebuild
+++ b/net-analyzer/hydra/hydra-9.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2022-04-12 Thread Sam James
commit: 00d854ad87a75f20d241173633ba730a27736ec4
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 04:54:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 04:55:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d854ad

net-analyzer/hydra: GTK 3 port is broken

It doesn't seem to actually build against 3, configure wasn't regenerated
properly.

Bug: https://bugs.gentoo.org/838031
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/{hydra-9.3.ebuild => hydra-9.3-r1.ebuild} | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.3.ebuild 
b/net-analyzer/hydra/hydra-9.3-r1.ebuild
similarity index 93%
rename from net-analyzer/hydra/hydra-9.3.ebuild
rename to net-analyzer/hydra/hydra-9.3-r1.ebuild
index aa7d807e29b8..d149fdce2dde 100644
--- a/net-analyzer/hydra/hydra-9.3.ebuild
+++ b/net-analyzer/hydra/hydra-9.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
@@ -21,7 +21,7 @@ RDEPEND="
dev-libs/atk
dev-libs/glib:2
x11-libs/gdk-pixbuf:2
-   x11-libs/gtk+:3
+   x11-libs/gtk+:2
)
firebird? ( dev-db/firebird )
gcrypt? ( dev-libs/libgcrypt )
@@ -58,6 +58,12 @@ src_prepare() {
-e '/^OPTS/{s|=|+=|;s| -O3||}' \
-e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
Makefile.am || die
+
+   # Needed to get GTK+ 3 change in configure.in (.in got updated, but
+   # configure not regen'd.)
+   #cd hydra-gtk || die
+   #sed -i -e 's:AC_INIT(configure.in):AC_INIT(configure.ac):' 
configure.in || die
+   #eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/, net-analyzer/hydra/

2022-04-12 Thread Sam James
commit: 1b6d55530908535b7439045af4ea35a096ee4a95
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 13 01:39:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 13 01:39:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6d5553

net-analyzer/hydra: add 9.3

Closes: https://bugs.gentoo.org/805533
Closes: https://bugs.gentoo.org/838031
Closes: https://bugs.gentoo.org/811798
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/Manifest|   1 +
 net-analyzer/hydra/files/hydra-9.3-pcre2.patch | 113 +++
 net-analyzer/hydra/hydra-9.3.ebuild| 121 +
 3 files changed, 235 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index f12f1ce825e8..b3c28ec91261 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,2 +1,3 @@
 DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2
 DIST hydra-9.2.tar.gz 614176 BLAKE2B 
102c744fbdd3702c624b1c8339178883b689db093d9f1c66d8e04816327eb8095f3e3133f889b2a6ee6dcabb9e5af0c71ec8470731b4b174021fbd79741d05e7
 SHA512 
ee8ecd854b61ac9d708098c8a0d9a128d8b80b38db1a2ba8eb06de6fbbc6865135d994620ade8e3742fb993899274ed9d8fd0e95bed7a9fbeb1ca9e182540322
+DIST hydra-9.3.tar.gz 829856 BLAKE2B 
5ae1ab77f64d2bc17bd8389acf8a47201d84455a82f5ae28ab740594571a13ab145f5981efdfb09ddab3d6cc443e171e4664bff08c1a6b2f08169dea4f87ba54
 SHA512 
06d2ed61492c76d16ff3b2fbbde3938f79d6038c979a2af949f9b4d116a1506943e0a3a246da4d1bc8848cf440097e6175962e3fdf3e7644dd36ad7c2f6b2ce4

diff --git a/net-analyzer/hydra/files/hydra-9.3-pcre2.patch 
b/net-analyzer/hydra/files/hydra-9.3-pcre2.patch
new file mode 100644
index ..bb12936254bb
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.3-pcre2.patch
@@ -0,0 +1,113 @@
+https://github.com/vanhauser-thc/thc-hydra/commit/c82e5d51c5595374e6b7801bfc84c26a497d8989.patch
+https://bugs.gentoo.org/838031
+
+From c82e5d51c5595374e6b7801bfc84c26a497d8989 Mon Sep 17 00:00:00 2001
+From: vanhauser-thc 
+Date: Tue, 1 Mar 2022 14:56:05 +0100
+Subject: [PATCH] switch to pcre2
+
+--- a/configure
 b/configure
+@@ -380,21 +380,21 @@ if [ "X" = "X$CURSES_PATH" -o "X" = "X$CURSES_IPATH" ]; 
then
+ CURSES_IPATH=""
+ fi
+ 
+-echo "Checking for pcre (libpcre/pcre.h) ..."
++echo "Checking for pcre2 (libpcre/pcre.h) ..."
+ for i in $LIBDIRS ; do
+ if [ "X" = "X$PCRE_PATH" ]; then
+-if [ -f "$i/libpcre.so" -o -f "$i/libpcre.dylib" -o -f "$i/libpcre.a" 
  ]; then
++if [ -f "$i/libpcre2-8.so" -o -f "$i/libpcre2-8.dylib" -o -f 
"$i/libpcre2-8.a"   ]; then
+ PCRE_PATH="$i"
+ fi
+ fi
+ if [ "X" = "X$PCRE_PATH" ]; then
+-TMP_LIB=`/bin/ls $i/libpcre.so* 2> /dev/null | grep libpcre.`
++TMP_LIB=`/bin/ls $i/libpcre2*.so* 2> /dev/null | grep libpcre.`
+ if [ -n "$TMP_LIB" ]; then
+   PCRE_PATH="$i"
+ fi
+ fi
+ if [ "X" = "X$PCRE_PATH" ]; then
+-TMP_LIB=`/bin/ls $i/libpcre.dll* 2> /dev/null | grep libpcre.`
++TMP_LIB=`/bin/ls $i/libpcre2*.dll* 2> /dev/null | grep libpcre.`
+ if [ -n "$TMP_LIB" ]; then
+   PCRE_PATH="$i"
+ fi
+@@ -402,20 +402,20 @@ for i in $LIBDIRS ; do
+ done
+ for i in $INCDIRS ; do
+ if [ "X" != "X$PCRE_PATH" ]; then
+-if [ -f "$i/pcre.h" ]; then
++if [ -f "$i/pcre2.h" ]; then
+ PCRE_IPATH="$i"
+ fi
+ fi
+ done
+ if [ "X" != "X$DEBUG" ]; then
+echo DEBUG: PCRE_PATH=$PCRE_PATH/libpcre
+-   echo DEBUG: PCRE_IPATH=$PCRE_IPATH/pcre.h
++   echo DEBUG: PCRE_IPATH=$PCRE_IPATH/pcre2.h
+ fi
+ if [ -n "$PCRE_PATH" -a -n "$PCRE_IPATH" ]; then
+-echo "   ... found"
++echo "... found"
+ fi
+ if [ "X" = "X$PCRE_PATH" -o "X" = "X$PCRE_IPATH" ]; then
+-echo "   ... NOT found, server response 
checks will be less reliable"
++echo "... NOT found, server response 
checks will be less reliable"
+ PCRE_PATH=""
+ PCRE_IPATH=""
+ fi
+@@ -1649,7 +1649,7 @@ if [ -n "$IDN_PATH" ]; then
+ XLIBS="$XLIBS -lidn"
+ fi
+ if [ -n "$PCRE_PATH" ]; then
+-XLIBS="$XLIBS -lpcre"
++XLIBS="$XLIBS -lpcre2-8"
+ fi
+ if [ -n "$MYSQL_PATH" ]; then
+ XLIBS="$XLIBS -lmysqlclient"
+--- a/hydra-mod.c
 b/hydra-mod.c
+@@ -7,7 +7,8 @@
+ #include 
+ #endif
+ #ifdef HAVE_PCRE
+-#include 
++#define PCRE2_CODE_UNIT_WIDTH 8
++#include 
+ #endif
+ 
+ #define MAX_CONNECT_RETRY 1
+@@ -1291,19 +1292,23 @@ void hydra_set_srcport(int32_t port) { src_port = 
port; }
+ 
+ #ifdef HAVE_PCRE
+ int32_t hydra_string_match(char *str, const char 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2022-01-15 Thread Sam James
commit: 4772cb0ee11215d40798f0fae4fb67fe1c835703
Author: Marco Genasci  gmail  com>
AuthorDate: Fri Jan  7 12:52:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 15 21:50:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4772cb0e

net-analyzer/hydra: changed old oracle-instantclient-basic dependency

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Genasci  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/{hydra-9.1.ebuild => hydra-9.1-r1.ebuild} | 4 ++--
 net-analyzer/hydra/{hydra-9.2.ebuild => hydra-9.2-r1.ebuild} | 4 ++--
 net-analyzer/hydra/hydra-999.ebuild  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1-r1.ebuild
similarity index 97%
rename from net-analyzer/hydra/hydra-9.1.ebuild
rename to net-analyzer/hydra/hydra-9.1-r1.ebuild
index 09104ab74d27..4998a4103fe1 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,7 +31,7 @@ RDEPEND="
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
ncurses? ( sys-libs/ncurses:= )
-   oracle? ( dev-db/oracle-instantclient-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pcre? ( dev-libs/libpcre )
postgres? ( dev-db/postgresql:* )
rdp? ( net-misc/freerdp )

diff --git a/net-analyzer/hydra/hydra-9.2.ebuild 
b/net-analyzer/hydra/hydra-9.2-r1.ebuild
similarity index 97%
rename from net-analyzer/hydra/hydra-9.2.ebuild
rename to net-analyzer/hydra/hydra-9.2-r1.ebuild
index 04538cf60a2f..f5072411a36a 100644
--- a/net-analyzer/hydra/hydra-9.2.ebuild
+++ b/net-analyzer/hydra/hydra-9.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,7 +33,7 @@ RDEPEND="
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
ncurses? ( sys-libs/ncurses:= )
-   oracle? ( dev-db/oracle-instantclient-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pcre? ( dev-libs/libpcre )
postgres? ( dev-db/postgresql:* )
rdp? ( net-misc/freerdp )

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 4597ee4cb589..1e7e5e715482 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,7 +31,7 @@ RDEPEND="
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
ncurses? ( sys-libs/ncurses:= )
-   oracle? ( dev-db/oracle-instantclient-basic )
+   oracle? ( dev-db/oracle-instantclient[sdk] )
pcre? ( dev-libs/libpcre )
postgres? ( dev-db/postgresql:* )
rdp? ( net-misc/freerdp )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2021-10-21 Thread Sam James
commit: 0a6dddca771421a50134b6a27ba0122f3fe25d83
Author: EmilienMottet  grenoble-inp  org>
AuthorDate: Thu Oct 21 08:11:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 22 03:47:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6dddca

net-analyzer/hydra: update live ebuild

- Use README instead of README.md in dodoc
- Update patch for matching new configure

Closes: https://bugs.gentoo.org/818988
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Emilien Mottet  grenoble-inp.org>
Closes: https://github.com/gentoo/gentoo/pull/22653
Signed-off-by: Sam James  gentoo.org>

 .../files/hydra-999-respect-cflags-more.patch  | 31 ++
 net-analyzer/hydra/hydra-999.ebuild|  4 +--
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch 
b/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch
new file mode 100644
index 000..0fe5753ec8a
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-999-respect-cflags-more.patch
@@ -0,0 +1,31 @@
+Don't inject hardening CFLAGS. We already have these by default in Gentoo.
+--- a/configure
 b/configure
+@@ -1380,27 +1380,6 @@ if [ -n "$CRYPTO_PATH" ]; then
+   echo "  ... RSA_generate_key()$RSA found"
+ fi
+
+-echo "Checking for secure compile option support in $CC ..."
+-GCCSEC="no"
+-LDSEC="no"
+-GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2"
+-echo '#include ' > $TMPC.c
+-echo 'int main() { printf(""); return 0; }' >> $TMPC.c
+-$CC -pie -fPIE $GCCSEPOPT -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err
+-test -x $TMPC && GCCSEC="yes"
+-grep -q fPI $TMPC.c.err || GCCSECOPT="-pie -fPIE $GCCSECOPT"
+-rm -f "$TMPC"
+-$CC $GCCSECOPT -Wl,-z,now -Wl,-z,relro -o $TMPC $TMPC.c > /dev/null 2> 
$TMPC.c.err
+-test -x $TMPC && { LDSEC="yes" ; GCCSECOPT="$GCCSECOPT -Wl,-z,now 
-Wl,-z,relro" ; }
+-rm -f $TMPC $TMPC.c $TMPC.c.err
+-echo "  Compiling... $GCCSEC"
+-echo "  Linking... $LDSEC"
+-
+-echo "Checking for --allow-multiple-definition linker option ... $WALLOW"
+-if [ "$WALLOW" = "yes" ]; then
+-  GCCSECOPT="$GCCSECOPT -Wl,--allow-multiple-definition"
+-fi
+-
+ echo
+ XDEFINES=""
+ XLIBS=""
\ No newline at end of file

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 170b7b81086..4597ee4cb58 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -43,7 +43,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-9.2-respect-cflags-more.patch
+   "${FILESDIR}"/${PN}-999-respect-cflags-more.patch
 )
 
 src_prepare() {
@@ -117,5 +117,5 @@ src_compile() {
 src_install() {
dobin hydra pw-inspector
use gtk && dobin hydra-gtk/src/xhydra
-   dodoc CHANGES README.md
+   dodoc CHANGES README
 }



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-05-01 Thread Agostino Sarubbo
commit: 9586751d747ad284d969d94b71731eb8ed3c8a70
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat May  1 18:19:42 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat May  1 18:19:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9586751d

net-analyzer/hydra: amd64 stable wrt bug #776535

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-analyzer/hydra/hydra-9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.2.ebuild 
b/net-analyzer/hydra/hydra-9.2.ebuild
index 4ad6e8edb10..c93420ba6a1 100644
--- a/net-analyzer/hydra/hydra-9.2.ebuild
+++ b/net-analyzer/hydra/hydra-9.2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/thc-${P}"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="
debug firebird gcrypt gtk idn memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-04-30 Thread Mikle Kolyada
commit: 2cd8c536bf1f50b6d37d93c231112dbff5eb0636
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 18:42:26 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 18:42:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd8c536

net-analyzer/hydra: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-analyzer/hydra/hydra-9.1.ebuild | 5 ++---
 net-analyzer/hydra/hydra-9.2.ebuild | 5 ++---
 net-analyzer/hydra/hydra-999.ebuild | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
index 1d9dfaec2fc..09104ab74d2 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
+   debug firebird gcrypt gtk idn memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -26,8 +26,7 @@ RDEPEND="
firebird? ( dev-db/firebird )
gcrypt? ( dev-libs/libgcrypt )
idn? ( net-dns/libidn:0= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )

diff --git a/net-analyzer/hydra/hydra-9.2.ebuild 
b/net-analyzer/hydra/hydra-9.2.ebuild
index ff661533579..4ad6e8edb10 100644
--- a/net-analyzer/hydra/hydra-9.2.ebuild
+++ b/net-analyzer/hydra/hydra-9.2.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
+   debug firebird gcrypt gtk idn memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -28,8 +28,7 @@ RDEPEND="
firebird? ( dev-db/firebird )
gcrypt? ( dev-libs/libgcrypt )
idn? ( net-dns/libidn:0= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index fd067f1b4ca..170b7b81086 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-hydra;
 LICENSE="GPL-3"
 SLOT="0"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
+   debug firebird gcrypt gtk idn memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -26,8 +26,7 @@ RDEPEND="
firebird? ( dev-db/firebird )
gcrypt? ( dev-libs/libgcrypt )
idn? ( net-dns/libidn:0= )
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/, net-analyzer/hydra/

2021-03-26 Thread Sam James
commit: 56dd9923947f9d4178efa7c14a114155c8b0955a
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 26 16:59:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 26 16:59:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56dd9923

net-analyzer/hydra: drop 9.0, 9.0-r1

Closes: https://bugs.gentoo.org/776532
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/Manifest|   1 -
 .../hydra/files/hydra-9.0-unneeded-buf.patch   |  60 --
 net-analyzer/hydra/files/hydra-9.0-vnc.patch   |  11 --
 net-analyzer/hydra/hydra-9.0-r1.ebuild | 127 -
 net-analyzer/hydra/hydra-9.0.ebuild| 123 
 5 files changed, 322 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 8d6ee303deb..f12f1ce825e 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,2 @@
-DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338
 DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2
 DIST hydra-9.2.tar.gz 614176 BLAKE2B 
102c744fbdd3702c624b1c8339178883b689db093d9f1c66d8e04816327eb8095f3e3133f889b2a6ee6dcabb9e5af0c71ec8470731b4b174021fbd79741d05e7
 SHA512 
ee8ecd854b61ac9d708098c8a0d9a128d8b80b38db1a2ba8eb06de6fbbc6865135d994620ade8e3742fb993899274ed9d8fd0e95bed7a9fbeb1ca9e182540322

diff --git a/net-analyzer/hydra/files/hydra-9.0-unneeded-buf.patch 
b/net-analyzer/hydra/files/hydra-9.0-unneeded-buf.patch
deleted file mode 100644
index 0055257b04a..000
--- a/net-analyzer/hydra/files/hydra-9.0-unneeded-buf.patch
+++ /dev/null
@@ -1,60 +0,0 @@
 a/hydra-irc.c
-+++ b/hydra-irc.c
-@@ -7,7 +7,6 @@ RFC 1459: Internet Relay Chat Protocol
- */
- 
- extern char *HYDRA_EXIT;
--char *buf;
- char buffer[300] = "";
- int32_t myport = PORT_IRC, mysslport = PORT_IRC_SSL;
- 
 a/hydra-rexec.c
-+++ b/hydra-rexec.c
-@@ -5,7 +5,6 @@
- #define COMMAND "/bin/ls /"
- 
- extern char *HYDRA_EXIT;
--char *buf;
- 
- int32_t start_rexec(int32_t s, char *ip, int32_t port, unsigned char options, 
char *miscptr, FILE * fp) {
-   char *empty = "";
 a/hydra-rlogin.c
-+++ b/hydra-rlogin.c
-@@ -12,7 +12,6 @@ no memleaks found on 110425
- #define TERM "vt100/9600"
- 
- extern char *HYDRA_EXIT;
--char *buf;
- 
- int32_t start_rlogin(int32_t s, char *ip, int32_t port, unsigned char 
options, char *miscptr, FILE * fp) {
-   char *empty = "";
 a/hydra-rsh.c
-+++ b/hydra-rsh.c
-@@ -11,7 +11,6 @@ no memleaks found on 110425
- */
- 
- extern char *HYDRA_EXIT;
--char *buf;
- 
- int32_t start_rsh(int32_t s, char *ip, int32_t port, unsigned char options, 
char *miscptr, FILE * fp) {
-   char *empty = "";
 a/hydra-rtsp.c
-+++ b/hydra-rtsp.c
-@@ -12,7 +12,6 @@
- #include "sasl.h"
- 
- extern char *HYDRA_EXIT;
--char *buf;
- char packet[500];
- char packet2[500];
- 
 a/hydra-teamspeak.c
-+++ b/hydra-teamspeak.c
-@@ -36,7 +36,6 @@ struct team_speak {
- extern int32_t hydra_data_ready_timed(int32_t socket, long sec, long usec);
- 
- extern char *HYDRA_EXIT;
--char *buf;
- 
- int32_t start_teamspeak(int32_t s, char *ip, int32_t port, unsigned char 
options, char *miscptr, FILE * fp) {
-   char *empty = "";

diff --git a/net-analyzer/hydra/files/hydra-9.0-vnc.patch 
b/net-analyzer/hydra/files/hydra-9.0-vnc.patch
deleted file mode 100644
index 69c933ee838..000
--- a/net-analyzer/hydra/files/hydra-9.0-vnc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/hydra-vnc.c
-+++ b/hydra-vnc.c
-@@ -75,7 +75,7 @@ int32_t start_vnc(int32_t s, char *ip, int32_t port, 
unsigned char options, char
-   //supported security type
-   switch (buf2[3]) {
-   case 0x0:
--hydra_report(stderr, "[ERROR] VNC server told us to quit %c\n", buf[3]);
-+hydra_report(stderr, "[ERROR] VNC server told us to quit %c\n", buf2[3]);
- hydra_child_exit(0);
- break;
-   case 0x1:

diff --git a/net-analyzer/hydra/hydra-9.0-r1.ebuild 
b/net-analyzer/hydra/hydra-9.0-r1.ebuild
deleted file mode 100644
index f1397694c8a..000
--- a/net-analyzer/hydra/hydra-9.0-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Parallelized network login hacker"
-HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
-SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-26 Thread Agostino Sarubbo
commit: 720de3d4c88865625bba933d77c1e80cf0c96391
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Mar 26 07:45:22 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Mar 26 07:45:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720de3d4

net-analyzer/hydra: amd64 stable wrt bug #776532

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-analyzer/hydra/hydra-9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
index edfc864a713..1d9dfaec2fc 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="
debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2021-03-18 Thread Sam James
commit: 795f1881a904eda870e5b108494eda83caaab6b3
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 19 02:08:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 19 02:08:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795f1881

net-analyzer/hydra: don't inject hardening CFLAGS

We have these by default in Gentoo.

Signed-off-by: Sam James  gentoo.org>

 .../files/hydra-9.2-respect-cflags-more.patch  | 26 ++
 net-analyzer/hydra/hydra-9.2.ebuild|  4 
 net-analyzer/hydra/hydra-999.ebuild|  4 
 3 files changed, 34 insertions(+)

diff --git a/net-analyzer/hydra/files/hydra-9.2-respect-cflags-more.patch 
b/net-analyzer/hydra/files/hydra-9.2-respect-cflags-more.patch
new file mode 100644
index 000..8d158640803
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.2-respect-cflags-more.patch
@@ -0,0 +1,26 @@
+Don't inject hardening CFLAGS. We already have these by default in Gentoo.
+--- a/configure
 b/configure
+@@ -1376,22 +1376,6 @@ if [ -n "$CRYPTO_PATH" ]; then
+   echo "  ... RSA_generate_key()$RSA found"
+ fi
+ 
+-echo "Checking for secure compile option support in $CC ..."
+-GCCSEC="no"
+-LDSEC="no"
+-GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2"
+-echo '#include ' > $TMPC.c
+-echo 'int main() { printf(""); return 0; }' >> $TMPC.c
+-$CC -pie -fPIE $GCCSEPOPT -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err
+-test -x $TMPC && GCCSEC="yes"
+-grep -q fPI $TMPC.c.err || GCCSECOPT="-pie -fPIE $GCCSECOPT"
+-rm -f "$TMPC"
+-$CC $GCCSECOPT -Wl,-z,now -Wl,-z,relro -o $TMPC $TMPC.c > /dev/null 2> 
$TMPC.c.err
+-test -x $TMPC && { LDSEC="yes" ; GCCSECOPT="$GCCSECOPT -Wl,-z,now 
-Wl,-z,relro" ; }
+-rm -f $TMPC $TMPC.c $TMPC.c.err
+-echo "  Compiling... $GCCSEC"
+-echo "  Linking... $LDSEC"
+-
+ echo
+ XDEFINES=""
+ XLIBS=""

diff --git a/net-analyzer/hydra/hydra-9.2.ebuild 
b/net-analyzer/hydra/hydra-9.2.ebuild
index 4c57cd8f9bb..ff661533579 100644
--- a/net-analyzer/hydra/hydra-9.2.ebuild
+++ b/net-analyzer/hydra/hydra-9.2.ebuild
@@ -45,6 +45,10 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-9.2-respect-cflags-more.patch
+)
+
 src_prepare() {
default
 

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 8745aff7191..7333951b195 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -44,6 +44,10 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-9.2-respect-cflags-more.patch
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-18 Thread Sam James
commit: dc9ddd591f9747441b32d694274b3bec40fa2987
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 19 02:08:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 19 02:08:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9ddd59

net-analyzer/hydra: fix ${S} in *

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 7333951b195..fd067f1b4ca 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -8,7 +8,6 @@ inherit git-r3 toolchain-funcs
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
 EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-hydra;
-S="${WORKDIR}/thc-${P}"
 
 LICENSE="GPL-3"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-18 Thread Sam James
commit: 586764eefddd0c84eb6611009aa4e16c622d8d8a
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 19 01:59:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 19 01:59:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586764ee

net-analyzer/hydra: fix USE=-rdp with FreeRDP installed

Closes: https://bugs.gentoo.org/776670
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.2.ebuild 
b/net-analyzer/hydra/hydra-9.2.ebuild
index 5ce7e4c5241..4c57cd8f9bb 100644
--- a/net-analyzer/hydra/hydra-9.2.ebuild
+++ b/net-analyzer/hydra/hydra-9.2.ebuild
@@ -89,7 +89,7 @@ src_configure() {
hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}" --libs libpcre )' 
'-DHAVE_PCRE'
hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' 
'-DLIBPOSTGRES'
hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE'
-   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP2'
+   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP'
# TODO: https://bugs.gentoo.org/686148
#hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'$( "${PKG_CONFIG}" --libs libsvn_client )' '-DLIBSVN'
hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'' '-DLIBSVN'



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-15 Thread Sam James
commit: 02d280b97760b31b4ddd02650c363f894774ff8d
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 22:09:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 22:09:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d280b9

net-analyzer/hydra: Stabilize 9.1 x86, #776532

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
index 745536e8949..edfc864a713 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE="
debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-15 Thread Sam James
commit: 6d89bedc315c406bd39ad724ef06ab91b9e5a2f1
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 20:37:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 20:58:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d89bedc

net-analyzer/hydra: fix metadata indentation

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/metadata.xml | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml
index 0c88bc63e93..f8854ff54a9 100644
--- a/net-analyzer/hydra/metadata.xml
+++ b/net-analyzer/hydra/metadata.xml
@@ -1,13 +1,13 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-net...@gentoo.org
-
-
-Enable radmin2 support through 
dev-libs/libgcrypt
-Enable SSH support through 
net-libs/libssh
-MongoDB support through 
dev-libs/mongo-c-driver
-NCP protocol (NetWare) support through ncpfs
-
+   
+   net...@gentoo.org
+   
+   
+   Enable radmin2 support through 
dev-libs/libgcrypt
+   Enable SSH support through 
net-libs/libssh
+   MongoDB support through 
dev-libs/mongo-c-driver
+   NCP protocol (NetWare) support through 
ncpfs
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-15 Thread Sam James
commit: 2971152154f108650831c32a3f83023823ff7f6e
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 20:37:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 20:58:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29711521

net-analyzer/hydra: add 9.2

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/Manifest |  1 +
 .../hydra/{hydra-999.ebuild => hydra-9.2.ebuild}| 17 -
 net-analyzer/hydra/hydra-999.ebuild | 16 +++-
 3 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index fb6dd8eb493..8d6ee303deb 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,2 +1,3 @@
 DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338
 DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2
+DIST hydra-9.2.tar.gz 614176 BLAKE2B 
102c744fbdd3702c624b1c8339178883b689db093d9f1c66d8e04816327eb8095f3e3133f889b2a6ee6dcabb9e5af0c71ec8470731b4b174021fbd79741d05e7
 SHA512 
ee8ecd854b61ac9d708098c8a0d9a128d8b80b38db1a2ba8eb06de6fbbc6865135d994620ade8e3742fb993899274ed9d8fd0e95bed7a9fbeb1ca9e182540322

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-9.2.ebuild
similarity index 93%
copy from net-analyzer/hydra/hydra-999.ebuild
copy to net-analyzer/hydra/hydra-9.2.ebuild
index 3ff5496cc9b..913d3373903 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-9.2.ebuild
@@ -1,16 +1,18 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit flag-o-matic git-r3 toolchain-funcs
+
+inherit toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
-EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/thc-${P}"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="
debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
oracle pcre postgres rdp libssh subversion zlib
@@ -41,10 +43,8 @@ RDEPEND="
subversion? ( dev-vcs/subversion )
zlib? ( sys-libs/zlib )
 "
-DEPEND="
-   ${RDEPEND}
-   virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
default
@@ -64,7 +64,6 @@ src_prepare() {
 src_configure() {
# Note: the top level configure script is not autoconf-based
tc-export CC PKG_CONFIG
-   append-cflags -fcommon
 
export OPTS="${CFLAGS}"
 

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 3ff5496cc9b..1cfceab9812 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit flag-o-matic git-r3 toolchain-funcs
+
+inherit git-r3 toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
 EGIT_REPO_URI="https://github.com/vanhauser-thc/thc-hydra;
+S="${WORKDIR}/thc-${P}"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
 IUSE="
debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
oracle pcre postgres rdp libssh subversion zlib
@@ -41,10 +42,8 @@ RDEPEND="
subversion? ( dev-vcs/subversion )
zlib? ( sys-libs/zlib )
 "
-DEPEND="
-   ${RDEPEND}
-   virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
default
@@ -64,7 +63,6 @@ src_prepare() {
 src_configure() {
# Note: the top level configure script is not autoconf-based
tc-export CC PKG_CONFIG
-   append-cflags -fcommon
 
export OPTS="${CFLAGS}"
 
@@ -92,7 +90,7 @@ src_configure() {
hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}" --libs libpcre )' 
'-DHAVE_PCRE'
hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' 
'-DLIBPOSTGRES'
hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE'
-   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP2'
+   

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-15 Thread Sam James
commit: ee164b1b667686386de5dffa57e16b14ded65d3f
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 21:01:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 21:01:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee164b1b

net-analyzer/hydra: drop obsolete USE=ncp

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/hydra-9.0-r1.ebuild  | 6 ++
 net-analyzer/hydra/hydra-9.0.ebuild | 4 +---
 net-analyzer/hydra/hydra-9.1.ebuild | 6 ++
 net-analyzer/hydra/hydra-9.2.ebuild | 4 +---
 net-analyzer/hydra/hydra-999.ebuild | 4 +---
 net-analyzer/hydra/metadata.xml | 1 -
 6 files changed, 7 insertions(+), 18 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.0-r1.ebuild 
b/net-analyzer/hydra/hydra-9.0-r1.ebuild
index 402929ea230..f1397694c8a 100644
--- a/net-analyzer/hydra/hydra-9.0-r1.ebuild
+++ b/net-analyzer/hydra/hydra-9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -31,7 +31,6 @@ RDEPEND="
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
-   ncp? ( net-fs/ncpfs )
ncurses? ( sys-libs/ncurses:= )
oracle? ( dev-db/oracle-instantclient-basic )
pcre? ( dev-libs/libpcre )
@@ -93,7 +92,6 @@ src_configure() {
hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}" --libs 
libmemcached )' '-DLIBMCACHED'
hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}" --libs 
libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON'
hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config 
--libs )' '-DLIBMYSQLCLIENT'
-   hydra_sed ncp '-lncp' '' '-DLIBNCP'
hydra_sed ncurses '-lcurses' '$( "${PKG_CONFIG}" --libs ncurses )' 
'-DLIBNCURSES'
hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}" --libs libpcre )' 
'-DHAVE_PCRE'
hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' 
'-DLIBPOSTGRES'

diff --git a/net-analyzer/hydra/hydra-9.0.ebuild 
b/net-analyzer/hydra/hydra-9.0.ebuild
index 3a812ec881b..190b5ed145c 100644
--- a/net-analyzer/hydra/hydra-9.0.ebuild
+++ b/net-analyzer/hydra/hydra-9.0.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -31,7 +31,6 @@ RDEPEND="
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
-   ncp? ( net-fs/ncpfs )
ncurses? ( sys-libs/ncurses:= )
oracle? ( dev-db/oracle-instantclient-basic )
pcre? ( dev-libs/libpcre )
@@ -89,7 +88,6 @@ src_configure() {
hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}"  --libs 
libmemcached )' '-DLIBMCACHED'
hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}"  --libs 
libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON'
hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config 
--libs )' '-DLIBMYSQLCLIENT'
-   hydra_sed ncp '-lncp' '' '-DLIBNCP'
hydra_sed ncurses '-lcurses' '$( "${PKG_CONFIG}"  --libs ncurses )' 
'-DLIBNCURSES'
hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}"  --libs libpcre )' 
'-DHAVE_PCRE'
hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}"  --libs libpq )' 
'-DLIBPOSTGRES'

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
index 0b2eb5c879d..745536e8949 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="
-   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncurses
oracle pcre postgres rdp libssh subversion zlib
 "
 
@@ -31,7 +31,6 @@ RDEPEND="
memcached? ( dev-libs/libmemcached[sasl] )
mongodb? ( dev-libs/mongo-c-driver )
mysql? ( dev-db/mysql-connector-c:0= )
-   ncp? ( net-fs/ncpfs )
ncurses? ( sys-libs/ncurses:= )
oracle? ( dev-db/oracle-instantclient-basic )
pcre? ( dev-libs/libpcre )
@@ -89,7 +88,6 @@ src_configure() {
hydra_sed 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-03-15 Thread Sam James
commit: 472ce585c6e24aeefbd55b1cbe3a58cb05aaef66
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 15 20:38:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 15 20:58:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472ce585

net-analyzer/hydra: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/hydra/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml
index f8854ff54a9..cca4fbf8957 100644
--- a/net-analyzer/hydra/metadata.xml
+++ b/net-analyzer/hydra/metadata.xml
@@ -10,4 +10,7 @@
MongoDB support through 
dev-libs/mongo-c-driver
NCP protocol (NetWare) support through 
ncpfs

+   
+   vanhauser-thc/thc-hydra
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2021-01-02 Thread Andreas K. Hüttel
commit: 4d9c6e448feeb4f6f0bbf5ad516f655e27407bcd
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Sat Jan  2 15:44:44 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jan  2 15:45:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9c6e44

net-analyzer/hydra: Also add gcc-10 fix to 9.0

Bug: https://bugs.gentoo.org/706416
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel  gentoo.org>

 net-analyzer/hydra/hydra-9.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.0.ebuild 
b/net-analyzer/hydra/hydra-9.0.ebuild
index 3a35af9c7db..3a812ec881b 100644
--- a/net-analyzer/hydra/hydra-9.0.ebuild
+++ b/net-analyzer/hydra/hydra-9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -66,6 +66,8 @@ src_configure() {
# Note: the top level configure script is not autoconf-based
tc-export CC PKG_CONFIG
 
+   append-cflags -fcommon
+
export OPTS="${CFLAGS}"
 
hydra_sed() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2020-09-14 Thread Michał Górny
commit: eef827996fcf81c62063090fcbae7f680ee3af2e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 14 19:30:42 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 14 19:31:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef82799

net-analyzer/hydra: [QA] Fix PkgMetadataXmlInvalidPkgRef

Signed-off-by: Michał Górny  gentoo.org>

 net-analyzer/hydra/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml
index 27f48a7d774..0c88bc63e93 100644
--- a/net-analyzer/hydra/metadata.xml
+++ b/net-analyzer/hydra/metadata.xml
@@ -8,6 +8,6 @@
 Enable radmin2 support through 
dev-libs/libgcrypt
 Enable SSH support through 
net-libs/libssh
 MongoDB support through 
dev-libs/mongo-c-driver
-NCP protocol (NetWare) support through 
net-fs/ncpfs
+NCP protocol (NetWare) support through ncpfs
 
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2020-08-03 Thread Jeroen Roovers
commit: c2f2521b07dd0f7ab8a095f5a882f70abd761096
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Aug  3 20:56:25 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Aug  3 20:59:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f2521b

net-analyzer/hydra: Fix USE=-rdp

Version 9.1 added support for libfreerdp3 (which has not yet been
released) so in configure, some variables were renamed to accomodate
that new option, and hydra_sed() needed to be called with that new
variable when disabling RDP support.

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Closes: https://bugs.gentoo.org/735802
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/hydra-9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
index 373ae9d6f43..0b2eb5c879d 100644
--- a/net-analyzer/hydra/hydra-9.1.ebuild
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -94,7 +94,7 @@ src_configure() {
hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}" --libs libpcre )' 
'-DHAVE_PCRE'
hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}" --libs libpq )' 
'-DLIBPOSTGRES'
hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE'
-   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP2'
+   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}" --libs freerdp2 )' 
'-DLIBFREERDP'
# TODO: https://bugs.gentoo.org/686148
#hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'$( "${PKG_CONFIG}" --libs libsvn_client )' '-DLIBSVN'
hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'' '-DLIBSVN'



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2020-07-29 Thread Jeroen Roovers
commit: 407982e18b554dd91ce521982662840e3f7cae9f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jul 29 09:38:55 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jul 29 09:44:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407982e1

net-analyzer/hydra: Old

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Closes: https://bugs.gentoo.org/665942
Closes: https://bugs.gentoo.org/686420
Closes: https://bugs.gentoo.org/697580
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/Manifest|   2 -
 net-analyzer/hydra/files/hydra-8.0-configure.patch |  44 -
 net-analyzer/hydra/files/hydra-8.4-configure.patch |  48 --
 net-analyzer/hydra/hydra-8.1.ebuild|  98 
 net-analyzer/hydra/hydra-8.9.1.ebuild  | 103 -
 5 files changed, 295 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 3874be7e823..fb6dd8eb493 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,4 +1,2 @@
-DIST hydra-8.1.tar.gz 559031 BLAKE2B 
a3d2b52508a1d03a2f3d6cecf7100543487b5a0f6210dd6128d3ab48ad16ca3a8fad49709163830049ed8b9bb6891861f9c3f5fd5a6179b0a87a072877e829af
 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
-DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 
97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b
 SHA512 
68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72
 DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338
 DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2

diff --git a/net-analyzer/hydra/files/hydra-8.0-configure.patch 
b/net-analyzer/hydra/files/hydra-8.0-configure.patch
deleted file mode 100644
index 3ab9989b638..000
--- a/net-analyzer/hydra/files/hydra-8.0-configure.patch
+++ /dev/null
@@ -1,44 +0,0 @@
 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
deleted file mode 100644
index ba99ff2acda..000
--- a/net-analyzer/hydra/files/hydra-8.4-configure.patch
+++ /dev/null
@@ -1,48 +0,0 @@
 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"
--

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2020-07-29 Thread Jeroen Roovers
commit: 3c09bf80a792d3a2b47024280a5c7e8dc17c34f2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jul 29 09:31:34 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jul 29 09:37:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c09bf80

net-analyzer/hydra: Version 9.1

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/Manifest |   1 +
 net-analyzer/hydra/hydra-9.1.ebuild | 125 
 2 files changed, 126 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index a516b15bd1e..3874be7e823 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,4 @@
 DIST hydra-8.1.tar.gz 559031 BLAKE2B 
a3d2b52508a1d03a2f3d6cecf7100543487b5a0f6210dd6128d3ab48ad16ca3a8fad49709163830049ed8b9bb6891861f9c3f5fd5a6179b0a87a072877e829af
 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 
97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b
 SHA512 
68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72
 DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338
+DIST hydra-9.1.tar.gz 611846 BLAKE2B 
9a5b6dc52b5f4069bf326e86728ebaf8c1fe018536f3943b83493de934703bff6770ae3f7a9a223ee00b5f52f7bd10ee4ddc272e1bbad00c399aa19cc0c083ba
 SHA512 
863176375fe1aae4c0a2b74c11aba297682d66e522c98c926c539348309b0af4e407e460b4cb803d2c83c008787c73f7f1e56ac6aca9791351e1b596c2e4fbb2

diff --git a/net-analyzer/hydra/hydra-9.1.ebuild 
b/net-analyzer/hydra/hydra-9.1.ebuild
new file mode 100644
index 000..373ae9d6f43
--- /dev/null
+++ b/net-analyzer/hydra/hydra-9.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Parallelized network login hacker"
+HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="https://github.com/vanhauser-thc/thc-hydra/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   oracle pcre postgres rdp libssh subversion zlib
+"
+
+RDEPEND="
+   gtk? (
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:2
+   )
+   firebird? ( dev-db/firebird )
+   gcrypt? ( dev-libs/libgcrypt )
+   idn? ( net-dns/libidn:0= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   memcached? ( dev-libs/libmemcached[sasl] )
+   mongodb? ( dev-libs/mongo-c-driver )
+   mysql? ( dev-db/mysql-connector-c:0= )
+   ncp? ( net-fs/ncpfs )
+   ncurses? ( sys-libs/ncurses:= )
+   oracle? ( dev-db/oracle-instantclient-basic )
+   pcre? ( dev-libs/libpcre )
+   postgres? ( dev-db/postgresql:* )
+   rdp? ( net-misc/freerdp )
+   libssh? ( >=net-libs/libssh-0.4.0 )
+   subversion? ( dev-vcs/subversion )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   virtual/pkgconfig
+"
+S=${WORKDIR}/thc-${P}
+
+src_prepare() {
+   default
+
+   # None of the settings in Makefile.unix are useful to us
+   mv Makefile.unix{,.gentoo_unused} || die
+   touch Makefile.unix || die
+
+   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() {
+   # Note: the top level configure script is not autoconf-based
+   tc-export CC PKG_CONFIG
+
+   append-cflags -fcommon
+
+   export OPTS="${CFLAGS}"
+
+   hydra_sed() {
+   if use ${1}; then
+   einfo "Enabling ${1}"
+   if [[ -n "${3}" ]]; then
+   sed -i 's#'"${2}"'#'"${3}"'#' configure || die
+   fi
+   else
+   einfo "Disabling ${1}"
+   sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die
+   fi
+   }
+
+   hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD'
+   hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config 
--libs )' '-DHAVE_GCRYPT'
+   hydra_sed idn '-lidn' '$( "${PKG_CONFIG}" --libs 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2020-02-02 Thread Matt Turner
commit: 29b74f809f01589f120e4e2df711d87f04e3d00c
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Feb  2 21:58:04 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Feb  2 22:28:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b74f80

net-analyzer/hydra: Drop to ~ppc

Signed-off-by: Matt Turner  gentoo.org>

 net-analyzer/hydra/hydra-8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-8.1.ebuild 
b/net-analyzer/hydra/hydra-8.1.ebuild
index 80610ce9cb2..2aef23f9b8f 100644
--- a/net-analyzer/hydra/hydra-8.1.ebuild
+++ b/net-analyzer/hydra/hydra-8.1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="firebird gtk idn mysql ncp oracle pcre postgres ssl subversion"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2020-01-28 Thread Jeroen Roovers
commit: 8e301de130b75dc4ee76ca2e344de67e6965b90b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 28 08:48:45 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 28 08:49:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e301de1

net-analyzer/hydra: Set CFLAGS=-fcommon

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706416
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../hydra/files/hydra-9.0-fcommon-gtk.patch|  79 
 .../hydra/files/hydra-9.0-fcommon-http.patch   |  27 --
 .../hydra/files/hydra-9.0-fcommon-mod.patch|  63 ---
 .../hydra/files/hydra-9.0-fcommon-mods.patch   | 496 -
 .../hydra/files/hydra-999-fcommon-http.patch   |  27 --
 net-analyzer/hydra/hydra-9.0-r1.ebuild |   8 +-
 net-analyzer/hydra/hydra-999.ebuild|   9 +-
 7 files changed, 5 insertions(+), 704 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch 
b/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch
deleted file mode 100644
index 02ebab64e41..000
--- a/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch
+++ /dev/null
@@ -1,79 +0,0 @@
 a/hydra-gtk/src/callbacks.c
-+++ b/hydra-gtk/src/callbacks.c
-@@ -66,7 +66,7 @@ int hydra_get_options(char *options[]) {
-   gchar *tmp;
-   GString *a;
- 
--  options[0] = HYDRA_BIN;
-+  options[0] = hydra_bin;
- 
-   /* get the port */
-   widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort");
-@@ -599,7 +599,7 @@ int *popen_re_unbuffered(char *command) {
- 
- (void) hydra_get_options(options);
- 
--execv(HYDRA_BIN, options);
-+execv(hydra_bin, options);
- 
- g_warning("%s %i: popen_rw_unbuffered: execv() returned", __FILE__, 
__LINE__);
- 
 a/hydra-gtk/src/main.c
-+++ b/hydra-gtk/src/main.c
-@@ -17,12 +17,12 @@
- char *hydra_path1 = "./hydra";
- char *hydra_path2 = "/usr/local/bin/hydra";
- char *hydra_path3 = "/usr/bin/hydra";
--
-+char *hydra_bin;
-+GtkWidget *wndMain;
-+guint message_id;
- 
- int main(int argc, char *argv[]) {
--  extern GtkWidget *wndMain;
-   int i;
--  extern guint message_id;
-   GtkWidget *output;
-   GtkTextBuffer *outputbuf;
- 
-@@ -35,22 +35,22 @@ int main(int argc, char *argv[]) {
-   message_id = 0;
- 
-   /* locate the hydra binary */
--  HYDRA_BIN = NULL;
-+  hydra_bin = NULL;
-   for (i = 0; i < argc - 1; i++) {
- if (!strcmp(argv[i], "--hydra-path")) {
--  HYDRA_BIN = argv[i + 1];
-+  hydra_bin = argv[i + 1];
-   break;
- }
-   }
- 
--  if ((HYDRA_BIN != NULL) && (g_file_test(HYDRA_BIN, 
G_FILE_TEST_IS_EXECUTABLE))) {
-+  if ((hydra_bin != NULL) && (g_file_test(hydra_bin, 
G_FILE_TEST_IS_EXECUTABLE))) {
- /* just for obfuscation *g* */
-   } else if (g_file_test(hydra_path1, G_FILE_TEST_IS_EXECUTABLE)) {
--HYDRA_BIN = hydra_path1;
-+hydra_bin = hydra_path1;
-   } else if (g_file_test(hydra_path2, G_FILE_TEST_IS_EXECUTABLE)) {
--HYDRA_BIN = hydra_path2;
-+hydra_bin = hydra_path2;
-   } else if (g_file_test(hydra_path3, G_FILE_TEST_IS_EXECUTABLE)) {
--HYDRA_BIN = hydra_path3;
-+hydra_bin = hydra_path3;
-   } else {
- g_error("Please tell me where hydra is, use --hydra-path\n");
- return -1;
 a/hydra-gtk/src/support.h
-+++ b/hydra-gtk/src/support.h
-@@ -40,6 +40,6 @@ GdkPixbuf *create_pixbuf(const gchar * filename);
- void glade_set_atk_action_description(AtkAction * action, const gchar * 
action_name, const gchar * description);
- 
- 
--GtkWidget *wndMain;
--char *HYDRA_BIN;
--guint message_id;
-+extern GtkWidget *wndMain;
-+extern char *hydra_bin;
-+extern guint message_id;

diff --git a/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch 
b/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch
deleted file mode 100644
index 35b45e07161..000
--- a/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch
+++ /dev/null
@@ -1,27 +0,0 @@
 a/hydra-http.c
-+++ b/hydra-http.c
-@@ -5,7 +5,7 @@
- char *webtarget = NULL;
- char *slash = "/";
- char *http_buf = NULL;
--int32_t webport, freemischttp = 0;
-+int32_t freemischttp = 0;
- int32_t http_auth_mechanism = AUTH_UNASSIGNED;
- 
- int32_t start_http(int32_t s, char *ip, int32_t port, unsigned char options, 
char *miscptr, FILE * fp, char *type, ptr_header_node ptr_head) {
-@@ -22,6 +22,7 @@ int32_t start_http(int32_t s, char *ip, int32_t port, 
unsigned char options, cha
-   char *ptr, *fooptr;
-   int32_t complete_line = 0, buffer_size;
-   char tmpreplybuf[1024] = "", *tmpreplybufptr;
-+  int32_t webport;
- 
-   if (strlen(login = hydra_get_next_login()) == 0)
- login = empty;
-@@ -291,6 +292,7 @@ void service_http(char *ip, int32_t sp, unsigned char 
options, char *miscptr, FI
-   int32_t myport = PORT_HTTP, mysslport = PORT_HTTP_SSL;
-   char *ptr, *ptr2;
-   ptr_header_node ptr_head = NULL;
-+  int32_t webport;
- 
-   hydra_register_socket(sp);
-   if (memcmp(hydra_get_next_pair(), _EXIT, 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2020-01-27 Thread Jeroen Roovers
commit: 806618ad0bfef5d310e002e41b73b31f3007ee0a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan 27 14:48:17 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 27 14:52:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806618ad

net-analyzer/hydra: Update live ebuild

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/hydra-999.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
index 6f65020dd57..858c7af0135 100644
--- a/net-analyzer/hydra/hydra-999.ebuild
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -49,8 +49,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-9.0-fcommon-gtk.patch
"${FILESDIR}"/${PN}-9.0-fcommon-mod.patch
"${FILESDIR}"/${PN}-9.0-fcommon-mods.patch
-   "${FILESDIR}"/${PN}-9.0-unneeded-buf.patch
-   "${FILESDIR}"/${PN}-9.0-vnc.patch
"${FILESDIR}"/${PN}-999-fcommon-http.patch
 )
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/, net-analyzer/hydra/files/

2020-01-26 Thread Jeroen Roovers
commit: 95c1ff070c3d3a67d6e14734cf7f4f28b641b382
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 26 16:42:16 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan 26 16:43:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c1ff07

net-analyzer/hydra: Fix -fno-common issues

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Bug: https://bugs.gentoo.org/706416
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../hydra/files/hydra-9.0-fcommon-gtk.patch|  79 
 .../hydra/files/hydra-9.0-fcommon-http.patch   |  27 ++
 .../hydra/files/hydra-9.0-fcommon-mod.patch|  63 +++
 .../hydra/files/hydra-9.0-fcommon-mods.patch   | 496 +
 .../hydra/files/hydra-9.0-unneeded-buf.patch   |  60 +++
 net-analyzer/hydra/files/hydra-9.0-vnc.patch   |  11 +
 .../hydra/files/hydra-999-fcommon-http.patch   |  27 ++
 .../{hydra-999.ebuild => hydra-9.0-r1.ebuild}  |  39 +-
 net-analyzer/hydra/hydra-999.ebuild|  30 +-
 9 files changed, 806 insertions(+), 26 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch 
b/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch
new file mode 100644
index 000..02ebab64e41
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.0-fcommon-gtk.patch
@@ -0,0 +1,79 @@
+--- a/hydra-gtk/src/callbacks.c
 b/hydra-gtk/src/callbacks.c
+@@ -66,7 +66,7 @@ int hydra_get_options(char *options[]) {
+   gchar *tmp;
+   GString *a;
+ 
+-  options[0] = HYDRA_BIN;
++  options[0] = hydra_bin;
+ 
+   /* get the port */
+   widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort");
+@@ -599,7 +599,7 @@ int *popen_re_unbuffered(char *command) {
+ 
+ (void) hydra_get_options(options);
+ 
+-execv(HYDRA_BIN, options);
++execv(hydra_bin, options);
+ 
+ g_warning("%s %i: popen_rw_unbuffered: execv() returned", __FILE__, 
__LINE__);
+ 
+--- a/hydra-gtk/src/main.c
 b/hydra-gtk/src/main.c
+@@ -17,12 +17,12 @@
+ char *hydra_path1 = "./hydra";
+ char *hydra_path2 = "/usr/local/bin/hydra";
+ char *hydra_path3 = "/usr/bin/hydra";
+-
++char *hydra_bin;
++GtkWidget *wndMain;
++guint message_id;
+ 
+ int main(int argc, char *argv[]) {
+-  extern GtkWidget *wndMain;
+   int i;
+-  extern guint message_id;
+   GtkWidget *output;
+   GtkTextBuffer *outputbuf;
+ 
+@@ -35,22 +35,22 @@ int main(int argc, char *argv[]) {
+   message_id = 0;
+ 
+   /* locate the hydra binary */
+-  HYDRA_BIN = NULL;
++  hydra_bin = NULL;
+   for (i = 0; i < argc - 1; i++) {
+ if (!strcmp(argv[i], "--hydra-path")) {
+-  HYDRA_BIN = argv[i + 1];
++  hydra_bin = argv[i + 1];
+   break;
+ }
+   }
+ 
+-  if ((HYDRA_BIN != NULL) && (g_file_test(HYDRA_BIN, 
G_FILE_TEST_IS_EXECUTABLE))) {
++  if ((hydra_bin != NULL) && (g_file_test(hydra_bin, 
G_FILE_TEST_IS_EXECUTABLE))) {
+ /* just for obfuscation *g* */
+   } else if (g_file_test(hydra_path1, G_FILE_TEST_IS_EXECUTABLE)) {
+-HYDRA_BIN = hydra_path1;
++hydra_bin = hydra_path1;
+   } else if (g_file_test(hydra_path2, G_FILE_TEST_IS_EXECUTABLE)) {
+-HYDRA_BIN = hydra_path2;
++hydra_bin = hydra_path2;
+   } else if (g_file_test(hydra_path3, G_FILE_TEST_IS_EXECUTABLE)) {
+-HYDRA_BIN = hydra_path3;
++hydra_bin = hydra_path3;
+   } else {
+ g_error("Please tell me where hydra is, use --hydra-path\n");
+ return -1;
+--- a/hydra-gtk/src/support.h
 b/hydra-gtk/src/support.h
+@@ -40,6 +40,6 @@ GdkPixbuf *create_pixbuf(const gchar * filename);
+ void glade_set_atk_action_description(AtkAction * action, const gchar * 
action_name, const gchar * description);
+ 
+ 
+-GtkWidget *wndMain;
+-char *HYDRA_BIN;
+-guint message_id;
++extern GtkWidget *wndMain;
++extern char *hydra_bin;
++extern guint message_id;

diff --git a/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch 
b/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch
new file mode 100644
index 000..35b45e07161
--- /dev/null
+++ b/net-analyzer/hydra/files/hydra-9.0-fcommon-http.patch
@@ -0,0 +1,27 @@
+--- a/hydra-http.c
 b/hydra-http.c
+@@ -5,7 +5,7 @@
+ char *webtarget = NULL;
+ char *slash = "/";
+ char *http_buf = NULL;
+-int32_t webport, freemischttp = 0;
++int32_t freemischttp = 0;
+ int32_t http_auth_mechanism = AUTH_UNASSIGNED;
+ 
+ int32_t start_http(int32_t s, char *ip, int32_t port, unsigned char options, 
char *miscptr, FILE * fp, char *type, ptr_header_node ptr_head) {
+@@ -22,6 +22,7 @@ int32_t start_http(int32_t s, char *ip, int32_t port, 
unsigned char options, cha
+   char *ptr, *fooptr;
+   int32_t complete_line = 0, buffer_size;
+   char tmpreplybuf[1024] = "", *tmpreplybufptr;
++  int32_t webport;
+ 
+   if (strlen(login = hydra_get_next_login()) == 0)
+ login = empty;
+@@ -291,6 +292,7 @@ void service_http(char *ip, int32_t sp, unsigned char 
options, char *miscptr, FI
+   int32_t myport = PORT_HTTP, mysslport = PORT_HTTP_SSL;
+   char *ptr, *ptr2;
+   ptr_header_node ptr_head = NULL;
++  

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-10-29 Thread Jeroen Roovers
commit: a734a509e746a58a13f8da1b60d179fbe17f3535
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Oct 29 16:23:58 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Oct 29 16:38:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a734a509

net-analyzer/hydra: Stable for amd64 x86 too

Package-Manager: Portage-2.3.78, Repoman-2.3.17
RepoMan-Options: --ignore-arches
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/hydra-9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/hydra-9.0.ebuild 
b/net-analyzer/hydra/hydra-9.0.ebuild
index a7894804ea7..c381eec6f1b 100644
--- a/net-analyzer/hydra/hydra-9.0.ebuild
+++ b/net-analyzer/hydra/hydra-9.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="
debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
oracle pcre postgres rdp libssh subversion zlib



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-10-12 Thread Michał Górny
commit: 13be766d677593a3c4bce465de4917667c8e223d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 12 10:21:22 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 12 10:21:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13be766d

net-analyzer/hydra: Correct USE=mongodb provider in metadata.xml

Signed-off-by: Michał Górny  gentoo.org>

 net-analyzer/hydra/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/hydra/metadata.xml b/net-analyzer/hydra/metadata.xml
index 3a5ee322a93..27f48a7d774 100644
--- a/net-analyzer/hydra/metadata.xml
+++ b/net-analyzer/hydra/metadata.xml
@@ -7,7 +7,7 @@
 
 Enable radmin2 support through 
dev-libs/libgcrypt
 Enable SSH support through 
net-libs/libssh
-MongoDB support through 
dev-libs/libmongo-client
+MongoDB support through 
dev-libs/mongo-c-driver
 NCP protocol (NetWare) support through 
net-fs/ncpfs
 
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-10-06 Thread Jeroen Roovers
commit: 46288a4b17c6f9981d1b1324e0d69699e04eac6a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct  7 04:46:55 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct  7 04:52:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46288a4b

net-analyzer/hydra: Old

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/Manifest|   2 -
 net-analyzer/hydra/hydra-8.5-r1.ebuild | 105 -
 net-analyzer/hydra/hydra-8.6-r1.ebuild | 105 -
 3 files changed, 212 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index f0adde63297..a516b15bd1e 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,5 +1,3 @@
 DIST hydra-8.1.tar.gz 559031 BLAKE2B 
a3d2b52508a1d03a2f3d6cecf7100543487b5a0f6210dd6128d3ab48ad16ca3a8fad49709163830049ed8b9bb6891861f9c3f5fd5a6179b0a87a072877e829af
 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
-DIST hydra-8.5.tar.gz 1193694 BLAKE2B 
bf202ccf58f64e2b57a15b5aaf8d4357b8d37d0a634179d2b4fe0c7d63da1e363b02e8578de7d984c75f1e764fc95477aecac9643954c05acbcc63865e066b0a
 SHA512 
67fd92bd5983a94314334471c526b71ca77dec6e359e55f4fb2fc78160e2065957b6c9af1ff694bcc5334893a8b5e0fe1b39d984248bde4e55dc2a9f9a8b1271
-DIST hydra-8.6.tar.gz 1200238 BLAKE2B 
d9470be5280ec51dfcb701cc3dd87ffaef7076c990a30e833c3fe7bc0f2b951f40eae26dab28ebbb1116f3d5e884a3c0819a5913c68e714a3b8597af75140829
 SHA512 
d5d70b5df54fbc556c6db9e9e44b869f29e54aca03dc3cc9e1777d310fcf604b9602ba08250c5bb0d009963dc0ca5c169e61d3f64d7ec2383760fc819d6b6c61
 DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 
97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b
 SHA512 
68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72
 DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338

diff --git a/net-analyzer/hydra/hydra-8.5-r1.ebuild 
b/net-analyzer/hydra/hydra-8.5-r1.ebuild
deleted file mode 100644
index 78edf98bb46..000
--- a/net-analyzer/hydra/hydra-8.5-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Parallelized network 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:0= )
-   mysql? ( dev-db/mysql-connector-c:0= )
-   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
-   # 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-08-13 Thread Jeroen Roovers
commit: 4aad8e61e2f17e82736ab9992095abff83b69904
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug 13 06:21:39 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Aug 13 06:22:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aad8e61

net-analyzer/hydra: Add live ebuild

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/hydra-999.ebuild | 122 
 1 file changed, 122 insertions(+)

diff --git a/net-analyzer/hydra/hydra-999.ebuild 
b/net-analyzer/hydra/hydra-999.ebuild
new file mode 100644
index 000..419882a4735
--- /dev/null
+++ b/net-analyzer/hydra/hydra-999.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Parallelized network login hacker"
+HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
+EGIT_REPO_URI="${HOMEPAGE}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   oracle pcre postgres rdp libssh subversion zlib
+"
+
+RDEPEND="
+   gtk? (
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:2
+   )
+   firebird? ( dev-db/firebird )
+   gcrypt? ( dev-libs/libgcrypt )
+   idn? ( net-dns/libidn:0= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   memcached? ( dev-libs/libmemcached[sasl] )
+   mongodb? ( dev-libs/mongo-c-driver )
+   mysql? ( dev-db/mysql-connector-c:0= )
+   ncp? ( net-fs/ncpfs )
+   ncurses? ( sys-libs/ncurses:= )
+   oracle? ( dev-db/oracle-instantclient-basic )
+   pcre? ( dev-libs/libpcre )
+   postgres? ( dev-db/postgresql:* )
+   rdp? ( net-misc/freerdp )
+   libssh? ( >=net-libs/libssh-0.4.0 )
+   subversion? ( dev-vcs/subversion )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+
+   # None of the settings in Makefile.unix are useful to us
+   mv Makefile.unix{,.gentoo_unused} || die
+   touch Makefile.unix || die
+
+   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() {
+   # Note: the top level configure script is not autoconf-based
+   tc-export CC PKG_CONFIG
+
+   export OPTS="${CFLAGS}"
+
+   hydra_sed() {
+   if use ${1}; then
+   einfo "Enabling ${1}"
+   if [[ -n "${3}" ]]; then
+   sed -i 's#'"${2}"'#'"${3}"'#' configure || die
+   fi
+   else
+   einfo "Disabling ${1}"
+   sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die
+   fi
+   }
+
+   hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD'
+   hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config 
--libs )' '-DHAVE_GCRYPT'
+   hydra_sed idn '-lidn' '$( "${PKG_CONFIG}"  --libs libidn )' '-DLIBIDN 
-DHAVE_PR29_H'
+   hydra_sed libssh '-lssh' '$( "${PKG_CONFIG}"  --libs libssh )' 
'-DLIBSSH'
+   hydra_sed memcached '-lmemcached' '$( "${PKG_CONFIG}"  --libs 
libmemcached )' '-DLIBMCACHED'
+   hydra_sed mongodb '-lmongoc-1.0' '$( "${PKG_CONFIG}"  --libs 
libmongoc-1.0 )' '-DLIBMONGODB\|-DLIBBSON'
+   hydra_sed mysql '-lmysqlclient' '$( ${CTARGET:-${CHOST}}-mysql_config 
--libs )' '-DLIBMYSQLCLIENT'
+   hydra_sed ncp '-lncp' '' '-DLIBNCP'
+   hydra_sed ncurses '-lcurses' '$( "${PKG_CONFIG}"  --libs ncurses )' 
'-DLIBNCURSES'
+   hydra_sed pcre '-lpcre' '$( "${PKG_CONFIG}"  --libs libpcre )' 
'-DHAVE_PCRE'
+   hydra_sed postgres '-lpq' '$( "${PKG_CONFIG}"  --libs libpq )' 
'-DLIBPOSTGRES'
+   hydra_sed oracle '-locci -lclntsh' '' '-DLIBORACLE'
+   hydra_sed rdp '-lfreerdp2' '$( "${PKG_CONFIG}"  --libs freerdp2 )' 
'-DLIBFREERDP2'
+   # TODO: https://bugs.gentoo.org/686148
+   #hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'$( "${PKG_CONFIG}"  --libs libsvn_client )' '-DLIBSVN'
+   hydra_sed subversion '-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1' 
'' '-DLIBSVN'
+   hydra_sed zlib '-lz' '$( "${PKG_CONFIG}"  --libs zlib )' '-DHAVE_ZLIB'
+
+   sh configure \
+   $(use gtk || echo --disable-xhydra) \
+   $(usex debug '--debug' '') \
+   --nostrip \
+   --prefix=/usr \
+   || die
+
+   if use gtk ; then
+   pushd hydra-gtk || die
+   econf
+   fi
+}
+
+src_compile() {
+

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-08-13 Thread Jeroen Roovers
commit: b3695b84765dad5cbad30ed7a4829dcad7fd70e9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug 13 06:12:41 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Aug 13 06:22:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3695b84

net-analyzer/hydra: Fix DESCRIPTION

Sync up DESCRIPTION with the hydra.c header blurb, with one spelling
correction:

* "Advanced" was removed from or never present in the source code
* "Parallized" => "Parallelized"
* "login hacker" => "network &"

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/hydra-8.1.ebuild| 4 ++--
 net-analyzer/hydra/hydra-8.5-r1.ebuild | 2 +-
 net-analyzer/hydra/hydra-8.6-r1.ebuild | 2 +-
 net-analyzer/hydra/hydra-8.9.1.ebuild  | 2 +-
 net-analyzer/hydra/hydra-9.0.ebuild| 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/hydra/hydra-8.1.ebuild 
b/net-analyzer/hydra/hydra-8.1.ebuild
index 64a4453dc1f..80610ce9cb2 100644
--- a/net-analyzer/hydra/hydra-8.1.ebuild
+++ b/net-analyzer/hydra/hydra-8.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils toolchain-funcs
 
-DESCRIPTION="Advanced parallized login hacker"
+DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="http://www.thc.org/thc-hydra/;
 SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz;
 

diff --git a/net-analyzer/hydra/hydra-8.5-r1.ebuild 
b/net-analyzer/hydra/hydra-8.5-r1.ebuild
index 79aa16aa49e..78edf98bb46 100644
--- a/net-analyzer/hydra/hydra-8.5-r1.ebuild
+++ b/net-analyzer/hydra/hydra-8.5-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit toolchain-funcs
 
-DESCRIPTION="Advanced parallized login hacker"
+DESCRIPTION="Parallelized network 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

diff --git a/net-analyzer/hydra/hydra-8.6-r1.ebuild 
b/net-analyzer/hydra/hydra-8.6-r1.ebuild
index 741256b459a..c1e0721b857 100644
--- a/net-analyzer/hydra/hydra-8.6-r1.ebuild
+++ b/net-analyzer/hydra/hydra-8.6-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 inherit toolchain-funcs
 
-DESCRIPTION="Advanced parallized login hacker"
+DESCRIPTION="Parallelized network 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

diff --git a/net-analyzer/hydra/hydra-8.9.1.ebuild 
b/net-analyzer/hydra/hydra-8.9.1.ebuild
index 04d20a0858d..06022352417 100644
--- a/net-analyzer/hydra/hydra-8.9.1.ebuild
+++ b/net-analyzer/hydra/hydra-8.9.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 inherit toolchain-funcs
 
-DESCRIPTION="Advanced parallized login hacker"
+DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
 SRC_URI="
${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz

diff --git a/net-analyzer/hydra/hydra-9.0.ebuild 
b/net-analyzer/hydra/hydra-9.0.ebuild
index d71a62a645f..a7894804ea7 100644
--- a/net-analyzer/hydra/hydra-9.0.ebuild
+++ b/net-analyzer/hydra/hydra-9.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 inherit toolchain-funcs
 
-DESCRIPTION="Advanced parallized login hacker"
+DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
 SRC_URI="
${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-05-17 Thread Jeroen Roovers
commit: 079ebdc462560ff0f779dd36764f25abec0a45f9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May 17 16:27:43 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May 17 16:28:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079ebdc4

net-analyzer/hydra: Version 9.0

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/Manifest |   1 +
 net-analyzer/hydra/hydra-9.0.ebuild | 125 
 net-analyzer/hydra/metadata.xml |   9 ++-
 3 files changed, 132 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 0c6c1e156ca..f0adde63297 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -2,3 +2,4 @@ DIST hydra-8.1.tar.gz 559031 BLAKE2B 
a3d2b52508a1d03a2f3d6cecf7100543487b5a0f621
 DIST hydra-8.5.tar.gz 1193694 BLAKE2B 
bf202ccf58f64e2b57a15b5aaf8d4357b8d37d0a634179d2b4fe0c7d63da1e363b02e8578de7d984c75f1e764fc95477aecac9643954c05acbcc63865e066b0a
 SHA512 
67fd92bd5983a94314334471c526b71ca77dec6e359e55f4fb2fc78160e2065957b6c9af1ff694bcc5334893a8b5e0fe1b39d984248bde4e55dc2a9f9a8b1271
 DIST hydra-8.6.tar.gz 1200238 BLAKE2B 
d9470be5280ec51dfcb701cc3dd87ffaef7076c990a30e833c3fe7bc0f2b951f40eae26dab28ebbb1116f3d5e884a3c0819a5913c68e714a3b8597af75140829
 SHA512 
d5d70b5df54fbc556c6db9e9e44b869f29e54aca03dc3cc9e1777d310fcf604b9602ba08250c5bb0d009963dc0ca5c169e61d3f64d7ec2383760fc819d6b6c61
 DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 
97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b
 SHA512 
68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72
+DIST hydra-9.0.tar.gz 1168498 BLAKE2B 
b4834c66fb1bebcd19151784b75d4c9220cbf7045b289a063a1cbc48a793abfa2edcb466d43234bd4c8e14074a2e2a39ccd697698392f24f39c84da54ee07165
 SHA512 
58067bd2696e82645bb959fe5537f2876e1d8c170a15fe6a9ac65bbdc33cfb75b47fd1a969c314a6c6d91b2b6c0ce4ba087680bbd67a5a38925a2a8b5c5ad338

diff --git a/net-analyzer/hydra/hydra-9.0.ebuild 
b/net-analyzer/hydra/hydra-9.0.ebuild
new file mode 100644
index 000..d71a62a645f
--- /dev/null
+++ b/net-analyzer/hydra/hydra-9.0.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="
+   ${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="
+   debug firebird gcrypt gtk idn libressl memcached mongodb mysql ncp 
ncurses
+   oracle pcre postgres rdp libssh subversion zlib
+"
+
+RDEPEND="
+   gtk? (
+   dev-libs/atk
+   dev-libs/glib:2
+   x11-libs/gdk-pixbuf:2
+   x11-libs/gtk+:2
+   )
+   firebird? ( dev-db/firebird )
+   gcrypt? ( dev-libs/libgcrypt )
+   idn? ( net-dns/libidn:0= )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   memcached? ( dev-libs/libmemcached[sasl] )
+   mongodb? ( dev-libs/mongo-c-driver )
+   mysql? ( dev-db/mysql-connector-c:0= )
+   ncp? ( net-fs/ncpfs )
+   ncurses? ( sys-libs/ncurses:= )
+   oracle? ( dev-db/oracle-instantclient-basic )
+   pcre? ( dev-libs/libpcre )
+   postgres? ( dev-db/postgresql:* )
+   rdp? ( net-misc/freerdp )
+   libssh? ( >=net-libs/libssh-0.4.0 )
+   subversion? ( dev-vcs/subversion )
+   zlib? ( sys-libs/zlib )
+"
+DEPEND="
+   ${RDEPEND}
+   virtual/pkgconfig
+"
+S=${WORKDIR}/thc-${P}
+
+src_prepare() {
+   default
+
+   # None of the settings in Makefile.unix are useful to us
+   mv Makefile.unix{,.gentoo_unused} || die
+   touch Makefile.unix || die
+
+   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() {
+   # Note: the top level configure script is not autoconf-based
+   tc-export CC PKG_CONFIG
+
+   export OPTS="${CFLAGS}"
+
+   hydra_sed() {
+   if use ${1}; then
+   einfo "Enabling ${1}"
+   if [[ -n "${3}" ]]; then
+   sed -i 's#'"${2}"'#'"${3}"'#' configure || die
+   fi
+   else
+   einfo "Disabling ${1}"
+   sed -i 's#'"${2}"'##; s#'"${4}"'##' configure || die
+   fi
+   }
+
+   hydra_sed firebird '-lfbclient' '' '-DLIBFIREBIRD'
+   hydra_sed gcrypt '-lgcrypt' '$( ${CTARGET:-${CHOST}}-libgcrypt-config 
--libs 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-04-01 Thread Jeroen Roovers
commit: ff25cba068ee60eb09365d37b2674aef0f7e484f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Apr  1 08:41:17 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Apr  1 08:41:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff25cba0

net-analyzer/hydra: Version 8.9.1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/hydra/Manifest   |   1 +
 net-analyzer/hydra/hydra-8.9.1.ebuild | 105 ++
 2 files changed, 106 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 051ba2edc07..0c6c1e156ca 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,4 @@
 DIST hydra-8.1.tar.gz 559031 BLAKE2B 
a3d2b52508a1d03a2f3d6cecf7100543487b5a0f6210dd6128d3ab48ad16ca3a8fad49709163830049ed8b9bb6891861f9c3f5fd5a6179b0a87a072877e829af
 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 DIST hydra-8.5.tar.gz 1193694 BLAKE2B 
bf202ccf58f64e2b57a15b5aaf8d4357b8d37d0a634179d2b4fe0c7d63da1e363b02e8578de7d984c75f1e764fc95477aecac9643954c05acbcc63865e066b0a
 SHA512 
67fd92bd5983a94314334471c526b71ca77dec6e359e55f4fb2fc78160e2065957b6c9af1ff694bcc5334893a8b5e0fe1b39d984248bde4e55dc2a9f9a8b1271
 DIST hydra-8.6.tar.gz 1200238 BLAKE2B 
d9470be5280ec51dfcb701cc3dd87ffaef7076c990a30e833c3fe7bc0f2b951f40eae26dab28ebbb1116f3d5e884a3c0819a5913c68e714a3b8597af75140829
 SHA512 
d5d70b5df54fbc556c6db9e9e44b869f29e54aca03dc3cc9e1777d310fcf604b9602ba08250c5bb0d009963dc0ca5c169e61d3f64d7ec2383760fc819d6b6c61
+DIST hydra-8.9.1.tar.gz 1186320 BLAKE2B 
97c29cda5e26197ed66aa29555b0e4de3ef5b08bf65aa09fd0d564ee5f63825af71d6a41c4552a06a4c86a98dab5a69913c0b0200fe4e5068284ec7fc1f1061b
 SHA512 
68b07dcb22bc55937e79035954417d820691e3a1eea169c959886ce6a741f545efe7879f31f41a1751779c923410dcc67fe8914bb9b5cf567edfc6fad3997d72

diff --git a/net-analyzer/hydra/hydra-8.9.1.ebuild 
b/net-analyzer/hydra/hydra-8.9.1.ebuild
new file mode 100644
index 000..04d20a0858d
--- /dev/null
+++ b/net-analyzer/hydra/hydra-8.9.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra;
+SRC_URI="
+   ${HOMEPAGE}/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:0= )
+   mysql? ( dev-db/mysql-connector-c:0= )
+   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
+}
+

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2019-02-14 Thread Brian Evans
commit: 46648ec6b53933819d723262e0662ad4b643a7c1
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Feb 14 20:09:04 2019 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Feb 14 20:09:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46648ec6

net-analyzer/hydra: Revbumps for dependency change

Bug: https://bugs.gentoo.org/665942
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Brian Evans  gentoo.org>

 net-analyzer/hydra/{hydra-8.5.ebuild => hydra-8.5-r1.ebuild} | 8 
 net-analyzer/hydra/{hydra-8.6.ebuild => hydra-8.6-r1.ebuild} | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/hydra/hydra-8.5.ebuild 
b/net-analyzer/hydra/hydra-8.5-r1.ebuild
similarity index 94%
rename from net-analyzer/hydra/hydra-8.5.ebuild
rename to net-analyzer/hydra/hydra-8.5-r1.ebuild
index 70d970dfe57..79aa16aa49e 100644
--- a/net-analyzer/hydra/hydra-8.5.ebuild
+++ b/net-analyzer/hydra/hydra-8.5-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Advanced parallized login hacker"
 HOMEPAGE="https://www.thc.org/thc-hydra/;
@@ -26,8 +26,8 @@ RDEPEND="
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
)
-   idn? ( net-dns/libidn )
-   mysql? ( virtual/mysql )
+   idn? ( net-dns/libidn:0= )
+   mysql? ( dev-db/mysql-connector-c:0= )
ncp? ( net-fs/ncpfs )
oracle? ( dev-db/oracle-instantclient-basic )
pcre? ( dev-libs/libpcre )

diff --git a/net-analyzer/hydra/hydra-8.6.ebuild 
b/net-analyzer/hydra/hydra-8.6-r1.ebuild
similarity index 94%
rename from net-analyzer/hydra/hydra-8.6.ebuild
rename to net-analyzer/hydra/hydra-8.6-r1.ebuild
index bed5fc36e98..741256b459a 100644
--- a/net-analyzer/hydra/hydra-8.6.ebuild
+++ b/net-analyzer/hydra/hydra-8.6-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Advanced parallized login hacker"
 HOMEPAGE="https://www.thc.org/thc-hydra/;
@@ -26,8 +26,8 @@ RDEPEND="
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
)
-   idn? ( net-dns/libidn )
-   mysql? ( virtual/mysql )
+   idn? ( net-dns/libidn:0= )
+   mysql? ( dev-db/mysql-connector-c:0= )
ncp? ( net-fs/ncpfs )
oracle? ( dev-db/oracle-instantclient-basic )
pcre? ( dev-libs/libpcre )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2017-07-27 Thread Jeroen Roovers
commit: 9ce171dcddf6c936e711177b225cf19242be067f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jul 27 13:25:23 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jul 27 13:25:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce171dc

net-analyzer/hydra: Old.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/hydra/Manifest |   1 -
 net-analyzer/hydra/hydra-8.4.ebuild | 101 
 2 files changed, 102 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 994065c14d0..ab97565c5dd 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,4 +1,3 @@
 DIST hydra-8.1.tar.gz 559031 SHA256 
e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 WHIRLPOOL 
b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c
-DIST hydra-8.4.tar.gz 1205609 SHA256 
482846580888f54e000bb125e263a65c32fa28ba86c9d4012371cf55c3bdc140 SHA512 
62c53f1725eb5b965d16d293cd90ab5e74779eba8fe2e2ab9094f51851fa24acfd74574f509a7914af8254e43197d803cca6b41eace3557d9599d79d695f6a48
 WHIRLPOOL 
aecc31645e7775662e32b766baa942e92e31143e5b6fbe64620ee85179288dc60f3ada477b4605444769c9e76c17d94835db5f3651af409d5562a2e8971279ef
 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

diff --git a/net-analyzer/hydra/hydra-8.4.ebuild 
b/net-analyzer/hydra/hydra-8.4.ebuild
deleted file mode 100644
index ce796181b20..000
--- a/net-analyzer/hydra/hydra-8.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# 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://www.thc.org/releases/${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
-)
-
-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 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2017-07-27 Thread Jeroen Roovers
commit: 5606c67fcf08f130f05628fbaf1688566a674e80
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jul 27 13:24:48 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jul 27 13:24:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5606c67f

net-analyzer/hydra: Version bump (bug #626184).

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/hydra/Manifest |   1 +
 net-analyzer/hydra/hydra-8.6.ebuild | 105 
 2 files changed, 106 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index f65cb39c9ab..994065c14d0 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,4 @@
 DIST hydra-8.1.tar.gz 559031 SHA256 
e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 WHIRLPOOL 
b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c
 DIST hydra-8.4.tar.gz 1205609 SHA256 
482846580888f54e000bb125e263a65c32fa28ba86c9d4012371cf55c3bdc140 SHA512 
62c53f1725eb5b965d16d293cd90ab5e74779eba8fe2e2ab9094f51851fa24acfd74574f509a7914af8254e43197d803cca6b41eace3557d9599d79d695f6a48
 WHIRLPOOL 
aecc31645e7775662e32b766baa942e92e31143e5b6fbe64620ee85179288dc60f3ada477b4605444769c9e76c17d94835db5f3651af409d5562a2e8971279ef
 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

diff --git a/net-analyzer/hydra/hydra-8.6.ebuild 
b/net-analyzer/hydra/hydra-8.6.ebuild
new file mode 100644
index 000..bed5fc36e98
--- /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 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2017-05-06 Thread Jeroen Roovers
commit: 54e004754b7519bce71528724d8696e9e95cc553
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat May  6 09:02:48 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat May  6 09:02:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e00475

net-analyzer/hydra: Use Github archive for SRC_URI.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/hydra/Manifest | 2 +-
 net-analyzer/hydra/hydra-8.5.ebuild | 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 0be0acb4694..f65cb39c9ab 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,3 +1,3 @@
 DIST hydra-8.1.tar.gz 559031 SHA256 
e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 WHIRLPOOL 
b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c
 DIST hydra-8.4.tar.gz 1205609 SHA256 
482846580888f54e000bb125e263a65c32fa28ba86c9d4012371cf55c3bdc140 SHA512 
62c53f1725eb5b965d16d293cd90ab5e74779eba8fe2e2ab9094f51851fa24acfd74574f509a7914af8254e43197d803cca6b41eace3557d9599d79d695f6a48
 WHIRLPOOL 
aecc31645e7775662e32b766baa942e92e31143e5b6fbe64620ee85179288dc60f3ada477b4605444769c9e76c17d94835db5f3651af409d5562a2e8971279ef
-DIST hydra-8.5.tar.gz 1214640 SHA256 
557ab284f877aa6c8a26f7491c0373a84836593e5e0ca141b327035e7937dd6d SHA512 
0b462074a5556a53eb3135da7d4c3cafac5448645fa6020f9a86caea04f0e35ebead32e63db80ba8e680a3b14ff7f6a125553653e776c8e54e9caf923c0da0ec
 WHIRLPOOL 
cbd6273f2408cebe943e6f231b1c2e8e34d4e091d96ef4c86a6015a1e6df003442b1d025d6f7e8f83f12d87376c300f08ba8b785a3a0bdfa0d1785e19362b0de
+DIST hydra-8.5.tar.gz 1193694 SHA256 
69b69d16ce9499f3a941836b4d8a1c8a3ff9b905c921cc8c588a3af7f65a3b4b SHA512 
67fd92bd5983a94314334471c526b71ca77dec6e359e55f4fb2fc78160e2065957b6c9af1ff694bcc5334893a8b5e0fe1b39d984248bde4e55dc2a9f9a8b1271
 WHIRLPOOL 
a71e1cb94986ead4eb114f19738cc1e3ed7288220a79d67ef4e6d93bc5c59910ecee1207fd7a10da9300cba9c3b92d5c6f4cdc3bb1a30bde8db523d7d4cce998

diff --git a/net-analyzer/hydra/hydra-8.5.ebuild 
b/net-analyzer/hydra/hydra-8.5.ebuild
index 62d90db2a0d..70d970dfe57 100644
--- a/net-analyzer/hydra/hydra-8.5.ebuild
+++ b/net-analyzer/hydra/hydra-8.5.ebuild
@@ -6,7 +6,9 @@ inherit eutils toolchain-funcs
 
 DESCRIPTION="Advanced parallized login hacker"
 HOMEPAGE="https://www.thc.org/thc-hydra/;
-SRC_URI="https://www.thc.org/releases/${P}.tar.gz;
+SRC_URI="
+   https://github.com/vanhauser-thc/thc-${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -40,6 +42,7 @@ DEPEND="
 PATCHES=(
"${FILESDIR}"/${PN}-8.4-configure.patch
 )
+S=${WORKDIR}/thc-${P}
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2017-05-06 Thread Jeroen Roovers
commit: ec069d87897015df9da8516887c79403c092c339
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat May  6 08:56:05 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat May  6 08:56:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec069d87

net-analyzer/hydra: Version bump (bug #617540 by Anton Bolshakov).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/hydra/Manifest |   1 +
 net-analyzer/hydra/hydra-8.5.ebuild | 102 
 2 files changed, 103 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 01de2f14ba9..0be0acb4694 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,2 +1,3 @@
 DIST hydra-8.1.tar.gz 559031 SHA256 
e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 WHIRLPOOL 
b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c
 DIST hydra-8.4.tar.gz 1205609 SHA256 
482846580888f54e000bb125e263a65c32fa28ba86c9d4012371cf55c3bdc140 SHA512 
62c53f1725eb5b965d16d293cd90ab5e74779eba8fe2e2ab9094f51851fa24acfd74574f509a7914af8254e43197d803cca6b41eace3557d9599d79d695f6a48
 WHIRLPOOL 
aecc31645e7775662e32b766baa942e92e31143e5b6fbe64620ee85179288dc60f3ada477b4605444769c9e76c17d94835db5f3651af409d5562a2e8971279ef
+DIST hydra-8.5.tar.gz 1214640 SHA256 
557ab284f877aa6c8a26f7491c0373a84836593e5e0ca141b327035e7937dd6d SHA512 
0b462074a5556a53eb3135da7d4c3cafac5448645fa6020f9a86caea04f0e35ebead32e63db80ba8e680a3b14ff7f6a125553653e776c8e54e9caf923c0da0ec
 WHIRLPOOL 
cbd6273f2408cebe943e6f231b1c2e8e34d4e091d96ef4c86a6015a1e6df003442b1d025d6f7e8f83f12d87376c300f08ba8b785a3a0bdfa0d1785e19362b0de

diff --git a/net-analyzer/hydra/hydra-8.5.ebuild 
b/net-analyzer/hydra/hydra-8.5.ebuild
new file mode 100644
index 000..62d90db2a0d
--- /dev/null
+++ b/net-analyzer/hydra/hydra-8.5.ebuild
@@ -0,0 +1,102 @@
+# 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://www.thc.org/releases/${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
+)
+
+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 && 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2017-05-06 Thread Jeroen Roovers
commit: 327a2bafb9d0ef0c164a1776f6f70ee2d97e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat May  6 08:57:29 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat May  6 08:57:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=327a2baf

net-analyzer/hydra: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/hydra/hydra-8.1-r1.ebuild | 99 --
 1 file changed, 99 deletions(-)

diff --git a/net-analyzer/hydra/hydra-8.1-r1.ebuild 
b/net-analyzer/hydra/hydra-8.1-r1.ebuild
deleted file mode 100644
index 5bd65a0cb6f..000
--- a/net-analyzer/hydra/hydra-8.1-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2016 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 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
-"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/, net-analyzer/hydra/

2017-04-16 Thread Jeroen Roovers
commit: 3b38108bc45b4930319a10e22f7c576dbc92a566
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Apr 16 20:48:45 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Apr 16 20:49:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b38108b

net-analyzer/hydra: Version bump (bug #615584).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/hydra/Manifest|   1 +
 net-analyzer/hydra/files/hydra-8.4-configure.patch |  48 ++
 net-analyzer/hydra/hydra-8.4.ebuild| 101 +
 3 files changed, 150 insertions(+)

diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 63141477f5b..01de2f14ba9 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1 +1,2 @@
 DIST hydra-8.1.tar.gz 559031 SHA256 
e4bc2fd11f97a8d985a38a31785c86d38cc60383e47a8f4a5c436351e5135f19 SHA512 
7608dd365865e5976bea446faedaad9f0334e7572fd0ee47a601c471471fc7c8a922c7114f4df08705b34b29144d3a6552e66148adf6b0f92c67301119c94959
 WHIRLPOOL 
b1555fe1a8257c88f8f5c110fce1d06834eb6dadad394b61e2a90c3289b8fdd117944da160871003b1583aefb81a02d5c49a653e8de7d3adcd07917ae760c83c
+DIST hydra-8.4.tar.gz 1205609 SHA256 
482846580888f54e000bb125e263a65c32fa28ba86c9d4012371cf55c3bdc140 SHA512 
62c53f1725eb5b965d16d293cd90ab5e74779eba8fe2e2ab9094f51851fa24acfd74574f509a7914af8254e43197d803cca6b41eace3557d9599d79d695f6a48
 WHIRLPOOL 
aecc31645e7775662e32b766baa942e92e31143e5b6fbe64620ee85179288dc60f3ada477b4605444769c9e76c17d94835db5f3651af409d5562a2e8971279ef

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 000..ba99ff2acda
--- /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.4.ebuild 
b/net-analyzer/hydra/hydra-8.4.ebuild
new file mode 100644
index 000..ce796181b20
--- /dev/null
+++ b/net-analyzer/hydra/hydra-8.4.ebuild
@@ -0,0 +1,101 @@
+# 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://www.thc.org/releases/${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
+)
+
+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 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/

2016-07-13 Thread Anthony G. Basile
commit: 1308d1236e22393c2024cf75acd6a9097637cea4
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jul 13 17:32:53 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jul 13 17:32:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1308d123

net-analyzer/hydra: add libressl support

Package-Manager: portage-2.2.28

 net-analyzer/hydra/hydra-8.1-r1.ebuild | 100 +
 1 file changed, 100 insertions(+)

diff --git a/net-analyzer/hydra/hydra-8.1-r1.ebuild 
b/net-analyzer/hydra/hydra-8.1-r1.ebuild
new file mode 100644
index 000..919c683
--- /dev/null
+++ b/net-analyzer/hydra/hydra-8.1-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 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
+"
+
+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
+}