aboutsummaryrefslogtreecommitdiffstats
path: root/security/ophcrack
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-11 12:04:11 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-11 12:04:11 +0800
commite3ef222893dbc356e5adbf7576b986d6eadb3754 (patch)
treeaabcc6fa6b3aabf74a6d0fd86e12ed0841a46cc3 /security/ophcrack
parent8185c3bd81db3a710819ee93afcf2a154873fad0 (diff)
downloadfreebsd-ports-gnome-e3ef222893dbc356e5adbf7576b986d6eadb3754.tar.gz
freebsd-ports-gnome-e3ef222893dbc356e5adbf7576b986d6eadb3754.tar.zst
freebsd-ports-gnome-e3ef222893dbc356e5adbf7576b986d6eadb3754.zip
- Update to version 3.4.1, which adds the support of the Vista special XL
tables and fixes some bugs with Vista eight XL tables on Windows - Convert to OptionsNG, retire DEBUG option (mostly useful for developers) - Augment LICENSE knob and trim Makefile header while I'm here
Diffstat (limited to 'security/ophcrack')
-rw-r--r--security/ophcrack/Makefile36
-rw-r--r--security/ophcrack/distinfo4
2 files changed, 16 insertions, 24 deletions
diff --git a/security/ophcrack/Makefile b/security/ophcrack/Makefile
index a3aef5b5af61..452793bd5e74 100644
--- a/security/ophcrack/Makefile
+++ b/security/ophcrack/Makefile
@@ -1,20 +1,16 @@
-# New ports collection makefile for: ophcrack
-# Date created: 14 Mar 2008
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= ophcrack
-PORTVERSION= 3.4.0
-PORTREVISION= 1
+PORTVERSION= 3.4.1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= danfe@FreeBSD.org
COMMENT= Windows password cracker based on rainbow tables
-LICENSE= GPLv2
+LICENSE= AL2 GPLv2
+LICENSE_COMB= multi
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -24,38 +20,34 @@ USE_OPENSSL= yes
PLIST_FILES= bin/ophcrack
PORTDOCS= *
-OPTIONS= GUI "Build GUI frontend (Qt4 based)" on \
- GRAPH "Enable graph rendering with Qwt" on \
- DEBUG "Make debug build" off
+OPTIONS_DEFINE= X11 GRAPH DOCS
+OPTIONS_DEFAULT= X11 GRAPH
+
+X11_DESC= Build GUI frontend (Qt4-based)
+GRAPH_DESC= Graph rendering support via Qwt
.include <bsd.port.options.mk>
-.if defined(WITH_GUI) || defined(WITH_GRAPH)
+.if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGRAPH}
USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui
.else
CONFIGURE_ARGS+= --disable-gui
.endif
-.if defined(WITH_GRAPH)
-LIB_DEPENDS= qwt.5:${PORTSDIR}/x11-toolkits/qwt5
+.if ${PORT_OPTIONS:MGRAPH}
+LIB_DEPENDS= qwt:${PORTSDIR}/x11-toolkits/qwt5
.else
CONFIGURE_ARGS+= --disable-graph
.endif
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/ophcrack/distinfo b/security/ophcrack/distinfo
index eb8ea3e14147..eba223a53dd5 100644
--- a/security/ophcrack/distinfo
+++ b/security/ophcrack/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ophcrack-3.4.0.tar.bz2) = 06cb22d95a8ded79eebb99ac19bd21b27321e85fe0f22f32407d0b925b66d3e3
-SIZE (ophcrack-3.4.0.tar.bz2) = 279806
+SHA256 (ophcrack-3.4.1.tar.bz2) = 108ea6832cae3bd2b03df5b12c375c112dd3ad1f602bdc9acdaa776774000a12
+SIZE (ophcrack-3.4.1.tar.bz2) = 334878