commit ghc-wuss for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-wuss for openSUSE:Factory 
checked in at 2017-09-15 22:26:26

Comparing /work/SRC/openSUSE:Factory/ghc-wuss (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-wuss.new (New)


Package is "ghc-wuss"

Fri Sep 15 22:26:26 2017 rev:5 rq:525717 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-wuss/ghc-wuss.changes2017-08-31 
21:01:46.078698869 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-wuss.new/ghc-wuss.changes   2017-09-15 
22:26:27.364503163 +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-wuss.spec ++
--- /var/tmp/diff_new_pack.sgLsct/_old  2017-09-15 22:26:28.304370757 +0200
+++ /var/tmp/diff_new_pack.sgLsct/_new  2017-09-15 22:26:28.312369630 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:Secure WebSocket (WSS) clients
 License:MIT
-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-bytestring-devel
@@ -31,7 +31,6 @@
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-websockets-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Wuss is a library that lets you easily create secure WebSocket clients over the
@@ -44,7 +43,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}
@@ -69,10 +68,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md LICENSE.md
 
 %changelog




commit ghc-wuss for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-wuss for openSUSE:Factory 
checked in at 2017-08-31 21:01:42

Comparing /work/SRC/openSUSE:Factory/ghc-wuss (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-wuss.new (New)


Package is "ghc-wuss"

Thu Aug 31 21:01:42 2017 rev:4 rq:513539 version:1.1.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-wuss/ghc-wuss.changes2017-06-04 
01:56:10.763136715 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-wuss.new/ghc-wuss.changes   2017-08-31 
21:01:46.078698869 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:51 UTC 2017 - psim...@suse.com
+
+- Update to version 1.1.5.
+
+---

Old:

  wuss-1.1.4.tar.gz

New:

  wuss-1.1.5.tar.gz



Other differences:
--
++ ghc-wuss.spec ++
--- /var/tmp/diff_new_pack.Orjg3D/_old  2017-08-31 21:01:47.406512307 +0200
+++ /var/tmp/diff_new_pack.Orjg3D/_new  2017-08-31 21:01:47.410511746 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name wuss
 Name:   ghc-%{pkg_name}
-Version:1.1.4
+Version:1.1.5
 Release:0
 Summary:Secure WebSocket (WSS) clients
 License:MIT

++ wuss-1.1.4.tar.gz -> wuss-1.1.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.1.4/package.yaml new/wuss-1.1.5/package.yaml
--- old/wuss-1.1.4/package.yaml 2017-04-17 15:21:52.0 +0200
+++ new/wuss-1.1.5/package.yaml 2017-07-22 14:45:16.0 +0200
@@ -19,10 +19,10 @@
   - bytestring ==0.10.*
   - connection ==0.2.*
   - network
-  - websockets >=0.9 && <0.12
+  - websockets >=0.9 && <0.13
   exposed-modules: Wuss
 license: MIT
 maintainer: Taylor Fausak
 name: wuss
 synopsis: Secure WebSocket (WSS) clients
-version: '1.1.4'
+version: '1.1.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.1.4/wuss.cabal new/wuss-1.1.5/wuss.cabal
--- old/wuss-1.1.4/wuss.cabal   2017-04-17 15:24:12.0 +0200
+++ new/wuss-1.1.5/wuss.cabal   2017-07-22 14:47:56.0 +0200
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:   wuss
-version:1.1.4
+version:1.1.5
 synopsis:   Secure WebSocket (WSS) clients
 description:Wuss is a library that lets you easily create secure WebSocket 
clients over the WSS protocol. It is a small addition to 
 and is 
adapted from existing solutions by , , and .
 category:   Network
@@ -31,7 +31,7 @@
 , bytestring ==0.10.*
 , connection ==0.2.*
 , network
-, websockets >=0.9 && <0.12
+, websockets >=0.9 && <0.13
   exposed-modules:
   Wuss
   other-modules:




commit ghc-wuss for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-wuss for openSUSE:Factory 
checked in at 2017-06-04 01:56:08

Comparing /work/SRC/openSUSE:Factory/ghc-wuss (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-wuss.new (New)


Package is "ghc-wuss"

Sun Jun  4 01:56:08 2017 rev:3 rq:494204 version:1.1.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-wuss/ghc-wuss.changes2017-02-03 
17:40:35.812109289 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-wuss.new/ghc-wuss.changes   2017-06-04 
01:56:10.763136715 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 12:26:36 UTC 2017 - psim...@suse.com
+
+- Update to version 1.1.4 with cabal2obs.
+
+---

Old:

  wuss-1.1.3.tar.gz

New:

  wuss-1.1.4.tar.gz



Other differences:
--
++ ghc-wuss.spec ++
--- /var/tmp/diff_new_pack.MvSTNk/_old  2017-06-04 01:56:12.214931609 +0200
+++ /var/tmp/diff_new_pack.MvSTNk/_new  2017-06-04 01:56:12.214931609 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-wuss
 #
-# 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
@@ -18,7 +18,7 @@
 
 %global pkg_name wuss
 Name:   ghc-%{pkg_name}
-Version:1.1.3
+Version:1.1.4
 Release:0
 Summary:Secure WebSocket (WSS) clients
 License:MIT

++ wuss-1.1.3.tar.gz -> wuss-1.1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.1.3/package.yaml new/wuss-1.1.4/package.yaml
--- old/wuss-1.1.3/package.yaml 2016-11-30 14:27:53.0 +0100
+++ new/wuss-1.1.4/package.yaml 2017-04-17 15:21:52.0 +0200
@@ -19,10 +19,10 @@
   - bytestring ==0.10.*
   - connection ==0.2.*
   - network
-  - websockets >=0.9 && <0.11
+  - websockets >=0.9 && <0.12
   exposed-modules: Wuss
 license: MIT
 maintainer: Taylor Fausak
 name: wuss
 synopsis: Secure WebSocket (WSS) clients
-version: '1.1.3'
+version: '1.1.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.1.3/stack.yaml new/wuss-1.1.4/stack.yaml
--- old/wuss-1.1.3/stack.yaml   2016-11-30 14:27:53.0 +0100
+++ new/wuss-1.1.4/stack.yaml   2017-04-17 15:21:52.0 +0200
@@ -1 +1 @@
-resolver: nightly-2016-07-05
+resolver: lts-8.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.1.3/wuss.cabal new/wuss-1.1.4/wuss.cabal
--- old/wuss-1.1.3/wuss.cabal   2016-11-30 14:28:47.0 +0100
+++ new/wuss-1.1.4/wuss.cabal   2017-04-17 15:24:12.0 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.14.0.
+-- This file has been generated from package.yaml by hpack version 0.17.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:   wuss
-version:1.1.3
+version:1.1.4
 synopsis:   Secure WebSocket (WSS) clients
 description:Wuss is a library that lets you easily create secure WebSocket 
clients over the WSS protocol. It is a small addition to 
 and is 
adapted from existing solutions by , , and .
 category:   Network
@@ -31,7 +31,7 @@
 , bytestring ==0.10.*
 , connection ==0.2.*
 , network
-, websockets >=0.9 && <0.11
+, websockets >=0.9 && <0.12
   exposed-modules:
   Wuss
   other-modules:




commit ghc-wuss for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package ghc-wuss for openSUSE:Factory 
checked in at 2017-01-31 12:41:05

Comparing /work/SRC/openSUSE:Factory/ghc-wuss (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-wuss.new (New)


Package is "ghc-wuss"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-wuss/ghc-wuss.changes2017-01-18 
21:41:42.785377257 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-wuss.new/ghc-wuss.changes   2017-02-03 
17:40:35.812109289 +0100
@@ -1,0 +2,10 @@
+Sun Dec  4 19:48:21 UTC 2016 - psim...@suse.com
+
+- Update to version 1.1.3 with cabal2obs.
+
+---
+Thu Sep 15 06:47:22 UTC 2016 - psim...@suse.com
+
+- Update to version 1.1.1 revision 0 with cabal2obs.
+
+---

Old:

  wuss-1.0.4.tar.gz

New:

  wuss-1.1.3.tar.gz



Other differences:
--
++ ghc-wuss.spec ++
--- /var/tmp/diff_new_pack.DEicl8/_old  2017-02-03 17:40:36.124065134 +0100
+++ /var/tmp/diff_new_pack.DEicl8/_new  2017-02-03 17:40:36.128064568 +0100
@@ -18,22 +18,20 @@
 
 %global pkg_name wuss
 Name:   ghc-%{pkg_name}
-Version:1.0.4
+Version:1.1.3
 Release:0
 Summary:Secure WebSocket (WSS) clients
 License:MIT
-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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-connection-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-websockets-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 Wuss is a library that lets you easily create secure WebSocket clients over the
@@ -58,15 +56,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ wuss-1.0.4.tar.gz -> wuss-1.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wuss-1.0.4/Wuss.hs new/wuss-1.1.3/Wuss.hs
--- old/wuss-1.0.4/Wuss.hs  2016-04-15 22:37:07.0 +0200
+++ new/wuss-1.1.3/Wuss.hs  2016-11-30 14:27:53.0 +0100
@@ -1,3 +1,5 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
 {- |
 Wuss is a library that lets you easily create secure WebSocket clients over
 the WSS protocol. It is a small addition to
@@ -39,17 +41,25 @@
 module Wuss
 ( runSecureClient
 , runSecureClientWith
+, Config(..)
+, defaultConfig
+, runSecureClientWithConfig
 ) where
 
-import qualified Data.ByteString as BS
-import Data.ByteString.Lazy (toStrict)
-import qualified Data.ByteString.Lazy as BL
-import Network.Connection (Connection, ConnectionParams (..), TLSSettings (..),
-connectTo, connectionGetChunk, connectionPut, initConnectionContext)
-import Network.Socket (HostName, PortNumber)
-import Network.WebSockets (ClientApp, ConnectionOptions, Headers,
-defaultConnectionOptions, runClientWithStream)
-import Network.WebSockets.Stream (makeStream)
+import qualified Control.Applicative as Applicative
+import qualified Control.Exception as Exception
+import qualified Data.Bool as Bool
+import qualified Data.ByteString as StrictBytes
+import qualified Data.ByteString.Lazy as LazyBytes
+import qualified Data.Maybe as Maybe
+import qualified Data.String as String
+import qualified Network.Connection as Connection
+import qualified Network.Socket as Socket
+import qualified Network.WebSockets as WebSockets
+import qualified Network.WebSockets.Stream as Stream
+import qualified System.IO as IO
+import qualified System.IO.Error as IO.Error
+
 
 {- |
 A secure replacement for 'Network.WebSockets.runClient'.
@@ -58,15 +68,16 @@
 >>> runSecureClient "echo.websocket.org" 443 "/" app
 -}
 runSecureClient
-:: HostName -- ^ Host
--> PortNumber -- ^ Port
--> String -- ^ Path
--> ClientApp a -- ^ Application
--> IO a
-runSecureClient host port path app =
-let options = defaultConnectionOptions
-headers = []
-in  runSecureClientWith host port path options headers app
+:: Socket.HostName -- ^ Host
+-> Socket.PortNumber -- ^ Port
+-> String.String -- ^ Path
+-> WebSockets.ClientApp a -- ^ Application
+-> IO.IO a
+runSecureClient host port path app = do
+let options = WebSockets.defaultConnectionOptions
+let headers = []
+runSecureClientWith host port path options headers app
+
 
 {- |
 A secure replacement