From wxs@syn.csh.rit.edu  Tue Jan 17 17:07:18 2006
Return-Path: <wxs@syn.csh.rit.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5934116A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 17:07:18 +0000 (GMT)
	(envelope-from wxs@syn.csh.rit.edu)
Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E9DC843D46
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 17:07:17 +0000 (GMT)
	(envelope-from wxs@syn.csh.rit.edu)
Received: from syn.csh.rit.edu (localhost [127.0.0.1])
	by syn.csh.rit.edu (8.13.4/8.13.4) with ESMTP id k0HH8FFk049924
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Jan 2006 12:08:15 -0500 (EST)
	(envelope-from wxs@syn.csh.rit.edu)
Received: (from wxs@localhost)
	by syn.csh.rit.edu (8.13.4/8.13.4/Submit) id k0HH8FSn049923;
	Tue, 17 Jan 2006 12:08:15 -0500 (EST)
	(envelope-from wxs)
Message-Id: <200601171708.k0HH8FSn049923@syn.csh.rit.edu>
Date: Tue, 17 Jan 2006 12:08:15 -0500 (EST)
From: Wesley Shields <wxs@csh.rit.edu>
Reply-To: Wesley Shields <wxs@csh.rit.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE]: security/cutlass
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91912
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE]: security/cutlass
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 17:10:05 GMT 2006
>Closed-Date:    Tue Jan 17 19:51:15 GMT 2006
>Last-Modified:  Tue Jan 17 19:51:15 GMT 2006
>Originator:     Wesley Shields
>Release:        FreeBSD 6.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD syn 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #1: Wed Jan 11 11:57:33 EST 2006 root@syn:/usr/obj/usr/src/sys/GENERIC i386

>Description:
Pointyhat says that cutlass is broke[1].  The original PR for cutlass[2]
indicates that the patch in the shar file will have to be applied after
the update to security/botan is applied.  Now that botan is updated this
patch can be applied to unbreak cutlass.

I've pulled the patch out of the shar and attached it here.

[1]: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2005101122/cutlass-0.2.0.log
[2]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/91072

>How-To-Repeat:
N/A

>Fix:

diff -ruN security/cutlass.orig/files/patch-libcutlass::filters.cpp security/cutlass/files/patch-libcutlass::filters.cpp
--- security/cutlass.orig/files/patch-libcutlass::filters.cpp	Wed Dec 31 19:00:00 1969
+++ security/cutlass/files/patch-libcutlass::filters.cpp	Tue Jan 17 11:54:48 2006
@@ -0,0 +1,10 @@
+--- libcutlass/filters.cpp.orig	Wed Dec 28 19:49:13 2005
++++ libcutlass/filters.cpp	Wed Dec 28 19:49:19 2005
+@@ -5,6 +5,7 @@
+ #include <cutlass/filters.hpp>
+ #include <botan/rng.h>
+ #include <botan/lookup.h>
++#include <botan/bit_ops.h>
+ using namespace Botan;
+ 
+ static void dump(const char* name, const SecureVector<byte>& x)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tdb 
State-Changed-When: Tue Jan 17 19:51:14 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91912 
>Unformatted:
