aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2011-08-19 02:57:14 +0800
committergabor <gabor@FreeBSD.org>2011-08-19 02:57:14 +0800
commit20a46d6ed798e5c89f2836f99b5aff94ea4106b1 (patch)
tree4badcd480c6b39894dae87b1afc500f586a2c72e /security
parent27b11cdcb3d8a49aa926ebf3e5bbd5d23c894555 (diff)
downloadfreebsd-ports-gnome-20a46d6ed798e5c89f2836f99b5aff94ea4106b1.tar.gz
freebsd-ports-gnome-20a46d6ed798e5c89f2836f99b5aff94ea4106b1.tar.zst
freebsd-ports-gnome-20a46d6ed798e5c89f2836f99b5aff94ea4106b1.zip
- Unbreak the build when libssh is not enabled but libidn is
- Add some LIB_DEPENDS PR: ports/159124 Submitted by: Michael Scheidell <scheidell@secnap.net> Reviewed by: Helmut Schneider <jumper99@gmx.de> Approved by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/hydra/Makefile5
-rw-r--r--security/hydra/files/patch-configure14
2 files changed, 17 insertions, 2 deletions
diff --git a/security/hydra/Makefile b/security/hydra/Makefile
index c49ae1b27861..a13d9b910dd9 100644
--- a/security/hydra/Makefile
+++ b/security/hydra/Makefile
@@ -8,6 +8,7 @@
PORTNAME= hydra
PORTVERSION= 6.5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://freeworld.thc.org/releases/
EXTRACT_SUFX= -src.tar.gz
@@ -21,6 +22,10 @@ COMMENT= Brute force attack utility working on multiple network services
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn \
+ pcre.0:${PORTSDIR}/devel/pcre \
+ sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+
NO_LATEST_LINK= yes
PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh
GNU_CONFIGURE= yes
diff --git a/security/hydra/files/patch-configure b/security/hydra/files/patch-configure
index 68362f0f4ade..2d00087c2baf 100644
--- a/security/hydra/files/patch-configure
+++ b/security/hydra/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig 2011-04-30 22:28:12.000000000 +0400
-+++ configure 2011-05-31 20:22:25.000000000 +0400
+--- configure.orig 2011-07-15 14:17:01.000000000 +0400
++++ configure 2011-08-15 22:22:22.000000000 +0400
@@ -653,7 +653,7 @@
XIPATHS=""
@@ -9,3 +9,13 @@
fi
if [ -n "$SSL_PATH" ]; then
XDEFINES="$XDEFINES -DLIBOPENSSL"
+@@ -706,6 +706,9 @@
+ if [ -n "$SSL_IPATH" ]; then
+ XIPATHS="-I$SSL_IPATH"
+ fi
++if [ -d $PREFIX/include ];then
++ XIPATHS="$XIPATHS -I$PREFIX/include"
++fi
+ if [ -n "$SAPR3_IPATH" ]; then
+ XIPATHS="$XIPATHS -I$SAPR3_IPATH"
+ fi