543d2c8db6
o added support to crack iTunes backups o added support to crack LUKS volumes o added support for hccapx files
34 lines
754 B
Makefile
34 lines
754 B
Makefile
# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hashcat
|
|
PORTVERSION= 3.40
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
|
COMMENT= Advanced CPU-based password recovery utility
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/docs/license.txt
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:devel/opencl \
|
|
gsed:textproc/gsed
|
|
|
|
USE_GITHUB= yes
|
|
|
|
ALL_TARGET= default
|
|
USES= gmake localbase shebangfix
|
|
SHEBANG_FILES= extra/tab_completion/install
|
|
USE_CSTD= c99
|
|
|
|
MAKE_ARGS= SHARED=1 \
|
|
CC="${CC}" \
|
|
LFLAGS_NATIVE="${LDFLAGS} -lpthread" \
|
|
CFLAGS_NATIVE="${CFLAGS} -Iinclude -IOpenCL -Iinclude/lzma_sdk"
|
|
|
|
pre-install:
|
|
${STRIP_CMD} ${WRKSRC}/libhashcat.so
|
|
${STRIP_CMD} ${WRKSRC}/hashcat
|
|
|
|
.include <bsd.port.mk>
|