Difference between revisions of "GnuPG"

From CBLFS
Jump to navigationJump to search
(I added the "contents" from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://public.ftp.planetmirror.com/pub/gnupg/gnupg-1.4.5.tar.bz2
+
| http://public.ftp.planetmirror.com/pub/gnupg/gnupg-{{GnuPG-Version}}.tar.bz2
 
|}
 
|}
  
Line 32: Line 32:
 
  make install &&
 
  make install &&
 
  chmod -v 4755 /usr/bin/gpg &&
 
  chmod -v 4755 /usr/bin/gpg &&
  install -v -m755 -d /usr/share/doc/gnupg-1.4.5 &&
+
  install -v -m755 -d /usr/share/doc/gnupg-{{GnuPG-Version}} &&
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
+
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-{{GnuPG-Version}} &&
 
  install -v -m644 \
 
  install -v -m644 \
 
     doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
 
     doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
     /usr/share/doc/gnupg-1.4.5
+
     /usr/share/doc/gnupg-{{GnuPG-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 77: Line 77:
 
  make install &&
 
  make install &&
 
  chmod -v 4755 /usr/bin/gpg &&
 
  chmod -v 4755 /usr/bin/gpg &&
  install -v -m755 -d /usr/share/doc/gnupg-1.4.5 &&
+
  install -v -m755 -d /usr/share/doc/gnupg-{{GnuPG-Version}} &&
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
+
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-{{GnuPG-Version}} &&
 
  install -v -m644 \
 
  install -v -m644 \
     doc/{highlights-1.4.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
+
     doc/{highlights-*.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \
     /usr/share/doc/gnupg-1.4.5
+
     /usr/share/doc/gnupg-{{GnuPG-Version}}
  
 
== Documentation ==
 
== Documentation ==
Line 93: Line 93:
 
Install the documentation:
 
Install the documentation:
  
  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-{{GnuPG-Version}}
  
  
Line 107: Line 107:
 
|-
 
|-
 
!'''Installed Directories:'''
 
!'''Installed Directories:'''
|/usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-1.4.5
+
|/usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-{{GnuPG-Version}}
 
|}
 
|}
  

Revision as of 16:30, 15 December 2006

Download Source: http://public.ftp.planetmirror.com/pub/gnupg/gnupg-2.0.12.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-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.