diff options
author | miwi <miwi@FreeBSD.org> | 2011-03-04 11:41:03 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-03-04 11:41:03 +0800 |
commit | 7e2e24509f68e55baa4a65c2d0017b92151bdf70 (patch) | |
tree | b5f5c5765fcc2e852f4bc534609e998394a5368f /security | |
parent | a984bd673c6f7ad7d9dc8af9f5a91ec86dafe0a7 (diff) | |
download | freebsd-ports-gnome-7e2e24509f68e55baa4a65c2d0017b92151bdf70.tar.gz freebsd-ports-gnome-7e2e24509f68e55baa4a65c2d0017b92151bdf70.tar.zst freebsd-ports-gnome-7e2e24509f68e55baa4a65c2d0017b92151bdf70.zip |
- Update to 6.1
PR: 154905
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by: maintainer
Diffstat (limited to 'security')
-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 |