Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 02:40
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Building Truecrypt fully working 6.3a with GUI-HELP
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message
Stingray

Joined: 12 Sep 2008
Posts: 11

PostPosted: Fri 12 Feb 2010, 23:23    Post_subject:  Building Truecrypt fully working 6.3a with GUI-HELP
Sub_title: How to build Truecrypt 6.x for Puppy 4.xx from the sources with working GUI-Help
 

First you need of course the installed devx for your actual puppy version. Now you need the actual Source for Truecrypt - download it at

http://www.truecrypt.org

and the wxWidgets 2.8 library source code available at

http://www.wxwidgets.org

Don't use the 2.9 - does not work right now. And you need the header files for the RSA crypto API - get them from

ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h

If you are using a Puppy Version before 4.31, you may need
/usr/bin/od
too - the octal dump program. Its an old unix program for dumping files in binary mode. Puppy 4.31 got the file in binary mode - puppy's before use the Busybox multicall binary - and there the functions are restricted.
so copy od from an actual puppy to your old 4.xx to get the truecrypt compiled.


Now go to /usr/src and extract the files like this and get the headers too
Code:
cd /usr/src
tar xf /mnt/home/wxWidgets-2.8.10.tar.gz
tar xf /mnt/home/TrueCrypt\ 6.3a\ Source.tar.gz
cd truecrypt-6.3a-source
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h


prerquisites done.

compilation is easy - we compile now first the static wxwidgets lib for truecrypt and then truecrypt itself.

Code:
make WX_ROOT=/usr/src/wxWidgets-2.8.10 wxbuild
make WXSTATIC=1


this will create truecrypt executable in Main. now we have truecrypt executable - but we still have problem truecrypt does not use nautilus als filemanager and puppy uses a special file handler. so we need some fixes on the puppy system itself. first at all - if we want to open the mounted drive/container from the gui - a "nautilus" fake. just type
Code:
echo "rox \$3" > /usr/local/bin/nautilus
chmod +x /usr/local/bin/nautilus

this will create the nautilus filehandler for truecrypt.

and for a working help system for the truecrypt gui we need to patch the xdg-open handler.
Code:
geany /usr/local/bin/xdg-open

and enter those 5 lines after the first 2 #comment lines so it should lool like this
Code:
#!/bin/sh
#barryk 2005. partial update 2008.

#ADDED LINES FOR HTTP://

URLFILE=$1
if  [ "`echo -n "$URLFILE" | head -c 7`" = "http://" ];then
/usr/local/bin/defaulthtmlviewer "$1"
exit
fi

#/ADDED  LINES FOR HTTP://

AFILE="`basename "$1"`"
if [ "`echo -n "$AFILE" | grep '\.'`" = "" ];then


now we have a running truecrypt with all features the inventors intended - without changing anything in the source code. so this will probably work for all further truecrypt versions and puppy versions too.

EDIT1: you need to set in truecrypt preferences the "do not use kernel cryptographic services" on the System Integration Tab too.

will add pet if requests are made
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0441s ][ Queries: 11 (0.0035s) ][ GZIP on ]