Package Update: truecrypt

Request a package to be made here. Make sure you have searched before requesting.

Package Update: truecrypt

Postby DePingus » Thu Jun 09, 2011 10:10 pm

Any chance we can get truecrypt upgraded to version 7.0a? Arch's has 7.0a-2 actually.
We still have 6.3a-1 in our "extra". I tried using a v7 encrypted drive with our v6 and it was incompatible.
DePingus
 
Posts: 22
Joined: Sat Jul 03, 2010 9:41 pm

Re: Package Update: truecrypt

Postby kmihelich » Fri Jun 10, 2011 10:52 pm

Have you got it to compile? I haven't. And aside from the blatantly obvious fact that plug computers do not have the processing power to do live encryption on that scale, it seems pointless to me.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Package Update: truecrypt

Postby DePingus » Sat Jun 11, 2011 12:36 am

$this->bbcode_second_pass_quote('kmihelich', 'H')ave you got it to compile? I haven't. And aside from the blatantly obvious fact that plug computers do not have the processing power to do live encryption on that scale, it seems pointless to me.


I was not able to compile it. There is actually a v7 in the AUR that I tried. Wxbase (one of the deps) wouldn't compile, even adding 'arm' to the architecture list. I can't remember the error I was getting though.

But you know...I didn't even think about processing power. I suppose you're right; the dockstar would probably have a pregnant trying to serve an HD movie off a truecrypt encrypted drive. These little devices are so useful sometimes I forget they have limitations!

Oh well, if that's the case then forget I asked. I'll store my videos of a sensitive nature elsewhere! ;)
Thanks for the info.
DePingus
 
Posts: 22
Joined: Sat Jul 03, 2010 9:41 pm

Re: Package Update: truecrypt

Postby nerom86 » Tue Sep 06, 2011 10:07 am

hi, it would be cool of someone creates a working package i was able to compile it perfectly after a while:

viewtopic.php?f=5&t=422



if someone is interested in it :

needed packages:

as the wiki states: build-essentials (or base-devel)

http://prdownloads.sourceforge.net/wxwi ... .11.tar.gz extract this to a folder of your choice for example /home/apps/wxsrc/

ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ get all header *.h files from this url to a folder , e.g. /home/apps/pkcs

get the complete truecrypt soruce for linux (http://www.truecrypt.org/downloads2)

extract the tc source to a folder of your choice and switch to the tc root folder

Now compile it:

first command:

Code: Select all
make NOGUI=1 PKCS11_INC=/home/apps/pkcs/ WX_ROOT=/home/apps/wxsrc/ wxbuild


second command:

Code: Select all
make NOGUI=1 WXSTATIC=1 PKCS11_INC=/home/apps/pkcs/



Test it:

just type Main/truecrypt and it should start

Main/truecrypt --mount /homemycontainer
nerom86
 
Posts: 10
Joined: Wed Nov 10, 2010 3:18 pm

Re: Package Update: truecrypt

Postby nerom86 » Tue Sep 06, 2011 10:11 am

btw: performance is quite good, it is important to use "ext3 or 4" filesystem for about 10-15MB/s, else ntfs-fuse will eat up aout 40% cpu + decryption will lower the performance to 5MB/s - BUT it works ;)
nerom86
 
Posts: 10
Joined: Wed Nov 10, 2010 3:18 pm

Re: Package Update: truecrypt

Postby nerom86 » Mon Jan 16, 2012 1:22 pm

up, PLEASE can someone look into this? (upgrading truecrypt 6.3 in the repos to 7)
i would like to do it myself it if could, but i dont know what has to be done to get truecrypt7 added into the packages

as said, the steps ive performed above work, and it compiles correctly
nerom86
 
Posts: 10
Joined: Wed Nov 10, 2010 3:18 pm

Re: Package Update: truecrypt

Postby bamcy » Wed Nov 28, 2012 10:28 am

$this->bbcode_second_pass_quote('nerom86', ' ')viewtopic.php?f=5&t=422


@nerom86 the link about is not working, sure you did not post the wrong link?
bamcy
 
Posts: 1
Joined: Sat Nov 24, 2012 8:34 am

Re: Package Update: truecrypt

Postby moonman » Sun Dec 09, 2012 4:35 pm

If somebody wants to continue trying to build it: here's my pkbuild. It fails a test at the end for some reason.

