svn commit: r338034 - in head/security/hydra: . files
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sun Dec 29 19:02:09 UTC 2013
Author: rm
Date: Sun Dec 29 19:02:08 2013
New Revision: 338034
URL: http://svnweb.freebsd.org/changeset/ports/338034
Log:
- update to 7.6
- enable ssh support by default (for package users)
- use options helpers
- add stage support
- general clean-up
Deleted:
head/security/hydra/files/patch-Makefile.unix
Modified:
head/security/hydra/Makefile
head/security/hydra/distinfo
Modified: head/security/hydra/Makefile
==============================================================================
--- head/security/hydra/Makefile Sun Dec 29 17:40:56 2013 (r338033)
+++ head/security/hydra/Makefile Sun Dec 29 19:02:08 2013 (r338034)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hydra
-PORTVERSION= 7.5
+PORTVERSION= 7.6
CATEGORIES= security
MASTER_SITES= https://www.thc.org/releases/ \
PACKETSTORM/groups/thc/
@@ -18,57 +18,49 @@ LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/l
CONFLICTS_INSTALL= hydra-web-[0-9]*
-PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh
+PLIST_FILES= bin/hydra bin/pw-inspector bin/dpl4hydra.sh bin/hydra-wizard.sh \
+ man/man1/hydra.1.gz man/man1/pw-inspector.1.gz
GNU_CONFIGURE= yes
USES= gmake
USE_OPENSSL= yes
WANT_GNOME= yes
-MAN1= hydra.1 pw-inspector.1
-
OPTIONS_DEFINE= FIREBIRD SSH SVN X11
+OPTIONS_DEFAULT=SSH
OPTIONS_EXCLUDE=NLS DOCS
+FIREBIRD_LIB_DEPENDS= libfbclient.so:${PORTSDIR}/databases/firebird20-client
+SVN_LIB_DEPENDS= libsvn_client-1.so:${PORTSDIR}/devel/subversion
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MFIREBIRD}
-LIB_DEPENDS+= libfbclient.so:${PORTSDIR}/databases/firebird20-client
-.endif
-
.if ${PORT_OPTIONS:MSSH}
CFLAGS+= -I${LOCALBASE}/include
LIB_DEPENDS+= libssh.so.4:${PORTSDIR}/security/libssh
.endif
-.if ${PORT_OPTIONS:MSVN}
-LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion
-.endif
-
.if ${PORT_OPTIONS:MX11}
USES+= pkgconfig
USE_GNOME= gtk20
-PLIST_FILES+= bin/xhydra
-MAN1+= xhydra.1
+PLIST_FILES+= bin/xhydra man/man1/xhydra.1.gz
.else
CONFIGURE_ARGS+= --disable-xhydra
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|CC = gcc||; \
- s|-O2|${CFLAGS}|; s|md4\..||g' \
- ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e 's|CC=gcc||; s|-O3|${CFLAGS}|;' \
+ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.unix
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 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/dpl4hydra.sh ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/hydra-wizard.sh ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/hydra.1 ${STAGEDIR}${MANPREFIX}/man/man1/hydra.1
+ ${INSTALL_MAN} ${WRKSRC}/pw-inspector.1 ${STAGEDIR}${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 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${STAGEDIR}${MANPREFIX}/man/man1/xhydra.1
.endif
.include <bsd.port.mk>
Modified: head/security/hydra/distinfo
==============================================================================
--- head/security/hydra/distinfo Sun Dec 29 17:40:56 2013 (r338033)
+++ head/security/hydra/distinfo Sun Dec 29 19:02:08 2013 (r338034)
@@ -1,2 +1,2 @@
-SHA256 (hydra-7.5.tar.gz) = 7293e7c32198219688e5bf5308f7e8eab37ad78d49701c9860a6b22aecda0ab6
-SIZE (hydra-7.5.tar.gz) = 681784
+SHA256 (hydra-7.6.tar.gz) = a479bebabcb81c4a08a25f41c88688055bbb800ecfa93e25dd809ad1ff58debd
+SIZE (hydra-7.6.tar.gz) = 557045
More information about the svn-ports-head
mailing list