- 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
This commit is contained in:
parent
334047646a
commit
6dd14c9871
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326528
2 changed files with 17 additions and 19 deletions
|
@ -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 <bsd.port.options.mk>
|
||||
|
||||
.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 <bsd.port.mk>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue