Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Truecrypt fetch restricted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Mon Sep 26, 2011 10:58 am    Post subject: Truecrypt fetch restricted Reply with quote

Hello guys.

I want to install truecrypt over portage on my laptop.
But after running emerge truecrypt there comes an error message that truecrypt has a restiction.
Okay well, I downloaded the truecrypt-7.0a-linux-x64.tar.gz package from the website and copied it
to /usr/portage/distfiles/. After that I renamed it to the give name: truecrypt-7.0a.tar.gz

After running again emerge then comes this line:
Refetching... File renamed to '/usr/portage/distfiles/truecrypt-7.0a.tar.gz._checksum_failure_.RZ52UC'

Looks like that there is a version difference between the version I have and which portage want.
The problem now is that I can't find the right version for portage in the internet.

Someone knows where I can find the right version?

Thanks
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Sep 26, 2011 11:44 am    Post subject: Reply with quote

Just rm that tmp file and try emerging again the package. I have truecrypt installed here and I did not mannually download it, emerge did it for me. i have no idea about what restriction you're talking about but it's true there's a licensing issue/restrictions on distributing a (pkg, a la mozilla). Maybe the version you fetched differ from what is checksummed in the manifest... so emerge will complain about wrong checksums, then you'll have to rm what you downloaded and leave emerge fetch the right tarball for you or try to get the right tarball.
Back to top
View user's profile Send private message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Mon Sep 26, 2011 12:12 pm    Post subject: Reply with quote

tclover wrote:
Just rm that tmp file and try emerging again the package. I have truecrypt installed here and I did not mannually download it, emerge did it for me. i have no idea about what restriction you're talking about but it's true there's a licensing issue/restrictions on distributing a (pkg, a la mozilla). Maybe the version you fetched differ from what is checksummed in the manifest... so emerge will complain about wrong checksums, then you'll have to rm what you downloaded and leave emerge fetch the right tarball for you or try to get the right tarball.


First, thanks for your answer. I have tried to remove the file but nothing happened.
Well, maybe you have an older version?

eix truecrypt:
Code:

* app-crypt/truecrypt
     Available versions:  ~7.0a-r2!f!m!d ~7.0a-r5!f!m!d (~)7.0a-r6!f!m!d {X}
     Homepage:            http://www.truecrypt.org/
     Description:         Free open-source disk encryption software


I tried r2, r5 and r6 but on all version this appear:
Code:

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/truecrypt-7.0a-r6

!!! app-crypt/truecrypt-7.0a-r6 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Fetch failed for 'app-crypt/truecrypt-7.0a-r6', Log file:
 *  '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'
 * Please download truecrypt-7.0a-linux-{86,64}.tar.gz source from:
 * http://www.truecrypt.org/downloads2
 * Then put the file in /usr/portage/distfiles/truecrypt-7.0a.tar.gz

>>> Failed to emerge app-crypt/truecrypt-7.0a-r6, Log file:

>>>  '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'

 * Messages for package app-crypt/truecrypt-7.0a-r6:

 * Fetch failed for 'app-crypt/truecrypt-7.0a-r6', Log file:
 *  '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'
 * Please download truecrypt-7.0a-linux-{86,64}.tar.gz source from:
 * http://www.truecrypt.org/downloads2
 * Then put the file in /usr/portage/distfiles/truecrypt-7.0a.tar.gz


I can't find other versions... so I'm a little bit in trouble.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7201
Location: Saint Amant, Acadiana

PostPosted: Mon Sep 26, 2011 12:18 pm    Post subject: Reply with quote

You can remove tarball check from Manifest, you need to run ebuild command with manifest option afterward to validate your change. See man ebuild.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Mon Sep 26, 2011 12:57 pm    Post subject: Reply with quote

Jaglover wrote:
You can remove tarball check from Manifest, you need to run ebuild command with manifest option afterward to validate your change. See man ebuild.


Thank you for your answer. I have followed your suggestion but I have again a problem.
The problem is that for truecrypt 7.0 there is no available sourcecode. Only the for the 7.1 version
the sourcecode is available. When I manifest the sourcecode from 7.1 then portage can't find the source
folder (because of the version difference):

