A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « CheckPolicy | HOME | GNU LibGCrypt 32-bit » |
Name: GNU LibGCrypt 64-bit
Summary: A library implementing many cryptographic hash types
License: GPL v2/LGPL v2.1
Version: 1.11.2
URL: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.2.tar.bz2
Average Build Time: 0.3 SBU
Used Install Space: 6.5 MiB
To configure GNU LibGCrypt 64-bit for install into the build root, run the following commands:
export PUBKEYS="dsa elgamal rsa ecc"
export CIPHERS="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia idea salsa20 gost28147 chacha20 sm4 aria"
export DIGESTS="crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2 sm3"
export KDFS="s2k pkdf2 scrypt"
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--docdir=/usr/share/doc/libgcrypt-1.11.2 \
--enable-ciphers="$CIPHERS" \
--enable-pubkey-ciphers="$PUBKEYS" \
--enable-digests="$DIGESTS" \
--enable-kdfs="$KDFS" \
--enable-noexecstack \
--enable-random=getentropy \
--enable-jent-support \
--disable-static
unset PUBKEYS
unset CIPHERS
unset DIGESTS
unset KDFS
To compile GNU LibGCrypt 64-bit, run the following command:
make
Next, run the test suite:
make check
Finally, to install GNU LibGCrypt 64-bit into the build tree, run the following commands:
make install
rm -fv /usr/lib64/libgcrypt.la
mkdir -pv -m 0755 /etc/gcrypt
install -v -m 644 -o root -g root ../system_files/etc/gcrypt/random.conf /etc/gcrypt/random.conf
install -v -m 644 -o root -g root ../system_files/etc/gcrypt/hwf.deny /etc/gcrypt/hwf.deny
NOTE: Do not delete the unpacked sources after build.
| Contents | |
|---|---|
| Installed Programs | dumpsexp, hmac256, libgcrypt-config, and mpicalc |
| Installed Libraries | libgcrypt.so |
| Navigation | ||
|---|---|---|
| « CheckPolicy | HOME | GNU LibGCrypt 32-bit » |