           SPELL=libressl
case "$LIBRESSL_BRANCH"
in  devel|4.2)
         VERSION=4.2.1
;; stable|4.1)
         VERSION=4.1.2
;; 4.0)
         VERSION=4.0.0
;; 3.9)
         VERSION=3.9.2
;; 3.8)
         VERSION=3.8.4
;; 3.7)
         VERSION=3.7.3
;; 3.6)
         VERSION=3.6.3
  SECURITY_PATCH=12
;; 3.5)
         VERSION=3.5.4
  SECURITY_PATCH=12
;; 3.4)
         VERSION=3.4.3
  SECURITY_PATCH=11
;; 3.3)
         VERSION=3.3.6
  SECURITY_PATCH=11
;; 3.2)
         VERSION=3.2.7
  SECURITY_PATCH=11
;; 3.1)
         VERSION=3.1.5
  SECURITY_PATCH=10
;; 2.9)
         VERSION=2.9.2
  SECURITY_PATCH=8
;; *)
         VERSION=2.8.3
  SECURITY_PATCH=8
;; esac
          SOURCE=$SPELL-$VERSION.tar.gz
         SOURCE2=$SOURCE.asc
   SOURCE_URL[0]=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$SOURCE
   SOURCE_URL[1]=http://ftp.sourcemage.us/mirror/$SPELL/$SOURCE
# Watch: http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ libressl-([0-9.]+)[.]tar
  SOURCE2_URL[0]=$SOURCE_URL.asc
  SOURCE2_URL[1]=${SOURCE_URL[1]}.asc
      SOURCE_GPG=libressl.gpg:$SOURCE2:UPSTREAM_KEY
  SOURCE2_IGNORE=signature
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
        WEB_SITE=http://www.libressl.org/
      LICENSE[0]=BSD
      LICENSE[1]=APACHE
      LICENSE[2]=ISC
      LICENSE[3]=PD
         ENTERED=20140819
        KEYWORDS="ssl tls"
           SHORT="SSL/TLS protocol"
cat << EOF
LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, with
goals of modernizing the codebase, improving security, and applying best
practice development processes.
EOF
