[packages/ghc-tls] - pl, base dependencies

qboosh qboosh at pld-linux.org
Sat Mar 21 21:26:27 CET 2026


commit c20c35d312edd9c4b368d2792f05b97ec4aeb88c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 21 21:26:40 2026 +0100

    - pl, base dependencies

 ghc-tls.spec | 36 ++++++++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)
---
diff --git a/ghc-tls.spec b/ghc-tls.spec
index dc7a0f9..74836a0 100644
--- a/ghc-tls.spec
+++ b/ghc-tls.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	tls
 Summary:	TLS/SSL protocol native implementation (Server and Client)
+Summary(pl.UTF-8):	Natywna implementacja protokołu TLS/SSL (serwera i klienta)
 Name:		ghc-%{pkgname}
 Version:	1.5.4
 Release:	2
@@ -13,30 +14,38 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	44202fa7069aa7d04c983787fa015491
 URL:		http://hackage.haskell.org/package/tls
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 8.0.1
 BuildRequires:	ghc-asn1-encoding
 BuildRequires:	ghc-asn1-types >= 0.2.0
 BuildRequires:	ghc-async >= 2.0
+BuildRequires:	ghc-base >= 4.9
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-bytestring
 BuildRequires:	ghc-cereal >= 0.5.3
 BuildRequires:	ghc-cryptonite >= 0.25
 BuildRequires:	ghc-data-default-class
 BuildRequires:	ghc-hourglass
 BuildRequires:	ghc-memory >= 0.14.6
+BuildRequires:	ghc-mtl >= 2
 BuildRequires:	ghc-network >= 2.4.0.0
 BuildRequires:	ghc-transformers
 BuildRequires:	ghc-x509 >= 1.7.5
 BuildRequires:	ghc-x509-store >= 1.6
 BuildRequires:	ghc-x509-validation >= 1.6.5
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 8.0.1
 BuildRequires:	ghc-asn1-encoding-prof
 BuildRequires:	ghc-asn1-types-prof >= 0.2.0
 BuildRequires:	ghc-async-prof >= 2.0
+BuildRequires:	ghc-base-prof >= 4.9
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-bytestring-prof
 BuildRequires:	ghc-cereal-prof >= 0.5.3
 BuildRequires:	ghc-cryptonite-prof >= 0.25
 BuildRequires:	ghc-data-default-class-prof
 BuildRequires:	ghc-hourglass-prof
 BuildRequires:	ghc-memory-prof >= 0.14.6
+BuildRequires:	ghc-mtl-prof >= 2
 BuildRequires:	ghc-network-prof >= 2.4.0.0
 BuildRequires:	ghc-transformers-prof
 BuildRequires:	ghc-x509-prof >= 1.7.5
@@ -49,6 +58,7 @@ Requires(post,postun):	/usr/bin/ghc-pkg
 Requires:	ghc-asn1-encoding
 Requires:	ghc-asn1-types >= 0.2.0
 Requires:	ghc-async >= 2.0
+Requires:	ghc-base >= 4.9
 Requires:	ghc-cereal >= 0.5.3
 Requires:	ghc-cryptonite >= 0.25
 Requires:	ghc-data-default-class
@@ -80,6 +90,19 @@ 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.
 
+%description -l pl.UTF-8
+Natywna implementacja w Haskellu protokołów TLS i SSL dla serwera i
+klienta.
+
+Udostępnia wysokopoziomową implementację wrażliwego pod względem
+bezpieczeństwa protokołu, eliminując dużą część problemów z
+bezpieczeństwem poprzez użycie zaawansowanego systemu typów,
+wysokopoziomowych konstrukcji i możliwości języka Haskell.
+
+Obecnie zaimplementowane są protokołu SSL3.0, TLS1.0, TLS1.1, TLS1.2 i
+TLS1.3, obsługa wymiany kluczy RSA i Ephemeral Diffie Hellman (z
+krzywymi eliptycznymi i zwykłych) oraz wiele rozszerzeń.
+
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
@@ -88,6 +111,7 @@ Requires:	%{name} = %{version}-%{release}
 Requires:	ghc-asn1-encoding-prof
 Requires:	ghc-asn1-types-prof >= 0.2.0
 Requires:	ghc-async-prof >= 2.0
+Requires:	ghc-base-prof >= 4.9
 Requires:	ghc-cereal-prof >= 0.5.3
 Requires:	ghc-cryptonite-prof >= 0.25
 Requires:	ghc-data-default-class-prof
@@ -100,8 +124,8 @@ Requires:	ghc-x509-store-prof >= 1.6
 Requires:	ghc-x509-validation-prof >= 1.6.5
 
 %description prof
-Profiling %{pkgname} library for GHC.  Should be installed when
-GHC's profiling subsystem is needed.
+Profiling %{pkgname} library for GHC. Should be installed when GHC's
+profiling subsystem is needed.
 
 %description prof -l pl.UTF-8
 Biblioteka profilująca %{pkgname} dla GHC. Powinna być zainstalowana
@@ -119,6 +143,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build %{?_smp_mflags}
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -129,8 +154,7 @@ runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
 %{__rm} -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
 runhaskell Setup.hs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-tls.git/commitdiff/c20c35d312edd9c4b368d2792f05b97ec4aeb88c



More information about the pld-cvs-commit mailing list