<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lenny - Base Six</title>
	<atom:link href="https://base6.com/tag/lenny/feed/" rel="self" type="application/rss+xml" />
	<link>https://base6.com/</link>
	<description>James Furness&#039;s blog</description>
	<lastBuildDate>Mon, 15 Jun 2009 19:17:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.1</generator>
	<item>
		<title>Patching Apache on Debian</title>
		<link>https://base6.com/2009/06/07/patching-apache-on-debian/</link>
					<comments>https://base6.com/2009/06/07/patching-apache-on-debian/#comments</comments>
		
		<dc:creator><![CDATA[James Furness]]></dc:creator>
		<pubDate>Sun, 07 Jun 2009 22:56:17 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[debian package]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[source package]]></category>
		<guid isPermaLink="false">https://base6.com/?p=18</guid>

					<description><![CDATA[<p>Steps for applying a patch to the Apache source tree and building a Debian package of the patched Apache in order to install via apt as normal.</p>
<p>The post <a href="https://base6.com/2009/06/07/patching-apache-on-debian/">Patching Apache on Debian</a> first appeared on <a href="https://base6.com/">Base Six</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Steps for applying a patch to the Apache source tree and building a Debian package of the patched Apache in order to install via apt as normal.<br />
<span id="more-18"></span></p>
<ol>
<li>Download the source package and build dependencies:</li>
<blockquote>
<pre>apt-get source apache2
apt-get build-dep apache2</pre>
</blockquote>
<li>Apply the patch to the source:</li>
<blockquote>
<pre>cd apache2-2.2.9/
patch -p1 &lt; <em>patchfile</em></pre>
</blockquote>
<li>Build the debian package:</li>
<blockquote>
<pre>dpkg-buildpackage -uc -us -b</pre>
</blockquote>
<li>List the currently installed apache2 packages:</li>
<blockquote>
<pre>dpkg -l | egrep '^i+ +apache2'</pre>
</blockquote>
<li>Install the appropriate newly built packages (all the packages listed in the previous step) and restart apache:</li>
<blockquote>
<pre>cd ..
dpkg -i apache2_2.2.9-10+lenny2_all.deb
dpkg -i apache2-mpm-prefork_2.2.9-10+lenny2_amd64.deb
dpkg -i apache2-prefork-dev_2.2.9-10+lenny2_amd64.deb
dpkg -i apache2-utils_2.2.9-10+lenny2_amd64.deb
dpkg -i apache2.2-common_2.2.9-10+lenny2_amd64.deb

apache2ctl restart</pre>
</blockquote>
</ol>
<p>Simples!</p><p>The post <a href="https://base6.com/2009/06/07/patching-apache-on-debian/">Patching Apache on Debian</a> first appeared on <a href="https://base6.com/">Base Six</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://base6.com/2009/06/07/patching-apache-on-debian/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
