blob: 1fbdb01b425aee8f53107938923276d78d2b3fb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
PORTNAME= hashcat-legacy
PORTVERSION= 2.00
PORTREVISION= 7
CATEGORIES= security
MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced CPU-based password recovery utility
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/docs/license.txt
DEPRECATED= Unsupported upstream, please consider using security/hashcat
EXPIRATION_DATE=2022-03-31
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= uses amd64 instructions
LIB_DEPENDS= libgmp.so:math/gmp
USE_GITHUB= yes
GH_ACCOUNT= hashcat
USES= gmake
USE_GCC= yes
ALL_TARGET= posix64 posixXOP
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -r 's|^(CC_.*[[:blank:]]*=[[:blank:]]*)gcc[[:blank:]]*$$|\1${CC}|' ${WRKSRC}/src/Makefile
do-install:
.for v in 64 XOP
${INSTALL_PROGRAM} ${WRKSRC}/hashcat-cli${v}.bin ${STAGEDIR}${LOCALBASE}/bin
.endfor
(cd ${WRKSRC} && ${COPYTREE_SHARE} "charsets rules tables salts" ${STAGEDIR}${DATADIR})
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|