First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 111394
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 112197
Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: mAhdi <mahdi1234@centrum.cz>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
truecrypt-4.0-source-code.tar.gz source tarball with fixed build.sh application/octet-stream Ryan 2005-11-05 12:03 0000 1001.12 KB Details
truecrypt-4.0-source-code.tar.gz truecrypt-4.0-source-code.tar.gz application/octet-stream Ryan 2005-11-05 13:28 0000 1.34 MB Details
truecrypt-4.0.ebuild app-crypt/truecrypt/truecrypt-4.0.ebuild text/plain Ryan 2005-11-05 13:29 0000 470 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 111394 depends on: Show dependency tree
Bug 111394 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-03 13:03 0000
Truecrypt - http://www.truecrypt.org/ - has been now released finally
supporting
linux as well. This great tools is one of very few solutions for mixed
win/linux
environment. Please consider creating ebuild of it.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Ryan 2005-11-03 18:40:19 0000 -------
Could we atleast just get an ebuild for it if not in the official portage tree
please?

------- Comment #2 From Ryan 2005-11-05 12:00:12 0000 -------
Ok, so I figured I give it a shot and try to do this myself. So far I had to
edit the build script that was included with the source tarball from truecrypt.
I have attached that. Then I tried giving it a shot with this ebuild:

# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Free open-source disk encryption software for Windows XP/2000/2003
and Linux"
HOMEPAGE="http://www.trucrypt.org/"
SRC_URI="http://www.truecrypt.org/downloads/truecrypt-${PV}-source-code.tar.gz"

LICENSE="CUSTOM"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

src_compile() {
	sh Linux/build.sh || die "build failed"
}

src_install() {
	sh Linux/install.sh || die "install failed"
}



Now when I try to emerge it, it fails with this:

>>> Source unpacked.
Checking build requirements...
Building kernel module... Linux/build.sh: line 66: cd: Kernel: No such file or
directory
Error: Failed to build kernel module

!!! ERROR: app-crypt/truecrypt-4.0 failed.
!!! Function src_compile, Line 14, Exitcode 1
!!! build failed
!!! If you need support, post the topmost build error, NOT this status message.

Not sure how to fix this in the build.sh script.

------- Comment #3 From Ryan 2005-11-05 12:03:10 0000 -------
Created an attachment (id=72232) [details]
source tarball with fixed build.sh

changed all instances of "-1" to "-n 1"

------- Comment #4 From Ryan 2005-11-05 12:17:59 0000 -------
Ok, so changing line 66 of the build.sh from "cd Kernel" to 
"cd /var/tmp/portage/truecrypt-4.0/work/truecrypt-4.0/Linux/Kernel" got me a
little further, but now fails with:

>>> Source unpacked.
Checking build requirements...
Building kernel module... Makefile:530:
/usr/src/linux-2.6.14-acid2/arch/amd64/Makefile: No such file or directory
make[1]: *** No rule to make target
`/usr/src/linux-2.6.14-acid2/arch/amd64/Makefile'.  Stop.
make: *** [truecrypt] Error 2
Error: Failed to build kernel module

------- Comment #5 From Ryan 2005-11-05 13:26:23 0000 -------
Ok, made some more progress and attached the ebuild and modified source tarball
for distfiles. Now I can get it to build the modules and go through the install,
but during the testing of truecrypt in the install.sh script it fails and I
can't tell why.

------- Comment #6 From Ryan 2005-11-05 13:28:20 0000 -------
Created an attachment (id=72238) [details]
truecrypt-4.0-source-code.tar.gz

includes fixed build.sh script and a semi-working install.sh. The install
script will go through, but fails on testing truecrypt.

------- Comment #7 From Ryan 2005-11-05 13:29:47 0000 -------
Created an attachment (id=72239) [details]
app-crypt/truecrypt/truecrypt-4.0.ebuild

Here's the ebuild I threw together.

------- Comment #8 From Stefan Schweizer 2005-11-06 11:05:44 0000 -------
Please make a patch
diff -pur olddir newdir > patch

instead of modifying the source tarball

------- Comment #9 From Ryan 2005-11-06 20:56:27 0000 -------
(In reply to comment #8)
> Please make a patch
> diff -pur olddir newdir > patch
> 
> instead of modifying the source tarball

Ok, well that would be starting to get a little too far beyond my skills. I
don't even really know how I got this as far as I have really. It's my first
ebuild and I'm learning as go. I would actually prefer if someone that knew what
they were doing would be kind enough to write an ebuild for us.

------- Comment #10 From calvin@ittasteslikeburning.com 2005-11-08 10:10:36 0000 -------
Thanks for the work so far Ryan...  I too am anxious for this...

------- Comment #11 From mAhdi 2005-11-11 10:38:43 0000 -------
Functional ebuild posted in thread
http://bugs.gentoo.org/show_bug.cgi?id=112197 ...

------- Comment #12 From Jakub Moc (RETIRED) 2005-11-11 10:40:30 0000 -------
Bug 112197 seems to have a working patch, marking this one as a dupe. 

*** This bug has been marked as a duplicate of 112197 ***

*** This bug has been marked as a duplicate of 112197 ***

First Last Prev Next    No search results available      Search page      Enter new bug