From 57f87b6d6b33825b66e23bf4a09b0b1db0fb3533 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 25 Sep 2017 13:06:05 +0000 Subject: [PATCH 01/30] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c1d3bc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-tls + +The ghc-tls package \ No newline at end of file From 42bbf090c9cf1714e9bbaf8861d29de2128186e8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 25 Sep 2017 13:54:33 -0400 Subject: [PATCH 02/30] Initial import (#1495018). --- .gitignore | 1 + README.md | 3 -- ghc-tls.spec | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 130 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-tls.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f5c7f93 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tls-1.4.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 3c1d3bc..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-tls - -The ghc-tls package \ No newline at end of file diff --git a/ghc-tls.spec b/ghc-tls.spec new file mode 100644 index 0000000..3a7d9a6 --- /dev/null +++ b/ghc-tls.spec @@ -0,0 +1,128 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name tls +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 1.4.0 +Release: 1.git.0.35b2e21%{?dist} +Summary: TLS/SSL protocol native implementation (Server and Client) + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-asn1-encoding-devel +BuildRequires: ghc-asn1-types-devel +BuildRequires: ghc-async-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-cereal-devel +BuildRequires: ghc-cryptonite-devel +BuildRequires: ghc-data-default-class-devel +BuildRequires: ghc-memory-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-network-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-x509-devel +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 +# End cabal-rpm deps + +%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 +. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.md + + +%changelog +* Sun Sep 24 2017 Elliott Sales de Andrade 1.4.0-1 +- Update to latest version. +- Update to latest spec template. + +* Sun Jul 23 2017 Elliott Sales de Andrade 1.3.10-2 +- Update to almost-latest version. +- Add patch enabling newer ghc-x509. + +* Fri Jul 21 2017 Elliott Sales de Andrade 1.3.5-5 +- Bump for Fedora 26. + +* Fri Dec 16 2016 Elliott Sales de Andrade - 1.3.5-4 +- spec file generated by cabal-rpm-0.10.0 +- Update release to be newer than previous builds + +* Sun May 01 2016 Elliott Sales de Andrade - 1.3.5-3 +- Bump to rebuild against new dependencies + +* Fri Apr 29 2016 Elliott Sales de Andrade - 1.3.5-2 +- Bump to rebuild against dependencies + +* Sun Apr 24 2016 Elliott Sales de Andrade - 1.3.5-1 +- update to 1.3.5 + +* Sun Aug 23 2015 Ben Boeckel - 1.3.1-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..5802169 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tls-1.4.0.tar.gz) = f4130b19c764f3423481b23c0d8f09540baf6cbb066045796ac28f030a3c43ac0efd342fe1ceceb0aa4d33a9cfc3b2c9d5d216e758a43a31d32a1fbee022921a From 4f8661cc5620c8ba3a5ba1dbe3dc409cec21983f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 25 Sep 2017 13:54:59 -0400 Subject: [PATCH 03/30] Fix release number. --- ghc-tls.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 3a7d9a6..7a4359e 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.0 -Release: 1.git.0.35b2e21%{?dist} +Release: 1%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD From fbd5a8ebcb8091f0e254624cbf2d92573d46993b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:12:11 +0100 Subject: [PATCH 04/30] refresh to cabal-rpm-0.12.1 --- ghc-tls.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 7a4359e..685aa9a 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.2 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -58,9 +58,12 @@ Some debug tools linked with tls, are available through the %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -83,6 +86,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 4c6d2e3de00201b66af98c3031002d1deeb32ac3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 12:01:23 +0100 Subject: [PATCH 05/30] bump release --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 685aa9a..4a58dbd 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 1.4.0-2 +- rebuild + * Sun Sep 24 2017 Elliott Sales de Andrade 1.4.0-1 - Update to latest version. - Update to latest spec template. From 7a8a01a48dd22bf63cf181e49c545ff90fba322b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:37 +0900 Subject: [PATCH 06/30] drop ldconfig scriptlets --- ghc-tls.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 4a58dbd..460f2e1 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -86,12 +86,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 4b76cd8810460b6c3e7b46ed83f5a7a233f933a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 12:15:33 +0000 Subject: [PATCH 07/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 460f2e1..cdb8584 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 1.4.0-2 - rebuild From a448bef2423c076cd4ae1bea93316bf848af0c7b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 9 Jul 2018 01:03:58 -0400 Subject: [PATCH 08/30] update to 1.4.1 --- .gitignore | 1 + ghc-tls.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f5c7f93..420a1f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tls-1.4.0.tar.gz +/tls-1.4.1.tar.gz diff --git a/ghc-tls.spec b/ghc-tls.spec index cdb8584..7888b61 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.0 -Release: 3%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 09 2018 Elliott Sales de Andrade - 1.4.1-1 +- update to 1.4.1 + * Wed Feb 07 2018 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 5802169..e2d80d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tls-1.4.0.tar.gz) = f4130b19c764f3423481b23c0d8f09540baf6cbb066045796ac28f030a3c43ac0efd342fe1ceceb0aa4d33a9cfc3b2c9d5d216e758a43a31d32a1fbee022921a +SHA512 (tls-1.4.1.tar.gz) = a72435af9d3188fb19d6367089bc598ec17e845eccfbeb3457da89c3a3eb3f47b6041b4d2be6bff63e0c40e110b1eb8b176380e5acb82641869df4dfb871d9fd From 2650ddefe635fba09f9894b57a15f5ef472ad02c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:12:17 +0000 Subject: [PATCH 09/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 7888b61..526fc3b 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jul 09 2018 Elliott Sales de Andrade - 1.4.1-1 - update to 1.4.1 From b433ca8d18e8979fa11a37af80c3613b48c59870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 23 Jul 2018 13:41:40 +0200 Subject: [PATCH 10/30] Rebuilt for #1607054 --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 526fc3b..fb663dc 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 23 2018 Miro Hrončok - 1.4.1-3 +- Rebuilt for #1607054 + * Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From e9e304fdecbefd083636a08fcc20e201aa11a641 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:06:16 +0900 Subject: [PATCH 11/30] rebuild --- ghc-tls.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index fb663dc..5836b32 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 1.4.1-4 +- rebuild + * Mon Jul 23 2018 Miro Hrončok - 1.4.1-3 - Rebuilt for #1607054 From b225ed8c3cb822546c76b419d085d09aa5fe6c4f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 22:08:10 +0000 Subject: [PATCH 12/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 5836b32..c5cf779 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 1.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 1.4.1-4 - rebuild From a17e68cf961eba7db05046c64ca6e0f108e1bf00 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:47:31 +0800 Subject: [PATCH 13/30] refresh to cabal-rpm-0.13 --- ghc-tls.spec | 21 +++++- tls-1.4.1.cabal | 174 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 192 insertions(+), 3 deletions(-) create mode 100644 tls-1.4.1.cabal diff --git a/ghc-tls.spec b/ghc-tls.spec index c5cf779..8c00582 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -8,16 +8,19 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-async-devel @@ -71,15 +74,22 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -95,7 +105,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -103,6 +115,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 1.4.1-6 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/tls-1.4.1.cabal b/tls-1.4.1.cabal new file mode 100644 index 0000000..24068a7 --- /dev/null +++ b/tls-1.4.1.cabal @@ -0,0 +1,174 @@ +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 From f8b9add1067cec207d69910734fc5b59ef207f02 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 03:07:35 +0000 Subject: [PATCH 14/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 8c00582..82bc9d3 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -115,6 +115,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 1.4.1-6 - refresh to cabal-rpm-0.13 From 17cbf17b8de380fdc3d9a7e0f30ad6f2e6a25957 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:26:26 +0000 Subject: [PATCH 15/30] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-tls.spec | 53 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 82bc9d3..436b604 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -20,6 +20,12 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel @@ -61,11 +67,8 @@ Some debug tools linked with tls, are available through the %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} @@ -73,6 +76,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -96,14 +118,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -114,7 +128,20 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %doc CHANGELOG.md +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog +* Fri Aug 02 2019 Jens Petersen - 1.4.1-8 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 1.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a9d99cf147a4f2dc3c74cc0a94c98aabd2f53da9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:25 +0800 Subject: [PATCH 16/30] BR prof for lib and static for executable --- ghc-tls.spec | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 436b604..ea85d6b 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -20,27 +20,22 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-asn1-encoding-devel -BuildRequires: ghc-asn1-types-devel -BuildRequires: ghc-async-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-cereal-devel -BuildRequires: ghc-cryptonite-devel -BuildRequires: ghc-data-default-class-devel -BuildRequires: ghc-memory-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-network-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-x509-devel -BuildRequires: ghc-x509-store-devel -BuildRequires: ghc-x509-validation-devel +BuildRequires: ghc-asn1-encoding-prof +BuildRequires: ghc-asn1-types-prof +BuildRequires: ghc-async-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-cereal-prof +BuildRequires: ghc-cryptonite-prof +BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-memory-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-x509-prof +BuildRequires: ghc-x509-store-prof +BuildRequires: ghc-x509-validation-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hourglass-devel @@ -67,6 +62,7 @@ Some debug tools linked with tls, are available through the %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif From 22399ab1d18f3bdf6065fa4d9c6e082421941d73 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:33:03 +0000 Subject: [PATCH 17/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index ea85d6b..e708935 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -135,6 +135,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1.4.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 02 2019 Jens Petersen - 1.4.1-8 - add doc and prof subpackages (cabal-rpm-1.0.0) From abfe457e41bac8c4fd5ec66c9f281a287841c2f2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:52:28 +0800 Subject: [PATCH 18/30] refresh to cabal-rpm-2.0.2 --- ghc-tls.spec | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index e708935..6db13f4 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name tls @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.4.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -75,6 +75,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -85,6 +86,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -114,6 +116,16 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -126,6 +138,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif @@ -135,6 +148,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Wed Feb 19 2020 Jens Petersen - 1.4.1-10 +- refresh to cabal-rpm-2.0.2 + * Tue Jan 28 2020 Fedora Release Engineering - 1.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8f321787ac57560c518157b23163aeb4d5980712 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:28:41 +0800 Subject: [PATCH 19/30] refresh to cabal-rpm-2.0.5 --- ghc-tls.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 6db13f4..329d872 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name tls %global pkgver %{pkg_name}-%{version} From b06a4ce1e5280c4cd3b2409c6adc10ed4dddb9e4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 Jun 2020 11:57:00 +0800 Subject: [PATCH 20/30] update to 1.5.4 --- .gitignore | 1 + ghc-tls.spec | 17 ++--- sources | 2 +- tls-1.4.1.cabal | 174 ------------------------------------------------ 4 files changed, 11 insertions(+), 183 deletions(-) delete mode 100644 tls-1.4.1.cabal diff --git a/.gitignore b/.gitignore index 420a1f1..cf0d5f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tls-1.4.0.tar.gz /tls-1.4.1.tar.gz +/tls-1.5.4.tar.gz diff --git a/ghc-tls.spec b/ghc-tls.spec index 329d872..72d2de4 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.1 -Release: 10%{?dist} +Version: 1.5.4 +Release: 1%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -29,6 +28,7 @@ BuildRequires: ghc-bytestring-prof BuildRequires: ghc-cereal-prof BuildRequires: ghc-cryptonite-prof BuildRequires: ghc-data-default-class-prof +BuildRequires: ghc-hourglass-prof BuildRequires: ghc-memory-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-network-prof @@ -38,7 +38,6 @@ BuildRequires: ghc-x509-store-prof BuildRequires: ghc-x509-validation-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-hourglass-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-quickcheck-devel %endif @@ -51,9 +50,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 . @@ -96,7 +95,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -148,6 +146,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Wed Jun 10 2020 Jens Petersen - 1.5.4-1 +- update to 1.5.4 + * Wed Feb 19 2020 Jens Petersen - 1.4.1-10 - refresh to cabal-rpm-2.0.2 diff --git a/sources b/sources index e2d80d8..d31b890 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tls-1.4.1.tar.gz) = a72435af9d3188fb19d6367089bc598ec17e845eccfbeb3457da89c3a3eb3f47b6041b4d2be6bff63e0c40e110b1eb8b176380e5acb82641869df4dfb871d9fd +SHA512 (tls-1.5.4.tar.gz) = fb95ab6012ed95d82a41810b83e6f779645fa56d46c57f34a954a6885c295737808edcdcdca9e88e5b3c663f5aee71f104fe1fdd9ab35fb6a8ade4a202376d4a diff --git a/tls-1.4.1.cabal b/tls-1.4.1.cabal deleted file mode 100644 index 24068a7..0000000 --- a/tls-1.4.1.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 From 2c953b857b8a0477ac444d117b5daf5ccea459af Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:57:19 +0800 Subject: [PATCH 21/30] refresh to cabal-rpm-2.0.6 --- ghc-tls.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 72d2de4..c898ab9 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name tls @@ -114,16 +114,6 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From 51163d160471c633333a63379fe15d4c9333d67a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:46:45 +0000 Subject: [PATCH 22/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index c898ab9..3fd5d77 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -136,6 +136,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jun 10 2020 Jens Petersen - 1.5.4-1 - update to 1.5.4 From c559b80608021c65a16e79cb997bd5860d489d47 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:36:27 +0000 Subject: [PATCH 23/30] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 3fd5d77..a7c140b 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.5.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -136,6 +136,10 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 1.5.4-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 1.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5318e1e5614e8550f76fac3549aca81238045a1a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:50:33 +0000 Subject: [PATCH 24/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index a7c140b..2e3e3f1 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.5.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -136,6 +136,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.5.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 1.5.4-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 03d1d29ed009581b01841375b0fd9c183d72e932 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:22:41 +0000 Subject: [PATCH 25/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 2e3e3f1..cc43989 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.5.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -136,6 +136,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.5.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 384f4432a13b1d67790a9323fcbc133202378bfa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:14 +0800 Subject: [PATCH 26/30] refresh to cabal-rpm-2.0.9 --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index cc43989..d7cf977 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name tls @@ -75,6 +75,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -111,7 +112,9 @@ This package provides the Haskell %{pkg_name} profiling library. %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From c9f9d5ef7aa5f2dd432cbafd719ddbed62b44e1a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:35:32 +0800 Subject: [PATCH 27/30] update to 1.5.5 --- .gitignore | 1 + ghc-tls.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cf0d5f1..bf9b03d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /tls-1.4.0.tar.gz /tls-1.4.1.tar.gz /tls-1.5.4.tar.gz +/tls-1.5.5.tar.gz diff --git a/ghc-tls.spec b/ghc-tls.spec index d7cf977..158020c 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.4 -Release: 5%{?dist} +Version: 1.5.5 +Release: 1%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -139,6 +139,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 1.5.5-1 +- update to 1.5.5 + * Thu Jul 22 2021 Fedora Release Engineering - 1.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index d31b890..f3899ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tls-1.5.4.tar.gz) = fb95ab6012ed95d82a41810b83e6f779645fa56d46c57f34a954a6885c295737808edcdcdca9e88e5b3c663f5aee71f104fe1fdd9ab35fb6a8ade4a202376d4a +SHA512 (tls-1.5.5.tar.gz) = 7fd7159e6cb9304b495e7d8235f457f06f6628a91e4184686a8aeab846c78ffca15608f55c281e09400386123732ba843b52f85415dc5a595f554f5c27068a41 From e027a6dad4a0bd0e072b237461e0eaa3c2f5e3e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:41:16 +0000 Subject: [PATCH 28/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-tls.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-tls.spec b/ghc-tls.spec index 158020c..41538b7 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 1.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -139,6 +139,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 1.5.5-1 - update to 1.5.5 From 96825c25f6705b3c6c01cb482d9ea4c7144aa7b5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 15:00:02 +0800 Subject: [PATCH 29/30] update to 1.5.7 --- .gitignore | 1 + ghc-tls.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bf9b03d..de55651 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /tls-1.4.1.tar.gz /tls-1.5.4.tar.gz /tls-1.5.5.tar.gz +/tls-1.5.7.tar.gz diff --git a/ghc-tls.spec b/ghc-tls.spec index 41538b7..90d3540 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.5 -Release: 2%{?dist} +Version: 1.5.7 +Release: 1%{?dist} Summary: TLS/SSL protocol native implementation (Server and Client) License: BSD @@ -139,6 +139,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jun 07 2022 Jens Petersen - 1.5.7-1 +- https://hackage.haskell.org/package/tls-1.5.7/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 1.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index f3899ad..0401521 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tls-1.5.5.tar.gz) = 7fd7159e6cb9304b495e7d8235f457f06f6628a91e4184686a8aeab846c78ffca15608f55c281e09400386123732ba843b52f85415dc5a595f554f5c27068a41 +SHA512 (tls-1.5.7.tar.gz) = 2facef072b3c08883d83e129ed814faedbd09437cbd4be2b50ffb03e7b436c6ad0e3ce47b0d5b753e22b2ec7c5c5797f5f92e766da817da11b091b8a571cf6ee From fa8c7f6e1cece03cf7483948f3ae67ad380b1ede Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:04:55 +0300 Subject: [PATCH 30/30] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index 0401521..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (tls-1.5.7.tar.gz) = 2facef072b3c08883d83e129ed814faedbd09437cbd4be2b50ffb03e7b436c6ad0e3ce47b0d5b753e22b2ec7c5c5797f5f92e766da817da11b091b8a571cf6ee