<?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>OpenBSD and FreeBSD resources &#187; Software</title>
	<atom:link href="http://purebsd.com/category/openbsd/software/feed" rel="self" type="application/rss+xml" />
	<link>http://purebsd.com</link>
	<description></description>
	<lastBuildDate>Tue, 01 Jun 2010 06:01:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP and OpenBSD</title>
		<link>http://purebsd.com/php-and-openbsd.html</link>
		<comments>http://purebsd.com/php-and-openbsd.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 05:37:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://purebsd.com/?p=65</guid>
		<description><![CDATA[PHP (4.0.6) installation process I followed: Download the PHP source package: wget 'http://www.php.net:8000/distributions/php-4.0.6.tar.gz' Extract the sources: tar xvfz php-4.0.6.tar.gz And cd to the php-4.0.6 directory. Configure PHP: ./configure --with-apxs --with-mysql=/usr/local \ --with-config-file-path=/var/www/conf --disable-xml \ --disable-pear --enable-bcmath --enable-magic-quotes Leave out the --with-mysql=/usr/local option if you don&#8217;t want MySQL support or MySQL is not installed. Compile PHP: make &#62; /dev/null [...]]]></description>
			<content:encoded><![CDATA[<p>PHP (4.0.6) installation process I followed:</p>
<ol type="1">
<li>Download the PHP source package:
<p><code> wget 'http://www.php.net:8000/distributions/php-4.0.6.tar.gz'</code></li>
<li>Extract the sources:
<p><code> tar xvfz php-4.0.6.tar.gz</code></p>
<p>And <code>cd</code> to the <code>php-4.0.6</code> directory.</li>
<li>Configure PHP:
<p><code> ./configure --with-apxs --with-mysql=/usr/local \<br />
--with-config-file-path=/var/www/conf --disable-xml \<br />
--disable-pear --enable-bcmath --enable-magic-quotes<br />
</code><br />
Leave out the <code>--with-mysql=/usr/local</code> option if you don&#8217;t want MySQL support or MySQL is not installed.</li>
<li>Compile PHP:
<p><code> make &gt; /dev/null</code></li>
<li>Stop Apache:
<p><code> /usr/sbin/apachectl stop</code></li>
<li>Install the PHP module:
<p><code> make install</code></p>
<p>or copy the <code>libphp4.so.0.0</code> in the <code>.libs/</code> directly to<code>/usr/lib/apache/modules/libphp4.so</code> if you like that better (-:</li>
<li>Edit <code>/var/www/conf/httpd.conf</code>:
<p>Make sure that the following line is present and commented out:</p>
<p><code>LoadModule php4_module /usr/lib/apache/modules/libphp4.so</code></p>
<p>Search for &#8220;<code>#AddType application/x-httpd-php .php</code>&#8221; and remove the # in front of it, thereby telling Apache the line isn&#8217;t a comment anymore.</p>
<p>I added also the .php3 extenstion to it, so files ending in .php3 are also processed by the PHP engine. The end result:</p>
<p><code> AddType application/x-httpd-php .php .php3</code></li>
<li>Start Apache:
<p><code> /usr/sbin/apachectl start</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://purebsd.com/php-and-openbsd.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Packages</title>
		<link>http://purebsd.com/packages.html</link>
		<comments>http://purebsd.com/packages.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 05:36:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[packages]]></category>

		<guid isPermaLink="false">http://purebsd.com/?p=63</guid>
		<description><![CDATA[What are packages? Packages are the binary equivalent of the ports, prebuilt by the OpenBSD team for your convenience. Though there are far less prebuilt packages than there are ports available through the ports system in /usr/ports. Installation of a package If you don&#8217;t have them stored locally, packages can be found online in a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What are packages?</strong></p>
<p>Packages are the binary equivalent of the ports, prebuilt by the OpenBSD team for your convenience. Though there are far less prebuilt packages than there are ports available through the ports system in /usr/ports.</p>
<p><strong>Installation of a package</strong></p>
<p>If you don&#8217;t have them stored locally, packages can be found online in a directory on a FTP mirror site. Something like <code><em>ftp-site</em>/pub/OpenBSD/2.8/packages/i386/</code> for instance.</p>
<p>Installation from harddisk:</p>
<p><code> pkg_add tcsh-6.09.00.tgz</code></p>
<p>Of course, you could also install via the internet:</p>
<p><code> pkg_add ftp://ftp-site/<em>url</em>/tcsh-6.09.00-static.tgz</code></p>
]]></content:encoded>
			<wfw:commentRss>http://purebsd.com/packages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ports Collection</title>
		<link>http://purebsd.com/the-ports-collection.html</link>
		<comments>http://purebsd.com/the-ports-collection.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 05:35:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://purebsd.com/?p=60</guid>
		<description><![CDATA[What are ports? Ports are third party software which haven&#8217;t had the thorough security audit as the native OpenBSD programs have had. The ports collection is installed on your disk as a large tree of directories representing the various programs with in them a Makefile which specifies the information needed to install a particular port. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What are ports?</strong></p>
<p>Ports are third party software which haven&#8217;t had the thorough security audit as the native OpenBSD programs have had. The ports collection is installed on your disk as a large tree of directories representing the various programs with in them a Makefile which specifies the information needed to install a particular port.</p>
<p><strong>Installation of a program in /usr/ports:</strong></p>
<ol type="1">
<li>Retrieve /pub/OpenBSD/2.8/ports.tar.gz from the nearest OpenBSD <a href="http://www.openbsd.org/ftp.html">mirror</a>.</li>
<li>Install with:<br />
<code>cd /usr ; tar xvfz /tmp/ports.tar.gz</code></li>
<li>Then <code>cd</code> to the directory of port you&#8217;d like to install.</li>
<li>Run <code>make</code> as user root and the source tarball retrieval, unpacking, configuration and compilation processes start automagically <img src='http://purebsd.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Run <code>make install</code> as user root to install the package.</li>
<li>Afterwards, a .tgz binary package of the software you just compiled and installed can be found in <code>/usr/ports/packages/<em>arch</em>/</code> which you can use to speed up the installation process on other machines for instance.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://purebsd.com/the-ports-collection.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CVSup</title>
		<link>http://purebsd.com/cvsup.html</link>
		<comments>http://purebsd.com/cvsup.html#comments</comments>
		<pubDate>Tue, 01 Jun 2010 04:39:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[CVSup]]></category>

		<guid isPermaLink="false">http://purebsd.com/?p=24</guid>
		<description><![CDATA[To retrieve or update the source code for OpenBSD or its ports collection you can use CVSup. It&#8217;s more efficient than using cvs. Install CVSup: pkg_add cvsup-16.1g-no_x11.tgz The &#8220;no_x11&#8243; means that the cvsup program will be text-only. That&#8217;s fine. Create a directory where CVSup&#8217;s configuration files and its bookkeeping data directory will be placed: mkdir [...]]]></description>
			<content:encoded><![CDATA[<p>To retrieve or update the source code for OpenBSD or its ports collection you can use CVSup. It&#8217;s more efficient than using cvs.</p>
<p>Install CVSup:<br />
pkg_add cvsup-16.1g-no_x11.tgz<br />
The &#8220;no_x11&#8243; means that the cvsup program will be text-only. That&#8217;s fine.</p>
<p>Create a directory where CVSup&#8217;s configuration files and its bookkeeping data directory will be placed:<br />
mkdir -p /usr/local/etc/cvsup</p>
<p>Create /usr/local/etc/cvsup/stable-supfile. This file will be used to tell CVSup to download all OpenBSD source code for the stable release branch you&#8217;re interested in, except for the x11, xf4 (both XFree86 related), www files and ports. In other words: everything that is needed in order to rebuild OpenBSD from source (located in /usr/src. We&#8217;re not interested in XFree86 for a server system, so we will skip it.</p>
<p>Working example stable-supfile:</p>
<p>*default host=cvsup.ca.openbsd.org<br />
*default base=/usr/local/etc/cvsup<br />
*default prefix=/usr<br />
*default release=cvs tag=OPENBSD_3_4<br />
*default delete use-rel-suffix</p>
<p>*default compress</p>
<p>#OpenBSD-all<br />
OpenBSD-src<br />
#OpenBSD-www<br />
#OpenBSD-ports<br />
#OpenBSD-x11<br />
#OpenBSD-xf4</p>
<p>Create /usr/local/etc/cvsup/ports-supfile. This file will be used to tell CVSup to download the complete OpenBSD ports collection for the stable release branch you&#8217;re interested in, except for the x11, xf4 (both XFree86 related), www files and OpenBSD source code. In other words: everything that is needed in order to use the ports system (located in /usr/ports).<br />
Working example ports-supfile:</p>
<p>*default host=cvsup.ca.openbsd.org<br />
*default base=/usr/local/etc/cvsup<br />
*default prefix=/usr<br />
*default release=cvs tag=OPENBSD_3_4<br />
*default delete use-rel-suffix</p>
<p>*default compress</p>
<p>#OpenBSD-all<br />
#OpenBSD-src<br />
#OpenBSD-www<br />
OpenBSD-ports<br />
#OpenBSD-x11<br />
#OpenBSD-xf4</p>
<p>You probably want to change the &#8220;default host&#8221; in stable-supfile and ports-supfile to some CVSup server nearest to you. Check out this list of CVSup servers to search for one.</p>
<p>For checking out releases newer than OpenBSD 3.4 you must edit the &#8220;tag&#8221; in stable-supfile to reflect the version you&#8217;re interested in. For updates to the ports collection for OpenBSD 3.4 you must do the same. In order to allways download the latest ports, you must set the &#8220;tag&#8221; to a single dot (.).</p>
]]></content:encoded>
			<wfw:commentRss>http://purebsd.com/cvsup.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

