From owner-freebsd-security Thu Feb 27 15:59:16 2003 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A33DE37B401; Thu, 27 Feb 2003 15:59:11 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD2543FB1; Thu, 27 Feb 2003 15:59:10 -0800 (PST) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org (12-234-89-252.client.attbi.com[12.234.89.252]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003022723590900300ahmlje>; Thu, 27 Feb 2003 23:59:09 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.6/8.12.3) with ESMTP id h1RNx8eq085298; Thu, 27 Feb 2003 15:59:08 -0800 (PST) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.6/8.12.6/Submit) id h1RNx1hC085297; Thu, 27 Feb 2003 15:59:01 -0800 (PST) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Thu, 27 Feb 2003 15:59:01 -0800 From: "Crist J. Clark" To: KIMURA Yasuhiro Cc: nectar@FreeBSD.org, freebsd-security@FreeBSD.org Subject: Re: Updated OpenSSL patches Message-ID: <20030227235901.GA84362@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <20030227005035.GA99420@madman.celabo.org> <20030228.010621.58864322.yasu@utahime.org> <20030227160944.GA3238@madman.celabo.org> <20030228.014901.81279435.yasu@utahime.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030228.014901.81279435.yasu@utahime.org> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 28, 2003 at 01:49:01AM +0900, KIMURA Yasuhiro wrote: > >>>>> "Jacques A. Vidrine" wrote: > > > I'm sorry, but I cannot reproduce the failure. :-( > > Since nobody else seems to be in trouble, I can't help concluding that > something is wrong with my environment. So I'm going to re-install OS > this weekend, to check what will happen on the vanilla 4.7R > environment, and to report it here. I can reproduce the error. Something weird is going on with patch(1). First, this DOES NOT produce the error, $ uname -r 4.7-RELEASE-p2 $ cd /var/tmp $ [ -d src ] && rm -rf src $ cvs -Q co -rRELENG_4_7_0_RELEASE src/crypto/openssl $ cvs -Q co -rRELENG_4_7_0_RELEASE src/secure/lib/libcrypto $ cd src $ fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:02/openssl47.patch.gz $ zcat openssl47.patch.gz | patch -s However, try, $ cd /var/tmp $ [ -d src ] && rm -rf src $ cvs -Q co -rRELENG_4_7_0_RELEASE src/crypto/openssl $ cvs -Q co -rRELENG_4_7_0_RELEASE src/secure/lib/libcrypto $ cvs -Q co -rRELENG_4_7_0_RELEASE src/Makefile $ cd src $ fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:02/openssl47.patch.gz $ zcat openssl47.patch.gz | patch -s 1 out of 1 hunks failed--saving rejects to Makefile.rej It looks like patch(1) is confused where to look for "Makefile." It tries to patch the one in pwd. However, if I do, $ cd /var/tmp $ [ -d src ] && rm -rf src $ cvs -Q co -rRELENG_4_7_0_RELEASE src/crypto/openssl $ cvs -Q co -rRELENG_4_7_0_RELEASE src/secure/lib/libcrypto $ cvs -Q co -rRELENG_4_7_0_RELEASE src/Makefile $ cd src $ fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-03:02/openssl47.patch.gz $ zcat openssl47.patch.gz | sed 's-../RELENG_4_7/--' | patch -s -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message