Difference between revisions of "GnuTLS"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
(64Bit: now uses pkgconfig)
 
(19 intermediate revisions by 10 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gnutls.org/pub/gnutls/gnutls-1.4.4.tar.bz2
+
| ftp://ftp.gnutls.org/pub/gnutls/gnutls-{{GnuTLS-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
  
== Introduction to GnuTLS ==
+
{{Package-Introduction|According to the TLS protocol specification, "The TLS protocol provides communications privacy over the Internet. The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery." GnuTLS aims to develop a library which provides a secure layer, over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.|http://www.gnu.org/software/gnutls/}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 15: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[libGCrypt]]
 
* [[libGCrypt]]
 +
* [[Pkg-config]]
 +
 
=== Optional ===
 
=== Optional ===
* [[DMalloc]]
+
* [[Dmalloc]]
* [[Electric Fence]]
+
* [[DUMA]]
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
 
* [[OpenCDK]] (Included)
 
* [[OpenCDK]] (Included)
Line 23: Line 23:
 
* [[libcfg]]
 
* [[libcfg]]
 
* [[libfc]]
 
* [[libfc]]
* [[LZO]]
+
* [[LZO2]]
 +
* [[valgrind]]
 +
* [[Guile]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 42: Line 44:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
+
export USE_ARCH=32 &&
 +
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr &&
 
  make
 
  make
  
Line 48: Line 53:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/libgnutls-config{,-32} &&
+
  unset USE_ARCH
mv -v /usr/bin/libgnutls-extra-config{,-32}
 
  
 
=== N32 ===
 
=== N32 ===
Line 55: Line 59:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
+
export USE_ARCH=n32 &&
    --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 62: Line 68:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/libgnutls-config{,-n32} &&
+
  unset USE_ARCH
mv -v /usr/bin/libgnutls-extra-config{,-n32}
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 69: Line 74:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
+
export USE_ARCH=64 &&
    --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 76: Line 83:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/libgnutls-config{,-64} &&
+
  unset USE_ARCH
mv -v /usr/bin/libgnutls-extra-config{,-64} &&
 
ln -sfv multiarch_wrapper /usr/bin/libgnutls-config &&
 
ln -sfv multiarch_wrapper /usr/bin/libgnutls-extra-config
 
  
 
= Contents =
 
= Contents =
Line 86: Line 90:
 
|-
 
|-
 
! Installed Programs:
 
! Installed Programs:
| ???
+
| libgnutls-config, libgnutls-extra-config, gnutls-serv, gnutls-cli, psktool, gnutls-cli-debug, certtool, srptool
 
|-
 
|-
 
! Installed Libraries:
 
! Installed Libraries:
| ???
+
| libgnutls.{a,la,so}, libgnutlsxx.{a,la,so}, libgnutls-extra.{a,la,so}, libgnutls-openssl.{a,la,so}
 
|-
 
|-
 
! Installed Directories:
 
! Installed Directories:
| ???
+
| /usr/include/gnutls
 
|}
 
|}
  
=== Short Descriptions ===
+
[[Category:General Libs]]
 
 
{| style="text-align: left;"
 
|-
 
! program1
 
| ???
 
|-
 
! program2
 
| ???
 
|}
 

Latest revision as of 17:04, 12 April 2010

Download Source: ftp://ftp.gnutls.org/pub/gnutls/gnutls-2.8.6.tar.bz2

Introduction to GnuTLS

According to the TLS protocol specification, "The TLS protocol provides communications privacy over the Internet. The protocol allows client/server applications to communicate in a way that is designed to prevent eavesdropping, tampering, or message forgery." GnuTLS aims to develop a library which provides a secure layer, over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group.

Project Homepage: http://www.gnu.org/software/gnutls/

Dependencies

Required

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
unset USE_ARCH

Contents

Installed Programs: libgnutls-config, libgnutls-extra-config, gnutls-serv, gnutls-cli, psktool, gnutls-cli-debug, certtool, srptool
Installed Libraries: libgnutls.{a,la,so}, libgnutlsxx.{a,la,so}, libgnutls-extra.{a,la,so}, libgnutls-openssl.{a,la,so}
Installed Directories: /usr/include/gnutls
Retrieved from "?title=GnuTLS&oldid=20020"