From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 10 16:20:23 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1BA716A4CE for ; Thu, 10 Feb 2005 16:20:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA0443D39 for ; Thu, 10 Feb 2005 16:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1AGKMYr026657 for ; Thu, 10 Feb 2005 16:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1AGKMtv026656; Thu, 10 Feb 2005 16:20:22 GMT (envelope-from gnats) Resent-Date: Thu, 10 Feb 2005 16:20:22 GMT Resent-Message-Id: <200502101620.j1AGKMtv026656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wesley Shields Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C9AF16A4CE for ; Thu, 10 Feb 2005 16:12:10 +0000 (GMT) Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D7D43D1D for ; Thu, 10 Feb 2005 16:12:10 +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.1/8.13.1) with ESMTP id j1AGBtdX016138; Thu, 10 Feb 2005 11:11:55 -0500 (EST) (envelope-from wxs@syn.csh.rit.edu) Received: (from wxs@localhost) by syn.csh.rit.edu (8.13.1/8.13.1/Submit) id j1AGBs7e016137; Thu, 10 Feb 2005 11:11:54 -0500 (EST) (envelope-from wxs) Message-Id: <200502101611.j1AGBs7e016137@syn.csh.rit.edu> Date: Thu, 10 Feb 2005 11:11:54 -0500 (EST) From: Wesley Shields To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: onatan@gmail.com Subject: ports/77349: [SECURITY UPDATE]: security/libtomcrypt X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Wesley Shields List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2005 16:20:23 -0000 >Number: 77349 >Category: ports >Synopsis: [SECURITY UPDATE]: security/libtomcrypt >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 10 16:20:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wesley Shields >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD syn 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Fri Jan 28 22:20:51 EST 2005 root@syn:/usr/obj/usr/src/sys/GENERIC i386 >Description: Libtomcrypt released a patchset to fix a few security bugs. >How-To-Repeat: N/A >Fix: The attached patch will update the port. I'm not entirely sure this is the best way to do it, but using PATCHFILES would not work correctly and this was one of the ways I was able to get it to update easily. If there is a better way to do it (ideally getting PATCHFILES to work) I would be glad to hear of it. The maintainer has been CC'ed on this. diff -ruN security/libtomcrypt.orig/Makefile security/libtomcrypt/Makefile --- security/libtomcrypt.orig/Makefile Tue Feb 8 12:43:44 2005 +++ security/libtomcrypt/Makefile Thu Feb 10 10:49:29 2005 @@ -7,9 +7,20 @@ PORTNAME= libtomcrypt PORTVERSION= 1.00 +PORTREVISION= 1 CATEGORIES= security -MASTER_SITES= http://libtomcrypt.org/files/ -DISTNAME= crypt-${PORTVERSION} +MASTER_SITES= http://libtomcrypt.org/files/:source \ + http://libtomcrypt.org/files/patch-1.00/:patch +DISTFILES= crypt-${PORTVERSION}.tar.bz2:source \ + ltc-1.00-001.tar.bz2:patch + +EXTRA_PATCHES= ${WRKDIR}/src/pk/pkcs1/pkcs_1_oaep_encode.c.patch \ + ${WRKDIR}/src/pk/pkcs1/pkcs_1_oaep_decode.c.patch \ + ${WRKDIR}/src/misc/base64/base64_decode.c.patch \ + ${WRKDIR}/src/headers/tomcrypt.h.patch \ + ${WRKDIR}/makefile.shared.patch \ + ${WRKDIR}/makefile.patch \ + ${WRKDIR}/changes.patch \ MAINTAINER= onatan@gmail.com COMMENT= Comprehensive, modular and portable cryptographic toolkit diff -ruN security/libtomcrypt.orig/distinfo security/libtomcrypt/distinfo --- security/libtomcrypt.orig/distinfo Tue Feb 8 12:43:44 2005 +++ security/libtomcrypt/distinfo Thu Feb 10 10:11:54 2005 @@ -1,2 +1,4 @@ MD5 (crypt-1.00.tar.bz2) = 73a896e5e8f636dd14c1517f572ddaa1 SIZE (crypt-1.00.tar.bz2) = 940439 +MD5 (ltc-1.00-001.tar.bz2) = fa7a398e554754098259a1a3a5997672 +SIZE (ltc-1.00-001.tar.bz2) = 1868 >Release-Note: >Audit-Trail: >Unformatted: