ports/79591: [PATCH] security/cryptlib: unbreak and update distinfo

Sam Lawrance boris at brooknet.com.au
Wed Apr 6 06:50:06 UTC 2005


>Number:         79591
>Category:       ports
>Synopsis:       [PATCH] security/cryptlib: unbreak and update distinfo
>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:   Wed Apr 06 06:50:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sam Lawrance
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD dirk.no.domain 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #11: Sun Mar  6 12:44:50 EST
>Description:
Distfile changed. A diff between the contents of the original distfile, found here:
	http://mirror.isp.net.au/ftp/pub/freebsd/distfiles/cl31.zip
and the new one shows that the changes consist of inconsequential whitespace, with one
exception shown below:

:) diff -burN cl31.orig/misc/net_http.c cl31/misc/net_http.c
:) --- cl31.orig/misc/net_http.c	Sat Dec 20 20:15:12 2003
:) +++ cl31/misc/net_http.c	Sat Dec 20 19:15:24 2003
@@ -543,6 +543,7 @@
 					{
 					if( httpErrorStatus != NULL )
 						*httpErrorStatus = 415;
+					lineBuffer[ CRYPT_MAX_TEXTSIZE ] = '\0';
 					retExtStream( stream, CRYPT_ERROR_BADDATA,
 								  "Invalid HTTP content encoding method '%s'",
 								  lineBuffer );
@@ -559,6 +560,7 @@
 					{
 					if( httpErrorStatus != NULL )
 						*httpErrorStatus = 415;
+					lineBuffer[ CRYPT_MAX_TEXTSIZE ] = '\0';
 					retExtStream( stream, CRYPT_ERROR_BADDATA,
 								  "Invalid HTTP content transfer encoding "
 								  "method '%s'", lineBuffer );

PORTREVISION is bumped for this reason.

>How-To-Repeat:
>Fix:

--- cryptlib-3.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/security/cryptlib/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	28 Feb 2005 04:24:54 -0000	1.8
+++ Makefile	6 Apr 2005 06:42:07 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=		cryptlib
 PORTVERSION=		3.1
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		security
 MASTER_SITES=		ftp://ftp.franken.de/pub/crypt/cryptlib/
 DISTNAME=		cl31
@@ -16,8 +16,6 @@
 MAINTAINER=		ports at FreeBSD.org
 COMMENT=		A powerful security programming toolkit
 
-BROKEN=			Size mismatch
-
 ONLY_FOR_ARCHS=		i386
 
 USE_ZIP=		yes
Index: distinfo
===================================================================
RCS file: /home/ncvs/FreeBSD/ports/security/cryptlib/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	30 Jan 2004 09:29:33 -0000	1.4
+++ distinfo	6 Apr 2005 05:19:14 -0000
@@ -1,2 +1,2 @@
-MD5 (cl31.zip) = 80997fdc4bf26a849f0de915c08adab2
-SIZE (cl31.zip) = 2815203
+MD5 (cl31.zip) = d732c7d527debbd01848c303e62efa13
+SIZE (cl31.zip) = 2815315
--- cryptlib-3.1_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list