Difference between revisions of "GnuPG"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "contents" from BLFS.)
Line 94: Line 94:
  
 
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-1.4.5
 
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-1.4.5
 +
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-
 +
! '''Installed Programs:'''
 +
| gpg, gpg-zip, gpgsplit, and gpgv
 +
|-
 +
! '''Installed Libraries:'''
 +
| None
 +
|-
 +
!'''Installed Directories:'''
 +
|/usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-1.4.5
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-
 +
! '''gpg'''
 +
| is the backend (command-line interface) for this OpenPGP implementation.
 +
|-
 +
! '''gpgsplit'''
 +
| separates key rings.
 +
|-
 +
! '''gpgv'''
 +
| is a verify only version of gpg.
 +
|}

Revision as of 13:11, 7 December 2006

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

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

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-1.4.5 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-1.4.5

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-1.4.5 &&
mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
install -v -m644 \
    doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
    /usr/share/doc/gnupg-1.4.5

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-1.4.5


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-1.4.5

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.