import ghc-tls-1.4.0-3.el8

This commit is contained in:
CentOS Sources 2019-05-07 09:36:47 -04:00 committed by Andrew Lukoshko
commit a39c6083bc
3 changed files with 139 additions and 0 deletions

1
.ghc-tls.metadata Normal file
View File

@ -0,0 +1 @@
f42d39ace414690dfaa6ff2f733b30302f1c89e6 SOURCES/tls-1.4.0.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/tls-1.4.0.tar.gz

137
SPECS/ghc-tls.spec Normal file
View File

@ -0,0 +1,137 @@
# generated by cabal-rpm-0.12.1
# 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: 3%{?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
<http://hackage.haskell.org/package/tls-debug/>.
%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
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
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.4.0-2
- rebuild
* Sun Sep 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.4.0-1
- Update to latest version.
- Update to latest spec template.
* Sun Jul 23 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.3.10-2
- Update to almost-latest version.
- Add patch enabling newer ghc-x509.
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.3.5-5
- Bump for Fedora 26.
* Fri Dec 16 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 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 <quantum.analyst@gmail.com> - 1.3.5-3
- Bump to rebuild against new dependencies
* Fri Apr 29 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.5-2
- Bump to rebuild against dependencies
* Sun Apr 24 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.5-1
- update to 1.3.5
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 1.3.1-1
- initial package