The GnuPG package contains a public/private key encryptor. This is becoming useful for signing files or emails as proof of identity and preventing tampering with the contents of the file or email. For a more enhanced version of GnuPG which supports S/MIME, see the GnuPG-2.0.8 package.
Download (HTTP): http://anduin.linuxfromscratch.org/sources/BLFS/6.3/g/gnupg-1.4.7.tar.bz2
Download (FTP): ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2
Download MD5 sum: b06a141cca5cd1a55bbdd25ab833303c
Download size: 3.2 MB
Estimated disk space required: 40 MB
Estimated build time: 0.5 SBU
OpenSSL-0.9.8g, OpenLDAP-2.3.39, libusb-0.1.12, cURL-7.16.3, an MTA, DocBook-utils-0.6.14, and docbook-to-man
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnupg
Install GnuPG by running the following commands:
./configure --prefix=/usr --libexecdir=/usr/lib && make
If you have teTeX-3.0 installed and you wish to create documentation in alternate formats, issue the following command:
make -C doc pdf html
To test the results, issue: make check.
Now, as the root
user:
make install && chmod -v 4755 /usr/bin/gpg && install -v -m755 -d /usr/share/doc/gnupg-1.4.7 && mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.7 && install -v -m644 \ doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \ /usr/share/doc/gnupg-1.4.7
If you created alternate formats of the documentation, install it
using the following command as the root
user:
cp -v -R doc/gnupg1.{html,pdf} /usr/share/doc/gnupg-1.4.7
--libexecdir=/usr/lib
: This
command creates a gnupg
directory in
/usr/lib
instead of /usr/libexec
.
chmod -v 4755
/usr/bin/gpg: gpg is installed setuid
root
to avoid swapping out
sensitive data.
Last updated on 2008-08-24 11:52:33 -0500