Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a3dde173caec3ac12789fed3b9c90502eb531253

commit a3dde173caec3ac12789fed3b9c90502eb531253
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Fri Feb 8 11:01:25 2008 +0100

truecrypt-5.0-1-i686
- version bump
- removed kernel module, added fuse dependency
- added wxgtk gui

diff --git a/source/apps-extra/truecrypt/FrugalBuild 
b/source/apps-extra/truecrypt/FrugalBuild
index 777ff93..df602e6 100644
--- a/source/apps-extra/truecrypt/FrugalBuild
+++ b/source/apps-extra/truecrypt/FrugalBuild
@@ -2,33 +2,27 @@
# Maintainer: VMiklos <[EMAIL PROTECTED]>

pkgname=truecrypt
-pkgver=4.3
-pkgextraver=a
-pkgrel=19
+pkgver=5.0
+pkgextraver=
+pkgrel=1
pkgdesc="A free open-source disk encryption software"
url="http://www.truecrypt.org/";
-Finclude kernel-module
-depends=([EMAIL PROTECTED] 'device-mapper')
+depends=('fuse' 'wxgtk-u8')
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.truecrypt.org/downloads.php|grep Stable|sed 
's/.* - //;s/$pkgextraver//'"
-source=(http://www.truecrypt.org/downloads/truecrypt-$pkgver$pkgextraver-source-code.tar.gz
 \
-       truecrypt-4.3a-2.6.24.patch)
-sha1sums=('30c91901171c3c8290d4d0de856774cdf7ee4ed6' \
-          'a99546f70a75c80e60f9dab033e41fe06a7ad459')
+source=("http://www.truecrypt.org/downloads/transient/987a415c42/TrueCrypt 
$pkgver$pkgextraver Source.tar.gz")
+sha1sums=('f6e71f757425cedc76f023a91b78a073e279cdac')

build()
{
-       unset MAKEFLAGS
-       Fcd truecrypt-$pkgver$pkgextraver-source-code
-       Fpatchall
-       cd Linux
-       Fsed 'uname -r' "echo $_F_kernelmod_uname" build.sh
-       Fsed '>/dev/null' '' build.sh
-       ./build.sh || return 1
-       Ffilerel Kernel/truecrypt.ko $_F_kernelmod_dir/misc/truecrypt.ko
-       Fexerel Cli/truecrypt /usr/bin/truecrypt
-       Ffilerel Cli/Man/truecrypt.1 /usr/share/man/man1/truecrypt.1
-       Fdocrel ../Readme.txt ../Release
-       Fbuild_kernelmod_scriptlet
+       tar xf "TrueCrypt $pkgver$pkgextraver Source.tar.gz"
+       Fcd truecrypt-$pkgver$pkgextraver-source
+       Fsed '--static' '' Main/Main.make
+       rm -rf wxrelease
+       mkdir wxrelease
+       ln -s /usr/bin/wx-config wxrelease/
+       Fmake
+       Fexerel Main/truecrypt /usr/bin/truecrypt
+       Fdocrel Readme.txt Release
}
diff --git a/source/apps-extra/truecrypt/truecrypt-4.3a-2.6.24.patch 
b/source/apps-extra/truecrypt/truecrypt-4.3a-2.6.24.patch
deleted file mode 100644
index 6f0971f..0000000
--- a/source/apps-extra/truecrypt/truecrypt-4.3a-2.6.24.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur truecrypt-4.3a-source-code.orig/Linux/Kernel/Dm-target.c 
truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c
---- truecrypt-4.3a-source-code.orig/Linux/Kernel/Dm-target.c   2007-04-24 
18:32:06.000000000 +0200
-+++ truecrypt-4.3a-source-code/Linux/Kernel/Dm-target.c        2008-01-28 
00:51:49.000000000 +0100
-@@ -375,7 +375,7 @@
-       if (!atomic_dec_and_test (&bc->ref_count))
-               return;
-
--      bio_endio (bc->orig_bio, bc->orig_bio->bi_size, bc->error);
-+      bio_endio (bc->orig_bio, bc->error);
-       mempool_free (bc, tc->bio_ctx_pool);
- }
-
-@@ -656,7 +656,11 @@
-               goto err;
-       }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
-       bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct 
bio_ctx), 0, 0, NULL, NULL);
-+#else
-+      bio_ctx_cache = kmem_cache_create ("truecrypt-bioctx", sizeof (struct 
bio_ctx), 0, 0, NULL);
-+#endif
-       if (!bio_ctx_cache)
-       {
-               error ("kmem_cache_create failed");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to