Code:
>>> Emerging (1 of 1) app-crypt/truecrypt-7.0a-r6
 * truecrypt-7.0a.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                            [ ok ]
 * truecrypt-pkcs11.h.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                           [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.39-gentoo-r3/build
 * Found sources for kernel version:
 *     2.6.39-gentoo-r3
 * Checking for suitable kernel configuration options...                                                            [ ok ]
 * Checking wxGTK-2.8 for X support ...                                                                             [ ok ]

 * Requested wxWidgets:        unicode 2.8
 * Using wxWidgets:            gtk2-unicode-release-2.8

>>> Unpacking source...
>>> Unpacking truecrypt-7.0a.tar.gz to /var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work
>>> Unpacking truecrypt-pkcs11.h.bz2 to /var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work
>>> Source unpacked in /var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work
 * ERROR: app-crypt/truecrypt-7.0a-r6 failed (prepare phase):
 *   The source directory '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work/truecrypt-7.0a-source' doesn't exist
 *
 * Call stack:
 *   ebuild.sh, line 2402:  Called ebuild_main
 *   ebuild.sh, line 2309:  Called dyn_prepare
 *   ebuild.sh, line 1009:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of 'emerge --info =app-crypt/truecrypt-7.0a-r6',
 * the complete build log and the output of 'emerge -pqv =app-crypt/truecrypt-7.0a-r6'.
 * The complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/environment'.
 * S: '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work/truecrypt-7.0a-source'

>>> Failed to emerge app-crypt/truecrypt-7.0a-r6, Log file:

>>>  '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'

 * Messages for package app-crypt/truecrypt-7.0a-r6:

 * ERROR: app-crypt/truecrypt-7.0a-r6 failed (prepare phase):
 *   The source directory '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work/truecrypt-7.0a-source' doesn't exist
 *
 * Call stack:
 *   ebuild.sh, line 2402:  Called ebuild_main
 *   ebuild.sh, line 2309:  Called dyn_prepare
 *   ebuild.sh, line 1009:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of 'emerge --info =app-crypt/truecrypt-7.0a-r6',
 * the complete build log and the output of 'emerge -pqv =app-crypt/truecrypt-7.0a-r6'.
 * The complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/temp/environment'.
 * S: '/var/tmp/portage/app-crypt/truecrypt-7.0a-r6/work/truecrypt-7.0a-source'


On the site I only find the sourcecode for 7.1: http://www.truecrypt.org/downloads

Any idea?
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Sep 26, 2011 4:12 pm    Post subject: Reply with quote

Well, I see, the only solution remaining for you is to google for truecrypt-7.0a.tar.gz. If ever you cannot find it I could upload it somewhere. It's true that truecrypt removed the sources/binaries tarball of version 7.0a... moreover one has to checkout out a TC-3.0 license a la closed/proprietary source/binary before having any chance to download the sources tarball. I have TC installed just because there's no better solutions for M$ Windows OSs and NTFS based partions. Other than that I could get rid of TC... I guess I won't be updating 7.0a any time soon.

EDIT: of course you could copy a version 7.0a ebuild and add an ebuild for 7.1 version in your local overlay as a last resort.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7201
Location: Saint Amant, Acadiana

PostPosted: Mon Sep 26, 2011 11:05 pm    Post subject: Reply with quote

http://www.truecrypt.org/pastversions
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Cruel
n00b
n00b


Joined: 25 Jun 2011
Posts: 54

PostPosted: Tue Sep 27, 2011 9:07 pm    Post subject: Reply with quote

Jaglover wrote:
http://www.truecrypt.org/pastversions


There are only setup files. Sourcecode is, like I said, not available...
Definitely crap! :?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7201
Location: Saint Amant, Acadiana

PostPosted: Tue Sep 27, 2011 9:16 pm    Post subject: Reply with quote

Then you have the choice to update current ebuild or install by hand.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10303
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Sep 27, 2011 9:44 pm    Post subject: Reply with quote

Alas, that link only has binaries. Perhaps emailing them would help.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Wed Oct 05, 2011 7:38 pm    Post subject: Reply with quote

In case you still need it, here you go.
_________________
I don't give a darn about "experience", just functional copyleft software.
Back to top
View user's profile Send private message
Yarik
n00b
n00b


Joined: 01 Oct 2007
Posts: 22
Location: Russia

PostPosted: Sat Oct 08, 2011 10:19 pm    Post subject: Reply with quote

I've added truecrypt-7.1.ebuild in yarik-overlay (available in layman).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum