All pastes #401828 Raw Edit

Something

public text v1 · immutable
·published 2007-03-19 15:11 UTC
rendered paste body
  1 # ex:ts=8
  2 # Ports collection makefile for:  hydra
  3 # Date created:                   Tue Oct 08, 2002
  4 # Whom:                           Laurent LEVIER (llevier@argosnet.com)
  5 #
  6 # $FreeBSD: ports/security/hydra/Makefile,v 1.15 2006/11/21 21:56:25 pav Exp $
  7 #
  8 
  9 PORTNAME=       hydra
 10 PORTVERSION=    5.3
 11 CATEGORIES=     security
 12 MASTER_SITES=   http://www.thc.org/releases/ \
 13                 ${MASTER_SITE_PACKETSTORM}
 14 MASTER_SITE_SUBDIR=     groups/thc
 15 EXTRACT_SUFX=   -src.tar.gz
 16 
 17 MAINTAINER=     llevier@argosnet.com
 18 COMMENT=        Brute force attack utility working on multiple network services
 19 
 20 NO_LATEST_LINK= yes
 21 PLIST_FILES=    bin/hydra
 22 GNU_CONFIGURE=  yes
 23 USE_GMAKE=      yes
 24 
 25 .if(WITHOUT_X11)
 26 CONFIGURE_ARGS+=--disable-xhydra
 27 .else
 28 USE_GNOME=gtk20
 29 .endif
 30 
 31 USE_OPENSSL=    yes
 32 WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
 33 
 34 post-patch:
 35         @${REINPLACE_CMD} -e 's|CC = gcc||; \
 36                 s|-O2|${CFLAGS}|; s|md4\..||g' \
 37                 ${WRKSRC}/Makefile.am
 38 
 39 do-install:
 40         @${INSTALL_PROGRAM} ${WRKSRC}/hydra ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin
 41 
 42 .include <bsd.port.mk>