diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-03-04 03:41:03 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-03-04 03:41:03 +0000 |
commit | a99b3666c5092db4589ab1353b55b489e2a89a09 (patch) | |
tree | a7e461bb515b2352bc5e5b22d68ddcb902295056 /security/hydra | |
parent | 0b8c2994a7df5ba416762be0ab0dd85bdb3c6665 (diff) | |
download | ports-a99b3666c5092db4589ab1353b55b489e2a89a09.tar.gz ports-a99b3666c5092db4589ab1353b55b489e2a89a09.zip |
Notes
Diffstat (limited to 'security/hydra')
-rw-r--r-- | security/hydra/Makefile | 22 | ||||
-rw-r--r-- | security/hydra/distinfo | 4 | ||||
-rw-r--r-- | security/hydra/files/patch-Makefile.am | 11 |
3 files changed, 18 insertions, 19 deletions
diff --git a/security/hydra/Makefile b/security/hydra/Makefile index 6672154ee214..2bb934df05c5 100644 --- a/security/hydra/Makefile +++ b/security/hydra/Makefile @@ -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> diff --git a/security/hydra/distinfo b/security/hydra/distinfo index 5aebdb24ccdf..6576d1f14093 100644 --- a/security/hydra/distinfo +++ b/security/hydra/distinfo @@ -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 diff --git a/security/hydra/files/patch-Makefile.am b/security/hydra/files/patch-Makefile.am deleted file mode 100644 index 7f0d9693e141..000000000000 --- a/security/hydra/files/patch-Makefile.am +++ /dev/null @@ -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 |