UPDATE: security/hydra to 9.2

2021-07-11 Thread Sebastian Reitenbach
hi,

below an update from 9.1 to 9.2. Getting rid of a few patches, lightly tested 
SSH brute force, works for me, as well as triggering it via xhydra.

so far seems to work for me.

any feedback, tests etc. welcome, otherwise OK to update?

cheers,
Sebastian


Index: Makefile
===
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- Makefile14 Feb 2021 13:42:13 -  1.63
+++ Makefile11 Jul 2021 21:05:44 -
@@ -3,11 +3,9 @@
 COMMENT-main=  parallelized network logon cracker
 COMMENT-gui=   GTK frontend for hydra

-VERSION=   9.1
+VERSION=   9.2
 PKGNAME-main=  hydra-${VERSION}
 PKGNAME-gui=   hydra-gui-${VERSION}
-
-REVISION=  0

 CATEGORIES=security

Index: distinfo
===
RCS file: /cvs/ports/security/hydra/distinfo,v
retrieving revision 1.18
diff -u -r1.18 distinfo
--- distinfo13 Nov 2020 21:33:44 -  1.18
+++ distinfo11 Jul 2021 21:05:44 -
@@ -1,2 +1,2 @@
-SHA256 (thc-hydra-9.1.tar.gz) = zgilFIwK5f9LCkry9/FcWUa8k5pX6uG7tt2hnzRBAnM=
-SIZE (thc-hydra-9.1.tar.gz) = 611846
+SHA256 (thc-hydra-9.2.tar.gz) = GijwZHY/kUT47FdEFqVu9RwKsa4iduNaic7tT1lOxdI=
+SIZE (thc-hydra-9.2.tar.gz) = 614176
Index: patches/patch-Makefile_am
===
RCS file: /cvs/ports/security/hydra/patches/patch-Makefile_am,v
retrieving revision 1.5
diff -u -r1.5 patch-Makefile_am
--- patches/patch-Makefile_am   13 Nov 2020 21:33:44 -  1.5
+++ patches/patch-Makefile_am   11 Jul 2021 21:05:44 -
@@ -7,8 +7,8 @@
  WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security 
-Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 
-Wuninitialized -Wmissing-variable-declarations  -Wmissing-declarations
  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
-+OPTS=-I. $(CFLAGS) -fcommon
+-OPTS=-I. -O3 $(CFLAGS) -fcommon -Wl,--allow-multiple-definition
++OPTS=-I. $(CFLAGS) -fcommon -Wl,--allow-multiple-definition
  # -Wall -g -pedantic
  LIBS=-lm
  DESTDIR ?=
Index: patches/patch-configure
===
RCS file: /cvs/ports/security/hydra/patches/patch-configure,v
retrieving revision 1.12
diff -u -r1.12 patch-configure
--- patches/patch-configure 9 Dec 2020 10:19:53 -   1.12
+++ patches/patch-configure 11 Jul 2021 21:05:44 -
@@ -3,7 +3,7 @@
 Index: configure
 --- configure.orig
 +++ configure
-@@ -170,6 +170,13 @@ fi
+@@ -172,6 +172,13 @@ fi
  STRIP="strip"
  echo

@@ -17,7 +17,7 @@
  echo "Checking for zlib (libz/zlib.h) ..."
  for i in $INCDIRS; do
 if [ -f "$i/zlib.h" ]; then
-@@ -267,13 +274,13 @@ if [ "$SSL_IPATH" = "/usr/include" ]; then
+@@ -269,13 +276,13 @@ if [ "$SSL_IPATH" = "/usr/include" ]; then
  fi

  echo "Checking for gcrypt (libgcrypt/gpg-error.h) ..."
@@ -33,7 +33,7 @@
  if [ "X" = "X$GPGERROR_IPATH" ]; then
  TMP_PATH=`/bin/ls $i/$SYSM*/gpg-error.h 2> /dev/null`
  if [ -n "$TMP_PATH" ]; then
-@@ -294,7 +301,7 @@ else
+@@ -296,7 +303,7 @@ else
  fi

  echo "Checking for idn (libidn) ..."
@@ -42,7 +42,7 @@
  if [ "X" = "X$IDN_PATH" ]; then
  if [ -f "$i/libidn.so" -o -f "$i/libidn.dylib" -o -f "$i/libidn.a" -o 
-f "$i/libidn.dll.a" -o -f "$i/libidn.la" ]; then
  IDN_PATH="$i"
-@@ -307,7 +314,7 @@ for i in $LIBDIRS ; do
+@@ -309,7 +316,7 @@ for i in $LIBDIRS ; do
  fi
  fi
  done
@@ -51,7 +51,7 @@
  if [ "X" != "X$IDN_PATH" ]; then
  if [ -f "$i/stringprep.h" ]; then
  IDN_IPATH="$i"
-@@ -379,7 +386,7 @@ if [ "X" = "X$CURSES_PATH" -o "X" = "X$CURSES_IPATH" ]
+@@ -381,7 +388,7 @@ if [ "X" = "X$CURSES_PATH" -o "X" = "X$CURSES_IPATH" ]
  fi

  echo "Checking for pcre (libpcre/pcre.h) ..."
@@ -60,7 +60,7 @@
  if [ "X" = "X$PCRE_PATH" ]; then
  if [ -f "$i/libpcre.so" -o -f "$i/libpcre.dylib" -o -f "$i/libpcre.a" 
  ]; then
  PCRE_PATH="$i"
-@@ -398,7 +405,7 @@ for i in $LIBDIRS ; do
+@@ -400,7 +407,7 @@ for i in $LIBDIRS ; do
  fi
  fi
  done
@@ -69,7 +69,7 @@
  if [ "X" != "X$PCRE_PATH" ]; then
  if [ -f "$i/pcre.h" ]; then
  PCRE_IPATH="$i"
-@@ -424,7 +431,7 @@ echo "Checking for Postgres (libpq/libpq-fe.h) ..."
+@@ -426,7 +433,7 @@ echo "Checking for Postgres (libpq/libpq-fe.h) ..."
  #POSTGRES_PATH=""
  #POSTGRES_IPATH=""
  #else
@@ -78,16 +78,16 @@
  if [ "X" = "X$POSTGRES_PATH" ]; then
  if [ -f "$i/libpq.so" -o -f "$i/libpq.dylib" -o -f "$i/libpq.a" ]; 
then
  POSTGRES_PATH="$i"
-@@ 

Re: UPDATE: security/hydra

2017-02-26 Thread Rafael Sadowski
Ok from benoit@ and rpointel@. Diff see below.

Rafael Sadowski

On Sat Jan 28, 2017 at 10:10:58AM +0100, Rafael Sadowski wrote:
> 
> correct, thanks Remi; I remove gettext as MODULE for -gui. I see no
> gettext-tools calls in -main and -gui.  Now portcheck and
> port-lib-depends-check are happy too.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/hydra/Makefile,v
> retrieving revision 1.56
> diff -u -p -u -p -r1.56 Makefile
> --- Makefile  17 Jan 2016 17:29:10 -  1.56
> +++ Makefile  28 Jan 2017 09:07:24 -
> @@ -3,50 +3,42 @@
>  COMMENT-main=parallelized network logon cracker
>  COMMENT-gui= GTK frontend for hydra
>  
> -VERSION= 8.1
> -REVISION-main=   0
> -DISTNAME=hydra-${VERSION}
> +VERSION= 8.4
>  PKGNAME-main=hydra-${VERSION}
>  PKGNAME-gui= hydra-gui-${VERSION}
> -CATEGORIES=  security
> +CATEGORIES=  security
>  
> -HOMEPAGE=http://thc.org/thc-hydra/
> +GH_ACCOUNT = vanhauser-thc
> +GH_PROJECT = thc-hydra
> +GH_TAGNAME = v${VERSION}
>  
> -#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
> -PERMIT_PACKAGE_CDROM=Yes
> +HOMEPAGE=https://thc.org/thc-hydra/
>  
> -WANTLIB= c m
> +# AGPLv3 (GNU Affero Public License)
> +PERMIT_PACKAGE_CDROM=Yes
>  
> -MASTER_SITES =  http://www.thc.org/releases/
> -MASTER_SITES +=  ${MASTER_SITE_PACKETSTORM:=groups/thc/}
> +WANTLIB= c z
>  
>  PSEUDO_FLAVORS=  no_x11
>  FLAVOR?=
>  
>  MULTI_PACKAGES=  -main
>  
> -CONFIGURE_STYLE=gnu dest
> +CONFIGURE_STYLE=gnu
>  
>  USE_GMAKE=   Yes
>  NO_TEST= Yes
>  MAKE_FLAGS=  CC=${CC}
> -CFLAGS +=-I${LOCALBASE}/include
> +
> +CONFIGURE_ARGS = --with-ssl=prefix="/usr/include" \
> + --with-ssl-lib=prefix="/usr/lib" \
> + --prefix=${LOCALBASE}
>  
>  .if ${FLAVOR:Mno_x11}
>  ALL_TARGET=  hydra pw-inspector
> -
> -do-install:
> - cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
>  .else
> -
>  MULTI_PACKAGES+=-gui
> -
>  ALL_TARGET=  all
> -
> -MODULES= devel/gettext
> -
> -post-configure:
> - cd ${WRKSRC}/hydra-gtk && ./configure
>  .endif
>  
>  LIB_DEPENDS-main=databases/mariadb,-main \
> @@ -55,24 +47,22 @@ LIB_DEPENDS-main= databases/mariadb,-mai
>   devel/pcre \
>   security/libssh
>  RUN_DEPENDS-main=
> -WANTLIB-main=${WANTLIB} curses crypto idn mysqlclient pcre pq 
> pthread ssh ssl
> -LIB_DEPENDS-gui=x11/gtk+2 \
> - ${MODGETTEXT_LIB_DEPENDS}
> -RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
> - ${MODGETTEXT_RUN_DEPENDS}
> -WANTLIB-gui= ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
> - Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
> - gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
> - gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
> - pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
> - pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
> - xcb-shm
>  
> -post-extract:
> - chmod -R u+w ${WRKDIST}
> +WANTLIB-main=${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh 
> ssl
> +
> +LIB_DEPENDS-gui=x11/gtk+2
> +
> +RUN_DEPENDS-gui=${PKGPATH},-main
> +
> +WANTLIB-gui= X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \
> + Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \
> + gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \
> + pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB}
>  
>  post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
> - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + mv ${PREFIX}/etc/* ${PREFIX}/share/doc/hydra/ && rm -r ${PREFIX}/etc
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/hydra/distinfo,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 distinfo
> --- distinfo  21 Nov 2015 14:16:33 -  1.14
> +++ distinfo  28 Jan 2017 09:07:24 -
> @@ -1,2 +1,2 @@
> -SHA256 (hydra-8.1.tar.gz) = 5Lwv0R+XqNmFo4oxeFyG04zGA4Pkeo9KXENjUeUTXxk=
> -SIZE (hydra-8.1.tar.gz) = 559031
> +SHA256 (thc-hydra-8.4.tar.gz) = tHgVdhjmAuCorcQS76zBwqXZWo9b+zBXn79Zl0ac2LQ=
> +SIZE (thc-hydra-8.4.tar.gz) = 1191761
> Index: patches/patch-Makefile
> ===
> RCS file: patches/patch-Makefile
> diff -N patches/patch-Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-Makefile28 Jan 2017 09:07:24 -
> @@ -0,0 +1,96 @@
> +$OpenBSD$
> +--- Makefile.origFri Jan 27 17:19:18 2017
>  Makefile Fri Jan 27 18:39:51 2017
> +@@ -1,5 +1,90 @@
> +-all:
> +-

Re: UPDATE: security/hydra

2017-02-15 Thread Rafael Sadowski
On Sat Jan 28, 2017 at 01:22:46PM +0100, Remi Pointel wrote:
> On 01/28/17 10:10, Rafael Sadowski wrote:
> > On Sat Jan 28, 2017 at 09:41:04AM +0100, Remi Pointel wrote:
> > > On 01/27/17 19:01, Rafael Sadowski wrote:
> > > > On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote:
> > > > > On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:
> > > > > > On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:
> > > > > > > On 10/09/16 10:29, Rafael Sadowski wrote:
> > > > > > > > Index: pkg/PLIST-main
> > > > > > > > ===
> > > > > > > > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
> > > > > > > > retrieving revision 1.3
> > > > > > > > diff -u -p -u -p -r1.3 PLIST-main
> > > > > > > > --- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
> > > > > > > > +++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
> > > > > > > > @@ -1,8 +1,15 @@
> > > > > > > >  @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel 
> > > > > > > > Exp $
> > > > > > > >  @pkgpath security/hydra
> > > > > > > > +bin/dpl4hydra.sh
> > > > > > > >  @bin bin/hydra
> > > > > > > > +bin/hydra-wizard.sh
> > > > > > > >  @bin bin/pw-inspector
> > > > > > > > +hydra/
> > > > > > > > +hydra/etc/
> > > > > > > > +hydra/etc/dpl4hydra_full.csv
> > > > > > > > +hydra/etc/dpl4hydra_local.csv
> > > > > > > >  @man man/man1/hydra.1
> > > > > > > >  @man man/man1/pw-inspector.1
> > > > > > > >  share/doc/hydra/
> > > > > > > > +share/doc/hydra/LICENSE
> > > > > > > >  share/doc/hydra/README
> > > > > > > > 
> > > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > I quickly tested and it sounds good for me.
> > > > > > > However, I would install dpl4hydra_full.csv and 
> > > > > > > dpl4hydra_local.csv in
> > > > > > > another path (maybe share/doc/hydra/, but not in 
> > > > > > > ${LOCALBASE}/hydra/etc/.
> > > > > > > 
> > > > > > > Cheers,
> > > > > > > 
> > > > > > > Remi.
> > > > > > 
> > > > > > Updated diff with dpl4hydra_* in "share/doc/hydra/":
> > > > > > 
> > > > > 
> > > > > *ping*, nobody?
> > > > > 
> > > > 
> > > > Updated version to 8.4.
> > > > 
> > > > Best regards,
> > > > 
> > > 
> > > Hi,
> > > 
> > > sounds good for me, I have these lines when I run port-lib-depends-check:
> > > hydra-8.4(security/hydra,-main):
> > > Extra:  iconv.6 intl.6
> > > 
> > > hydra-gui-8.4(security/hydra,-gui):
> > > Extra:  iconv.6
> > > 
> > > ok rpointel@.
> > 
> > correct, thanks Remi; I remove gettext as MODULE for -gui. I see no
> > gettext-tools calls in -main and -gui.  Now portcheck and
> > port-lib-depends-check are happy too.
> > 
> 
> ok rpointel@

One okay, anyone else?

Rafael



Re: UPDATE: security/hydra

2017-01-28 Thread Remi Pointel

On 01/28/17 10:10, Rafael Sadowski wrote:

On Sat Jan 28, 2017 at 09:41:04AM +0100, Remi Pointel wrote:

On 01/27/17 19:01, Rafael Sadowski wrote:

On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote:

On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:

On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:

On 10/09/16 10:29, Rafael Sadowski wrote:

Index: pkg/PLIST-main
===
RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST-main
--- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
+++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
@@ -1,8 +1,15 @@
 @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
 @pkgpath security/hydra
+bin/dpl4hydra.sh
 @bin bin/hydra
+bin/hydra-wizard.sh
 @bin bin/pw-inspector
+hydra/
+hydra/etc/
+hydra/etc/dpl4hydra_full.csv
+hydra/etc/dpl4hydra_local.csv
 @man man/man1/hydra.1
 @man man/man1/pw-inspector.1
 share/doc/hydra/
+share/doc/hydra/LICENSE
 share/doc/hydra/README



Hi,

I quickly tested and it sounds good for me.
However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.

Cheers,

Remi.


Updated diff with dpl4hydra_* in "share/doc/hydra/":



*ping*, nobody?



Updated version to 8.4.

Best regards,



Hi,

sounds good for me, I have these lines when I run port-lib-depends-check:
hydra-8.4(security/hydra,-main):
Extra:  iconv.6 intl.6

hydra-gui-8.4(security/hydra,-gui):
Extra:  iconv.6

ok rpointel@.


correct, thanks Remi; I remove gettext as MODULE for -gui. I see no
gettext-tools calls in -main and -gui.  Now portcheck and
port-lib-depends-check are happy too.



ok rpointel@



Re: UPDATE: security/hydra

2017-01-28 Thread Rafael Sadowski
On Sat Jan 28, 2017 at 09:41:04AM +0100, Remi Pointel wrote:
> On 01/27/17 19:01, Rafael Sadowski wrote:
> > On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote:
> > > On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:
> > > > On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:
> > > > > On 10/09/16 10:29, Rafael Sadowski wrote:
> > > > > > Index: pkg/PLIST-main
> > > > > > ===
> > > > > > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
> > > > > > retrieving revision 1.3
> > > > > > diff -u -p -u -p -r1.3 PLIST-main
> > > > > > --- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
> > > > > > +++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
> > > > > > @@ -1,8 +1,15 @@
> > > > > >  @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
> > > > > >  @pkgpath security/hydra
> > > > > > +bin/dpl4hydra.sh
> > > > > >  @bin bin/hydra
> > > > > > +bin/hydra-wizard.sh
> > > > > >  @bin bin/pw-inspector
> > > > > > +hydra/
> > > > > > +hydra/etc/
> > > > > > +hydra/etc/dpl4hydra_full.csv
> > > > > > +hydra/etc/dpl4hydra_local.csv
> > > > > >  @man man/man1/hydra.1
> > > > > >  @man man/man1/pw-inspector.1
> > > > > >  share/doc/hydra/
> > > > > > +share/doc/hydra/LICENSE
> > > > > >  share/doc/hydra/README
> > > > > > 
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > I quickly tested and it sounds good for me.
> > > > > However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
> > > > > another path (maybe share/doc/hydra/, but not in 
> > > > > ${LOCALBASE}/hydra/etc/.
> > > > > 
> > > > > Cheers,
> > > > > 
> > > > > Remi.
> > > > 
> > > > Updated diff with dpl4hydra_* in "share/doc/hydra/":
> > > > 
> > > 
> > > *ping*, nobody?
> > > 
> > 
> > Updated version to 8.4.
> > 
> > Best regards,
> > 
> 
> Hi,
> 
> sounds good for me, I have these lines when I run port-lib-depends-check:
> hydra-8.4(security/hydra,-main):
> Extra:  iconv.6 intl.6
> 
> hydra-gui-8.4(security/hydra,-gui):
> Extra:  iconv.6
> 
> ok rpointel@.

correct, thanks Remi; I remove gettext as MODULE for -gui. I see no
gettext-tools calls in -main and -gui.  Now portcheck and
port-lib-depends-check are happy too.

Index: Makefile
===
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.56
+++ Makefile28 Jan 2017 09:07:24 -
@@ -3,50 +3,42 @@
 COMMENT-main=  parallelized network logon cracker
 COMMENT-gui=   GTK frontend for hydra
 
-VERSION=   8.1
-REVISION-main= 0
-DISTNAME=  hydra-${VERSION}
+VERSION=   8.4
 PKGNAME-main=  hydra-${VERSION}
 PKGNAME-gui=   hydra-gui-${VERSION}
-CATEGORIES=security
+CATEGORIES=security
 
-HOMEPAGE=  http://thc.org/thc-hydra/
+GH_ACCOUNT =   vanhauser-thc
+GH_PROJECT =   thc-hydra
+GH_TAGNAME =   v${VERSION}
 
-#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
-PERMIT_PACKAGE_CDROM=  Yes
+HOMEPAGE=  https://thc.org/thc-hydra/
 
-WANTLIB=   c m
+# AGPLv3 (GNU Affero Public License)
+PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES =  http://www.thc.org/releases/
-MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/}
+WANTLIB=   c z
 
 PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
 MULTI_PACKAGES=-main
 
-CONFIGURE_STYLE=gnu dest
+CONFIGURE_STYLE=gnu
 
 USE_GMAKE= Yes
 NO_TEST=   Yes
 MAKE_FLAGS=CC=${CC}
-CFLAGS +=  -I${LOCALBASE}/include
+
+CONFIGURE_ARGS =   --with-ssl=prefix="/usr/include" \
+   --with-ssl-lib=prefix="/usr/lib" \
+   --prefix=${LOCALBASE}
 
 .if ${FLAVOR:Mno_x11}
 ALL_TARGET=hydra pw-inspector
-
-do-install:
-   cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
 .else
-
 MULTI_PACKAGES+=-gui
-
 ALL_TARGET=all
-
-MODULES=   devel/gettext
-
-post-configure:
-   cd ${WRKSRC}/hydra-gtk && ./configure
 .endif
 
 LIB_DEPENDS-main=  databases/mariadb,-main \
@@ -55,24 +47,22 @@ LIB_DEPENDS-main=   databases/mariadb,-mai
devel/pcre \
security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=  ${WANTLIB} curses crypto idn mysqlclient pcre pq pthread ssh ssl
-LIB_DEPENDS-gui=x11/gtk+2 \
-   ${MODGETTEXT_LIB_DEPENDS}
-RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
-   ${MODGETTEXT_RUN_DEPENDS}
-WANTLIB-gui=   ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
-   Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
-   gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
-   gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
-   pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
-   pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
-   xcb-shm
 
-post-extract:
-   chmod -R u+w ${WRKDIST}
+WANTLIB-main=  ${WANTLIB} 

Re: UPDATE: security/hydra

2017-01-28 Thread Remi Pointel

On 01/27/17 19:01, Rafael Sadowski wrote:

On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote:

On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:

On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:

On 10/09/16 10:29, Rafael Sadowski wrote:

Index: pkg/PLIST-main
===
RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST-main
--- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
+++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
@@ -1,8 +1,15 @@
 @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
 @pkgpath security/hydra
+bin/dpl4hydra.sh
 @bin bin/hydra
+bin/hydra-wizard.sh
 @bin bin/pw-inspector
+hydra/
+hydra/etc/
+hydra/etc/dpl4hydra_full.csv
+hydra/etc/dpl4hydra_local.csv
 @man man/man1/hydra.1
 @man man/man1/pw-inspector.1
 share/doc/hydra/
+share/doc/hydra/LICENSE
 share/doc/hydra/README



Hi,

I quickly tested and it sounds good for me.
However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.

Cheers,

Remi.


Updated diff with dpl4hydra_* in "share/doc/hydra/":



*ping*, nobody?



Updated version to 8.4.

Best regards,



Hi,

sounds good for me, I have these lines when I run port-lib-depends-check:
hydra-8.4(security/hydra,-main):
Extra:  iconv.6 intl.6

hydra-gui-8.4(security/hydra,-gui):
Extra:  iconv.6

ok rpointel@.

Remi.



Re: UPDATE: security/hydra

2017-01-27 Thread Rafael Sadowski
On Sat Nov 26, 2016 at 11:09:37AM +0100, Rafael Sadowski wrote:
> On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:
> > On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:
> > > On 10/09/16 10:29, Rafael Sadowski wrote:
> > > > Index: pkg/PLIST-main
> > > > ===
> > > > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
> > > > retrieving revision 1.3
> > > > diff -u -p -u -p -r1.3 PLIST-main
> > > > --- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
> > > > +++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
> > > > @@ -1,8 +1,15 @@
> > > >  @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
> > > >  @pkgpath security/hydra
> > > > +bin/dpl4hydra.sh
> > > >  @bin bin/hydra
> > > > +bin/hydra-wizard.sh
> > > >  @bin bin/pw-inspector
> > > > +hydra/
> > > > +hydra/etc/
> > > > +hydra/etc/dpl4hydra_full.csv
> > > > +hydra/etc/dpl4hydra_local.csv
> > > >  @man man/man1/hydra.1
> > > >  @man man/man1/pw-inspector.1
> > > >  share/doc/hydra/
> > > > +share/doc/hydra/LICENSE
> > > >  share/doc/hydra/README
> > > > 
> > > 
> > > Hi,
> > > 
> > > I quickly tested and it sounds good for me.
> > > However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
> > > another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.
> > > 
> > > Cheers,
> > > 
> > > Remi.
> > 
> > Updated diff with dpl4hydra_* in "share/doc/hydra/":
> > 
> 
> *ping*, nobody?
> 

Updated version to 8.4.

Best regards,

Rafael Sadowski

Index: Makefile
===
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.56
+++ Makefile27 Jan 2017 17:58:40 -
@@ -3,50 +3,43 @@
 COMMENT-main=  parallelized network logon cracker
 COMMENT-gui=   GTK frontend for hydra
 
-VERSION=   8.1
-REVISION-main= 0
-DISTNAME=  hydra-${VERSION}
+VERSION=   8.4
 PKGNAME-main=  hydra-${VERSION}
 PKGNAME-gui=   hydra-gui-${VERSION}
-CATEGORIES=security
+CATEGORIES=security
 
-HOMEPAGE=  http://thc.org/thc-hydra/
+GH_ACCOUNT =   vanhauser-thc
+GH_PROJECT =   thc-hydra
+GH_TAGNAME =   v${VERSION}
 
-#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
-PERMIT_PACKAGE_CDROM=  Yes
+HOMEPAGE=  https://thc.org/thc-hydra/
 
-WANTLIB=   c m
+# AGPLv3 (GNU Affero Public License)
+PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES =  http://www.thc.org/releases/
-MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/}
+WANTLIB=   c z
 
 PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
 MULTI_PACKAGES=-main
 
-CONFIGURE_STYLE=gnu dest
+CONFIGURE_STYLE=gnu
 
 USE_GMAKE= Yes
 NO_TEST=   Yes
 MAKE_FLAGS=CC=${CC}
-CFLAGS +=  -I${LOCALBASE}/include
+
+CONFIGURE_ARGS =   --with-ssl=prefix="/usr/include" \
+   --with-ssl-lib=prefix="/usr/lib" \
+   --prefix=${LOCALBASE}
 
 .if ${FLAVOR:Mno_x11}
 ALL_TARGET=hydra pw-inspector
-
-do-install:
-   cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
 .else
-
+MODULES=   devel/gettext
 MULTI_PACKAGES+=-gui
-
 ALL_TARGET=all
-
-MODULES=   devel/gettext
-
-post-configure:
-   cd ${WRKSRC}/hydra-gtk && ./configure
 .endif
 
 LIB_DEPENDS-main=  databases/mariadb,-main \
@@ -55,24 +48,24 @@ LIB_DEPENDS-main=   databases/mariadb,-mai
devel/pcre \
security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=  ${WANTLIB} curses crypto idn mysqlclient pcre pq pthread ssh ssl
+
+WANTLIB-main=  ${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh ssl
+
 LIB_DEPENDS-gui=x11/gtk+2 \
${MODGETTEXT_LIB_DEPENDS}
-RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
+
+RUN_DEPENDS-gui=${PKGPATH},-main \
${MODGETTEXT_RUN_DEPENDS}
-WANTLIB-gui=   ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
-   Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
-   gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
-   gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
-   pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
-   pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
-   xcb-shm
 
-post-extract:
-   chmod -R u+w ${WRKDIST}
+WANTLIB-gui=   X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \
+   Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \
+   gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \
+   pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB}
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
-   ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
+   ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
+   ${INSTALL_DATA} 

Re: UPDATE: security/hydra

2016-11-26 Thread Rafael Sadowski
On Mon Oct 17, 2016 at 09:15:49PM +0200, Rafael Sadowski wrote:
> On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:
> > On 10/09/16 10:29, Rafael Sadowski wrote:
> > > Index: pkg/PLIST-main
> > > ===
> > > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
> > > retrieving revision 1.3
> > > diff -u -p -u -p -r1.3 PLIST-main
> > > --- pkg/PLIST-main5 Nov 2011 15:24:39 -   1.3
> > > +++ pkg/PLIST-main9 Oct 2016 08:17:22 -
> > > @@ -1,8 +1,15 @@
> > >  @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
> > >  @pkgpath security/hydra
> > > +bin/dpl4hydra.sh
> > >  @bin bin/hydra
> > > +bin/hydra-wizard.sh
> > >  @bin bin/pw-inspector
> > > +hydra/
> > > +hydra/etc/
> > > +hydra/etc/dpl4hydra_full.csv
> > > +hydra/etc/dpl4hydra_local.csv
> > >  @man man/man1/hydra.1
> > >  @man man/man1/pw-inspector.1
> > >  share/doc/hydra/
> > > +share/doc/hydra/LICENSE
> > >  share/doc/hydra/README
> > > 
> > 
> > Hi,
> > 
> > I quickly tested and it sounds good for me.
> > However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
> > another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.
> > 
> > Cheers,
> > 
> > Remi.
> 
> Updated diff with dpl4hydra_* in "share/doc/hydra/":
> 

*ping*, nobody?

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/hydra/Makefile,v
> retrieving revision 1.56
> diff -u -p -u -p -r1.56 Makefile
> --- Makefile  17 Jan 2016 17:29:10 -  1.56
> +++ Makefile  17 Oct 2016 19:10:41 -
> @@ -3,50 +3,43 @@
>  COMMENT-main=parallelized network logon cracker
>  COMMENT-gui= GTK frontend for hydra
>  
> -VERSION= 8.1
> -REVISION-main=   0
> -DISTNAME=hydra-${VERSION}
> +VERSION= 8.3
>  PKGNAME-main=hydra-${VERSION}
>  PKGNAME-gui= hydra-gui-${VERSION}
> -CATEGORIES=  security
> +CATEGORIES=  security
>  
> -HOMEPAGE=http://thc.org/thc-hydra/
> +GH_ACCOUNT = vanhauser-thc
> +GH_PROJECT = thc-hydra
> +GH_TAGNAME = 8.3
>  
> -#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
> -PERMIT_PACKAGE_CDROM=Yes
> +HOMEPAGE=https://thc.org/thc-hydra/
>  
> -WANTLIB= c m
> +# AGPLv3 (GNU Affero Public License)
> +PERMIT_PACKAGE_CDROM=Yes
>  
> -MASTER_SITES =  http://www.thc.org/releases/
> -MASTER_SITES +=  ${MASTER_SITE_PACKETSTORM:=groups/thc/}
> +WANTLIB= c z
>  
>  PSEUDO_FLAVORS=  no_x11
>  FLAVOR?=
>  
>  MULTI_PACKAGES=  -main
>  
> -CONFIGURE_STYLE=gnu dest
> +CONFIGURE_STYLE=gnu
>  
>  USE_GMAKE=   Yes
>  NO_TEST= Yes
>  MAKE_FLAGS=  CC=${CC}
> -CFLAGS +=-I${LOCALBASE}/include
> +
> +CONFIGURE_ARGS = --with-ssl=prefix="/usr/include" \
> + --with-ssl-lib=prefix="/usr/lib" \
> + --prefix=${LOCALBASE}
>  
>  .if ${FLAVOR:Mno_x11}
>  ALL_TARGET=  hydra pw-inspector
> -
> -do-install:
> - cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
>  .else
> -
> +MODULES= devel/gettext
>  MULTI_PACKAGES+=-gui
> -
>  ALL_TARGET=  all
> -
> -MODULES= devel/gettext
> -
> -post-configure:
> - cd ${WRKSRC}/hydra-gtk && ./configure
>  .endif
>  
>  LIB_DEPENDS-main=databases/mariadb,-main \
> @@ -55,24 +48,24 @@ LIB_DEPENDS-main= databases/mariadb,-mai
>   devel/pcre \
>   security/libssh
>  RUN_DEPENDS-main=
> -WANTLIB-main=${WANTLIB} curses crypto idn mysqlclient pcre pq 
> pthread ssh ssl
> +
> +WANTLIB-main=${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh 
> ssl
> +
>  LIB_DEPENDS-gui=x11/gtk+2 \
>   ${MODGETTEXT_LIB_DEPENDS}
> +
>  RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
>   ${MODGETTEXT_RUN_DEPENDS}
> -WANTLIB-gui= ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
> - Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
> - gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
> - gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
> - pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
> - pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
> - xcb-shm
>  
> -post-extract:
> - chmod -R u+w ${WRKDIST}
> +WANTLIB-gui= X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \
> + Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \
> + gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \
> + pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB}
>  
>  post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
> - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + mv ${PREFIX}/etc/* ${PREFIX}/share/doc/hydra/ && rm -r 

Re: UPDATE: security/hydra

2016-10-17 Thread Rafael Sadowski
On Sun Oct 09, 2016 at 03:55:27PM +0200, Remi Pointel wrote:
> On 10/09/16 10:29, Rafael Sadowski wrote:
> > Index: pkg/PLIST-main
> > ===
> > RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
> > retrieving revision 1.3
> > diff -u -p -u -p -r1.3 PLIST-main
> > --- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
> > +++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
> > @@ -1,8 +1,15 @@
> >  @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
> >  @pkgpath security/hydra
> > +bin/dpl4hydra.sh
> >  @bin bin/hydra
> > +bin/hydra-wizard.sh
> >  @bin bin/pw-inspector
> > +hydra/
> > +hydra/etc/
> > +hydra/etc/dpl4hydra_full.csv
> > +hydra/etc/dpl4hydra_local.csv
> >  @man man/man1/hydra.1
> >  @man man/man1/pw-inspector.1
> >  share/doc/hydra/
> > +share/doc/hydra/LICENSE
> >  share/doc/hydra/README
> > 
> 
> Hi,
> 
> I quickly tested and it sounds good for me.
> However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in
> another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.
> 
> Cheers,
> 
> Remi.

Updated diff with dpl4hydra_* in "share/doc/hydra/":


Index: Makefile
===
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.56
+++ Makefile17 Oct 2016 19:10:41 -
@@ -3,50 +3,43 @@
 COMMENT-main=  parallelized network logon cracker
 COMMENT-gui=   GTK frontend for hydra
 
-VERSION=   8.1
-REVISION-main= 0
-DISTNAME=  hydra-${VERSION}
+VERSION=   8.3
 PKGNAME-main=  hydra-${VERSION}
 PKGNAME-gui=   hydra-gui-${VERSION}
-CATEGORIES=security
+CATEGORIES=security
 
-HOMEPAGE=  http://thc.org/thc-hydra/
+GH_ACCOUNT =   vanhauser-thc
+GH_PROJECT =   thc-hydra
+GH_TAGNAME =   8.3
 
-#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
-PERMIT_PACKAGE_CDROM=  Yes
+HOMEPAGE=  https://thc.org/thc-hydra/
 
-WANTLIB=   c m
+# AGPLv3 (GNU Affero Public License)
+PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES =  http://www.thc.org/releases/
-MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/}
+WANTLIB=   c z
 
 PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
 MULTI_PACKAGES=-main
 
-CONFIGURE_STYLE=gnu dest
+CONFIGURE_STYLE=gnu
 
 USE_GMAKE= Yes
 NO_TEST=   Yes
 MAKE_FLAGS=CC=${CC}
-CFLAGS +=  -I${LOCALBASE}/include
+
+CONFIGURE_ARGS =   --with-ssl=prefix="/usr/include" \
+   --with-ssl-lib=prefix="/usr/lib" \
+   --prefix=${LOCALBASE}
 
 .if ${FLAVOR:Mno_x11}
 ALL_TARGET=hydra pw-inspector
-
-do-install:
-   cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
 .else
-
+MODULES=   devel/gettext
 MULTI_PACKAGES+=-gui
-
 ALL_TARGET=all
-
-MODULES=   devel/gettext
-
-post-configure:
-   cd ${WRKSRC}/hydra-gtk && ./configure
 .endif
 
 LIB_DEPENDS-main=  databases/mariadb,-main \
@@ -55,24 +48,24 @@ LIB_DEPENDS-main=   databases/mariadb,-mai
devel/pcre \
security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=  ${WANTLIB} curses crypto idn mysqlclient pcre pq pthread ssh ssl
+
+WANTLIB-main=  ${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh ssl
+
 LIB_DEPENDS-gui=x11/gtk+2 \
${MODGETTEXT_LIB_DEPENDS}
+
 RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
${MODGETTEXT_RUN_DEPENDS}
-WANTLIB-gui=   ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
-   Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
-   gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
-   gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
-   pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
-   pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
-   xcb-shm
 
-post-extract:
-   chmod -R u+w ${WRKDIST}
+WANTLIB-gui=   X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \
+   Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \
+   gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \
+   pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB}
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
-   ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
+   ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
+   ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
+   mv ${PREFIX}/etc/* ${PREFIX}/share/doc/hydra/ && rm -r ${PREFIX}/etc
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/hydra/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo21 Nov 2015 14:16:33 -  1.14
+++ distinfo17 Oct 2016 19:10:41 -
@@ -1,2 +1,2 @@

Re: UPDATE: security/hydra

2016-10-09 Thread Remi Pointel

On 10/09/16 10:29, Rafael Sadowski wrote:

Index: pkg/PLIST-main
===
RCS file: /cvs/ports/security/hydra/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST-main
--- pkg/PLIST-main  5 Nov 2011 15:24:39 -   1.3
+++ pkg/PLIST-main  9 Oct 2016 08:17:22 -
@@ -1,8 +1,15 @@
 @comment $OpenBSD: PLIST-main,v 1.3 2011/11/05 15:24:39 nigel Exp $
 @pkgpath security/hydra
+bin/dpl4hydra.sh
 @bin bin/hydra
+bin/hydra-wizard.sh
 @bin bin/pw-inspector
+hydra/
+hydra/etc/
+hydra/etc/dpl4hydra_full.csv
+hydra/etc/dpl4hydra_local.csv
 @man man/man1/hydra.1
 @man man/man1/pw-inspector.1
 share/doc/hydra/
+share/doc/hydra/LICENSE
 share/doc/hydra/README



Hi,

I quickly tested and it sounds good for me.
However, I would install dpl4hydra_full.csv and dpl4hydra_local.csv in 
another path (maybe share/doc/hydra/, but not in ${LOCALBASE}/hydra/etc/.


Cheers,

Remi.



Re: [UPDATE] security/hydra (7.1 to 8.1)

2015-11-21 Thread Remi Pointel

On 11/20/15 01:33, sébastien dellac wrote:

Hi,

Please find enclosed an update for security/hydra.

Hydra version 8.1 license is GNU AFFERO GENERAL PUBLIC LICENSE Version
3, can anyone confirm the following Makefile declarations are correct in
this context:

###
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
###

Comments ? OK ?


Hi,

the diff sounds good to me,

I think just PERMIT_PACKAGE_CDROM=Yes is needed.

Others ok and I will commit the diff.

Cheers,

Remi.



[UPDATE] security/hydra (7.1 to 8.1)

2015-11-19 Thread sébastien dellac

Hi,

Please find enclosed an update for security/hydra.

Hydra version 8.1 license is GNU AFFERO GENERAL PUBLIC LICENSE Version 
3, can anyone confirm the following Makefile declarations are correct in 
this context:


###
PERMIT_PACKAGE_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
###

Comments ? OK ?

Thanks!
--
Sébastien

? hydra.diff
Index: Makefile
===
RCS file: /cvs/ports/security/hydra/Makefile,v
retrieving revision 1.54
diff -u -p -u -p -r1.54 Makefile
--- Makefile	17 Aug 2015 20:04:16 -	1.54
+++ Makefile	19 Nov 2015 16:29:14 -
@@ -1,19 +1,18 @@
 # $OpenBSD: Makefile,v 1.54 2015/08/17 20:04:16 sthen Exp $
 
-COMMENT-main=	parallelized login hacker
+COMMENT-main=	parallelized network logon cracker
 COMMENT-gui=	GTK frontend for hydra
 
-VERSION=	7.1
-DISTNAME=	hydra-${VERSION}-src
+VERSION=	8.1
+DISTNAME=	hydra-${VERSION}
 PKGNAME-main=	hydra-${VERSION}
 PKGNAME-gui=	hydra-gui-${VERSION}
 CATEGORIES=	security
-REVISION-main=	4
 
 HOMEPAGE=	http://thc.org/thc-hydra/
 
-# GPLv3 + restrictions in LICENCE.HYDRA
-PERMIT_PACKAGE_CDROM=	no charge
+#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
+PERMIT_PACKAGE_CDROM=	Yes
 PERMIT_PACKAGE_FTP=	Yes
 
 WANTLIB=	c m
@@ -56,7 +55,7 @@ LIB_DEPENDS-main=	databases/mariadb,-mai
 			devel/pcre \
 			security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=	c crypto idn m mysqlclient pcre pq pthread ssh ssl
+WANTLIB-main=	${WANTLIB} crypto idn mysqlclient pcre pq pthread ssh ssl
 LIB_DEPENDS-gui=x11/gtk+2 \
 		${MODGETTEXT_LIB_DEPENDS}
 RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
Index: distinfo
===
RCS file: /cvs/ports/security/hydra/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo	18 Jan 2015 03:15:02 -	1.13
+++ distinfo	19 Nov 2015 16:29:14 -
@@ -1,2 +1,2 @@
-SHA256 (hydra-7.1-src.tar.gz) = VR7x9yhI2rGfah/5/jHwgUPIzvJvY42T5xELS85J0KQ=
-SIZE (hydra-7.1-src.tar.gz) = 664022
+SHA256 (hydra-8.1.tar.gz) = 5Lwv0R+XqNmFo4oxeFyG04zGA4Pkeo9KXENjUeUTXxk=
+SIZE (hydra-8.1.tar.gz) = 559031
Index: patches/patch-Makefile_am
===
RCS file: /cvs/ports/security/hydra/patches/patch-Makefile_am,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-Makefile_am
--- patches/patch-Makefile_am	5 Nov 2011 15:24:39 -	1.2
+++ patches/patch-Makefile_am	19 Nov 2015 16:29:14 -
@@ -1,16 +1,16 @@
 $OpenBSD: patch-Makefile_am,v 1.2 2011/11/05 15:24:39 nigel Exp $
 Makefile.am.orig	Sun Oct  2 09:06:16 2011
-+++ Makefile.am	Wed Nov  2 22:11:22 2011
-@@ -2,7 +2,7 @@
- # Makefile for Hydra - (c) 2001-2011 by van Hauser / THC 
+--- Makefile.am.orig	Sun Dec  7 15:50:20 2014
 Makefile.am	Wed Nov 18 17:38:00 2015
+@@ -1,7 +1,7 @@
+ #
+ # Makefile for Hydra - (c) 2001-2014 by van Hauser / THC 
  #
- 
 -OPTS=-I. -O3
-+OPTS=-I. $(CFLAGS) 
- # -Wall -ggdb -pedantic
++OPTS=-I. $(CFLAGS)
+ # -Wall -g -pedantic
  LIBS=-lm
  DIR=/bin
-@@ -43,7 +43,7 @@ hydra:	hydra.c $(OBJ)
+@@ -44,7 +44,7 @@ hydra:	hydra.c $(OBJ)
  	@echo
  
  xhydra:	
@@ -18,15 +18,19 @@ $OpenBSD: patch-Makefile_am,v 1.2 2011/1
 +	-cd hydra-gtk/src &&  $(MAKE)
  
  pw-inspector: pw-inspector.c
- 	-$(CC) $(OPTS) -o pw-inspector $(PWI_LOGO) pw-inspector.c
-@@ -55,12 +55,11 @@ strip:	hydra
+ 	-$(CC) $(OPTS) $(SEC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o pw-inspector $(PWI_LOGO) pw-inspector.c
+@@ -56,16 +56,11 @@ strip:	all
  	strip $(BINS)
  	-echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null
  
 -install:	strip
--	-mkdir -p $(PREFIX)$(DIR) 
--	cp $(BINS) dpl4hydra* $(PREFIX)$(DIR) && cd $(PREFIX)$(DIR) && chmod 755 $(BINS)
+-	-mkdir -p $(PREFIX)$(DIR)
+-	cp -f hydra-wizard.sh $(BINS) $(PREFIX)$(DIR) && cd $(PREFIX)$(DIR) && chmod 755 hydra-wizard.sh $(BINS)
 -	-echo OK > /dev/null && test -x xhydra && cp xhydra $(PREFIX)$(DIR) && cd $(PREFIX)$(DIR) && chmod 755 xhydra || echo OK > /dev/null
+-	-sed -e "s|^INSTALLDIR=.*|INSTALLDIR="$(PREFIX)"|" dpl4hydra.sh > $(PREFIX)/bin/dpl4hydra.sh
+-	-chmod 755 $(PREFIX)/bin/dpl4hydra.sh
+-	-mkdir -p $(PREFIX)/etc/
+-	-cp -f *.csv $(PREFIX)/etc/
 -	-mkdir -p $(PREFIX)/man/man1
 -	-cp -f hydra.1 xhydra.1 pw-inspector.1 $(PREFIX)/man/man1
 +install:
Index: patches/patch-configure
===
RCS file: /cvs/ports/security/hydra/patches/patch-configure,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-configure
--- patches/patch-configure	5 Nov 2011 15:24:39 -	1.6
+++ patches/patch-configure	19 Nov 2015 16:29:14 -
@@ -2,14 +2,13 @@ $OpenBSD: patch-configure,v 1.6 2011/11/
 Remove tests for include files and libraries there are no
 configure options to disable support the build may fail or be altered
 if added
 configure.orig	Sun Oct  2 09:06:15 2011
-+++ configure	Tue Nov  1 20:03:28 2011
-@@ -246,44 +246,6 @@ if [ "X" = "X$POSTGRES_PATH" -o 

Re: Update: security/hydra v5.4 - v7.1

2011-11-05 Thread Remi Pointel
On Fri, 04 Nov 2011 13:57:29 +
Nigel Taylor njtay...@asterisk.demon.co.uk wrote:
 On 11/02/11 23:22, Nigel Taylor wrote:
  On 11/02/11 20:15, Nigel Taylor wrote:
  Hi,
 
  Update to security/hydra v7.1, builds on amd64.
 
  hydra v5.4 is over 4yrs old, and doesn't build with the 
  current version of libssh.
 
  Comments? Ok?
 
  Nigel
  
  The attached diff, now includes the man pages.
  
  Nigel
 
 New diff attached as hydra 5.4 wantlib's have been regenerated
 
 Comments? Ok?

Hello,

ok rpointel@ if you add USE_GROFF=Yes, if not we have:
% man hydra
/usr/local/man/man1/hydra.1:106:2: FATAL: line scope broken, syntax violated

Cheers,
Remi.



Re: Update: security/hydra v5.4 - v7.1

2011-11-05 Thread Brad

On 05/11/11 8:09 AM, Nigel Taylor wrote:

On 11/05/11 11:18, Remi Pointel wrote:

Hello,

ok rpointel@ if you add USE_GROFF=Yes, if not we have:
% man hydra
/usr/local/man/man1/hydra.1:106:2: FATAL: line scope broken, syntax violated

Cheers,
Remi.



Hi,

I missed cvs add for the patch to the man page, so it was missed out in the 
diff.

Nigel

Index: patches/patch-hydra_1
===
RCS file: patches/patch-hydra_1
diff -N patches/patch-hydra_1
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-hydra_1   2 Nov 2011 22:35:41 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+Correct syntax error
+--- hydra.1.orig   Sun Oct  2 09:06:15 2011
 hydra.1Wed Nov  2 22:34:20 2011
+@@ -102,7 +102,6 @@ verbose mode / show login+pass combination for each at
+ .TP
+ .B \-h, \-\-help
+ Show summary of options.
+-.TP
+ .SH SEE ALSO
+ .BR xhydra (1),
+ .BR pw-inspector (1).


I pushed the man page patch upstream and the author already replied.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: Update: security/hydra v5.4 - v7.1

2011-11-04 Thread Nigel Taylor
On 11/02/11 23:22, Nigel Taylor wrote:
 On 11/02/11 20:15, Nigel Taylor wrote:
 Hi,

 Update to security/hydra v7.1, builds on amd64.

 hydra v5.4 is over 4yrs old, and doesn't build with the 
 current version of libssh.

 Comments? Ok?

 Nigel
 
 The attached diff, now includes the man pages.
 
 Nigel

New diff attached as hydra 5.4 wantlib's have been regenerated

Comments? Ok?

Nigel
Index: Makefile
===
RCS file: /home/cvs/ports/security/hydra/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile4 Nov 2011 08:43:32 -   1.45
+++ Makefile4 Nov 2011 13:04:28 -
@@ -3,17 +3,15 @@
 COMMENT-main=  parallelized login hacker
 COMMENT-gui=   GTK frontend for hydra
 
-VERSION=   5.4
-DISTNAME=  hydra-5.4-src
+VERSION=   7.1
+DISTNAME=  hydra-${VERSION}-src
 PKGNAME-main=  hydra-${VERSION}
-REVISION-main= 1
 PKGNAME-gui=   hydra-gui-${VERSION}
-REVISION-gui=  6
 CATEGORIES=security
 
 HOMEPAGE=  http://thc.org/thc-hydra/
 
-# GPLv2 + restrictions in LICENCE.HYDRA
+# GPLv3 + restrictions in LICENCE.HYDRA
 PERMIT_PACKAGE_CDROM=  no charge
 PERMIT_PACKAGE_FTP=Yes 
 PERMIT_DISTFILES_CDROM=no charge
@@ -21,7 +19,8 @@ PERMIT_DISTFILES_FTP= Yes
 
 WANTLIB=   c m
 
-MASTER_SITES=  ${MASTER_SITE_PACKETSTORM:=groups/thc/}
+MASTER_SITES =  http://www.thc.org/releases/
+MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/}
 
 PSEUDO_FLAVORS=no_x11
 FLAVOR?=
@@ -33,6 +32,7 @@ CONFIGURE_STYLE=gnu dest
 USE_GMAKE= Yes
 NO_REGRESS=Yes
 MAKE_FLAGS=CC=${CC}
+CFLAGS +=  -I${LOCALBASE}/include
 
 .if ${FLAVOR:L:Mno_x11}
 ALL_TARGET=hydra pw-inspector
@@ -51,20 +51,24 @@ post-configure:
cd ${WRKSRC}/hydra-gtk  ./configure
 .endif
 
-LIB_DEPENDS-main=
+LIB_DEPENDS-main=  databases/mysql,-main \
+   databases/postgresql,-main \
+   devel/libidn \
+   devel/pcre \
+   security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=  c m ssl crypto
+WANTLIB-main=  c crypto idn m mysqlclient pcre pq ssh ssl
 LIB_DEPENDS-gui=x11/gtk+2 \
${MODGETTEXT_LIB_DEPENDS}
 RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
${MODGETTEXT_RUN_DEPENDS}
-WANTLIB-gui=   ${WANTLIB} X11 Xcomposite Xcursor Xdamage Xfixes \
+WANTLIB-gui=   ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
-   GL xcb-shm
+   xcb-shm
 
 post-extract:
chmod -R u+w ${WRKDIST}
Index: distinfo
===
RCS file: /home/cvs/ports/security/hydra/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo5 Jan 2009 22:10:06 -   1.11
+++ distinfo1 Nov 2011 16:26:35 -
@@ -1,5 +1,5 @@
-MD5 (hydra-5.4-src.tar.gz) = +gi0ZdGTIed7Gg75Eu7swQ==
-RMD160 (hydra-5.4-src.tar.gz) = 47S5glA5SUXcWov+I0MC3nk9sBQ=
-SHA1 (hydra-5.4-src.tar.gz) = ITQJLHtkEywIC2sboVUSS4hXZ9s=
-SHA256 (hydra-5.4-src.tar.gz) = zS5+XqR51QmCsIM0sfRHemYg5rRbx5q1Xd0HsSjGRhE=
-SIZE (hydra-5.4-src.tar.gz) = 208272
+MD5 (hydra-7.1-src.tar.gz) = DDpqNRyy4jPLmJ8Lzdde3w==
+RMD160 (hydra-7.1-src.tar.gz) = n8HIad/5ARrB6OXZjsw3iZw09eo=
+SHA1 (hydra-7.1-src.tar.gz) = nkyt28n4ufKZcJaulYucEMr0Nt0=
+SHA256 (hydra-7.1-src.tar.gz) = VR7x9yhI2rGfah/5/jHwgUPIzvJvY42T5xELS85J0KQ=
+SIZE (hydra-7.1-src.tar.gz) = 664022
Index: patches/patch-Makefile_am
===
RCS file: /home/cvs/ports/security/hydra/patches/patch-Makefile_am,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile_am
--- patches/patch-Makefile_am   5 Jan 2009 22:10:06 -   1.1
+++ patches/patch-Makefile_am   2 Nov 2011 22:21:55 -
@@ -1,35 +1,39 @@
 $OpenBSD: patch-Makefile_am,v 1.1 2009/01/05 22:10:06 rui Exp $
 Makefile.am.orig   Fri May  5 15:10:44 2006
-+++ Makefile.amSat May 12 21:58:03 2007
+--- Makefile.am.orig   Sun Oct  2 09:06:16 2011
 Makefile.amWed Nov  2 22:11:22 2011
 @@ -2,7 +2,7 @@
- # Makefile for Hydra - (c) 2001-2006 by van Hauser / THC v...@thc.org
+ # Makefile for Hydra - (c) 2001-2011 by van Hauser / THC v...@thc.org
  #
  
--OPTS=-I. -Wall -O2
+-OPTS=-I. -O3
 +OPTS=-I. $(CFLAGS) 
- # -ggdb -pedantic
+ # -Wall -ggdb -pedantic
  LIBS=-lm
  DIR=/bin
-@@ -43,7 +43,7 @@ hydra:   $(OBJ)
+@@ -43,7 +43,7 @@ hydra:   hydra.c $(OBJ)
@echo
  
  xhydra:   
--  -cd hydra-gtk  ./make_xhydra.sh
-+  -cd hydra-gtk/src  $(MAKE)
+-  -cd hydra-gtk  sh ./make_xhydra.sh
++  -cd 

Re: Update: security/hydra v5.4 - v7.1

2011-11-02 Thread Nigel Taylor
On 11/02/11 20:15, Nigel Taylor wrote:
 Hi,
 
 Update to security/hydra v7.1, builds on amd64.
 
 hydra v5.4 is over 4yrs old, and doesn't build with the 
 current version of libssh.
 
 Comments? Ok?
 
 Nigel

The attached diff, now includes the man pages.

Nigel
Index: Makefile
===
RCS file: /home/cvs/ports/security/hydra/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- Makefile21 Oct 2011 16:23:45 -  1.44
+++ Makefile2 Nov 2011 22:12:11 -
@@ -3,17 +3,15 @@
 COMMENT-main=  parallelized login hacker
 COMMENT-gui=   GTK frontend for hydra
 
-VERSION=   5.4
-DISTNAME=  hydra-5.4-src
+VERSION=   7.1
+DISTNAME=  hydra-${VERSION}-src
 PKGNAME-main=  hydra-${VERSION}
-REVISION-main= 1
 PKGNAME-gui=   hydra-gui-${VERSION}
-REVISION-gui=  5
 CATEGORIES=security
 
 HOMEPAGE=  http://thc.org/thc-hydra/
 
-# GPLv2 + restrictions in LICENCE.HYDRA
+# GPLv3 + restrictions in LICENCE.HYDRA
 PERMIT_PACKAGE_CDROM=  no charge
 PERMIT_PACKAGE_FTP=Yes 
 PERMIT_DISTFILES_CDROM=no charge
@@ -21,7 +19,8 @@ PERMIT_DISTFILES_FTP= Yes
 
 WANTLIB=   c m
 
-MASTER_SITES=  ${MASTER_SITE_PACKETSTORM:=groups/thc/}
+MASTER_SITES =  http://www.thc.org/releases/
+MASTER_SITES +=${MASTER_SITE_PACKETSTORM:=groups/thc/}
 
 PSEUDO_FLAVORS=no_x11
 FLAVOR?=
@@ -33,6 +32,7 @@ CONFIGURE_STYLE=gnu dest
 USE_GMAKE= Yes
 NO_REGRESS=Yes
 MAKE_FLAGS=CC=${CC}
+CFLAGS +=  -I${LOCALBASE}/include
 
 .if ${FLAVOR:L:Mno_x11}
 ALL_TARGET=hydra pw-inspector
@@ -51,20 +51,24 @@ post-configure:
cd ${WRKSRC}/hydra-gtk  ./configure
 .endif
 
-LIB_DEPENDS-main=
+LIB_DEPENDS-main=  databases/mysql,-main \
+   databases/postgresql,-main \
+   devel/libidn \
+   devel/pcre \
+   security/libssh
 RUN_DEPENDS-main=
-WANTLIB-main=  c m ssl crypto
+WANTLIB-main=  c crypto idn m mysqlclient pcre pq ssh ssl
 LIB_DEPENDS-gui=x11/gtk+2 \
${MODGETTEXT_LIB_DEPENDS}
 RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
${MODGETTEXT_RUN_DEPENDS}
-WANTLIB-gui=   ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes \
+WANTLIB-gui=   ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
-   xcb-render-util
+   xcb-shm
 
 post-extract:
chmod -R u+w ${WRKDIST}
Index: distinfo
===
RCS file: /home/cvs/ports/security/hydra/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo5 Jan 2009 22:10:06 -   1.11
+++ distinfo1 Nov 2011 16:26:35 -
@@ -1,5 +1,5 @@
-MD5 (hydra-5.4-src.tar.gz) = +gi0ZdGTIed7Gg75Eu7swQ==
-RMD160 (hydra-5.4-src.tar.gz) = 47S5glA5SUXcWov+I0MC3nk9sBQ=
-SHA1 (hydra-5.4-src.tar.gz) = ITQJLHtkEywIC2sboVUSS4hXZ9s=
-SHA256 (hydra-5.4-src.tar.gz) = zS5+XqR51QmCsIM0sfRHemYg5rRbx5q1Xd0HsSjGRhE=
-SIZE (hydra-5.4-src.tar.gz) = 208272
+MD5 (hydra-7.1-src.tar.gz) = DDpqNRyy4jPLmJ8Lzdde3w==
+RMD160 (hydra-7.1-src.tar.gz) = n8HIad/5ARrB6OXZjsw3iZw09eo=
+SHA1 (hydra-7.1-src.tar.gz) = nkyt28n4ufKZcJaulYucEMr0Nt0=
+SHA256 (hydra-7.1-src.tar.gz) = VR7x9yhI2rGfah/5/jHwgUPIzvJvY42T5xELS85J0KQ=
+SIZE (hydra-7.1-src.tar.gz) = 664022
Index: patches/patch-Makefile_am
===
RCS file: /home/cvs/ports/security/hydra/patches/patch-Makefile_am,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile_am
--- patches/patch-Makefile_am   5 Jan 2009 22:10:06 -   1.1
+++ patches/patch-Makefile_am   2 Nov 2011 22:21:55 -
@@ -1,35 +1,39 @@
 $OpenBSD: patch-Makefile_am,v 1.1 2009/01/05 22:10:06 rui Exp $
 Makefile.am.orig   Fri May  5 15:10:44 2006
-+++ Makefile.amSat May 12 21:58:03 2007
+--- Makefile.am.orig   Sun Oct  2 09:06:16 2011
 Makefile.amWed Nov  2 22:11:22 2011
 @@ -2,7 +2,7 @@
- # Makefile for Hydra - (c) 2001-2006 by van Hauser / THC v...@thc.org
+ # Makefile for Hydra - (c) 2001-2011 by van Hauser / THC v...@thc.org
  #
  
--OPTS=-I. -Wall -O2
+-OPTS=-I. -O3
 +OPTS=-I. $(CFLAGS) 
- # -ggdb -pedantic
+ # -Wall -ggdb -pedantic
  LIBS=-lm
  DIR=/bin
-@@ -43,7 +43,7 @@ hydra:   $(OBJ)
+@@ -43,7 +43,7 @@ hydra:   hydra.c $(OBJ)
@echo
  
  xhydra:   
--  -cd hydra-gtk  ./make_xhydra.sh
-+  -cd hydra-gtk/src  $(MAKE)
+-  -cd hydra-gtk  sh ./make_xhydra.sh
++  -cd hydra-gtk/src   $(MAKE)
  
  pw-inspector: pw-inspector.c
-   -$(CC) $(OPTS) -o pw-inspector pw-inspector.c
-@@