libgpg-error - Library that makes access to GnuPG easier for applications ChangeLog

HOWTO


# libgpg-error 1.47
# =================
# Slackware 14.0: libgpg-error 1.10
# Slackware 14.1: libgpg-error 1.11
# Slackware 14.2: libgpg-error 1.23
# Slackware 15.0: libgpg-error 1.44

# If you want to remove libgpg-error, or clean up files from an old version
# before proceeding below, skip down to the bottom

# Release Libgpg-error 1.47
# GnuPG Mailing lists
# GnuPG Manuals
# GnuPG Frequently Asked Questions
# GnuPG GIT Access

# Prerequisites:
# gettext

# Get the source
cd
test -f installed/libgpg-error-1.47.tar.bz2 &&
mv installed/libgpg-error-1.47.tar.bz2 .
test ! -f libgpg-error-1.47.tar.bz2 &&
wget https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.47.tar.bz2

# Verify tarball w/ sha256sum:
# (This came from my gpg-verified tarball)
echo "9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9b\
db  libgpg-error-1.47.tar.bz2" | sha256sum -c

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

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

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --disable-nls --prefix=/usr --infodir=/usr/info \
--libdir=/usr/lib64 --mandir=/usr/man

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --disable-nls --prefix=/usr --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg libgpg-error

# If you have an old version installed, you may or may not want to
# clean out old files such as /usr/lib*/libgpg-error.*

# Install it
make install
ldconfig

# Become yourself again
exit

# Saved the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/libgpg-error-*.tar.*
mv libgpg-error-1.47.tar.bz2 installed/


# If you ever want to uninstall libgpg-error, this should do it:
cd
su
test -d src/libgpg-error-* && ( cd src/libgpg-error-* ; make uninstall )
for pfx /usr /usr/local;
do
  ( cd ${pfx}/bin ; rm -f gpg-error gpg-error-config gpgrt-config yat2m )
  ( cd ${pfx}/include ; rm -f gpg-error.m4 gpgrt.m4 )
  ( cd ${pfx}/info ; rm -f gpgrt.info )
  ( cd ${pfx}/lib ; rm -f libgpg-error.* pkgconfig/gpg-error.pc )
  test -d ${pfx}/lib64 &&
   ( cd ${pfx}/lib64 ; rm -f libgpg-error.* pkgconfig/gpg-error.pc )
  ( cd ${pfx}/man/man1 ; rm -f gpgrt-config.1 )
  ( cd ${pfx}/share/aclocal ; rm -f gpg-error.m4 gpgrt.m4 )
  test -d ${pfx}/share/common-lisp/source/gpg-error &&
   rm -r ${pfx}/share/common-lisp/source/gpg-error
  test -d ${pfx}/share/libgpg-error &&
   rm -r ${pfx}/share/libgpg-error
done
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libgpg-error-*" -exec rm -r {} \;
rm -f ~/installed/libgpg-error-*.tar.*

List of HOWTOs

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