From d3646736e1ac98c3c4a8f327363b9ff7c24eeb09d2479e05303414626e21db95 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 11 Jun 2019 14:10:53 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-tls revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tls?expand=0&rev=50 --- ghc-tls.changes | 9 +++ ghc-tls.spec | 14 ++-- tls-1.4.1.tar.gz | 3 - tls-1.5.0.tar.gz | 3 + tls.cabal | 174 ----------------------------------------------- 5 files changed, 18 insertions(+), 185 deletions(-) delete mode 100644 tls-1.4.1.tar.gz create mode 100644 tls-1.5.0.tar.gz delete mode 100644 tls.cabal diff --git a/ghc-tls.changes b/ghc-tls.changes index 7da198f..fb39b05 100644 --- a/ghc-tls.changes +++ b/ghc-tls.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Jun 2 02:01:34 UTC 2019 - psimons@suse.com + +- Update tls to version 1.5.0. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/tls-1.5.0/src/CHANGELOG.md + ------------------------------------------------------------------- Sat Oct 20 11:32:09 UTC 2018 - Peter Simons diff --git a/ghc-tls.spec b/ghc-tls.spec index 302a768..98cf58d 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-tls # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,13 @@ %global pkg_name tls %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.1 +Version: 1.5.0 Release: 0 Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD-3-Clause Group: Development/Libraries/Haskell 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 @@ -35,6 +34,7 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cereal-devel BuildRequires: ghc-cryptonite-devel BuildRequires: ghc-data-default-class-devel +BuildRequires: ghc-hourglass-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel @@ -45,7 +45,6 @@ BuildRequires: ghc-x509-store-devel BuildRequires: ghc-x509-validation-devel %if %{with tests} BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-hourglass-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel %endif @@ -57,9 +56,9 @@ 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. +Currently implement the SSL3.0, TLS1.0, TLS1.1, TLS1.2 and TLS 1.3 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 . @@ -77,7 +76,6 @@ 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 diff --git a/tls-1.4.1.tar.gz b/tls-1.4.1.tar.gz deleted file mode 100644 index b0f2b8a..0000000 --- a/tls-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbead1afc0b808bd5cff7bddaeae84ade37f18bbe72bd78d45a2fa4ac41908f8 -size 92647 diff --git a/tls-1.5.0.tar.gz b/tls-1.5.0.tar.gz new file mode 100644 index 0000000..37e9f40 --- /dev/null +++ b/tls-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c81e18b0f452d897db773ad3ced22c45b62673f0306992f128922db2a9a0d12 +size 135544 diff --git a/tls.cabal b/tls.cabal deleted file mode 100644 index 4bb024d..0000000 --- a/tls.cabal +++ /dev/null @@ -1,174 +0,0 @@ -Name: tls -Version: 1.4.1 -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 - . -License: BSD3 -License-file: LICENSE -Copyright: Vincent Hanquez -Author: Vincent Hanquez -Maintainer: Vincent Hanquez -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 - Manual: True - -Flag network - Description: Use the base network library - Default: True - Manual: True - -Flag hans - Description: Use the Haskell Network Stack (HaNS) - Default: False - Manual: True - -Library - Build-Depends: base >= 4.7 && < 5 - , mtl >= 2 - , transformers - , cereal >= 0.4 - , bytestring - , data-default-class - -- crypto related - , memory >= 0.14.6 - , cryptonite >= 0.24 - -- certificate related - , asn1-types >= 0.2.0 - , asn1-encoding - , x509 >= 1.7.1 - , x509-store >= 1.6 - , x509-validation >= 1.6.5 - , async >= 2.0 - if flag(network) - Build-Depends: network >= 2.4.0.0 - 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.IES - Network.TLS.Crypto.Types - Network.TLS.ErrT - Network.TLS.Extension - 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 - 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 - , asn1-types - , x509 - , x509-validation - , hourglass - ghc-options: -Wall -fno-warn-unused-imports - -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 - , asn1-types - , hourglass - , QuickCheck >= 2 - , tasty-quickcheck - , tls - ghc-options: -Wall -fno-warn-unused-imports - -source-repository head - type: git - location: https://github.com/vincenthz/hs-tls - subdir: core