Difference between revisions of "GnuPG"
From CBLFS
Jump to navigationJump to search (I added the "contents" from BLFS.) |
|||
(22 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
− | |- | + | |-valign="top" |
!Download Source: | !Download Source: | ||
− | | | + | | ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-{{GnuPG-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|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.|http://www.gnupg.org/index.html}} | |
− | + | == Dependencies == | |
− | == | + | === Required === |
+ | * [[GNU Pth]] | ||
+ | * [[libGCrypt]] | ||
+ | * [[libassuan]] | ||
+ | * [[libksba]] | ||
=== Optional === | === Optional === | ||
Line 25: | Line 29: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr --libexecdir=/usr/lib && | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --libexecdir=/usr/lib && | ||
make | make | ||
Line 31: | Line 36: | ||
make install && | make install && | ||
− | chmod -v 4755 /usr/bin/ | + | ln -sv gpg2 /usr/bin/gpg && |
− | install -v -m755 -d /usr/share/doc/gnupg- | + | chmod -v 4755 /usr/bin/gpg2 && |
− | mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg- | + | install -v -m755 -d /usr/share/doc/gnupg-{{GnuPG-Version}} && |
+ | 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- | + | /usr/share/doc/gnupg-{{GnuPG-Version}} |
== Multilib == | == Multilib == | ||
'''''This package does not provide any libraries so only one installation is needed.''''' | '''''This package does not provide any libraries so only one installation is needed.''''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== 64Bit === | === 64Bit === | ||
Line 70: | Line 52: | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
− | --libdir=/usr/lib64 --libexecdir=/usr/lib64 && | + | --sysconfdir=/etc --libdir=/usr/lib64 \ |
+ | --libexecdir=/usr/lib64 && | ||
make | make | ||
Line 76: | Line 59: | ||
make install && | make install && | ||
− | chmod -v 4755 /usr/bin/ | + | ln -sv gpg2 /usr/bin/gpg && && |
− | install -v -m755 -d /usr/share/doc/gnupg- | + | chmod -v 4755 /usr/bin/gpg2 && |
− | mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg- | + | install -v -m755 -d /usr/share/doc/gnupg-{{GnuPG-Version}} && |
+ | mv -v /usr/share/gnupg/{FAQ,faq.html} /usr/share/doc/gnupg-{{GnuPG-Version}} && | ||
install -v -m644 \ | install -v -m644 \ | ||
− | doc/{highlights- | + | doc/{highlights-*.txt,OpenPGP,samplekeys.asc,DETAILS,*.texi} \ |
− | /usr/share/doc/gnupg- | + | /usr/share/doc/gnupg-{{GnuPG-Version}} |
== Documentation == | == Documentation == | ||
Line 93: | Line 77: | ||
Install the documentation: | Install the documentation: | ||
− | cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg- | + | cp -v -R doc/gpg{,v}.{dvi,html,pdf,ps,txt} /usr/share/doc/gnupg-{{GnuPG-Version}} |
− | |||
= Contents = | = Contents = | ||
Line 107: | Line 90: | ||
|- | |- | ||
!'''Installed Directories:''' | !'''Installed Directories:''' | ||
− | |/usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg- | + | |/usr/lib/gnupg, /usr/share/gnupg and /usr/share/doc/gnupg-{{GnuPG-Version}} |
|} | |} | ||
Line 113: | Line 96: | ||
{| style="text-align: left;" | {| style="text-align: left;" | ||
− | |- | + | |-valign="top" |
− | ! | + | ! gpg2 |
− | | is the | + | | is the OpenPGP command line tool. |
− | |- | + | |-valign="top" |
− | ! | + | ! gpgsplit |
− | | | + | | splits OpenPGP messages or keyrings into their component packets. |
− | |- | + | |-valign="top" |
− | ! | + | ! gpgv |
− | | is a | + | | is a stripped down version of '''gpg''' with no encryption functionality |
|} | |} | ||
+ | |||
+ | [[Category:Security]] |
Latest revision as of 19:48, 8 June 2009
Download Source: | ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.12.tar.bz2 |
---|
Contents
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
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib && make
Install the package
make install && ln -sv gpg2 /usr/bin/gpg && 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.
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --sysconfdir=/etc --libdir=/usr/lib64 \ --libexecdir=/usr/lib64 && make
Install the package
make install && ln -sv gpg2 /usr/bin/gpg && && 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 |