From matusita@jp.freebsd.org  Mon Jul 31 06:02:58 2000
Return-Path: <matusita@jp.freebsd.org>
Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15])
	by hub.freebsd.org (Postfix) with ESMTP id 4194637BAB4
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Jul 2000 06:02:57 -0700 (PDT)
	(envelope-from matusita@jp.freebsd.org)
Received: from localhost (localhost [127.0.0.1])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id WAA99854
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Jul 2000 22:02:55 +0900 (JST)
	(envelope-from matusita@jp.FreeBSD.org)
Message-Id: <20000731220253R.matusita@jp.FreeBSD.org>
Date: Mon, 31 Jul 2000 22:02:53 +0900
From: Makoto MATSUSHITA <matusita@jp.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports/security/librsaintl is broken

>Number:         20313
>Category:       ports
>Synopsis:       ports/security/librsaintl is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 31 06:10:00 PDT 2000
>Closed-Date:    Mon Sep 25 11:20:11 PDT 2000
>Last-Modified:  Mon Sep 25 11:21:27 PDT 2000
>Originator:     Makoto MATSUSHITA
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Japan FreeBSD Users' Group
>Environment:

	FreeBSD 4.1-RELEASE

>Description:

	ports/security/librsaintl is broken to compile. MD5 checksum
	is different.

>How-To-Repeat:

	(Be sure you have installed crypto distribution, and extract
	 crypto source tree)
	cd /usr/ports/security/librsaintl
	make

>Fix:
	
	Maybe this ports should always be 'NO_CHECKSUM=YES'. If you
	sync MD5 checksum you cannot compile with -current (and vice versa).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->peter  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Wed Aug 9 10:50:32 PDT 2000 
Responsible-Changed-Why:  
OVer to maintainer 

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

From: Brian Candler <B.Candler@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org, peter@freebsd.org
Cc: matusita@jp.freebsd.org, rhof@netinc.ca
Subject: Re: ports/20313: ports/security/librsaintl is broken
Date: Mon, 14 Aug 2000 14:39:25 +0100

 A few extra points.
 
 (1) rsa_err.c complains of undefined constants in lines 77, 115, 124. You
 can make it compile by commenting those three lines out, and then it appears
 to work.
 
 However I think it's simply that distfiles/librsaintl/rsa_err.c is out of
 date:
 
 ftp ftp.freebsd.org
 cd pub/FreeBSD
 ftp> dir ports/distfiles/librsaintl/rsa_err.c 
 -rw-r--r--  1 569  207  7130 Apr 16 21:16 ports/distfiles/librsaintl/rsa_err.c
                         ^^^^
 
 ftp> cd branches/4.0-stable/src/crypto/openssl/crypto/rsa
 ftp> dir rsa_err.c
 -rw-rw-r--  1 2035  207   6900 Jan 16  2000 rsa_err.c
                           ^^^^
 
 So if you replace /usr/ports/distfiles/librsaintl/rsa_err.c with _this_
 version, and update the files/md5 value to match, it works fine. This, I
 think, is the "correct" solution.
 
 (2) There is no precompiled package of librsaintl on
 ftp.internat.freebsd.org or ftp.uk.freebsd.org - perhaps because it has been
 broken in this way for a while.
 
 Regards,
 
 Brian Candler.
 

From: Brian Candler <B.Candler@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org, peter@freebsd.org
Cc: matusita@jp.freebsd.org, rhof@netinc.ca
Subject: Re: ports/20313: ports/security/librsaintl is broken
Date: Mon, 14 Aug 2000 14:58:57 +0100

 Ah, I see that the port copies from the openssl source (if you have it
 installed). So when it comes to rsa_err.c, either you get the right file
 with the wrong md5 sum, or the wrong file with the right md5 sum :-)
 
 MASTER_SITES=   file:///usr/src/crypto/openssl/crypto/rsa/ \
                 file:///usr/src/crypto/openssl/crypto/ \
                 ftp://internat.FreeBSD.org/pub/FreeBSD/4.0-CURRENT/src/crypto/openssl/crypto/rsa/ \
                 ftp://internat.FreeBSD.org/pub/FreeBSD/4.0-CURRENT/src/crypto/openssl/crypto/
 DISTFILES=      rsa_eay.c rsa_err.c rsa_intlstubs.c cryptlib.h
 
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Mon Sep 25 11:20:11 PDT 2000 
State-Changed-Why:  
This port is obsolete.  Because of the RSA patent expiration, the better 
RSA algorithms are used unconditionally now. 

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