$this->bbcode_second_pass_code('', '# Maintainer: Corrado Primier <ilbardo.gmail.com>

pkgname=truecrypt
_pkgname=truecrypt
pkgver=7.0a
pkgrel=0
pkgdesc="Free open-source cross-platform disk encryption software (CLI)"
url="http://www.truecrypt.org/"
arch=('arm')
license=('custom') # TrueCrypt License v2.6
depends=('fuse>=2.8.0' 'device-mapper')
optdepends=('sudo: mounting encrypted volumes as nonroot users')
conflicts=('truecrypt')
provides=('truecrypt')
# N.B. Truecrypt's web-based source download is incompatible with
# makepkg. Source has been placed on ftp.archlinux.org instead
source=("ftp://ftp.archlinux.org/other/tc/${_pkgname}-${pkgver}.tar.gz" \
'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
'http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz')
md5sums=('0a61616bc5c5ad90e876b4014c004ac9'
'ce6a707b79411e82e8e558aa03e764b0'
'2fa39da14bc06ea86fe902579fedc5b1')

build() {
cd ${srcdir}/${_pkgname}-${pkgver}-source || return 1
make NOGUI=1 WX_ROOT="${srcdir}/wxWidgets-2.8.12" wxbuild
make NOGUI=1 WXSTATIC=1 PKCS11_INC="${srcdir}/pkcs-2.20" LFLAGS+="-ldl"
}

package() {
# Install Binary
install -D -m755 ${srcdir}/${_pkgname}-${pkgver}-source/Main/${_pkgname} \
${pkgdir}/usr/bin/${_pkgname}

# Install License
install -D -m644 ${srcdir}/${_pkgname}-${pkgver}-source/License.txt \
${pkgdir}/usr/share/licenses/${pkgname}/License.txt
}
')

The error:
$this->bbcode_second_pass_code('', 'Linking truecrypt
Error: TestFailed at TrueCrypt::EncryptionTest::TestXtsAES:469
make[1]: *** [truecrypt] Error 1
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
')

Happens with 7.0a and 7.1
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Package Update: truecrypt

Postby moonman » Wed Jan 16, 2013 10:26 am

I've compiled the package. I disabled the tests after compilation as kernelcrypto should be disabled, but it isn't when tests are being done. Still I do not know if it works (properly). You are welcome to test it:

$this->bbcode_second_pass_code('', 'pacman -U http://music4dance.mine.nu/Downloads/ArchLinuxArm/truecrypt-7.1a-0-arm.pkg.tar.xz')

should be used with $this->bbcode_second_pass_code('', '--mount-options=nokernelcrypto')

Updated PKGBUILD:
$this->bbcode_second_pass_code('', ' # Maintainer: Corrado Primier <ilbardo.gmail.com>

pkgname=truecrypt
_pkgname=truecrypt
pkgver=7.1a
pkgrel=0
pkgdesc="Free open-source cross-platform disk encryption software (CLI)"
url="http://www.truecrypt.org/"
arch=('arm')
license=('custom') # TrueCrypt License v2.6
depends=('fuse>=2.8.0' 'device-mapper')
optdepends=('sudo: mounting encrypted volumes as nonroot users')
conflicts=('truecrypt')
provides=('truecrypt')
# N.B. Truecrypt's web-based source download is incompatible with
# makepkg. Source has been placed on ftp.archlinux.org instead
source=("ftp://ftp.archlinux.org/other/tc/${_pkgname}-${pkgver}.tar.gz" \
'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
'http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz')

md5sums=('102d9652681db11c813610882332ae48'
'ce6a707b79411e82e8e558aa03e764b0'
'2fa39da14bc06ea86fe902579fedc5b1')

build() {
cd ${srcdir}/${_pkgname}-${pkgver}-source || return 1
make NOGUI=1 WX_ROOT="${srcdir}/wxWidgets-2.8.12" wxbuild
make NOGUI=1 NOTEST=1 WXSTATIC=1 PKCS11_INC="${srcdir}/pkcs-2.20" LFLAGS+="-ldl"
}

package() {
# Install Binary
install -D -m755 ${srcdir}/${_pkgname}-${pkgver}-source/Main/${_pkgname} \
${pkgdir}/usr/bin/${_pkgname}

# Install License
install -D -m644 ${srcdir}/${_pkgname}-${pkgver}-source/License.txt \
${pkgdir}/usr/share/licenses/${pkgname}/License.txt
}
')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to Package Requests

Who is online

Users browsing this forum: No registered users and 5 guests