1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Update to 6.1

PR:		154905
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2011-03-04 03:41:03 +00:00
parent 0b8c2994a7
commit a99b3666c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270229
3 changed files with 18 additions and 19 deletions

View File

@ -7,10 +7,9 @@
#
PORTNAME= hydra
PORTVERSION= 5.9
PORTVERSION= 6.1
CATEGORIES= security
MASTER_SITES= http://freeworld.thc.org/releases/
MASTER_SITE_SUBDIR= groups/thc
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= llevier@argosnet.com
@ -19,16 +18,17 @@ COMMENT= Brute force attack utility working on multiple network services
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_LATEST_LINK= yes
PLIST_FILES= bin/hydra bin/xhydra
PLIST_FILES= bin/hydra
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk20
USE_OPENSSL= yes
WANT_GNOME= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
OPTIONS= FIREBIRD "Enable firebird support" off \
SSH "Enable ssh support" off \
SVN "Enable subversion support" off
SVN "Enable subversion support" off \
X11 "Install xhydra" off
.include <bsd.port.pre.mk>
@ -42,12 +42,22 @@ LIB_DEPENDS+= ssh.4:${PORTSDIR}/security/libssh
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
.endif
.if defined(WITH_X11)
USE_GNOME= gtk20
PLIST_FILES+= bin/xhydra
.else
CONFIGURE_ARGS+= --disable-xhydra
.endif
post-patch:
@${REINPLACE_CMD} -e 's|CC = gcc||; \
s|-O2|${CFLAGS}|; s|md4\..||g' \
${WRKSRC}/Makefile.am
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/hydra ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin
.if defined(WITH_X11)
@${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (hydra-5.9-src.tar.gz) = 66023f94460abe76e76c1c6b187d44e82bafafb4c517314261bbd34429f913a7
SIZE (hydra-5.9-src.tar.gz) = 423995
SHA256 (hydra-6.1-src.tar.gz) = 85fbcf53bc7d8ae99a8bd31dd09810abd9cf9397679a94aea52cd1b1c8e06ac0
SIZE (hydra-6.1-src.tar.gz) = 432515

View File

@ -1,11 +0,0 @@
--- Makefile.am.orig 2010-09-29 15:19:43.000000000 +0400
+++ Makefile.am 2010-10-24 22:35:49.000000000 +0400
@@ -45,7 +45,7 @@
@echo
xhydra:
- -cd hydra-gtk && ./make_xhydra.sh
+ -cd hydra-gtk && sh make_xhydra.sh
pw-inspector: pw-inspector.c
-$(CC) $(OPTS) -o pw-inspector pw-inspector.c