6ef5679a9d
Separate out options.mk functionality Add in options for subversion and postresql support > CHANGELOG for 5.3: > ########### > * Added NTLM support modules for pop3, imap, smtp-auth and http-proxy. > Work done by ilo (at) reversing.org. THANKS! > * Added a http form module, thanks to phil (at) irmplc.com > * Fixed a bug in the vnc module (thanks to kan (at) dcit.cz) > * Input files may *not* contain null bytes. I might fix that in the future > but currently I have enough other things on my todo sheet. > Thanks to didiln (at) gmail.com for reporting.
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2006/05/12 23:35:55 adrianp Exp $
|
|
#
|
|
|
|
DISTNAME= ${PKGNAME_NOREV}-src
|
|
PKGNAME= hydra-5.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.thc.org/releases/
|
|
|
|
MAINTAINER= adrianp@NetBSD.org
|
|
HOMEPAGE= http://www.thc.org/thc-hydra/
|
|
COMMENT= Login password cracker
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= YES
|
|
BUILD_TARGET= all
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
LICENSE+= hydra-license
|
|
|
|
SUBST_CLASSES+= build
|
|
SUBST_STAGE.build= post-patch
|
|
SUBST_FILES.build= Makefile.am configure hydra-gtk/src/main.c
|
|
SUBST_SED.build= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
|
|
SUBST_SED.build+= -e "s|@PREFIX@|${PREFIX}|g"
|
|
SUBST_SED.build+= -e "s|uname|${UNAME}|g"
|
|
SUBST_SED.build+= -e "s|\\./hydra|${PREFIX}/bin/hydra|g"
|
|
SUBST_SED.build+= -e "s|LIBS=-lm|LIBS=-lm ${COMPILER_RPATH_FLAG}${PREFIX}/lib ${COMPILER_RPATH_FLAG}/usr/lib|g"
|
|
SUBST_MESSAGE.build= Patching build files.
|
|
|
|
USE_OLD_DES_API= YES
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
BUILDLINK_API_DEPENDS.libssh+= libssh-0.11
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../security/libssh/buildlink3.mk"
|
|
|
|
pre-build:
|
|
@${CP:Q} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/hydra ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pw-inspector ${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|