summaryrefslogtreecommitdiff
path: root/security/john/Makefile
blob: b003564a9b2fdbbde8208d06869bbdcef0b98347 (plain)
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
# $NetBSD: Makefile,v 1.2 2003/03/29 12:42:23 jmmv Exp $
#

DISTNAME=	john-1.6
WRKSRC=		${WRKDIR}/${DISTNAME}/src
CATEGORIES=	security textproc
MASTER_SITES=	http://www.openwall.com/john/

MAINTAINER=	DawS@irc.pl
HOMEPAGE=	http://www.openwall.com/john/
COMMENT=	Unix Password Cracker

ALL_TARGET=	generic

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/../run/john ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/john/
	${INSTALL_DATA} ${WRKSRC}/../run/all.chr ${PREFIX}/share/john/
	${INSTALL_DATA} ${WRKSRC}/../run/alpha.chr ${PREFIX}/share/john/
	${INSTALL_DATA} ${WRKSRC}/../run/digits.chr ${PREFIX}/share/john/
	${INSTALL_DATA} ${WRKSRC}/../run/john.ini ${PREFIX}/share/john/
	${INSTALL_DATA} ${WRKSRC}/../run/mailer ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/../run/password.lst ${PREFIX}/share/john/
	${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unafs
	${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unique
	${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unshadow

.include "../../mk/bsd.pkg.mk"