aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-07-01 02:47:13 +0800
committerdanfe <danfe@FreeBSD.org>2007-07-01 02:47:13 +0800
commitf326cd5f732fda92e06acb7ea029ba0780934a13 (patch)
tree7a17d62a4a2cf705b6d92fdfa1e35745b3571c1a
parent9d2b3b2f09848473ee427b092d97f732407e615e (diff)
downloadfreebsd-ports-gnome-f326cd5f732fda92e06acb7ea029ba0780934a13.tar.gz
freebsd-ports-gnome-f326cd5f732fda92e06acb7ea029ba0780934a13.tar.zst
freebsd-ports-gnome-f326cd5f732fda92e06acb7ea029ba0780934a13.zip
- Take maintainership
- Automatically detect for SSE2/MMX features, remove OPTIONS - Refine Makefile header - Reformat pkg-descr, catch up with vendor text
-rw-r--r--security/john/Makefile24
-rw-r--r--security/john/pkg-descr13
2 files changed, 13 insertions, 24 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index 816e7cb19459..f97574c884eb 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -1,6 +1,6 @@
-# Ports collection makefile for: john
-# Date created: Sun Mar 09, 1997
-# Whom: David O'Brien (obrien@FreeBSD.org)
+# Ports collection makefile for: John the Ripper
+# Date created: Sun Mar 09, 1997
+# Whom: David O'Brien <obrien@FreeBSD.org>
#
# $FreeBSD$
#
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.openwall.com/john/f/ \
ftp://ftp.se.openwall.com/pub/projects/john/${PORTVERSION}/ \
http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${PORTVERSION}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Featureful Unix password cracker
DATAFILES= all.chr alnum.chr alpha.chr digits.chr lanman.chr password.lst
@@ -28,24 +28,12 @@ CFLAGS+= -DJOHN_SYSTEMWIDE=1 \
-DJOHN_SYSTEMWIDE_HOME=\\"${DATADIR}\\" \
-DCFG_FULL_NAME=\\"${PREFIX}/etc/${PORTNAME}.conf\\"
-# workaround for OSVERSION/ARCH detection before bsd.port.pre.mk
-# (required for OPTIONS usage)
-ARCH!= /usr/bin/uname -p
-OSVERSION!= /sbin/sysctl -n kern.osreldate
-
-.if ${ARCH} == "i386"
-. if ${OSVERSION} > 500000
-OPTIONS= SSE2 "Enable SSE2 optimizations" off
-. endif
-OPTIONS+= MMX "Enable MMX optimizations" off
-.endif
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
-. if defined(WITH_SSE2)
+. if ${MACHINE_CPU:Msse2}
ALL_TARGET= ${OSNAME}-x86-sse2
-. elif defined(WITH_MMX)
+. elif ${MACHINE_CPU:Mmmx}
ALL_TARGET= ${OSNAME}-x86-mmx
. else
ALL_TARGET= ${OSNAME}-x86-any
diff --git a/security/john/pkg-descr b/security/john/pkg-descr
index 0f7c72dbef70..9944fa235738 100644
--- a/security/john/pkg-descr
+++ b/security/john/pkg-descr
@@ -1,8 +1,9 @@
-John the Ripper is a fast password cracker, currently available for many flavors
-of Unix (11 are officially supported, not counting different architectures),
-DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to detect weak Unix
-passwords. Besides several crypt(3) password hash types most commonly found on
-various Unix flavors, supported out of the box are Kerberos/AFS and Windows
-NT/2000/XP LM hashes, plus many more with contributed patches.
+John the Ripper is a fast password cracker, currently available for many
+flavors of Unix (11 are officially supported, not counting different
+architectures), DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to
+detect weak Unix passwords. Besides several crypt(3) password hash types
+most commonly found on various Unix flavors, supported out of the box are
+Kerberos AFS and Windows NT/2000/XP/2003 LM hashes, plus several more with
+contributed patches.
WWW: http://www.openwall.com/john/