From owner-freebsd-security Thu Apr 18 4:34: 5 2002 Delivered-To: freebsd-security@freebsd.org Received: from th06.opsion.fr (th06.opsion.fr [195.219.20.16]) by hub.freebsd.org (Postfix) with SMTP id 0C03137B400 for ; Thu, 18 Apr 2002 04:34:00 -0700 (PDT) Received: from 80.34.220.92 [80.34.220.92] by th06.opsion.fr id 200204181133.2d9f; Thu, 18 Apr 2002 11:33:45 GMT From: "Iago Sineiro" To: "FreeBSD Seguridad" Subject: Problem applying patch SA-02:18 Date: Fri, 19 Apr 2002 13:33:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Hi. I followed the instructions in FreeBSD SA-02:18 but when I try to apply patch zlib I obtained this result: prototipo# pwd /usr/src prototipo# patch -p < /tmp/zlib.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: lib/libz/infblock.c |=================================================================== |RCS file: /home/ncvs/src/lib/libz/infblock.c,v |retrieving revision 1.2 |diff -u -r1.2 infblock.c |--- lib/libz/infblock.c 30 Sep 2001 22:39:00 -0000 1.2 |+++ lib/libz/infblock.c 17 Feb 2002 15:19:53 -0000 -------------------------- File to patch: What file I have to patch? I apply patch syncache (SA-02:20) and didn't ask the file I want to patch. I try to apply patch FreeBSD-SA-02:13 (openssh) and it also ask the file to patch. Also what is the difference between patch -p < /tmp/zlib.patch and patch < /tmp/zlib.patch? I see the man page for pathc but I didn't understand it very well. Thanks. Iago. ______________________________________________________________________________ mensaje enviado desde http://www.iespana.es emails (pop)-paginas web (espacio ilimitado)-agenda-favoritos (bookmarks)-foros -Chat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message