<?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>x2on.de &#187; Tutorials</title>
	<atom:link href="http://www.x2on.de/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x2on.de</link>
	<description>Tutorials for Mac OS X, Linux, Windows, iPhone and more...</description>
	<lastBuildDate>Tue, 13 Jul 2010 17:44:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Build Git from source on Ubuntu</title>
		<link>http://www.x2on.de/2010/07/13/build-git-from-source-on-ubuntu/</link>
		<comments>http://www.x2on.de/2010/07/13/build-git-from-source-on-ubuntu/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 17:44:15 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=578</guid>
		<description><![CDATA[Snippet for building Git from source on Ubuntu Linux: sudo apt-get install git-core build-essential autoconf sudo apt-get install libdigest-sha1-perl liberror-perl sudo apt-get build-dep git-core git clone git://git.kernel.org/pub/scm/git/git.git cd git make configure ./configure make sudo apt-get purge git-core sudo make install]]></description>
			<content:encoded><![CDATA[<p>Snippet for building Git from source on Ubuntu Linux:<br />
<span id="more-578"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> git-core build-essential <span style="color: #c20cb9; font-weight: bold;">autoconf</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libdigest-sha1-perl liberror-perl
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> build-dep git-core
git clone git:<span style="color: #000000; font-weight: bold;">//</span>git.kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>scm<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>git.git
<span style="color: #7a0874; font-weight: bold;">cd</span> git
<span style="color: #c20cb9; font-weight: bold;">make</span> configure
.<span style="color: #000000; font-weight: bold;">/</span>configure
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> purge git-core
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/07/13/build-git-from-source-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: iPhone App with compiled OpenSSL 1.0.0a Library</title>
		<link>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/</link>
		<comments>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 17:22:25 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=598</guid>
		<description><![CDATA[This is a tutorial for using self-compiled builds of the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a). This tutorial works with [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a).<br />
<span id="more-598"></span></p>
<p>This tutorial works with OpenSSL 1.0.0a and Xcode 3.2.3 with iOS 4.</p>
<p>You can find the tutorial for OpenSSL 0.9.8 at <a href="http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/">http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/</a></p>
<p>You can get the Source of the example app with compiled OpenSSL at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<h3>Create OpenSSL Libary:</h3>
<p>Download OpenSSL Sourcecode<br />
Change in crypto/ui/ui_openssl.c</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> sig_atomic_t intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> <span style="color: #993333;">int</span> intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>for preventing building error</p>
<h4>Build OpenSSL for i368 iPhoneSimulator:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ssllibs
<span style="color: #7a0874; font-weight: bold;">cd</span> openssl-1.0.0a
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_armv6 openssl_armv7 openssl_i386
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_i386</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> i386</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_i368/lib</p>
<h4>Build OpenSSL for armv6 iOS:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_i386 ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs
<span style="color: #c20cb9; font-weight: bold;">make</span> clean
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> armv6</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_armv6/lib</p>
<h4>Build OpenSSL for armv7 iOS:</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_armv6 ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs
<span style="color: #c20cb9; font-weight: bold;">make</span> clean
.<span style="color: #000000; font-weight: bold;">/</span>configure BSD-generic32 <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-1.0.0a<span style="color: #000000; font-weight: bold;">/</span>openssl_armv7</pre></div></div>

<h5>Edit Makefile:</h5>
<p>Change CC = cc to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #660033;">-arch</span> armv7</pre></div></div>

<p>Add as first item to CFLAG:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS4.0.sdk</pre></div></div>

<h5>Build it:</h5>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Your libcrypto.a and libssl.a are in the folder openssl_armv7/lib</p>
<p>Create universal libs:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>include ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>
lipo <span style="color: #660033;">-create</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_i386<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a <span style="color: #660033;">-output</span> ..<span style="color: #000000; font-weight: bold;">/</span>sslibs<span style="color: #000000; font-weight: bold;">/</span>libcrypto.a
llipo <span style="color: #660033;">-create</span> ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_i386<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a ..<span style="color: #000000; font-weight: bold;">/</span>ssllibs<span style="color: #000000; font-weight: bold;">/</span>openssl_armv6<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a openssl_armv7<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libssl.a <span style="color: #660033;">-output</span> ..<span style="color: #000000; font-weight: bold;">/</span>sslibs<span style="color: #000000; font-weight: bold;">/</span>libssl.a</pre></div></div>

<h4>Edit your iPhone-XCode project:</h4>
<p>Copy the &#8220;include&#8221; folder from OpenSSL into your project-folder<br />
Copy the libcrypto.a and libssl.a files into your project-folder<br />
Drag the libcrypto.a and libssl.a files into your XCode Framework Folder-Tree<br />
Open the Build-Info from your &#8220;Target&#8221; (Righclick on Target &#8211; Get Info)<br />
Change <em>Library Search Paths</em> to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$<span style="color: #7a0874; font-weight: bold;">&#40;</span>inherited<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(SRCROOT)</span>&quot;</span></pre></div></div>

<p>Change <em>User Header Search Paths</em> to <em>include</em><br />
Activate <em>Always Search User Paths</em></p>
<p><strong>Enjoy OpenSSL on the iPhone!</strong></p>
<p>I have made an iOS 3.2/4.0 XCode Project with OpenSSL 1.0.0a libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.</p>
<p><strong>Download:</strong> <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Disclaimer: Use this at your own risk.</strong></p>
<p><strong>Links: </strong></p>
<ul>
<li><a href="http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/" target="_blank">http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/</a></li>
<li><a href="http://www.openssl.org/" target="_blank">http://www.openssl.org/</a></li>
<li><a href="http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html" target="_blank">http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Update: OpenSSL 1.0.0a Libraries for iPhone iPod Touch iPad with iOS4</title>
		<link>http://www.x2on.de/2010/06/30/update-openssl-1-0-0a-libraries-for-iphone-ipod-touch-ipad-with-ios4/</link>
		<comments>http://www.x2on.de/2010/06/30/update-openssl-1-0-0a-libraries-for-iphone-ipod-touch-ipad-with-ios4/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:01:01 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[X.509]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=600</guid>
		<description><![CDATA[OpenSSL 1.0.0a is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. Now the Library is build with the iOS4.0 base SDK and Xcode 3.2.3. You can use it now with the iPad too. You can get it at http://github.com/x2on/OpenSSL-for-iPhone]]></description>
			<content:encoded><![CDATA[<p>OpenSSL 1.0.0a is released and i updated the OpenSSL-Libraries for iPhone/iPod Touch. Now the Library is build with the iOS4.0 base SDK and Xcode 3.2.3. You can use it now with the iPad too. You can get it at http://github.com/x2on/OpenSSL-for-iPhone</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/06/30/update-openssl-1-0-0a-libraries-for-iphone-ipod-touch-ipad-with-ios4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: iPhone App with compiled OpenSSL Library</title>
		<link>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/</link>
		<comments>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:42:23 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=480</guid>
		<description><![CDATA[This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a). This tutorial works with [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial for using self-compiled builds of  the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled OpenSSL-library (1.0.0a).<span id="more-480"></span></p>
<p>This tutorial works with OpenSSL 0.9.8o and Xcode 3.2 with iPhoneOS 3.1.3.<br />
An updated version of this tutorial for OpenSSL 1.0 and Xcode 3.2.3 with iOS 4 is here:</p>
<p>http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/</p>
<p>UPDATE 2010-07-13: New tutorial for OpenSSL 1.0.0a and iOS4<br />
UPDATE 2010-06-30: I have updated OpenSSL to 1.0.0a with iOS 4.0 as base SDK<br />
UPDATE 2010-06-10: I have updated OpenSSL to 0.9.8o + iPad Version<br />
UPDATE 2010-03-31: I have updated OpenSSL to 0.9.8n<br />
UPDATE 2010-02-26: I have updated OpenSSL to 0.9.8m</p>
<p>You can get the Source of the example app with compiled OpenSSL at <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Create OpenSSL Libary:</strong></p>
<ul>
<li>Download OpenSSL Sourcecode</li>
<li>Build OpenSSL for i368 iPhoneSimulator:
<ul>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> openssl-0.9.8o
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_arm
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> openssl_i386
.<span style="color: #000000; font-weight: bold;">/</span>config <span style="color: #660033;">--openssldir</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>openssl-0.9.8o<span style="color: #000000; font-weight: bold;">/</span>openssl_i386</pre></div></div>

</li>
<li>Edit Makefile:
<ul>
<li>Change CC = cc to:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>= <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

</li>
<li>Add as first item to CFLAG:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span> <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator3.1.2.sdk</pre></div></div>

</li>
</ul>
</li>
<li>Change in crypto/ui/ui_openssl.c

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> sig_atomic_t intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">volatile</span> <span style="color: #993333;">int</span> intr_signal<span style="color: #339933;">;</span></pre></div></div>

<p>for preventing building error</li>
<li>Build it:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Your libcrypto.a and libssl.a are in the folder openssl_i368/lib</li>
<li>Rename the two files to libcrypto_i386.a and libssl_i386.a</li>
</ul>
</li>
<li>Build OpenSSL for arm iPhoneOS:
<ul>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> openssl_i386 openssl_i386_lib
<span style="color: #c20cb9; font-weight: bold;">make</span> clean</pre></div></div>

<li>Edit Makefile:
<ul>
<li>Search and replace openssl_i386 with openssl_arm</li>
<li>Change -arch i386 in CFLAG to:<br />
-arch armv6</li>
<li>Change

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>=  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">CC</span>=  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gcc-<span style="color: #000000;">4.0</span></pre></div></div>

</li>
<li>Change

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span>  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneSimulator3.1.2.sdk</pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">-isysroot</span>  <span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>Platforms<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS.platform<span style="color: #000000; font-weight: bold;">/</span>Developer<span style="color: #000000; font-weight: bold;">/</span>SDKs<span style="color: #000000; font-weight: bold;">/</span>iPhoneOS3.1.2.sdk</pre></div></div>

</li>
</ul>
</li>
<li>Build it:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

</li>
<li>Your libcrypto.a and libssl.a are in the folder openssl_arm/lib</li>
<li>Rename the two files to libcrypto_arm.a and libssl_arm.a</li>
</ul>
</li>
</ul>
<p><strong>Edit your iPhone-XCode project:</strong></p>
<ul>
<li>Copy the &#8220;include&#8221; folder from OpenSSL into your project-folder</li>
<li>Copy the libcrypto_*.a and libss_*.a files into your project-folder</li>
<li>Drag the libcrypto_*.a and libss_*.a files into your XCode Framework Folder-Tree</li>
<li>Open the Build-Info from your &#8220;Target&#8221; (Righclick on Target &#8211; Get Info)</li>
<li>Change <em>Library Search Paths</em> to

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$<span style="color: #7a0874; font-weight: bold;">&#40;</span>inherited<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(SRCROOT)</span>&quot;</span></pre></div></div>

</li>
<li>Change <em>User Header Search Paths</em> to <em>include</em></li>
<li>Activate <em>Always Search User Paths</em></li>
</ul>
<p><strong>Enjoy OpenSSL on the iPhone!</strong></p>
<p>I have made an iPhone OS 3.1.2 XCode Project with OpenSSL 0.9.8o libaries. The examples uses the MD5-algorithm to calculate an md5 hash from an UITextfield.</p>
<p><strong>Download:</strong> <a href="http://github.com/x2on/OpenSSL-for-iPhone" target="_blank">http://github.com/x2on/OpenSSL-for-iPhone</a></p>
<p><strong>Disclaimer: Use this at your own risk.</strong></p>
<p><strong>Links: </strong></p>
<ul>
<li><a href="http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/" target="_blank">http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/</a></li>
<li><a href="http://www.openssl.org/" target="_blank">http://www.openssl.org/</a></li>
<li><a href="http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html" target="_blank">http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Tutorial: Building SuperTux 0.3.2 SVN on Mac OS X Snow Leopard</title>
		<link>http://www.x2on.de/2010/01/30/tutorial-building-supertux-0-3-2-svn-on-mac-os-x-snow-leopard/</link>
		<comments>http://www.x2on.de/2010/01/30/tutorial-building-supertux-0-3-2-svn-on-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 12:25:17 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SuperTux]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=443</guid>
		<description><![CDATA[Building SuperTux 0.3.2 SVN is different then building SuperTux 0.3.1 on Mac OS X. Prerequisites Installing MacPorts Update MacPorts: sudo port selfupdate -d Install libraries from Macports: sudo port install libsdl libsdl_image cmake libvorbis physfs glew boost Build SuperTux svn checkout http://supertux.lethargik.org/svn/supertux/trunk/supertux cd supertux mkdir build mkdir dist cd build cmake .. -DCMAKE_INSTALL_PREFIX=../dist/ Resolve issues [...]]]></description>
			<content:encoded><![CDATA[<p>Building SuperTux 0.3.2 SVN is different then building SuperTux 0.3.1 on Mac OS X.</p>
<h4>Prerequisites</h4>
<ul>
<li>Installing <a href="http://www.macports.org/">MacPorts</a></li>
<li>Update MacPorts:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port selfupdate <span style="color: #660033;">-d</span></pre></div></div>

<ul>
<li>Install libraries from Macports:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> libsdl libsdl_image cmake libvorbis physfs glew boost</pre></div></div>

<p><span id="more-443"></span></p>
<h4>Build SuperTux</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> checkout http:<span style="color: #000000; font-weight: bold;">//</span>supertux.lethargik.org<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>supertux<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>supertux
<span style="color: #7a0874; font-weight: bold;">cd</span> supertux
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> dist
<span style="color: #7a0874; font-weight: bold;">cd</span> build
cmake .. -DCMAKE_INSTALL_PREFIX=..<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<h4>Resolve issues with missing library</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libphysfs.2.0.0.dylib dist<span style="color: #000000; font-weight: bold;">/</span>libphysfs.1.dylib</pre></div></div>

<h4>Create SuperTux.app</h4>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> build
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h4>Link libaries into the app</h4>
<ul>
<li>Download mac dylib bundler at <a href="http://macdylibbundler.sf.net/">http://macdylibbundler.sf.net/</a> (0.3.1)</li>
<li>Unpack it and run:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<ul>
<li>You can install the Tool systemwide (make install) or work with PATH</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #000000; font-weight: bold;">`</span>:<span style="color: #ff0000;">&quot;<span style="color: #007800;">$PATH</span>&quot;</span></pre></div></div>

<ul>
<li>Change your directory where your SuperTux.app is:</li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dylibbundler <span style="color: #660033;">-b</span> <span style="color: #660033;">-x</span> .<span style="color: #000000; font-weight: bold;">/</span>SuperTux.app<span style="color: #000000; font-weight: bold;">/</span>Contents<span style="color: #000000; font-weight: bold;">/</span>MacOS<span style="color: #000000; font-weight: bold;">/</span>supertux2 <span style="color: #660033;">-d</span> .<span style="color: #000000; font-weight: bold;">/</span>SuperTux.app<span style="color: #000000; font-weight: bold;">/</span>Contents<span style="color: #000000; font-weight: bold;">/</span>libs<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-od</span></pre></div></div>

<p>The Tool can&#8217;t find the libphysfs.1.dylib so you must enter the path  of your libphysfs.1.dylib</p>
<p>Now you can run SuperTux.app</p>
<p><strong>Links:</strong></p>
<ul>
<li><a href="http://supertux.lethargik.org/wiki/User:X2on/Mac_OS_X_compilation" target="_blank">http://supertux.lethargik.org/wiki/User:X2on/Mac_OS_X_compilation</a></li>
<li><a href="http://supertux.lethargik.org/wiki/Building_SuperTux" target="_blank">http://supertux.lethargik.org/wiki/Building_SuperTux</a></li>
<li><a href="http://macdylibbundler.sourceforge.net/" target="_blank">http://macdylibbundler.sourceforge.net/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/01/30/tutorial-building-supertux-0-3-2-svn-on-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1&amp;1 Surf-Stick (ZTE MF110) unter Ubuntu 9.10</title>
		<link>http://www.x2on.de/2010/01/14/11-surf-stick-zte-mf110-unter-ubuntu-9-10/</link>
		<comments>http://www.x2on.de/2010/01/14/11-surf-stick-zte-mf110-unter-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 21:19:13 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[1&1]]></category>
		<category><![CDATA[1und1]]></category>
		<category><![CDATA[MF110]]></category>
		<category><![CDATA[Modeswitch]]></category>
		<category><![CDATA[Surf-Stick]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[UMTS]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[USB_Modeswitch]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[ZTE]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=415</guid>
		<description><![CDATA[Um den 1&#38;1 Surf-Stick (ZTE MF110) auch unter Ubuntu 9.10 benutzen zu können, muss der USB-Modus des Sticks umgeschaltet werden. Dieser läuft standardmäßig als Filesystem und nicht als UMTS-Stick. Ein Tool namens &#8220;USB_Modeswitch&#8221; schafft hierbei Abhilfe. UPDATE 01.02.2010 &#8211; 13:20: Durch eine neue Version von usb_modeswitch haben sich die Befehle leicht verändert. Die Anleitung habe [...]]]></description>
			<content:encoded><![CDATA[<p>Um den 1&amp;1 Surf-Stick (ZTE MF110) auch unter Ubuntu 9.10 benutzen zu können, muss der USB-Modus des Sticks umgeschaltet werden. Dieser läuft standardmäßig als Filesystem und nicht als UMTS-Stick.<br />
Ein Tool namens &#8220;USB_Modeswitch&#8221; schafft hierbei Abhilfe.</p>
<p><strong>UPDATE 01.02.2010 &#8211; 13:20:</strong> Durch eine neue Version von usb_modeswitch haben sich die Befehle leicht verändert. Die Anleitung habe ich angepasst. (Sollte vorher bereits eine ältere Version installiert worden sein, so muss diese mit &#8220;sudo make uninstall&#8221; entfernt werden)</p>
<p><strong>Anleitung:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #c20cb9; font-weight: bold;">make</span> libusb-dev
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.draisberghof.de<span style="color: #000000; font-weight: bold;">/</span>usb_modeswitch<span style="color: #000000; font-weight: bold;">/</span>usb-modeswitch-1.1.0.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfj usb-modeswitch-1.1.0.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> usb-modeswitch-1.1.0
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Danach erkennt Ubuntu den Stick als UMTS-Hardware und das Profil kann angelegt werden. (Bei 1&amp;1 ist der APN mail.partner.de)</p>
<p>Links: <a href="http://www.draisberghof.de/usb_modeswitch/">http://www.draisberghof.de/usb_modeswitch/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/01/14/11-surf-stick-zte-mf110-unter-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Snow Leopard: Terminal Tricks</title>
		<link>http://www.x2on.de/2009/12/12/snow-leopard-terminal-tricks/</link>
		<comments>http://www.x2on.de/2009/12/12/snow-leopard-terminal-tricks/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 23:05:02 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Dock]]></category>
		<category><![CDATA[Finder]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=396</guid>
		<description><![CDATA[Auch für Snow Leopard gibt es ein paar Terminal-Befehle, die nützliche Funktionen freischalten können. Das ausgewählte Element im Dock highlighten: defaults write com.apple.dock mouse-over-hilite-stack -boolean YES; killall Dock Die neue Stack-Ansicht freischalten: defaults write com.apple.dock use-new-list-stack -boolean yes; killall Dock Das schreiben von .DS_Store Dateien auf USB-Sticks und Netzwerklaufwerken verhindern: defaults write com.apple.desktopservices DSDontWriteNetworkStores true [...]]]></description>
			<content:encoded><![CDATA[<p>Auch für Snow Leopard gibt es ein paar Terminal-Befehle, die nützliche Funktionen freischalten können.</p>
<p><strong>Das ausgewählte Element im Dock highlighten:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.dock mouse-over-hilite-stack <span style="color: #660033;">-boolean</span> YES; <span style="color: #c20cb9; font-weight: bold;">killall</span> Dock</pre></div></div>

<p><strong>Die neue Stack-Ansicht freischalten:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.dock use-new-list-stack <span style="color: #660033;">-boolean</span> <span style="color: #c20cb9; font-weight: bold;">yes</span>; <span style="color: #c20cb9; font-weight: bold;">killall</span> Dock</pre></div></div>

<p><span id="more-396"></span></p>
<p><strong>Das schreiben von .DS_Store Dateien auf USB-Sticks und Netzwerklaufwerken verhindern:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.desktopservices DSDontWriteNetworkStores <span style="color: #c20cb9; font-weight: bold;">true</span></pre></div></div>

<p><strong>Pfade im Finder-Titel anzeigen:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder _FXShowPosixPathInTitle <span style="color: #660033;">-bool</span> YES</pre></div></div>

<p><strong>Durchsichtige Ordner in Quick-Look aktivieren:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder QLEnableXRayFolders <span style="color: #660033;">-boolean</span> <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/12/12/snow-leopard-terminal-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eee-PC 1005HA Ubuntu Karmic Sondertasten + Perfomance</title>
		<link>http://www.x2on.de/2009/11/30/eee-pc-1005ha-ubuntu-karmic-sondertasten-perfomance/</link>
		<comments>http://www.x2on.de/2009/11/30/eee-pc-1005ha-ubuntu-karmic-sondertasten-perfomance/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 21:54:16 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Eee-PC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[1005HA]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[eee]]></category>
		<category><![CDATA[eee-control]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=371</guid>
		<description><![CDATA[Ubuntu 9.10 Karmic läuft auf dem Eee-PC 1005HA &#8220;out of the box&#8221; ziemlich rund. Um die letzten Feinheiten zum laufen zu bekommen (Sondertasten, Performance/Laufzeit-Tunning) gibt es Tool eee-control. Abhilfe schafft hier ein neues Freeware-Tool namens Eee-Control. Über die Task-Leiste anwählbar, ermöglicht es das Untertakten der CPU zur Akku-Schonung ebenso wie die Belegung der Hotkeys, eine [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10 Karmic läuft auf dem Eee-PC 1005HA &#8220;out of the box&#8221; ziemlich rund. Um die letzten Feinheiten zum laufen zu bekommen (Sondertasten, Performance/Laufzeit-Tunning) gibt es Tool eee-control.</p>
<blockquote><p>Abhilfe schafft hier ein neues Freeware-Tool namens <a href="http://greg.geekmind.org/eee-control/" target="_blank">Eee-Control</a>. Über die Task-Leiste anwählbar, ermöglicht es das Untertakten der CPU zur Akku-Schonung ebenso wie die Belegung der Hotkeys, eine Änderung der Displayhelligkeit sowie die (De-)aktivierung von Bluetooth, WLAN, Webcam, Touchpad und Kartenlesegerät. (Quelle: <a href="http://www.einfach-eee.de/eee-pc-software/eee-control-eee-manager-fuer-linux/">http://www.einfach-eee.de/eee-pc-software/eee-control-eee-manager-fuer-linux/</a>)</p></blockquote>
<p>Leider funktioniert das unter Ubuntu 9.10 nicht so richtig. Es gibt aber eine angepasste Version für Karmic.</p>
<ul>
<li><a href="http://greg.geekmind.org/eee-control/">Original eee-control</a></li>
<li><a href="http://danamlund.dk/eee-control/eee-control.html">Angepasste für Karmic 9.10</a></li>
</ul>
<p>Damit nun auf einem 1005HA das ganze einwandfrei läuft, muss noch eine Datei angepasst werden:</p>
<p><span id="more-371"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>eee-control-daemon <span style="color: #666666; font-style: italic;">#Zeile 85-86</span></pre></div></div>

<p><strong>Original:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">elif</span> os.path.exists<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">&quot;/sys/class/backlight/eeepc/brightness&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
        brn_path = <span style="color: #ff0000;">&quot;/sys/class/backlight/eeepc/brightness&quot;</span></pre></div></div>

<p><strong>in folgendes ändern:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">elif</span> os.path.exists<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">&quot;/sys/class/backlight/acpi_video0/brightness&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:
        brn_path = <span style="color: #ff0000;">&quot;/sys/class/backlight/acpi_video0/brightness&quot;</span></pre></div></div>

<p><strong>Links:</strong></p>
<ul>
<li><a href="http://forum.eeeuser.com/viewtopic.php?id=43975&amp;p=29">http://forum.eeeuser.com/viewtopic.php?id=43975&amp;p=29</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/11/30/eee-pc-1005ha-ubuntu-karmic-sondertasten-perfomance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: GnuPG 2.0.13 unter Mac OS X 10.6</title>
		<link>http://www.x2on.de/2009/11/24/tutorial-gnupg-2-0-13-unter-mac-os-x-10-6/</link>
		<comments>http://www.x2on.de/2009/11/24/tutorial-gnupg-2-0-13-unter-mac-os-x-10-6/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 17:38:50 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Enigmail]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[GnuPG2]]></category>
		<category><![CDATA[MacGPG]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PGP]]></category>
		<category><![CDATA[Pinentry]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=344</guid>
		<description><![CDATA[Die neue Version GnuPG 2 ist schwieriger zu kompilieren als die alte 1.4er Version. Desweiteren wird ein Pinentry Programm benötigt, um die Passphrase des verwendeten PGP-Schlüssels abzufragen. Ich verwende hierfür eine angepasste Version aus dem MacGPG-Bundle (basierend auf pinentry 0.7.6) Um GnuPG2 kompilieren zu können, muss XCode installiert sein. UPDATE: Libcrypt 1.4.5 wurde veröffentlicht und [...]]]></description>
			<content:encoded><![CDATA[<p>Die neue Version GnuPG 2 ist schwieriger zu kompilieren als die alte 1.4er Version.<br />
Desweiteren wird ein Pinentry Programm benötigt, um die Passphrase des verwendeten PGP-Schlüssels abzufragen.<br />
Ich verwende hierfür eine angepasste Version aus dem MacGPG-Bundle (basierend auf pinentry 0.7.6)<br />
Um GnuPG2 kompilieren zu können, muss XCode installiert sein.</p>
<p><strong>UPDATE:</strong> Libcrypt 1.4.5 wurde veröffentlicht und wird in dem Tutorial nun berücksichtigt.<br />
<strong>UPDATE 2:</strong> GnuPG 2.0.14 wurde veröffentlicht, die vorgehensweise ist analog zu der Version 2.0.13<br />
<span id="more-344"></span></p>
<p><strong>1. Die für GnuPG2 benötigten Libaries kompilieren:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> ~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnupg.org<span style="color: #000000; font-weight: bold;">/</span>gcrypt<span style="color: #000000; font-weight: bold;">/</span>libgpg-error<span style="color: #000000; font-weight: bold;">/</span>libgpg-error-1.7.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfvj libgpg-error-1.7.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> libgpg-error-<span style="color: #000000;">1.7</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span> <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgpg-error-<span style="color: #000000;">1.7</span><span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnupg.org<span style="color: #000000; font-weight: bold;">/</span>gcrypt<span style="color: #000000; font-weight: bold;">/</span>libgcrypt<span style="color: #000000; font-weight: bold;">/</span>libgcrypt-1.4.5.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfvj libgcrypt-1.4.5.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> libgcrypt-1.4.5
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span> <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgcrypt-1.4.5<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-gpg-error-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgpg-error-<span style="color: #000000;">1.7</span><span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnupg.org<span style="color: #000000; font-weight: bold;">/</span>gcrypt<span style="color: #000000; font-weight: bold;">/</span>libksba<span style="color: #000000; font-weight: bold;">/</span>libksba-1.0.7.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfvj libksba-1.0.7.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> libksba-1.0.7
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span>  <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libksba-1.0.7<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-gpg-error-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgpg-error-<span style="color: #000000;">1.7</span><span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnu.org<span style="color: #000000; font-weight: bold;">/</span>gnu<span style="color: #000000; font-weight: bold;">/</span>pth<span style="color: #000000; font-weight: bold;">/</span>pth-2.0.7.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz pth-2.0.7.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> pth-2.0.7
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span>  <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>pth-2.0.7<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnupg.org<span style="color: #000000; font-weight: bold;">/</span>gcrypt<span style="color: #000000; font-weight: bold;">/</span>libassuan<span style="color: #000000; font-weight: bold;">/</span>libassuan-1.0.5.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfvj libassuan-1.0.5.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> libassuan-1.0.5
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> build
.<span style="color: #000000; font-weight: bold;">/</span>configure  <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span> <span style="color: #660033;">--prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libassuan-1.0.5<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-pth-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>pth-2.0.7<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..</pre></div></div>

<p><strong>2. GnuPG2 kompilieren:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnupg.org<span style="color: #000000; font-weight: bold;">/</span>gcrypt<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>gnupg-2.0.13.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> xfvji gnupg-2.0.13.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> gnupg-2.0.13
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #007800;">CC</span>=<span style="color: #ff0000;">&quot;gcc -arch i386&quot;</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>gnupg <span style="color: #660033;">--with-gpg-error-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgpg-error-<span style="color: #000000;">1.7</span><span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-libgcrypt-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libgcrypt-1.4.5<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-libassuan-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libassuan-1.0.5<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-ksba-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libksba-1.0.7<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--with-pth-prefix</span>=~<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>pth-2.0.7<span style="color: #000000; font-weight: bold;">/</span>build<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;export PATH=/opt/gnupg/bin:<span style="color: #007800;">$PATH</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.profile</pre></div></div>

<p><strong>3. Pinentry installieren:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.x2on.de<span style="color: #000000; font-weight: bold;">/</span>dl<span style="color: #000000; font-weight: bold;">/</span>pinentry-mac-binary_0-2.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz pinentry-mac-binary_0-2.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> pinentry-mac-binary_0-<span style="color: #000000;">2</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> pinentry-mac.app <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>gnupg<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p><strong>4. Einstellungen für Pinentry vornehmen:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;pinentry-program /opt/gnupg/pinentry-mac.app/Contents/MacOS/pinentry-mac&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.gnupg<span style="color: #000000; font-weight: bold;">/</span>gpg-agent.conf</pre></div></div>

<p><img class="alignnone size-thumbnail wp-image-358" title="pinentry-mac Dialog" src="http://localhost/wordpress/wp-content/uploads/2009/11/pinentry-mac.png" alt="pinentry-mac Dialog" /></p>
<p><strong>Sourcecode pinentry-mac:</strong> <a href="http://www.x2on.de/dl/pinentry-mac_0-2.tar.gz">Download</a></p>
<p><strong>Links:</strong></p>
<ul>
<li><a href="http://sourceforge.net/projects/macgpg/">http://sourceforge.net/projects/macgpg/</a></li>
<li><a href="http://www.gnupg.org/">http://www.gnupg.org/</a></li>
<li><a href="ftp://ftp.gnupg.org/gcrypt/pinentry/">ftp://ftp.gnupg.org/gcrypt/pinentry/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/11/24/tutorial-gnupg-2-0-13-unter-mac-os-x-10-6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Shell-Skripte in ANT-Build Datei einbinden</title>
		<link>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/</link>
		<comments>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 20:26:42 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=304</guid>
		<description><![CDATA[Ein kleiner Tip für alle die in einem Projekt Apache ANT benutzen und ein Shell-Skript einbinden wollen. Hierbei gibt es eine Möglichkeit zwischen verschiedenen Betriebssystemen zu unterscheiden, und so unterschiedliche Scripte auszuführen. &#60;target name=&#34;examplescript&#34;&#62; &#60;exec dir=&#34;.&#34; executable=&#34;/bin/bash&#34; os=&#34;Mac OS X&#34;&#62; &#60;arg line=&#34;./examplescript-mac.sh&#34; /&#62; &#60;/exec&#62; &#60;exec dir=&#34;.&#34; executable=&#34;/bin/bash&#34; os=&#34;Linux&#34;&#62; &#60;arg line=&#34;./examplescript-linux.sh&#34; /&#62; &#60;/exec&#62; &#60;exec dir=&#34;.&#34; executable=&#34;cmd&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Ein kleiner Tip für alle die in einem Projekt <a href="http://ant.apache.org/" target="_blank">Apache ANT</a> benutzen und ein Shell-Skript einbinden wollen. Hierbei gibt es eine Möglichkeit zwischen verschiedenen Betriebssystemen zu unterscheiden, und so unterschiedliche Scripte auszuführen.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;examplescript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;/bin/bash&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Mac OS X&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;./examplescript-mac.sh&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;/bin/bash&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Linux&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;./examplescript-linux.sh&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">dir</span>=<span style="color: #ff0000;">&quot;.&quot;</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;cmd&quot;</span> <span style="color: #000066;">os</span>=<span style="color: #ff0000;">&quot;Windows NT&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">line</span>=<span style="color: #ff0000;">&quot;/c examplescript-win.bat&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/10/21/shell-skripte-in-ant-build-datei-einbinden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
