From daniel+roe=marvin@roe.ch  Sun Jan 20 13:40:40 2008
Return-Path: <daniel+roe=marvin@roe.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ABCAE16A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jan 2008 13:40:40 +0000 (UTC)
	(envelope-from daniel+roe=marvin@roe.ch)
Received: from calvin.roe.ch (calvin.roe.ch [213.144.141.26])
	by mx1.freebsd.org (Postfix) with ESMTP id 5F19A13C45B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jan 2008 13:40:40 +0000 (UTC)
	(envelope-from daniel+roe=marvin@roe.ch)
Received: from marvin.roe ([10.23.42.11])
	by calvin.roe.ch (envelope-from <daniel+roe=marvin@roe.ch>)
	with ESMTPS (TLSv1:AES256-SHA:256) id 1JGaOS-000KOS-MJ
	; Sun, 20 Jan 2008 14:39:24 +0100
Received: from marvin.roe (localhost [127.0.0.1])
	by marvin.roe (8.13.8/8.13.8) with ESMTP id m0KDg4Mu080988;
	Sun, 20 Jan 2008 14:42:04 +0100 (CET)
	(envelope-from roe@marvin.roe)
Received: (from roe@localhost)
	by marvin.roe (8.13.8/8.13.8/Submit) id m0KDg4nD080971;
	Sun, 20 Jan 2008 14:42:04 +0100 (CET)
	(envelope-from roe)
Message-Id: <200801201342.m0KDg4nD080971@marvin.roe>
Date: Sun, 20 Jan 2008 14:42:04 +0100 (CET)
From: Daniel Roethlisberger <daniel@roe.ch>
Reply-To: Daniel Roethlisberger <daniel@roe.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: daniel@roe.ch
Subject: [patch] security/john - add contributed algorithms patch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119824
>Category:       ports
>Synopsis:       [patch] security/john - add contributed algorithms patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 20 13:50:00 UTC 2008
>Closed-Date:    Mon Jan 21 06:12:28 UTC 2008
>Last-Modified:  Mon Jan 21 06:20:00 UTC 2008
>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@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jan 20 13:50:08 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119824 
State-Changed-From-To: open->closed 
State-Changed-By: danfe 
State-Changed-When: Mon Jan 21 06:12:06 UTC 2008 
State-Changed-Why:  
Nice work!  Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119824 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119824: commit references a PR
Date: Mon, 21 Jan 2008 06:11:20 +0000 (UTC)

 danfe       2008-01-21 06:11:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/john        Makefile distinfo 
   Log:
   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.
   
   PR:             ports/119824
   Submitted by:   Daniel Roethlisberger
   
   Revision  Changes    Path
   1.44      +8 -0      ports/security/john/Makefile
   1.18      +3 -0      ports/security/john/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
