Re: Installing Security Advisories

2007-10-26 Thread Brian A Seklecki (Mobile)

On Fri, 2007-10-26 at 17:42 +0100, Tino Engel wrote:
 So how can I find out, which file to tell 'patch' to patch?

Why don't you paste the full input / output dialog from your patch
attempt and we will point out where you're making a syntactical error.

Manual patching is not for the weak-at-shell.  Did you try to cvsup/csup
your source tree instead?

~BAS

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing Security Advisories

2007-10-26 Thread Rob

Tino Engel wrote:

I was trying to install actual FreeBSD patches as mentioned in Security 
Advisories.
[[snip]]
Then the patch programm ask me which file to apply the patch at. The Security 
Advisory tells nothing about this.


Do you have the full source code installed on the system?  You may only have the kernel, which will 
have the sys directory under /usr/src and little else.  Full source on my 6.2 system 
has 19 directories under /usr/src, including /usr/src/usr.bin which has a good portion of the 
user land code.

I've done the patches quite a few times with no hitches.

 -Rob

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Installing Security Advisories

2007-10-26 Thread Tino Engel
Dear ~BAS,

Thank you very much for your quick response.
Here is what I did, as far as I can see exactly according to Security Advisory 
http://security.freebsd.org/advisories/FreeBSD-SA-07:08.openssl.asc.

shell

%fetch http://security.FreeBSD.org/patches/SA-07:08/openssl.patch
openssl.patch 100% of 1051  B 6887 kBps
%fetch http://security.FreeBSD.org/patches/SA-07:08/openssl.patch.asc
openssl.patch.asc 100% of  187  B 1325 kBps
%pgp openssl.patch
Pretty Good Privacy(tm) Version 6.5.8
Internal development version only - not for general release.
(c) 1999 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

File 'openssl.patch.asc' has signature, but with no text.
Text is assumed to be in file 'openssl.patch'.
Good signature from user FreeBSD Security Officer [EMAIL PROTECTED].
Signature made 2007/10/03 21:48 GMT

WARNING:  Because this public key is not certified with a trusted
signature, it is not known with high confidence that this public key
actually belongs to: FreeBSD Security Officer [EMAIL PROTECTED].
%cd /usr/src
%patch  /root/openssl.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: crypto/openssl/ssl/ssl_lib.c
|===
|RCS file: /home/ncvs/src/crypto/openssl/ssl/ssl_lib.c,v
|retrieving revision 1.1.1.12.2.1
|diff -u -d -r1.1.1.12.2.1 ssl_lib.c
|--- crypto/openssl/ssl/ssl_lib.c   28 Sep 2006 13:02:36 -  
1.1.1.12.2.1
|+++ crypto/openssl/ssl/ssl_lib.c   3 Oct 2007 17:01:24 -
--
File to patch:  

/shell

Now it comes up to the point where 'patch' is asking me which file to patch.
The security advisory tells nothing about this as far as I can see.

Actually I did not try cvsup/csup. One of the big advantages of FreeBSD is to 
me the easy Packages-System in sysinstall. Performance of KDE with all details 
is outstanding, so I see no need to compile the whole system from source. But 
maybe I will for the sake of it being cool...

And I striktly refuse to be weak-at-shell :-)

Best regards, Tino Engel

 Subject: Re: Installing Security Advisories
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Date: Fri, 26 Oct 2007 13:07:47 -0400
 
 
 On Fri, 2007-10-26 at 17:42 +0100, Tino Engel wrote:
  So how can I find out, which file to tell 'patch' to patch?
 
 Why don't you paste the full input / output dialog from your patch
 attempt and we will point out where you're making a syntactical error.
 
 Manual patching is not for the weak-at-shell.  Did you try to cvsup/csup
 your source tree instead?
 
 ~BAS
 

_
Eva sagt: „Kennst du schon den Adressimport für den Messenger?“
http://messenger.live.de/ersteschritte_adressimport.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]