Tomas wrote:
> I was wondering is there any way to patch my httpd server without a 
> compiller? I don't want to add a compiller on my production web server, 
> but I need to patch httpd (security fix 004). I use OpenBSD 3.9.

cd /usr/src/usr.sbin/httpd
cvs up
make -f Makefile.bsd-wrapper obj cleandir all
sudo install -d fake/usr/{share/man/cat{1,8},lib/apache/modules}
sudo make -f  Makefile.bsd-wrapper install DESTDIR=$PWD/fake
cd fake
tar czvvf ../patched_apache.tgz *
cd ..
sudo rm -rf fake

Now distribute the patched_apache.tgz tarball to all clients and
install it with:

sudo tar xzpf patched_apache.tgz -C /



# Han

Reply via email to