I have downloaded the patch for httpd but i have problem patching it when i do
Code:
# patch -p0 < 004_httpd.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Apply by doing:
| cd /usr/src
| patch -p0 < 004_httpd.patch
|
|And then rebuild and install httpd and its modules:
| cd usr.sbin/httpd
| make -f Makefile.bsd-wrapper obj
| make -f Makefile.bsd-wrapper cleandir
| make -f Makefile.bsd-wrapper depend
| make -f Makefile.bsd-wrapper
| make -f Makefile.bsd-wrapper install
|
|If httpd had been started, you might want to run
| apachectl stop
|before running "make install", and
| apachectl start
|afterwards.
|
|Index: usr.sbin/httpd/src/ap/ap_hook.c
|===================================================================
|RCS file: /cvs/src/usr.sbin/httpd/src/ap/ap_hook.c,v
|retrieving revision 1.6
|retrieving revision 1.6.14.1
|diff -u -p -r1.6 -r1.6.14.1
|--- usr.sbin/httpd/src/ap/ap_hook.c 15 Jun 2005 00:00:09 -0000 1.6
|+++ usr.sbin/httpd/src/ap/ap_hook.c 6 Nov 2008 10:06:50 -0000 1.6.14.1
--------------------------
File to patch:
something that confused me:
1. Maybe u think it is stupid quetion but i really don't know what is the File to patch? I have been google it and search in the openbsd faq and i found that there is a number of people don't know about this too besides I didn't found any answer for that..
2. For the File to patch, i tried to put in the httpd.patch file and it failed. So i guess there should be a file in the /usr/src directory but nothing is there..
jggimi,
Here is my swap space and I have set the RAM for OpenBSD virtual machine to 516RAM.
Code:
# swapctl -lk
Device 1K-blocks Used Avail Capacity Priority
swap_device 313267 0 313267 0% 0