ports/119824: [patch] security/john - add contributed algorithms patch

Daniel Roethlisberger daniel at roe.ch
Sun Jan 20 13:50:01 UTC 2008


>Number:         119824
>Category:       ports
>Synopsis:       [patch] security/john - add contributed algorithms patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 20 13:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 6.2-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD marvin.roe 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Add the contrib patchset which adds support for many more message digest
algorithms to john.  New algorithms are: NT, PO, raw-MD5, IPB2, raw-sha1,
salt-sha1, md5a, KRB5, bfegg, nsldap, ssha, oracle, MYSQL, mysql-sha1, mscash,
lotus5, DOMINOSEC, NETLM, NETNTLM, mssql, mssql05.

I did not make the patch optional since the patchfile is compiled and
distributed by the openwall project, like john itself, and I had no trouble
whatsoever with it.  However, you may want to make it optional via OPTIONS
or a knob nonetheless.
>How-To-Repeat:
>Fix:
--- john-contrib.diff begins here ---
diff -ruN john.orig/Makefile john/Makefile
--- john.orig/Makefile	Sat Jun 30 20:47:13 2007
+++ john/Makefile	Sun Jan 20 14:09:54 2008
@@ -7,11 +7,19 @@
 
 PORTNAME=	john
 PORTVERSION=	1.7.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.openwall.com/john/f/ \
 		ftp://ftp.ru.openwall.com/pub/projects/john/${PORTVERSION}/ \
 		ftp://ftp.se.openwall.com/pub/projects/john/${PORTVERSION}/ \
 		http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${PORTVERSION}/
+
+PATCHFILES=	john-${PORTVERSION}-all-9.diff.gz
+PATCH_SITES=	ftp://ftp.openwall.com/pub/projects/john/contrib/ \
+		http://www.mirrorgeek.com/openwall/projects/john/contrib/ \
+		ftp://ftp.cert.dfn.de/pub/tools/net/Openwall/projects/john/contrib/ \
+		http://ftp.sunet.se/pub/security/tools/net/Openwall/projects/john/contrib/
+PATCH_DIST_STRIP=	-p2
 
 MAINTAINER=	danfe at FreeBSD.org
 COMMENT=	Featureful Unix password cracker
diff -ruN john.orig/distinfo john/distinfo
--- john.orig/distinfo	Mon Jun 19 17:22:50 2006
+++ john/distinfo	Sun Jan 20 14:01:26 2008
@@ -1,3 +1,6 @@
 MD5 (john-1.7.2.tar.bz2) = dc6a6c2a885110ccb5da4c1e2010cb07
 SHA256 (john-1.7.2.tar.bz2) = 7e2ca95ce9038771adb009133feb1b508698244449ceed84b6442f83327c5d58
 SIZE (john-1.7.2.tar.bz2) = 691706
+MD5 (john-1.7.2-all-9.diff.gz) = 1f31bea932892bf3de13a748ee82ccde
+SHA256 (john-1.7.2-all-9.diff.gz) = 44555f9c2b630d9c35597f1a4319379f4e3f452ab2103b21cee8d3ebe6d38bbe
+SIZE (john-1.7.2-all-9.diff.gz) = 70430
--- john-contrib.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list