freebsd-ports/security/fcrackzip/Makefile
Stefan Walter 912acdae05 - Add patch to properly escape paths and passwords in shell calls.
- While here, remove MD5 from distinfo.

Reported by:	Keith Waters <keith@waters.co.za>
Patch by:	Richard Corner
Obtained from:	https://bugs.launchpad.net/ubuntu/+source/fcrackzip/+bug/350640
2011-05-17 20:10:52 +00:00

36 lines
889 B
Makefile

# New ports collection makefile for: fcrackzip
# Date created: 16 Jul 2004
# Whom: Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#
PORTNAME= fcrackzip
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security archivers
MASTER_SITES= http://oldhome.schmorp.de/data/marc/ \
http://distfiles.macports.org/${PORTNAME}/
MAINTAINER= stefan@FreeBSD.org
COMMENT= Portable, fast and featureful ZIP password cracker
GNU_CONFIGURE= yes
USE_PERL5_BUILD=yes
PLIST_FILES= bin/fcrackzip bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
MAN1= fcrackzip.1
.endif
post-patch:
@${REINPLACE_CMD} -e 's/zipinfo/fcrackzipinfo/g' ${WRKSRC}/zipinfo.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/fcrackzip ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${WRKSRC}/zipinfo ${PREFIX}/bin/fcrackzipinfo
.if !defined(NOPORTDOCS)
@${INSTALL_MAN} ${WRKSRC}/fcrackzip.1 ${PREFIX}/man/man1/
.endif
.include <bsd.port.mk>