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 2024-07-22 17:16:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-tls-session-manager (Old) and /work/SRC/openSUSE:Factory/.ghc-tls-session-manager.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-tls-session-manager" Mon Jul 22 17:16:47 2024 rev:7 rq:1188662 version:0.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-tls-session-manager/ghc-tls-session-manager.changes 2024-05-06 17:52:58.826488408 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-tls-session-manager.new.17339/ghc-tls-session-manager.changes 2024-07-22 17:17:56.281120764 +0200 @@ -1,0 +2,9 @@ +Tue Jun 25 04:30:02 UTC 2024 - Peter Simons <psimons@suse.com> + +- Update tls-session-manager to version 0.0.6. + 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-session-manager-0.0.6/src/ChangeLog.m... + +------------------------------------------------------------------- Old: ---- tls-session-manager-0.0.5.tar.gz tls-session-manager.cabal New: ---- tls-session-manager-0.0.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-tls-session-manager.spec ++++++ --- /var/tmp/diff_new_pack.ffj0PM/_old 2024-07-22 17:17:57.897185242 +0200 +++ /var/tmp/diff_new_pack.ffj0PM/_new 2024-07-22 17:17:57.897185242 +0200 @@ -19,13 +19,12 @@ %global pkg_name tls-session-manager %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.0.5 +Version: 0.0.6 Release: 0 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 -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-auto-update-devel BuildRequires: ghc-auto-update-prof @@ -83,7 +82,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ tls-session-manager-0.0.5.tar.gz -> tls-session-manager-0.0.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tls-session-manager-0.0.5/ChangeLog.md new/tls-session-manager-0.0.6/ChangeLog.md --- old/tls-session-manager-0.0.5/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/tls-session-manager-0.0.6/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,11 +1,33 @@ -# 0.1.0.0 +# ChangeLog for tls-session-manager -- Using ShortByteString internally to avoid ByteString's fragmentation. -- The default value of dbMaxSize is now 1,000. +## 0.0.6 -# 0.0.1.0 +* Preparing for tls v2.1. -- Supporting sessionResumeOnlyOnce. +## 0.0.5 -# 0.0.0.0 -- A first release. +* Supporting "tls" v2.0.0. + +## 0.0.4 + +* Supporting "tls" v1.5.3. + +## 0.0.3 + +* Adding Strict and StrictData pragma + +## 0.0.2.1 + +* Supporting "tls" v1.5.0. + +## 0.0.2.0 + +* Using ShortByteString internally to avoid ByteString's fragmentation. +* The default value of dbMaxSize is now 1,000. + +## 0.0.1.0 + +* Supporting sessionResumeOnlyOnce. + +## 0.0.0.0 +* A first release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tls-session-manager-0.0.5/Network/TLS/SessionManager.hs new/tls-session-manager-0.0.6/Network/TLS/SessionManager.hs --- old/tls-session-manager-0.0.5/Network/TLS/SessionManager.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/tls-session-manager-0.0.6/Network/TLS/SessionManager.hs 2001-09-09 03:46:40.000000000 +0200 @@ -53,34 +53,24 @@ toKey = convert toValue :: SessionData -> SessionDataCopy -toValue (SessionData v cid comp msni sec mg mti malpn siz flg) = - SessionDataCopy v cid comp msni sec' mg mti malpn' siz flg - where - sec' = convert sec - malpn' = convert <$> malpn +toValue sd = + SessionDataCopy $ + sd + { sessionSecret = convert $ sessionSecret sd + , sessionALPN = convert <$> sessionALPN sd + } fromValue :: SessionDataCopy -> SessionData -fromValue (SessionDataCopy v cid comp msni sec' mg mti malpn' siz flg) = - SessionData v cid comp msni sec mg mti malpn siz flg - where - sec = convert sec' - malpn = convert <$> malpn' +fromValue (SessionDataCopy sd) = + sd + { sessionSecret = convert $ sessionSecret sd + , sessionALPN = convert <$> sessionALPN sd + } ---------------------------------------------------------------- type SessionIDCopy = Block Word8 -data SessionDataCopy - = SessionDataCopy - {- ssVersion -} Version - {- ssCipher -} CipherID - {- ssCompression -} CompressionID - {- ssClientSNI -} (Maybe HostName) - {- ssSecret -} (Block Word8) - {- ssGroup -} (Maybe Group) - {- ssTicketInfo -} (Maybe TLS13TicketInfo) - {- ssALPN -} (Maybe (Block Word8)) - {- ssMaxEarlyDataSize -} Int - {- ssFlags -} [SessionFlag] +newtype SessionDataCopy = SessionDataCopy SessionData deriving (Show, Eq) type Sec = Int64 @@ -108,8 +98,8 @@ , reaperNull = Q.null , reaperDelay = pruningDelay conf * 1000000 } - return - SessionManager + return $ + noSessionManager { sessionResume = resume reaper MultipleUse , sessionResumeOnlyOnce = resume reaper SingleUse , sessionEstablish = \x y -> establish reaper lifetime x y >> return Nothing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tls-session-manager-0.0.5/Network/TLS/SessionTicket.hs new/tls-session-manager-0.0.6/Network/TLS/SessionTicket.hs --- old/tls-session-manager-0.0.5/Network/TLS/SessionTicket.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/tls-session-manager-0.0.6/Network/TLS/SessionTicket.hs 2001-09-09 03:46:40.000000000 +0200 @@ -52,7 +52,7 @@ sessionTicketManager :: CT.TokenManager -> SessionManager sessionTicketManager ctmgr = - SessionManager + noSessionManager { sessionResume = resume ctmgr , sessionResumeOnlyOnce = resume ctmgr , sessionEstablish = establish ctmgr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tls-session-manager-0.0.5/tls-session-manager.cabal new/tls-session-manager-0.0.6/tls-session-manager.cabal --- old/tls-session-manager-0.0.5/tls-session-manager.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/tls-session-manager-0.0.6/tls-session-manager.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: >=1.10 name: tls-session-manager -version: 0.0.5 +version: 0.0.6 license: BSD3 license-file: LICENSE maintainer: kazu@iij.ad.jp @@ -21,15 +21,15 @@ ghc-options: -Wall build-depends: base >=4.7 && <5, - auto-update >= 0.1 && < 0.2, + auto-update >= 0.1 && < 0.3, basement >= 0.0.16 && < 0.1, - bytestring >= 0.10 && < 0.12, + bytestring >= 0.10 && < 0.13, clock >= 0.8 && < 0.9, crypto-token >= 0.1.1 && < 0.2, memory >= 0.18.0 && < 0.19, psqueues >= 0.2 && < 0.3, serialise >= 0.2 && < 0.3, - tls >= 2.0 && < 2.1 + tls >= 2.0 && < 2.2 if impl(ghc >=8) default-extensions: Strict StrictData