commit ghc-websockets for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-websockets for openSUSE:Factory checked in at 2017-09-15 22:25:18 Comparing /work/SRC/openSUSE:Factory/ghc-websockets (Old) and /work/SRC/openSUSE:Factory/.ghc-websockets.new (New) Package is "ghc-websockets" Fri Sep 15 22:25:18 2017 rev:4 rq:525692 version:0.10.0.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-websockets/ghc-websockets.changes 2017-03-03 17:52:20.346983716 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-websockets.new/ghc-websockets.changes 2017-09-15 22:25:19.965998168 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-websockets.spec ++ --- /var/tmp/diff_new_pack.JyBcP8/_old 2017-09-15 22:25:20.721891677 +0200 +++ /var/tmp/diff_new_pack.JyBcP8/_new 2017-09-15 22:25:20.729890551 +0200 @@ -23,8 +23,8 @@ Release:0 Summary:A sensible and clean way to write WebSocket-capable servers in Haskell License:BSD-3-Clause -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +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-SHA-devel @@ -40,7 +40,6 @@ BuildRequires: ghc-random-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -68,7 +67,7 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -96,11 +95,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENCE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc CHANGELOG example %changelog
commit ghc-websockets for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-websockets for openSUSE:Factory checked in at 2017-03-03 17:52:19 Comparing /work/SRC/openSUSE:Factory/ghc-websockets (Old) and /work/SRC/openSUSE:Factory/.ghc-websockets.new (New) Package is "ghc-websockets" Fri Mar 3 17:52:19 2017 rev:3 rq:461692 version:0.10.0.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-websockets/ghc-websockets.changes 2017-02-03 17:40:34.260328929 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-websockets.new/ghc-websockets.changes 2017-03-03 17:52:20.346983716 +0100 @@ -1,0 +2,5 @@ +Sun Feb 12 14:08:48 UTC 2017 - psim...@suse.com + +- Update to version 0.10.0.0 with cabal2obs. + +--- Old: websockets-0.9.8.2.tar.gz New: websockets-0.10.0.0.tar.gz Other differences: -- ++ ghc-websockets.spec ++ --- /var/tmp/diff_new_pack.reTc3Q/_old 2017-03-03 17:52:21.190864526 +0100 +++ /var/tmp/diff_new_pack.reTc3Q/_new 2017-03-03 17:52:21.190864526 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-websockets # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name websockets %bcond_with tests Name: ghc-%{pkg_name} -Version:0.9.8.2 +Version:0.10.0.0 Release:0 Summary:A sensible and clean way to write WebSocket-capable servers in Haskell License:BSD-3-Clause ++ websockets-0.9.8.2.tar.gz -> websockets-0.10.0.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/websockets-0.9.8.2/CHANGELOG new/websockets-0.10.0.0/CHANGELOG --- old/websockets-0.9.8.2/CHANGELOG2016-11-29 11:15:35.0 +0100 +++ new/websockets-0.10.0.0/CHANGELOG 2016-11-29 11:27:28.0 +0100 @@ -1,3 +1,8 @@ +- 0.10.0.0 +* Fix client specifying empty path +* Allow sending collections of messages (by David Turner) +* Allow sending extra headers when accepting request (by James Deery) + - 0.9.8.2 * Bump `HUnit` dependency to 1.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/websockets-0.9.8.2/src/Network/WebSockets/Client.hs new/websockets-0.10.0.0/src/Network/WebSockets/Client.hs --- old/websockets-0.9.8.2/src/Network/WebSockets/Client.hs 2016-11-29 11:15:35.0 +0100 +++ new/websockets-0.10.0.0/src/Network/WebSockets/Client.hs2016-11-29 11:27:28.0 +0100 @@ -53,11 +53,14 @@ -> Headers-- ^ Custom headers to send -> ClientApp a-- ^ Client application -> IO a -runClientWith host port path opts customHeaders app = do +runClientWith host port path0 opts customHeaders app = do -- Create and connect socket let hints = S.defaultHints {S.addrFamily = S.AF_INET, S.addrSocketType = S.Stream} + +-- Correct host and path. fullHost = if port == 80 then host else (host ++ ":" ++ show port) +path = if null path0 then "/" else path0 addrInfos <- S.getAddrInfo (Just hints) (Just host) (Just $ show port) sock <- S.socket S.AF_INET S.Stream S.defaultProtocol S.setSocketOption sock S.NoDelay 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/websockets-0.9.8.2/src/Network/WebSockets/Connection.hs new/websockets-0.10.0.0/src/Network/WebSockets/Connection.hs --- old/websockets-0.9.8.2/src/Network/WebSockets/Connection.hs 2016-11-29 11:15:35.0 +0100 +++ new/websockets-0.10.0.0/src/Network/WebSockets/Connection.hs 2016-11-29 11:27:28.0 +0100 @@ -4,8 +4,9 @@ {-# LANGUAGE OverloadedStrings #-} module Network.WebSockets.Connection ( PendingConnection (..) -, AcceptRequest(..) , acceptRequest +, AcceptRequest(..) +, defaultAcceptRequest , acceptRequestWith , rejectRequest @@ -19,8 +20,11 @@ , receiveData , send , sendDataMessage +, sendDataMessages , sendTextData +, sendTextDatas , sendBinaryData +, sendBinaryDatas , sendClose , sendCloseCode , sendPing @@ -34,7 +38,7 @@ import Control.Concurrent (forkIO, threadDelay) import Control.Exception (AsyncException, fromException, handle, throwIO) -import Control.Monad (unless) +import Control.Monad (unles
commit ghc-websockets for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-websockets for openSUSE:Factory checked in at 2017-01-31 12:41:00 Comparing /work/SRC/openSUSE:Factory/ghc-websockets (Old) and /work/SRC/openSUSE:Factory/.ghc-websockets.new (New) Package is "ghc-websockets" Changes: --- /work/SRC/openSUSE:Factory/ghc-websockets/ghc-websockets.changes 2017-01-18 21:40:34.942972891 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-websockets.new/ghc-websockets.changes 2017-02-03 17:40:34.260328929 +0100 @@ -1,0 +2,10 @@ +Sun Dec 4 19:48:14 UTC 2016 - psim...@suse.com + +- Update to version 0.9.8.2 with cabal2obs. + +--- +Mon Aug 1 10:39:22 UTC 2016 - psim...@suse.com + +- Update to version 0.9.7.0 revision 0 with cabal2obs. + +--- Old: 1.cabal websockets-0.9.6.2.tar.gz New: websockets-0.9.8.2.tar.gz Other differences: -- ++ ghc-websockets.spec ++ --- /var/tmp/diff_new_pack.dCdGeC/_old 2017-02-03 17:40:34.648274019 +0100 +++ /var/tmp/diff_new_pack.dCdGeC/_new 2017-02-03 17:40:34.652273453 +0100 @@ -19,16 +19,14 @@ %global pkg_name websockets %bcond_with tests Name: ghc-%{pkg_name} -Version:0.9.6.2 +Version:0.9.8.2 Release:0 Summary:A sensible and clean way to write WebSocket-capable servers in Haskell License:BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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/1.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-SHA-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base64-bytestring-devel @@ -50,7 +48,6 @@ BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel %endif -# End cabal-rpm deps %description This library allows you to write WebSocket-capable servers. @@ -82,22 +79,15 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++ websockets-0.9.6.2.tar.gz -> websockets-0.9.8.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/websockets-0.9.6.2/CHANGELOG new/websockets-0.9.8.2/CHANGELOG --- old/websockets-0.9.6.2/CHANGELOG2016-05-29 13:58:38.0 +0200 +++ new/websockets-0.9.8.2/CHANGELOG2016-11-29 11:15:35.0 +0100 @@ -1,3 +1,18 @@ +- 0.9.8.2 +* Bump `HUnit` dependency to 1.5 + +- 0.9.8.1 +* Restore state of the package to version `0.9.7.0` + +- 0.9.8.0 +* This release contained a feature which broke backwards-compatibility. + Hence, it was marked as broken a new release containing the changes will + be uploaded as `0.10.0.0`. + +- 0.9.7.0 +* Fix issue trying to kill builtin server +* Bump `QuickCheck` dependency to 2.9 + - 0.9.6.2 * Bump `binary` dependency for GHC 8.0 compatibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/websockets-0.9.6.2/src/Network/WebSockets/Server.hs new/websockets-0.9.8.2/src/Network/WebSockets/Server.hs --- old/websockets-0.9.6.2/src/Network/WebSockets/Server.hs 2016-05-29 13:58:38.0 +0200 +++ new/websockets-0.9.8.2/src/Network/WebSockets/Server.hs 2016-11-29 11:15:35.0 +0100 @@ -15,8 +15,9 @@ import Control.Concurrent(forkIOWithUnmask) -import Control.Exception (bracket, bracketOnError, -finally, throwIO, mask_) +import Control.Exception (allowInterrupt, bracket, +bracketOnError, finally, mask_, +throwIO) import Control.Monad (forever, void) import Network.Socket(Socket) import qualified Network.Socketas S @@ -60,7 +61,8 @@ (makeListenSocket host port) S.sClose (\sock -> -forever $ mask_ $ do +mask_ $ forever $ do + allowInterrupt (conn, _) <- S.accept sock void $ forkIOWithUnmask $ \unmask -> finally (unmask $ runApp conn opts app)