freebsd-ports/security/ophcrack/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= ophcrack
PORTVERSION= 3.8.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= danfe@FreeBSD.org
COMMENT= Windows password cracker based on rainbow tables
LICENSE= APACHE20 GPLv2
LICENSE_COMB= multi
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= compiler:c++11-lang gmake localbase ssl tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/ophcrack
PORTDOCS= AUTHORS ChangeLog README.md
OPTIONS_DEFINE= X11 DOCS
OPTIONS_DEFAULT= X11
X11_DESC= Build with Qt 5 GUI frontend
X11_USES= pkgconfig qt:5
X11_USE= QT=buildtools_build,qmake_build,charts,core,gui,widgets
X11_CONFIGURE_OFF= --disable-gui
post-patch:
@${REINPLACE_CMD} -E '/#include <byteswap\.h>/d ; \
/#include/s,"bswap\.h",<machine/endian.h>, ; \
s,bswap_([[:digit:]]+),bswap\1, ' \
${WRKSRC}/src/samdump2/bkhive.c \
${WRKSRC}/src/samdump2/hive.c \
${WRKSRC}/src/samdump2/samdump2.c \
${WRKSRC}/src/core/misc.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>