3.9 - 004_httpd.patch Problems
Chaz Gilbert
chaz_meister_rock at yahoo.com
Tue Aug 1 10:05:23 PDT 2006
greetings all,
i'm probably doing something stupid, but i can't
figure out why the patch won't work for my 3.9 system.
any help is greatly appreciated.
-chaz
src$ sudo patch -p0 < ~/004_httpd.patch
Password:
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/modules/standard/mod_rewrite.c
|===================================================================
|RCS file:
/cvs/src/usr.sbin/httpd/src/modules/standard/mod_rewrite.c,v
|retrieving revision 1.24
|retrieving revision 1.24.6.1
|diff -u -p -r1.24 -r1.24.6.1
|--- usr.sbin/httpd/src/modules/standard/mod_rewrite.c
9 Feb 2005 12:13:10 -00
|00 1.24
|+++ usr.sbin/httpd/src/modules/standard/mod_rewrite.c
28 Jul 2006 15:21:30 -0
|000 1.24.6.1
--------------------------
Patching file
usr.sbin/httpd/src/modules/standard/mod_rewrite.c
using Plan A...
Hunk #1 succeeded at 2762.
Hmm... Ignoring the trailing garbage.
done
src$ cd usr.sbin/httpd/
httpd$ sudo make -f Makefile.bsd-wrapper obj
/usr/src/usr.sbin/httpd/obj -> /usr/obj/usr.sbin/httpd
httpd$ sudo make -f Makefile.bsd-wrapper cleandir
rm -f src/support/dbmmanage.cat1
src/support/htdigest.cat1 src/support/htpasswd.cat1
src/support/apachectl.cat8 src/support/logresolve.cat8
httpd.cat8 src/support/rotatelogs.cat8
src/support/apxs.cat8 src/support/suexec.cat8
src/support/dbmmanage.ps1 src/support/htdigest.ps1
src/support/htpasswd.ps1 src/support/apachectl.ps8
src/support/logresolve.ps8 httpd.ps8
src/support/rotatelogs.ps8 src/support/apxs.ps8
src/support/suexec.ps8
usage: rm [-dfiPRr] file ...
*** Error code 123
Stop in /usr/src/usr.sbin/httpd (line 712 of
/usr/src/usr.sbin/httpd/Makefile.bsd-wrapper).
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Openbsd-newbies
mailing list