libksba - Library for working with X.509 certificates ChangeLog

HOWTO


# libksba 1.6.4
# =============
# Prerequisites:
# bison
# GPG Error >= 1.8

# If you want to remove libksba or want to clean up old versions before
# proceeding here, skip down to the bottom

# Get the source
cd
test -f installed/libksba-1.6.4.tar.bz2 &&
mv installed/libksba-1.6.4.tar.bz2 .
test ! -f libksba-1.6.4.tar.bz2 &&
wget https://gnupg.org/ftp/gcrypt/libksba/libksba-1.6.4.tar.bz2

# Verify tarball w/ sha256sum:
# (this came from the integrity check page and my gpg-verified tarball)
echo "bbb43f032b9164d86c781ffe42213a83bf4f2fee91455edfa4654521b8b03b\
6b  libksba-1.6.4.tar.bz2" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 1CE0C630 > /dev/null 2>&1 || gpg --recv-keys 1CE0C630 ) &&
wget -nc https://gnupg.org/ftp/gcrypt/libksba/libksba-1.6.4.tar.bz2.sig &&
  gpg --verify libksba-1.6.4.tar.bz2.sig && rm libksba-1.6.4.tar.bz2.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "libksba-*" -exec rm -r {} \;
tar xjvf ~/libksba-1.6.4.tar.bz2
cd libksba-1.6.4
test $UID = 0 && chown -R root:root .

# Read README and if upgrading, NEWS for a summary or ChangeLog for full
# list of changes

# Configure the build for 64-bit
./configure --prefix=/usr --infodir=/usr/info --libdir=/usr/lib64

# Configure the build for anything else
./configure --prefix=/usr --infodir=/usr/info

# Build it
make

# Become root to install it
su

# Install it
make install
ldconfig

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/libksba-*.tar.*
mv libksba-1.6.4.tar.bz2 installed/


# If you ever need to uninstall libksba, this should do it:
test -d ~/src/libksba-* && ( cd ~/src/libksba-* ; make uninstall )
su
rm -f /usr/include/ksba.h /usr/info/ksba.info \
/usr/lib/libksba.* /usr/lib/pkgconfig/ksba.pc /usr/share/aclocal/ksba.m4
test -d /usr/lib64/pkgconfig &&
( cd /usr/lib64
   rm libksba.* pkgconfig/ksba.pc )
exit
find ~/src -maxdepth 1 -type d -name "libksba-*" -exec rm -r {} \;
rm -f ~/installed/libksba-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-09-12 2:12pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]