Quote:
Originally Posted by bsdnewbie999
But I can also update using patches and the faq really didn't mention about the "File to patch:".
|
When confronted with confusion, go to the tools known to provide information.
- What does the manpage for patch(1) state?
Code:
DESCRIPTION
patch will take a patch file containing any of the four forms of differ-
ence listing produced by the diff(1) program and apply those differences
to an original file, producing a patched version. If patchfile is omit-
ted, or is a hyphen, the patch will be read from the standard input.
- On the patches page:
http://openbsd.org/errata44.html
There is a link which points to a text page stating (& jggimi has already mentioned this...):
Code:
Apply by doing:
cd /usr/src
patch -p0 < 004_httpd.patch
- More information on patching can be found in Section 10.15 of the FAQ:
http://openbsd.org/faq/faq10.html#Patches
- The remaining question is how did you obtain the patch file itself? The patches file, 4.4.tar.gz, can be found on the project's main ftp site at pub/OpenBSD/patches/4.4.tar.gz.
-
Quote:
So i guess there should be a file in the /usr/src directory but nothing is there..
|
/usr/src will only have source code present if you have correctly followed the instructions of Section 5.3.3 from the FAQ:
http://openbsd.org/faq/faq5.html#BldGetSrc
Source code is not installed by default during installation.
To become proficient & productive with OpenBSD, you need to learn to use the tools available which includes understanding the documentation. Guessing will only get you into trouble, & by now, you should be aware of this consequence.