Difference between revisions of "GnuTLS"
From CBLFS
Jump to navigationJump to searchm |
(→Multilib) |
||
Line 42: | Line 42: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" | + | export USE_ARCH=32 && |
+ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 50: | Line 51: | ||
make install && | make install && | ||
mv -v /usr/bin/libgnutls-config{,-32} && | mv -v /usr/bin/libgnutls-config{,-32} && | ||
− | mv -v /usr/bin/libgnutls-extra-config{,-32} | + | mv -v /usr/bin/libgnutls-extra-config{,-32} && |
+ | unset USE_ARCH | ||
=== N32 === | === N32 === | ||
Line 56: | Line 58: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" | + | export USE_ARCH=n32 && |
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib32 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
Line 64: | Line 67: | ||
make install && | make install && | ||
mv -v /usr/bin/libgnutls-config{,-n32} && | mv -v /usr/bin/libgnutls-config{,-n32} && | ||
− | mv -v /usr/bin/libgnutls-extra-config{,-n32} | + | mv -v /usr/bin/libgnutls-extra-config{,-n32} && |
+ | unset USE_ARCH | ||
=== 64Bit === | === 64Bit === | ||
Line 70: | Line 74: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" | + | export USE_ARCH=64 && |
+ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
./configure --prefix=/usr --libdir=/usr/lib64 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Line 80: | Line 85: | ||
mv -v /usr/bin/libgnutls-extra-config{,-64} && | mv -v /usr/bin/libgnutls-extra-config{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/libgnutls-config && | ln -sfv multiarch_wrapper /usr/bin/libgnutls-config && | ||
− | ln -sfv multiarch_wrapper /usr/bin/libgnutls-extra-config | + | ln -sfv multiarch_wrapper /usr/bin/libgnutls-extra-config && |
+ | unset USE_ARCH | ||
= Contents = | = Contents = |
Revision as of 06:35, 21 September 2008
Download Source: | ftp://ftp.gnutls.org/pub/gnutls/gnutls-2.8.6.tar.bz2 |
---|
Contents
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
- Dmalloc
- Electric Fence
- Gtk-Doc
- OpenCDK (Included)
- LibtASN1 (Included)
- libcfg
- libfc
- LZO2
- valgrind
- Guile
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}" \ ./configure --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/libgnutls-config{,-32} && mv -v /usr/bin/libgnutls-extra-config{,-32} && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/libgnutls-config{,-n32} && mv -v /usr/bin/libgnutls-extra-config{,-n32} && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/libgnutls-config{,-64} && 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 && 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 |