Hello, unfortunately the current version of TrueCrypt (6.1) seems not to be building: http://packages.sw.be/truecrypt/_buildlogs/
Attached spec and patch makes the latest version (6.1a) build on CentOS-5 (no functional tests yet). I hope that helps, Niels
truecrypt.spec
Description: application/extension-spec
diff -aur truecrypt-6.1a-source/Common/SecurityToken.cpp truecrypt-6.1a-source.el5/Common/SecurityToken.cpp --- truecrypt-6.1a-source/Common/SecurityToken.cpp 2008-10-30 19:39:28.000000000 +0100 +++ truecrypt-6.1a-source.el5/Common/SecurityToken.cpp 2009-02-25 15:00:20.000000000 +0100 @@ -651,8 +651,8 @@ TC_CASE_STR (CKR_CRYPTOKI_ALREADY_INITIALIZED); TC_CASE_STR (CKR_MUTEX_BAD); TC_CASE_STR (CKR_MUTEX_NOT_LOCKED); - TC_CASE_STR (CKR_NEW_PIN_MODE); - TC_CASE_STR (CKR_NEXT_OTP); +// TC_CASE_STR (CKR_NEW_PIN_MODE); +// TC_CASE_STR (CKR_NEXT_OTP); TC_CASE_STR (CKR_FUNCTION_REJECTED); default: diff -aur truecrypt-6.1a-source/Common/SecurityToken.h truecrypt-6.1a-source.el5/Common/SecurityToken.h --- truecrypt-6.1a-source/Common/SecurityToken.h 2008-10-30 19:39:26.000000000 +0100 +++ truecrypt-6.1a-source.el5/Common/SecurityToken.h 2009-02-25 14:55:50.000000000 +0100 @@ -20,7 +20,7 @@ # define NULL_PTR 0 #endif #define CK_PTR * -#define CK_CALLBACK_FUNCTION(RET_TYPE, NAME) RET_TYPE (* NAME) +//#define CK_CALLBACK_FUNCTION(RET_TYPE, NAME) RET_TYPE (* NAME) #ifdef TC_WINDOWS @@ -36,9 +36,9 @@ #else // !TC_WINDOWS -# define CK_DEFINE_FUNCTION(RET_TYPE, NAME) RET_TYPE NAME -# define CK_DECLARE_FUNCTION(RET_TYPE, NAME) RET_TYPE NAME -# define CK_DECLARE_FUNCTION_POINTER(RET_TYPE, NAME) RET_TYPE (* NAME) +//# define CK_DEFINE_FUNCTION(RET_TYPE, NAME) RET_TYPE NAME +//# define CK_DECLARE_FUNCTION(RET_TYPE, NAME) RET_TYPE NAME +//# define CK_DECLARE_FUNCTION_POINTER(RET_TYPE, NAME) RET_TYPE (* NAME) # include <pkcs11.h> diff -aur truecrypt-6.1a-source/Common/Tcdefs.h truecrypt-6.1a-source.el5/Common/Tcdefs.h --- truecrypt-6.1a-source/Common/Tcdefs.h 2008-12-01 15:50:12.000000000 +0100 +++ truecrypt-6.1a-source.el5/Common/Tcdefs.h 2009-02-25 14:53:08.000000000 +0100 @@ -37,7 +37,7 @@ #define WIDE(x) (LPWSTR)L##x -typedef __int8 int8; +//typedef __int8 int8; typedef __int16 int16; typedef __int32 int32; typedef unsigned __int8 byte;
signature.asc
Description: OpenPGP digital signature
_______________________________________________ suggest mailing list suggest@lists.rpmforge.net http://lists.rpmforge.net/mailman/listinfo/suggest