Difference between revisions of "GnuPG"

From CBLFS
Jump to navigationJump to search
 
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://public.ftp.planetmirror.com/pub/gnupg/gnupg-1.4.3.tar.bz2
+
| http://public.ftp.planetmirror.com/pub/gnupg/gnupg-1.4.5.tar.bz2
 
|}
 
|}
  
Line 28: Line 28:
 
  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.3 &&
+
  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.3 &&
+
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
 
  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} \
Line 74: Line 74:
 
  chmod -v 4755 /usr/bin/gpg &&
 
  chmod -v 4755 /usr/bin/gpg &&
 
  install -v -m755 -d /usr/share/doc/gnupg-1.4.3 &&
 
  install -v -m755 -d /usr/share/doc/gnupg-1.4.3 &&
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.3 &&
+
  mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-1.4.5 &&
 
  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.3
+
     /usr/share/doc/gnupg-1.4.5
  
 
== Documentation ==
 
== Documentation ==
Line 89: Line 89:
 
Install the documentation:
 
Install the documentation:
  
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-1.4.3
+
  cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-1.4.5

Revision as of 06:31, 13 October 2006

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

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.3 &&
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