Difference between revisions of "Beecrypt"

From CBLFS
Jump to navigationJump to search
(Templatized)
(If you do not have a multilib system to do the appropriate testing then please do not contribute the section in question. The same holds true for multilib people. Do not contribute non-multilib.)
Line 8: Line 8:
  
 
{{Package-Introduction|BeeCrypt is an ongoing project to provide a strong and fast cryptography toolkit. Includes entropy sources, random generators, block ciphers, hash functions, message authentication codes, multiprecision integer routines, and public key primitives.|http://beecrypt.sourceforge.net/}}
 
{{Package-Introduction|BeeCrypt is an ongoing project to provide a strong and fast cryptography toolkit. Includes entropy sources, random generators, block ciphers, hash functions, message authentication codes, multiprecision integer routines, and public key primitives.|http://beecrypt.sourceforge.net/}}
 +
 +
== Depdencies ==
 +
 +
=== Optional ===
 +
* [[GCC]] (for GCJ Java Compiler) or [[JDK]]
 +
* [[Python]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 21: Line 27:
  
 
== Multilib ==
 
== Multilib ==
 
'''''I do not have a 64bit machine to test this on so please process with caution.'''''
 
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 28: Line 32:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
sed -i '/bc_libalt="64"/d' configure &&
 +
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
USE_ARCH=32 ./configure --prefix=/usr \
 +
    --build=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 39: Line 46:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
+
sed -i '/bc_libalt="64"/d' configure &&
 +
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 +
USE_ARCH=n32 ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
 
  make
 
  make
Line 51: Line 60:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+
sed -i '/bc_libalt="64"/d' configure &&
 +
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
USE_ARCH=64 ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
 
  make
 
  make

Revision as of 16:39, 23 October 2008

Download Source: http://downloads.sourceforge.net/beecrypt/beecrypt-4.2.1.tar.gz

Introduction to Beecrypt

BeeCrypt is an ongoing project to provide a strong and fast cryptography toolkit. Includes entropy sources, random generators, block ciphers, hash functions, message authentication codes, multiprecision integer routines, and public key primitives.

Project Homepage: http://beecrypt.sourceforge.net/

Depdencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
USE_ARCH=32 ./configure --prefix=/usr \
    --build=${CLFS_TARGET32} &&
make

Install the package:

make install

N32

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Directories: /usr/include/beecrypt
Installed Libraries: libbeecrypt.{a,so}

Short Descriptions

libbeecrypt.{a,so} is a library that contains functions for strong and fast cryptography.