blob: b113417458f069bd2fec531eef09ae919e447a68 (
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
|
# Created by: trevor
# $FreeBSD$
PORTNAME= l0phtcrack
PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= http://www.mavetju.org/download/adopted/ \
http://mirror.amdmi3.ru/distfiles/
# http://www.cotse.com/sw/WinNT/
DISTNAME= lcsrc
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Cracks SAMBA or Windows NT passwords
USES= dos2unix perl5 zip
USE_PERL5= build
RESTRICTED= uses GNU getopt with BSDish-licensed code from OpenSSL
NO_WRKSUBDIR= yes
PLIST_FILES= bin/lc_CLI
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-extract:
${RM} ${WRKDIR}/*exe
${REINPLACE_CMD} -i '' -e 's|ommited|omitted|' ${WRKDIR}/util.c
do-build:
cd ${WRKDIR} && ${CC} ${CFLAGS} -DMPU8086 *.c -o lc_CLI
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lc_CLI ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${PAX} -r -w *txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|