aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-05-31 11:30:36 +0800
committermiwi <miwi@FreeBSD.org>2011-05-31 11:30:36 +0800
commit555be12417803420af8a3308f936ebbf30ebb3f5 (patch)
tree93bc2578ed8aaa0da3dcd4b37061325d7d473e72 /security
parente5900a16c969733807bb749ecf8695f0cb05aa96 (diff)
downloadfreebsd-ports-gnome-555be12417803420af8a3308f936ebbf30ebb3f5.tar.gz
freebsd-ports-gnome-555be12417803420af8a3308f936ebbf30ebb3f5.tar.zst
freebsd-ports-gnome-555be12417803420af8a3308f936ebbf30ebb3f5.zip
- Update to 6.2
PR: 6.2 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: maintainer
Diffstat (limited to 'security')
-rw-r--r--security/hydra/Makefile11
-rw-r--r--security/hydra/distinfo4
-rw-r--r--security/hydra/files/patch-configure21
3 files changed, 16 insertions, 20 deletions
diff --git a/security/hydra/Makefile b/security/hydra/Makefile
index b4d0da1b0476..6bc8f94ad429 100644
--- a/security/hydra/Makefile
+++ b/security/hydra/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= hydra
-PORTVERSION= 6.1
+PORTVERSION= 6.2
CATEGORIES= security
MASTER_SITES= http://freeworld.thc.org/releases/
EXTRACT_SUFX= -src.tar.gz
@@ -18,13 +18,15 @@ COMMENT= Brute force attack utility working on multiple network services
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_LATEST_LINK= yes
-PLIST_FILES= bin/hydra
+PLIST_FILES= bin/hydra bin/pw-inspector
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_OPENSSL= yes
WANT_GNOME= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
+MAN1= hydra.1 pw-inspector.1
+
OPTIONS= FIREBIRD "Enable firebird support" off \
SSH "Enable ssh support" off \
SVN "Enable subversion support" off \
@@ -45,6 +47,7 @@ LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
.if defined(WITH_X11)
USE_GNOME= gtk20
PLIST_FILES+= bin/xhydra
+MAN1+= xhydra.1
.else
CONFIGURE_ARGS+= --disable-xhydra
.endif
@@ -56,8 +59,12 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/hydra.1 ${MANPREFIX}/man/man1/hydra.1
+ @${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${MANPREFIX}/man/man1/pw-inspector.1
.if defined(WITH_X11)
@${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${MANPREFIX}/man/man1/xhydra.1
.endif
.include <bsd.port.post.mk>
diff --git a/security/hydra/distinfo b/security/hydra/distinfo
index 6576d1f14093..5ce232d105c5 100644
--- a/security/hydra/distinfo
+++ b/security/hydra/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hydra-6.1-src.tar.gz) = 85fbcf53bc7d8ae99a8bd31dd09810abd9cf9397679a94aea52cd1b1c8e06ac0
-SIZE (hydra-6.1-src.tar.gz) = 432515
+SHA256 (hydra-6.2-src.tar.gz) = 0b340632db9d429eb3c32a592a51f7333feda0fe682229c2027ae445a1e3f54e
+SIZE (hydra-6.2-src.tar.gz) = 452626
diff --git a/security/hydra/files/patch-configure b/security/hydra/files/patch-configure
index 9192ad1021d3..74030d599cc1 100644
--- a/security/hydra/files/patch-configure
+++ b/security/hydra/files/patch-configure
@@ -1,20 +1,9 @@
---- configure.orig 2010-11-19 12:52:07.000000000 +0300
-+++ configure 2010-11-30 00:06:09.000000000 +0300
-@@ -152,8 +152,8 @@
- fi
- fi
- if [ "X" = "X$APR_IPATH" ]; then
-- if [ -d "$i/apr-1.0" ]; then
-- APR_IPATH="$i/apr-1.0"
-+ if [ -d "$i/apr-1" ]; then
-+ APR_IPATH="$i/apr-1"
- fi
- fi
- done
-@@ -473,7 +473,7 @@
- fi
+--- configure.orig 2011-04-07 12:54:49.000000000 +0400
++++ configure 2011-04-15 02:18:31.000000000 +0400
+@@ -561,7 +561,7 @@
+ XIPATHS=""
- if [ -n "$FIREBIRD_PATH" -o -n "$SSL_PATH" -o -n "$CRYPTO_PATH" -o -n "$NSL_PATH" -o -n "$SOCKET_PATH" -o -n "$RESOLV_PATH" -o -n "$SAPR3_PATH" -o -n "$SSH_PATH" -o -n "$POSTGRES_PATH" -o -n "$SVN_PATH" -o -n "$NCP_PATH" -o -n "$AFP_PATH" -o -n "$MYSQL_PATH" ]; then
+ if [ -n "$FIREBIRD_PATH" -o -n "$PCRE_PATH" -o -n "$IDN_PATH" -o -n "$SSL_PATH" -o -n "$CRYPTO_PATH" -o -n "$NSL_PATH" -o -n "$SOCKET_PATH" -o -n "$RESOLV_PATH" -o -n "$SAPR3_PATH" -o -n "$SSH_PATH" -o -n "$POSTGRES_PATH" -o -n "$SVN_PATH" -o -n "$NCP_PATH" -o -n "$AFP_PATH" -o -n "$MYSQL_PATH" ]; then
- XLIBPATHS="-L/usr/lib -L/usr/local/lib -L/lib"
+ XLIBPATHS="-L/usr/local/lib -L/usr/lib -L/lib"
fi