summaryrefslogtreecommitdiffstats
path: root/crypto/gnutls/DETAILS
blob: e9c2c17456a25cf35e5954854aa9bc68da60c27d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
           SPELL=gnutls

###
# 2006-05-19
# GNUTLS_OLD -> GNUTLS_BRANCH

if [ "$GNUTLS_OLD" == "y" ]; then
  GNUTLS_BRANCH="1.0"
fi

if [ "$GNUTLS_OLD" == "n" ]; then
  GNUTLS_BRANCH="DEFAULT"
fi
###

if [ ${GNUTLS_BRANCH%.*} == "1"] || [ "$GNUTLS_BRANCH" == "2.0" ]; then
  GNUTLS_BRANCH="DEFAULT"
fi

if [ -z "$GNUTLS_BRANCH" ] || [ "$GNUTLS_BRANCH" == "DEFAULT" ]; then
  GNUTLS_BRANCH="2.12"
fi

case $GNUTLS_BRANCH in
  2.2)
         VERSION=2.2.5
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  2.4)
         VERSION=2.4.2
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  2.6)
         VERSION=2.6.6
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  2.8)
         VERSION=2.8.6
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  2.10)
         VERSION=2.10.5
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  2.12)
         VERSION=2.12.23
          SOURCE=$SPELL-$VERSION.tar.bz2
  ;;
  3.0)
         VERSION=3.0.28
          SOURCE=$SPELL-$VERSION.tar.xz
  ;;
  3.1)
         VERSION=3.1.7
          SOURCE=$SPELL-$VERSION.tar.xz
  ;;
esac

         SOURCE2=$SOURCE.sig
  SECURITY_PATCH=8
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=ftp://ftp.gnutls.org/gcrypt/gnutls/v$GNUTLS_BRANCH/$SOURCE
  SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
      SOURCE_GPG=gnu.gpg:$SOURCE2:UPSTREAM_KEY
  SOURCE2_IGNORE=signature
        WEB_SITE=http://www.gnutls.org/
      LICENSE[0]=LGPL
      LICENSE[1]=GPL
         ENTERED=20030829
        KEYWORDS="security crypto"
           SHORT="GNU Transport Layer Security Library"
cat << EOF
GnuTLS (GNU Transport Layer Security Library) is a library which implements
a secure
layer over a reliable transport layer. Currently the GnuTLS library implements
the proposed standards by the IETF's TLS working group.

Quoting from RFC2246 - the TLS 1.0 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."
EOF