Difference between revisions of "GnuPG"

From CBLFS
Jump to navigationJump to search
(Undo revision 16284 by Animeloe (Talk))
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-{{GnuPG-Version}}.tar.bz2
 
| ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-{{GnuPG-Version}}.tar.bz2
 +
|-valign="top"
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/gnupg/gnupg-{{GnuPG-Version}}-curl_typefix-1.patch
 
|}
 
|}
  
Line 26: Line 29:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
Apply a patch that fixes compilation problems with [[Curl]] on specific architectures:
 +
 +
patch -Np1 -i ../gnupg-{{GnuPG-Version}}-curl_typefix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 46: Line 53:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
Apply a patch that fixes compilation problems with [[Curl]] on specific architectures:
 +
 +
patch -Np1 -i ../gnupg-{{GnuPG-Version}}-curl_typefix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 58: Line 69:
  
 
=== N32 ===
 
=== N32 ===
 +
 +
Apply a patch that fixes compilation problems with [[Curl]] on specific architectures:
 +
 +
patch -Np1 -i ../gnupg-{{GnuPG-Version}}-curl_typefix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 70: Line 85:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
Apply a patch that fixes compilation problems with [[Curl]] on specific architectures:
 +
 +
patch -Np1 -i ../gnupg-{{GnuPG-Version}}-curl_typefix-1.patch
  
 
Compile the package:
 
Compile the package:
Line 98: Line 117:
  
 
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-{{GnuPG-Version}}
 
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-{{GnuPG-Version}}
 
  
 
= Contents =
 
= Contents =

Revision as of 19:40, 15 December 2008

Download Source: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.12.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/gnupg/gnupg-2.0.12-curl_typefix-1.patch

Introduction to GnuPG

GnuPG is the GNU project's implementation of the OpenPGP standard as defined by RFC 2440 . GnuPG allows you to encrypt and sign your data and communication. It features a versatile key managment system as well as access modules for all kind of public key directories.

Project Homepage: http://www.gnupg.org/index.html

Dependencies

Required

Optional

Non-Multilib

Apply a patch that fixes compilation problems with Curl on specific architectures:

patch -Np1 -i ../gnupg-2.0.12-curl_typefix-1.patch

Compile the package:

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

Install the package

make install &&
chmod -v 4755 /usr/bin/gpg2 &&
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

Apply a patch that fixes compilation problems with Curl on specific architectures:

patch -Np1 -i ../gnupg-2.0.12-curl_typefix-1.patch

Compile the package:

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

Install the package

make install

N32

Apply a patch that fixes compilation problems with Curl on specific architectures:

patch -Np1 -i ../gnupg-2.0.12-curl_typefix-1.patch

Compile the package:

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

Install the package

make install

64Bit

Apply a patch that fixes compilation problems with Curl on specific architectures:

patch -Np1 -i ../gnupg-2.0.12-curl_typefix-1.patch

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/gpg2 &&
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

gpg2 is the OpenPGP command line tool.
gpgsplit splits OpenPGP messages or keyrings into their component packets.
gpgv is a stripped down version of gpg with no encryption functionality
Retrieved from "?title=GnuPG&oldid=16286"