From 6dd14c9871167f88f0e6ccafe0413cdeb9629e24 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Fri, 6 Sep 2013 17:09:57 +0000 Subject: [PATCH] - update to 7.5 - reflect license change: GPLv3 -> AGPLv3 - use new library dependencies syntax and remove no more needed hacks for libssh dependency - unmute installation commands --- security/hydra/Makefile | 32 +++++++++++++++----------------- security/hydra/distinfo | 4 ++-- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/security/hydra/Makefile b/security/hydra/Makefile index d88620bca4f8..72e7be7a203e 100644 --- a/security/hydra/Makefile +++ b/security/hydra/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= hydra -PORTVERSION= 7.4.2 +PORTVERSION= 7.5 CATEGORIES= security MASTER_SITES= http://freeworld.thc.org/releases/ \ PACKETSTORM/groups/thc/ @@ -10,11 +10,11 @@ MASTER_SITES= http://freeworld.thc.org/releases/ \ MAINTAINER= rm@FreeBSD.org COMMENT= Brute force attack utility working on multiple network services -LICENSE= GPLv3 +LICENSE= AGPLv3 -LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn \ - pcre:${PORTSDIR}/devel/pcre \ - sasl2:${PORTSDIR}/security/cyrus-sasl2 +LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \ + libpcre.so:${PORTSDIR}/devel/pcre \ + libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 CONFLICTS= hydra-[0-9]* @@ -28,23 +28,21 @@ WANT_GNOME= yes MAN1= hydra.1 pw-inspector.1 OPTIONS_DEFINE= FIREBIRD SSH SVN X11 -FIREBIRD_DESC= Enable firebird support OPTIONS_EXCLUDE=NLS DOCS .include .if ${PORT_OPTIONS:MFIREBIRD} -LIB_DEPENDS+= fbclient:${PORTSDIR}/databases/firebird20-client +LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird20-client .endif .if ${PORT_OPTIONS:MSSH} -BUILD_DEPENDS+= ${LOCALBASE}/lib/libssh.so.4:${PORTSDIR}/security/libssh -RUN_DEPENDS+= ${LOCALBASE}/lib/libssh.so.4:${PORTSDIR}/security/libssh CFLAGS+= -I${LOCALBASE}/include +LIB_DEPENDS+= libssh.so.4:${PORTSDIR}/security/libssh .endif .if ${PORT_OPTIONS:MSVN} -LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion +LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion .endif .if ${PORT_OPTIONS:MX11} @@ -63,14 +61,14 @@ post-patch: ${WRKSRC}/Makefile.am do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/hydra.1 ${MANPREFIX}/man/man1/hydra.1 - @${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${MANPREFIX}/man/man1/pw-inspector.1 + ${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${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 ${PORT_OPTIONS:MX11} - @${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${MANPREFIX}/man/man1/xhydra.1 + ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${MANPREFIX}/man/man1/xhydra.1 .endif .include diff --git a/security/hydra/distinfo b/security/hydra/distinfo index 4529de9b5d16..9f5f2ee946da 100644 --- a/security/hydra/distinfo +++ b/security/hydra/distinfo @@ -1,2 +1,2 @@ -SHA256 (hydra-7.4.2.tar.gz) = bdf670f8d197e1e7e03fb1bca9156ac34cd961496f1a4c3a3b7d79706d4d19df -SIZE (hydra-7.4.2.tar.gz) = 666187 +SHA256 (hydra-7.5.tar.gz) = 7293e7c32198219688e5bf5308f7e8eab37ad78d49701c9860a6b22aecda0ab6 +SIZE (hydra-7.5.tar.gz) = 681784