2010-10-19 03:59:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2010/10/19 07:59:03 jsg Exp $
|
2004-01-27 01:18:59 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2001-05-05 23:45:31 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= Microsoft LANMAN & NT password sniffer/cracker
|
1999-12-05 13:19:56 -05:00
|
|
|
|
|
|
|
PKGNAME= l0phtcrack-2.52
|
2010-10-19 03:59:03 -04:00
|
|
|
REVISION= 0
|
1999-12-05 13:19:56 -05:00
|
|
|
CATEGORIES= security
|
2002-10-28 12:35:01 -05:00
|
|
|
|
2003-02-28 22:38:07 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
2000-09-12 11:37:33 -04:00
|
|
|
DISTFILES= lcsrc.zip readsmb.c
|
|
|
|
EXTRACT_ONLY= lcsrc.zip
|
|
|
|
DIST_SUBDIR= l0phtcrack
|
1999-12-05 13:19:56 -05:00
|
|
|
|
2000-04-28 20:01:41 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-10-19 03:59:03 -04:00
|
|
|
WANTLIB= c crypto pcap
|
2000-04-28 20:01:41 -04:00
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1999-12-05 13:19:56 -05:00
|
|
|
|
|
|
|
post-extract:
|
2000-09-12 11:37:33 -04:00
|
|
|
@cp ${FULLDISTDIR}/readsmb.c ${WRKSRC}
|
|
|
|
@(cd ${WRKSRC} ; \
|
|
|
|
for file in * ; do \
|
|
|
|
tr -d '\r' < $$file > $$file.new ; \
|
|
|
|
mv $$file.new $$file ; \
|
|
|
|
done)
|
1999-12-05 13:19:56 -05:00
|
|
|
|
2002-10-28 12:35:01 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1999-12-05 13:19:56 -05:00
|
|
|
do-install:
|
2000-09-12 11:37:33 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/l0phtcrack
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/l0phtcrack
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lc ${PREFIX}/sbin/l0phtcrack
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/readsmb ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/wfile.txt ${PREFIX}/share/l0phtcrack
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/l0phtcrack
|
1999-12-05 13:19:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|