synchronize with lts:8 from configuration b099e9d7d96777a669f3ad2cb719ba73f50b4189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tls?expand=0&rev=24
This commit is contained in:
parent
cd867ce3a9
commit
3a60390031
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 12:38:43 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update to version 1.3.10 revision 1 with cabal2obs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 18 09:00:21 UTC 2017 - psimons@suse.com
|
||||
|
||||
|
@ -19,13 +19,14 @@
|
||||
%global pkg_name tls
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.3.9
|
||||
Version: 1.3.10
|
||||
Release: 0
|
||||
Summary: TLS/SSL protocol native implementation (Server and Client)
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Other
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-asn1-encoding-devel
|
||||
BuildRequires: ghc-asn1-types-devel
|
||||
@ -77,6 +78,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
3
tls-1.3.10.tar.gz
Normal file
3
tls-1.3.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9f057d0f40dda5ce8d0f0e0f2a06087be8007c41462c6cab19774538c35e0171
|
||||
size 94684
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81355e16528796d3097719e74f7f1f8cae50daed06926d1995731bab8e02267b
|
||||
size 88354
|
168
tls.cabal
Normal file
168
tls.cabal
Normal file
@ -0,0 +1,168 @@
|
||||
Name: tls
|
||||
Version: 1.3.10
|
||||
x-revision: 1
|
||||
Description:
|
||||
Native Haskell TLS and SSL protocol implementation for server and client.
|
||||
.
|
||||
This provides a high-level implementation of a sensitive security protocol,
|
||||
eliminating a common set of security issues through the use of the advanced
|
||||
type system, high level constructions and common Haskell features.
|
||||
.
|
||||
Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol,
|
||||
and support RSA and Ephemeral (Elliptic curve and regular) Diffie Hellman key exchanges,
|
||||
and many extensions.
|
||||
.
|
||||
Some debug tools linked with tls, are available through the
|
||||
<http://hackage.haskell.org/package/tls-debug/>.
|
||||
License: BSD3
|
||||
License-file: LICENSE
|
||||
Copyright: Vincent Hanquez <vincent@snarc.org>
|
||||
Author: Vincent Hanquez <vincent@snarc.org>
|
||||
Maintainer: Vincent Hanquez <vincent@snarc.org>
|
||||
Synopsis: TLS/SSL protocol native implementation (Server and Client)
|
||||
Build-Type: Simple
|
||||
Category: Network
|
||||
stability: experimental
|
||||
Cabal-Version: >=1.8
|
||||
Homepage: http://github.com/vincenthz/hs-tls
|
||||
extra-source-files: Tests/*.hs
|
||||
CHANGELOG.md
|
||||
|
||||
Flag compat
|
||||
Description: Accept SSLv2 client hello for beginning SSLv3 / TLS handshake
|
||||
Default: True
|
||||
|
||||
Flag network
|
||||
Description: Use the base network library
|
||||
Default: True
|
||||
|
||||
Flag hans
|
||||
Description: Use the Haskell Network Stack (HaNS)
|
||||
Default: False
|
||||
|
||||
Library
|
||||
Build-Depends: base >= 4.6 && < 5
|
||||
, mtl >= 2 && < 2.3
|
||||
, transformers < 0.6
|
||||
, cereal >= 0.4 && < 0.6
|
||||
, bytestring < 0.11
|
||||
, data-default-class < 0.2
|
||||
-- crypto related
|
||||
, memory < 0.15
|
||||
, cryptonite >= 0.21 && < 0.23
|
||||
-- certificate related
|
||||
, asn1-types >= 0.2.0 && < 0.4
|
||||
, asn1-encoding < 0.10
|
||||
, x509 >= 1.6.5 && < 1.7
|
||||
, x509-store >= 1.6 && < 1.7
|
||||
, x509-validation >= 1.6.5 && < 1.7
|
||||
, async >= 2.0 && < 2.2
|
||||
if flag(network)
|
||||
Build-Depends: network >= 2.4.0.0 && < 2.7
|
||||
cpp-options: -DINCLUDE_NETWORK
|
||||
if flag(hans)
|
||||
Build-Depends: hans
|
||||
cpp-options: -DINCLUDE_HANS
|
||||
Exposed-modules: Network.TLS
|
||||
Network.TLS.Cipher
|
||||
Network.TLS.Compression
|
||||
Network.TLS.Internal
|
||||
Network.TLS.Extra
|
||||
Network.TLS.Extra.Cipher
|
||||
Network.TLS.Extra.FFDHE
|
||||
other-modules: Network.TLS.Cap
|
||||
Network.TLS.Struct
|
||||
Network.TLS.Core
|
||||
Network.TLS.Context
|
||||
Network.TLS.Context.Internal
|
||||
Network.TLS.Credentials
|
||||
Network.TLS.Backend
|
||||
Network.TLS.Crypto
|
||||
Network.TLS.Crypto.DH
|
||||
Network.TLS.Crypto.ECDH
|
||||
Network.TLS.ErrT
|
||||
Network.TLS.Extension
|
||||
Network.TLS.Extension.EC
|
||||
Network.TLS.Handshake
|
||||
Network.TLS.Handshake.Common
|
||||
Network.TLS.Handshake.Certificate
|
||||
Network.TLS.Handshake.Key
|
||||
Network.TLS.Handshake.Client
|
||||
Network.TLS.Handshake.Server
|
||||
Network.TLS.Handshake.Process
|
||||
Network.TLS.Handshake.Signature
|
||||
Network.TLS.Handshake.State
|
||||
Network.TLS.Hooks
|
||||
Network.TLS.IO
|
||||
Network.TLS.Imports
|
||||
Network.TLS.MAC
|
||||
Network.TLS.Measurement
|
||||
Network.TLS.Packet
|
||||
Network.TLS.Parameters
|
||||
Network.TLS.Record
|
||||
Network.TLS.Record.Types
|
||||
Network.TLS.Record.Engage
|
||||
Network.TLS.Record.Disengage
|
||||
Network.TLS.Record.State
|
||||
Network.TLS.RNG
|
||||
Network.TLS.State
|
||||
Network.TLS.Session
|
||||
Network.TLS.Sending
|
||||
Network.TLS.Receiving
|
||||
Network.TLS.Util
|
||||
Network.TLS.Util.ASN1
|
||||
Network.TLS.Util.Serialization
|
||||
Network.TLS.Types
|
||||
Network.TLS.Wire
|
||||
Network.TLS.X509
|
||||
ghc-options: -Wall -fwarn-tabs -fno-warn-unused-imports
|
||||
if flag(compat)
|
||||
cpp-options: -DSSLV2_COMPATIBLE
|
||||
|
||||
Test-Suite test-tls
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: Tests
|
||||
Main-is: Tests.hs
|
||||
other-modules: Certificate
|
||||
Ciphers
|
||||
Connection
|
||||
Marshalling
|
||||
PipeChan
|
||||
PubKey
|
||||
Build-Depends: base >= 3 && < 5
|
||||
, mtl
|
||||
, cereal >= 0.3
|
||||
, data-default-class
|
||||
, tasty
|
||||
, tasty-quickcheck
|
||||
, tls
|
||||
, QuickCheck
|
||||
, cryptonite
|
||||
, bytestring
|
||||
, x509
|
||||
, x509-validation
|
||||
, hourglass
|
||||
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures -fwarn-tabs
|
||||
|
||||
Benchmark bench-tls
|
||||
hs-source-dirs: Benchmarks Tests
|
||||
Main-Is: Benchmarks.hs
|
||||
type: exitcode-stdio-1.0
|
||||
Build-depends: base >= 4 && < 5
|
||||
, tls
|
||||
, x509
|
||||
, x509-validation
|
||||
, data-default-class
|
||||
, cryptonite
|
||||
, criterion >= 1.0
|
||||
, mtl
|
||||
, bytestring
|
||||
, hourglass
|
||||
, QuickCheck >= 2
|
||||
, tasty-quickcheck
|
||||
, tls
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/vincenthz/hs-tls
|
||||
subdir: core
|
Loading…
Reference in New Issue
Block a user