https://issues.apache.org/bugzilla/show_bug.cgi?id=29744

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |WORKSFORME

--- Comment #138 from [email protected] ---
(In reply to comment #137)
> (In response to comment 136.)
> 
> You could possibly just recompile that one module, but the effort required
> to find the correct build flags and to compile any dependencies and so on
> seems to be excessive.  Assuming that you're working with a standard Linux
> distribution (Debian or a derivative or Red Hat or a derivative or similar),
> you should be able to download the source package, patch the file and then
> rebuild it; the effort required is minimal.
> 
> On Debian, you can do something like the following, assuming that you have a
> line such as:
>   deb-src http://ftp.debian.org/debian/ testing main
> in your /etc/apt/sources.list; here '#' indicates commands to be run as root
> (if you have a more complex setup, such as with chroots, you will know what
> you are doing!):
> 
> ~ # aptitude install build-essential fakeroot quilt devscripts
> ~ # aptitude build-dep apache2
> ~ $ cd /tmp
> /tmp $ apt-get source apache2
> /tmp $ cd apache2-2.2.22
> /tmp/apache2-2.2.22 $ quilt new 999_mod_proxy.patch
> /tmp/apache2-2.2.22 $ quilt add modules/proxy/mod_proxy_connect.c
> /tmp/apache2-2.2.22 $ patch -p1 < /tmp/999_mod_proxy   # or whatever you've
> called the patch file you download from this bug report
> /tmp/apache2-2.2.22 $ quilt refresh
> /tmp/apache2-2.2.22 $ dch --nmu 'Apply mod-proxy patch'
> /tmp/apache2-2.2.22 $ debuild -us -uc
> ~ # dpkg -i /tmp/apache2_2.2.22-13.1_*.deb ...    # list all of the .deb
> files you wish to install - this should be every apache2-derived package
> that you have installed, so that the versions correctly match
> 
> HTH,
> 
> Julian

Thank you for your excellent illustration! (I wasn't familiar with Debian
patch/build utilities like quilt)

This solution works perfectly. I assume I have to repeat this for every new
version of Apache released in Debian Wheezy until this patch is included?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to