<?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>CGarvey&#039;s Blog &#187; patch</title>
	<atom:link href="http://cgarvey.ie/blog/archive/tag/patch/feed/" rel="self" type="application/rss+xml" />
	<link>http://cgarvey.ie/blog</link>
	<description>The personal blog of Irish mobile and web application developer, Cathal Garvey</description>
	<lastBuildDate>Tue, 18 Oct 2011 04:14:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Remotely applying IPCop patches from the command line</title>
		<link>http://cgarvey.ie/blog/archive/2008/07/29/remotely-applying-ipcop-patches-from-the-command-line/</link>
		<comments>http://cgarvey.ie/blog/archive/2008/07/29/remotely-applying-ipcop-patches-from-the-command-line/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 13:57:21 +0000</pubDate>
		<dc:creator>cgarvey</dc:creator>
				<category><![CDATA[Comms]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[ipcop]]></category>
		<category><![CDATA[patch]]></category>

		<guid isPermaLink="false">http://cgarvey.ie/blog/?p=155</guid>
		<description><![CDATA[Instructions on how to apply a IPCop patch from the command line.]]></description>
			<content:encoded><![CDATA[<p><a title="Link to IPCop Firewall website" href="http://ipcop.org/">IPCop</a> has a built in (although sometimes broken) download/apply UI for patches / security updates. However, it is broken sometimes, and there are times where it&#8217;s easier do it over SSH (slow, or unreliable connectivity, for example). Having Googled a bit, there wasn&#8217;t an immediate or obvious solution, so I dug around in the CGI scripts to see how it&#8217;s done.<br />
<span id="more-155"></span><br />
Firstly, download the patch using wget, for example:<br />
<code>wget http://prdownloads.sourceforge.net/ipcop/ipcop-1.4.21-update.i386.tgz.gpg?download</code></p>
<p>Then, move that patch as follows:<br />
<code>mv ipcop-1.4.21-update.i386.tgz.gpg /var/patches/patch.tgz.gpg</code></p>
<p>That destination file shouldn&#8217;t already exist, so if it does you may need to investigate why the previous patch wasn&#8217;t applied correctly.</p>
<p>Finally, apply the patch:<br />
<code>/usr/local/bin/installpackage --install</code></p>
<p>You&#8217;ll be prompted when the patch is applied. Reboot if the patch requires so.</p>
]]></content:encoded>
			<wfw:commentRss>http://cgarvey.ie/blog/archive/2008/07/29/remotely-applying-ipcop-patches-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

