Difference between revisions of "GnuPG"

From CBLFS
Jump to navigationJump to search
Line 6: Line 6:
  
 
----
 
----
 
== Introduction to GnuPG ==
 
 
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.
 
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 22:38, 11 January 2007

Download Source: http://public.ftp.planetmirror.com/pub/gnupg/gnupg-2.0.12.tar.bz2

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&
chmod -v 4755 /usr/bin/gpg &&
install -v -m755 -d /usr/share/doc/gnupg-2.0.12 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-2.0.12 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-2.0.12

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --libexecdir=/usr/lib &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --libexecdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --libexecdir=/usr/lib64 &&
make

Install the package

make install &&
chmod -v 4755 /usr/bin/gpg &&
install -v -m755 -d /usr/share/doc/gnupg-2.0.12 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-2.0.12 &&
install -v -m644 \
    doc/{highlights-*.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-2.0.12

Documentation

If you would like to building the documentation and have TeTeX installed run the following command:

make -C doc pdf ps html &&
makeinfo --plaintext -o doc/gpg.txt doc/gpg.texi &&
makeinfo --plaintext -o doc/gpgv.txt doc/gpgv.texi

Install the documentation:

cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-2.0.12


Contents

Installed Programs: gpg, gpg-zip, gpgsplit, and gpgv
Installed Libraries: None
Installed Directories: /usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-2.0.12

Short Descriptions

gpg is the backend (command-line interface) for this OpenPGP implementation.
gpgsplit separates key rings.
gpgv is a verify only version of gpg.