Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-tls-session-manager for
openSUSE:Factory checked in at 2026-11-24 12:36:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tls-session-manager (Old)
and /work/SRC/openSUSE:Factory/.ghc-tls-session-manager.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-tls-session-manager"
Tue Nov 24 12:36:16 2026 rev:14 rq:1399374 version:0.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-tls-session-manager/ghc-tls-session-manager.changes
2026-11-06 19:57:28.976941264 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-tls-session-manager.new.1340718/ghc-tls-session-manager.changes
2026-11-24 12:43:17.940330826 +0100
@@ -1,0 +2,9 @@
+Sun Oct 25 08:43:41 UTC 2026 - Peter Simons <[email protected]>
+
+- Update tls-session-manager to version 0.1.2.
+ ## 0.1.2
+
+ * Require tls >= 2.4.13 and build the tests with `defaultSessionData`.
+ [#607](https://github.com/haskell-tls/hs-tls/pull/607)
+
+-------------------------------------------------------------------
Old:
----
tls-session-manager-0.1.1.tar.gz
New:
----
tls-session-manager-0.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-tls-session-manager.spec ++++++
--- /var/tmp/diff_new_pack.mASlzN/_old 2026-11-24 12:43:18.747365025 +0100
+++ /var/tmp/diff_new_pack.mASlzN/_new 2026-11-24 12:43:18.749365110 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-tls-session-manager
#
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,40 +17,45 @@
%global pkg_name tls-session-manager
-%global pkgver %{pkg_name}-%{version}
+%bcond_with ghc_prof
%bcond_with tests
-Name: ghc-%{pkg_name}
-Version: 0.1.1
+Name: ghc-%pkg_name
+Version: 0.1.2
Release: 0
+%global pkgver %pkg_name-%{version}
Summary: In-memory TLS session DB and session ticket
License: BSD-3-Clause
-URL: https://hackage.haskell.org/package/%{pkg_name}
-Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+URL: https://hackage.haskell.org/package/%pkg_name
+Source0:
https://hackage.haskell.org/package/%pkg_name-%{version}/%pkg_name-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-auto-update-devel
-BuildRequires: ghc-auto-update-prof
BuildRequires: ghc-base-devel
-BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
-BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-clock-devel
-BuildRequires: ghc-clock-prof
BuildRequires: ghc-crypto-token-devel
-BuildRequires: ghc-crypto-token-prof
BuildRequires: ghc-psqueues-devel
-BuildRequires: ghc-psqueues-prof
BuildRequires: ghc-ram-devel
-BuildRequires: ghc-ram-prof
-BuildRequires: ghc-rpm-macros
+BuildRequires: ghc-rpm-macros >= 2.9.2
BuildRequires: ghc-serialise-devel
-BuildRequires: ghc-serialise-prof
BuildRequires: ghc-tls-devel
-BuildRequires: ghc-tls-prof
ExcludeArch: %{ix86}
+%if %{with ghc_prof}
+BuildRequires: ghc-auto-update-prof
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-clock-prof
+BuildRequires: ghc-crypto-token-prof
+BuildRequires: ghc-psqueues-prof
+BuildRequires: ghc-ram-prof
+BuildRequires: ghc-serialise-prof
+BuildRequires: ghc-tls-prof
+%endif
%if %{with tests}
BuildRequires: ghc-hspec-devel
+%if %{with ghc_prof}
BuildRequires: ghc-hspec-prof
%endif
+%endif
%description
TLS session manager with limitation, automatic pruning, energy saving and
@@ -67,24 +72,27 @@
This package provides the Haskell %{pkg_name} library development
files.
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
This package provides the Haskell %{pkg_name} library documentation.
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
Summary: Haskell %{pkg_name} profiling library
-Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
+Requires: ghc-%pkg_name-devel = %{version}-%{release}
+Supplements: (ghc-%pkg_name-devel and ghc-prof)
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
%prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
%build
%ghc_lib_build
@@ -107,8 +115,10 @@
%files devel -f %{name}-devel.files
%doc ChangeLog.md
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
%license LICENSE
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
++++++ tls-session-manager-0.1.1.tar.gz -> tls-session-manager-0.1.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tls-session-manager-0.1.1/ChangeLog.md
new/tls-session-manager-0.1.2/ChangeLog.md
--- old/tls-session-manager-0.1.1/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/tls-session-manager-0.1.2/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,10 @@
# ChangeLog for tls-session-manager
+## 0.1.2
+
+* Require tls >= 2.4.13 and build the tests with `defaultSessionData`.
+ [#607](https://github.com/haskell-tls/hs-tls/pull/607)
+
## 0.1.1
* Keep a TLS 1.3 session no longer than the lifetime of its ticket.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tls-session-manager-0.1.1/test/SessionManagerSpec.hs
new/tls-session-manager-0.1.2/test/SessionManagerSpec.hs
--- old/tls-session-manager-0.1.1/test/SessionManagerSpec.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/tls-session-manager-0.1.2/test/SessionManagerSpec.hs 2001-09-09
03:46:40.000000000 +0200
@@ -7,7 +7,7 @@
import Data.Maybe (isJust, isNothing)
import qualified Data.OrdPSQ as Q
import Network.TLS
-import Network.TLS.Internal (Second, SessionData (..), TLS13TicketInfo (..))
+import Network.TLS.Internal (Second, TLS13TicketInfo (..))
import Network.TLS.SessionManager
import Network.TLS.SessionManager.Internal (
Availability (..),
@@ -72,20 +72,15 @@
ref <- newIORef Fresh
return (toValue (sessionData Nothing), ref)
--- | Session data with a TLS 1.3 ticket of the given lifetime, if any.
+-- | Session data with a TLS 1.3 ticket of the given lifetime, if any. Only
+-- fields that tls 2.4 has too are set.
sessionData :: Maybe Second -> SessionData
sessionData life =
- SessionData
+ defaultSessionData
{ sessionVersion = TLS13
, sessionCipher = 0x1301
- , sessionCompression = 0
- , sessionClientSNI = Nothing
, sessionSecret = "secret"
- , sessionGroup = Nothing
, sessionTicketInfo = ticketInfo <$> life
- , sessionALPN = Nothing
- , sessionMaxEarlyDataSize = 0
- , sessionFlags = []
}
where
ticketInfo l =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tls-session-manager-0.1.1/tls-session-manager.cabal
new/tls-session-manager-0.1.2/tls-session-manager.cabal
--- old/tls-session-manager-0.1.1/tls-session-manager.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/tls-session-manager-0.1.2/tls-session-manager.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.0
name: tls-session-manager
-version: 0.1.1
+version: 0.1.2
license: BSD3
license-file: LICENSE
maintainer: [email protected]
@@ -29,7 +29,7 @@
psqueues >= 0.2 && < 0.3,
ram,
serialise >= 0.2 && < 0.3,
- tls >= 2.3 && < 2.6
+ tls >= 2.4.13 && < 2.6
if impl(ghc >=8)
default-extensions: Strict StrictData