{"id":66,"date":"2009-11-07T20:53:35","date_gmt":"2009-11-07T20:53:35","guid":{"rendered":"https:\/\/www.linuxnoob.net\/wordpress\/?p=66"},"modified":"2011-01-12T17:06:03","modified_gmt":"2011-01-12T17:06:03","slug":"truecrypt6-2a-paket-fur-debian-testing-erstellen","status":"publish","type":"post","link":"https:\/\/blog.linuxnoob.net\/?p=66","title":{"rendered":"TrueCrypt 6.2a unter Lenny"},"content":{"rendered":"<p>So, hier mal eine neue Anleitung f\u00fcr Lenny mit GUI, <span style=\"font-weight: bold;\">ohne<\/span> Kompilieren von wxWidgets.<\/p>\n<p><span style=\"text-decoration: underline;\"><span style=\"font-weight: bold;\">Anleitung zum Bauen eines Debian-Pakets f\u00fcr <span>TrueCrypt<\/span> 6.2a unter Lenny mit GUI<\/span>:<\/span><\/p>\n<p><span style=\"font-weight: bold;\">$<\/span> bedeutet Befehl als normaler Nutzer ausf\u00fchren<br \/>\n<span style=\"font-weight: bold;\">#<\/span> bedeutet Befehl als root ausf\u00fchren<\/p>\n<p>1.) Ben\u00f6tigte Pakete installieren:<\/p>\n<dl>\n<dt><a onclick=\"selectCode(this); return false;\" href=\"http:\/\/debianforum.de\/forum\/viewtopic.php?f=29&amp;t=102767&amp;hilit=truecrypt&amp;start=30#\"><br \/>\n<\/a><\/dt>\n<dd><code># apt-get install build-essential dh-make fakeroot pkg-config libfuse-dev libfuse2 fuse-utils libgtk2.0-dev libwxgtk2.8-dev wx2.8-headers libwxgtk2.8-0<\/code><\/dd>\n<\/dl>\n<p>2.) &#8222;<span>TrueCrypt<\/span> 6.2a&#8220;-Quellen hier herunterladen:<br \/>\n<a href=\"http:\/\/www.truecrypt.org\/downloads2.php\">http:\/\/www.<span>truecrypt<\/span>.org\/downloads2.php<\/a><br \/>\nund entpacken:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>$ tar xzvf \/Pfad\/<span>TrueCrypt<\/span>\\ 6.2a\\ Source.tar.gz<\/code><\/dd>\n<\/dl>\n<p>3.) Verzeichnis umbenennen und Dokumentation kopieren:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>$ mv <span>truecrypt<\/span>-6.2a-source <span>truecrypt<\/span>-6.2a<br \/>\n$ cd <span>truecrypt<\/span>-6.2a<br \/>\n$ cp Release\/Setup\\ Files\/<span>TrueCrypt<\/span>\\ User\\ Guide.pdf .\/TrueCrypt_User_Guide.pdf<\/code><\/dd>\n<\/dl>\n<p>4.) PKCS #11&#8243;-Header v2.20 herunterladen:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>$ wget ftp:\/\/ftp.rsasecurity.com\/pub\/pkcs\/pkcs-11\/v2-20\/pkcs11.h<br \/>\n$ wget ftp:\/\/ftp.rsasecurity.com\/pub\/pkcs\/pkcs-11\/v2-20\/pkcs11f.h<br \/>\n$ wget ftp:\/\/ftp.rsasecurity.com\/pub\/pkcs\/pkcs-11\/v2-20\/pkcs11t.h<\/code><\/dd>\n<\/dl>\n<p>5.) <span>TrueCrypt<\/span> bauen (single binary):<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>$ dh_make --createorig<\/code><\/dd>\n<\/dl>\n<p>Die folgenden Dateien anpassen:<\/p>\n<p>debian\/control (am Anfang der letzten Zeile muss ein Leerzeichen sein, wird hier nicht richtig dargestellt):<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>Source: <span>truecrypt<\/span><br \/>\nSection: base<br \/>\nPriority: extra<br \/>\nMaintainer: unknown &lt;unknown@mail><br \/>\nBuild-Depends: debhelper (>= 7)<br \/>\nStandards-Version: 3.7.3<br \/>\nHomepage: http:\/\/www.<span>truecrypt<\/span>.org<\/p>\n<p><\/code><code>Package: <span>truecrypt<\/span><br \/>\nArchitecture: i386<br \/>\nDepends: ${shlibs:Depends}, ${misc:Depends}, mount, sudo, fuse-utils, dmsetup, libwxgtk2.8-0<br \/>\nDescription: <span>TrueCrypt<\/span><br \/>\nOn-the-fly encryption<\/code><\/p>\n<\/dd>\n<\/dl>\n<p>F\u00fcr AMD64 i386 ab\u00e4ndern in amd64.<\/p>\n<p>In debian\/rules den Abschnitt &#8222;install: build&#8220; \u00e4ndern:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>install: build<br \/>\ndh_testdir<br \/>\ndh_testroot<br \/>\ndh_clean -k<br \/>\ndh_installdirs<\/p>\n<p><\/code><code># Add here commands to install the package into debian\/<span>truecrypt<\/span>.<br \/>\ncp Main\/<span>truecrypt<\/span> $(CURDIR)\/debian\/<span>truecrypt<\/span>\/usr\/bin\/<\/code><\/p>\n<\/dd>\n<\/dl>\n<p><span style=\"text-decoration: underline;\">Wichtig:<\/span> Am Anfang der einger\u00fcckten Zeilen ist ein TAB und keine Leerzeichen!<\/p>\n<p>debian\/prerm erstellen, mit dem Inhalt:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>#!\/bin\/sh<br \/>\nV=\"$(mount | grep truecrypt_aux_mnt)\"<br \/>\n[ \"$V\" ] &amp;&amp; echo Error: All volumes must be dismounted first. &amp;&amp; exit 1<br \/>\nexit 0<\/code><\/dd>\n<\/dl>\n<p>Aus debian\/dirs die &#8222;sbin\/&#8220;-Zeile entfernen.<\/p>\n<p>debian\/docs ab\u00e4ndern in:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>License.txt<br \/>\nTrueCrypt_User_Guide.pdf<\/code><\/dd>\n<\/dl>\n<p>debian\/README.Debian entfernen:<\/p>\n<dl>\n<dd><code>rm debian\/README.Debian<\/code><\/dd>\n<\/dl>\n<p>debian\/changelog anpassen (am Anfang der letzten Zeile muss ein Leerzeichen sein, wird hier nicht richtig dargestellt):<\/p>\n<dl>\n<dt><\/dt>\n<dd><code><span>truecrypt<\/span> (6.2a-1) stable; urgency=low<\/p>\n<p>* Initial release<\/p>\n<p><\/code><code>-- unknown &lt;unknown@mail>\u00ef\u00bf\u00bd Tue, 03 Feb 2009 22:51:35 +0100<\/code><\/p>\n<\/dd>\n<\/dl>\n<p>debian\/copyright anpassen:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>This package was debianized by unknown &lt;unknown@mail> on<br \/>\nTue, 03 Feb 2009 22:51:35 +0100.<\/p>\n<p>It was downloaded from http:\/\/www.<span>truecrypt<\/span>.org\/downloads2.php<\/p>\n<p>Copyright:<\/p>\n<p>see `\/usr\/share\/doc\/<span>truecrypt<\/span>\/License.txt'<\/p>\n<p>License:<\/p>\n<p>see `\/usr\/share\/doc\/<span>truecrypt<\/span>\/License.txt'<\/p>\n<p><\/code><code>The Debian packaging is (C) 2009, unknown &lt;unknown@mail> and<br \/>\nis licensed under the GPL, see `\/usr\/share\/common-licenses\/GPL'.<\/code><\/p>\n<\/dd>\n<\/dl>\n<p>6.) Und dann das Paket bauen:<\/p>\n<dl>\n<dt><\/dt>\n<dd><code>dpkg-buildpackage -uc -us -rfakeroot<\/code><\/dd>\n<\/dl>\n<p><!-- m --><!-- m --><!-- m --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, hier mal eine neue Anleitung f\u00fcr Lenny mit GUI, ohne Kompilieren von wxWidgets. Anleitung zum Bauen eines Debian-Pakets f\u00fcr TrueCrypt 6.2a unter Lenny mit GUI: $ bedeutet Befehl als normaler Nutzer ausf\u00fchren # bedeutet Befehl als root ausf\u00fchren 1.) &hellip; <a href=\"https:\/\/blog.linuxnoob.net\/?p=66\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66"}],"version-history":[{"count":3,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}