commit ghc-http-client-tls for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2020-09-07 22:02:25

Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3399 (New)


Package is "ghc-http-client-tls"

Mon Sep  7 22:02:25 2020 rev:19 rq:832285 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2020-08-28 21:33:40.880675572 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3399/ghc-http-client-tls.changes
2020-09-07 22:02:28.550079522 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:35 UTC 2020 - psim...@suse.com
+
+- Update http-client-tls to version 0.3.5.3 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-http-client-tls for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2020-08-28 21:33:39

Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3399 (New)


Package is "ghc-http-client-tls"

Fri Aug 28 21:33:39 2020 rev:18 rq:829310 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2020-06-19 17:13:29.630172989 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3399/ghc-http-client-tls.changes
2020-08-28 21:33:40.880675572 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:07 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.7xwDau/_old  2020-08-28 21:33:41.424675830 +0200
+++ /var/tmp/diff_new_pack.7xwDau/_new  2020-08-28 21:33:41.428675832 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -63,7 +63,7 @@
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-http-client-tls for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2020-06-19 17:13:28

Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3606 (New)


Package is "ghc-http-client-tls"

Fri Jun 19 17:13:28 2020 rev:17 rq:815109 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2019-12-27 13:54:19.400685986 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.3606/ghc-http-client-tls.changes
2020-06-19 17:13:29.630172989 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:13 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.3brVqE/_old  2020-06-19 17:13:30.270175130 +0200
+++ /var/tmp/diff_new_pack.3brVqE/_new  2020-06-19 17:13:30.274175143 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-http-client-tls for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2019-12-27 13:54:15

Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.6675 (New)


Package is "ghc-http-client-tls"

Fri Dec 27 13:54:15 2019 rev:16 rq:759422 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2019-06-19 21:12:17.842736500 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.6675/ghc-http-client-tls.changes
2019-12-27 13:54:19.400685986 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:58 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.EU91mZ/_old  2019-12-27 13:54:20.264686404 +0100
+++ /var/tmp/diff_new_pack.EU91mZ/_new  2019-12-27 13:54:20.264686404 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT
-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
 Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
@@ -54,7 +53,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-http-client-tls for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2019-06-19 21:10:51

Comparing /work/SRC/openSUSE:Factory/ghc-http-client-tls (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.4811 (New)


Package is "ghc-http-client-tls"

Wed Jun 19 21:10:51 2019 rev:15 rq:710629 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2018-10-25 08:26:28.067798682 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new.4811/ghc-http-client-tls.changes
2019-06-19 21:12:17.842736500 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 14:29:11 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---

New:

  http-client-tls.cabal



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.9SH9M3/_old  2019-06-19 21:12:19.114737736 +0200
+++ /var/tmp/diff_new_pack.9SH9M3/_new  2019-06-19 21:12:19.138737759 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -26,6 +26,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-case-insensitive-devel
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ http-client-tls.cabal ++
name:http-client-tls
version: 0.3.5.3
x-revision: 1
synopsis:http-client backend using the connection package and tls 
library
description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
homepage:https://github.com/snoyberg/http-client
license: MIT
license-file:LICENSE
author:  Michael Snoyman
maintainer:  mich...@snoyman.com
category:Network
build-type:  Simple
cabal-version:   >=1.10
extra-source-files:  README.md
 ChangeLog.md

library
  exposed-modules: Network.HTTP.Client.TLS
  other-extensions:ScopedTypeVariables
  build-depends:   base >= 4 && < 5
 , data-default-class
 , http-client >= 0.5.0
 , connection >= 0.2.5
 , network >= 2.6
 , tls >= 1.2
 , bytestring
 , case-insensitive
 , transformers
 , http-types
 , cryptonite
 , memory
 , exceptions
 , containers
 , text
 , network-uri >= 2.6
  default-language:Haskell2010
  ghc-options: -Wall

test-suite spec
  main-is: Spec.hs
  type:exitcode-stdio-1.0
  hs-source-dirs:  test
  default-language:Haskell2010
  build-depends:   base
 , connection
 , hspec
 , http-client
 , http-client-tls
 , http-types

benchmark benchmark
  main-is: Bench.hs
  type:exitcode-stdio-1.0
  hs-source-dirs:  bench
  default-language:Haskell2010
  build-depends:   base
 , gauge
 , http-client
 , http-client-tls



commit ghc-http-client-tls for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2018-10-25 08:26:26

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


Package is "ghc-http-client-tls"

Thu Oct 25 08:26:26 2018 rev:14 rq:643407 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2018-07-21 10:21:58.267004491 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2018-10-25 08:26:28.067798682 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:37 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.p2H8lL/_old  2018-10-25 08:26:28.863798316 +0200
+++ /var/tmp/diff_new_pack.p2H8lL/_new  2018-10-25 08:26:28.867798314 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-http-client-tls for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2018-07-21 10:20:05

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


Package is "ghc-http-client-tls"

Sat Jul 21 10:20:05 2018 rev:13 rq:623794 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2018-05-30 12:26:05.120779264 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2018-07-21 10:21:58.267004491 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:28 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -75 +80,0 @@
-



Other differences:
--



commit ghc-http-client-tls for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2018-05-30 12:09:49

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


Package is "ghc-http-client-tls"

Wed May 30 12:09:49 2018 rev:12 rq:607821 version:0.3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-09-15 21:50:36.523547179 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2018-05-30 12:26:05.120779264 +0200
@@ -1,0 +2,8 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update http-client-tls to version 0.3.5.3.
+  * Fix `newTlsManager` 
[#325](https://github.com/snoyberg/http-client/issues/325)
+  * [#289](https://github.com/snoyberg/http-client/issues/289):
+Keep original `TLSSettings` when creating a `Manager` using 
`newTlsManagerWith`.
+
+---

Old:

  http-client-tls-0.3.5.1.tar.gz

New:

  http-client-tls-0.3.5.3.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.0RAUg1/_old  2018-05-30 12:26:06.076747192 +0200
+++ /var/tmp/diff_new_pack.0RAUg1/_new  2018-05-30 12:26:06.080747059 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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 http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.5.1
+Version:0.3.5.3
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT
@@ -82,7 +82,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md README.md

++ http-client-tls-0.3.5.1.tar.gz -> http-client-tls-0.3.5.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.5.1/ChangeLog.md 
new/http-client-tls-0.3.5.3/ChangeLog.md
--- old/http-client-tls-0.3.5.1/ChangeLog.md2017-06-18 06:54:54.0 
+0200
+++ new/http-client-tls-0.3.5.3/ChangeLog.md2018-02-05 22:28:18.0 
+0100
@@ -1,3 +1,12 @@
+## 0.3.5.3
+
+* Fix `newTlsManager` 
[#325](https://github.com/snoyberg/http-client/issues/325)
+
+## 0.3.5.2
+
+* [#289](https://github.com/snoyberg/http-client/issues/289):
+  Keep original `TLSSettings` when creating a `Manager` using 
`newTlsManagerWith`.
+
 ## 0.3.5.1
 
 * Also catch TLSError exceptions 
[#273](https://github.com/snoyberg/http-client/pull/273)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.5.1/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.5.3/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.3.5.1/Network/HTTP/Client/TLS.hs  2017-06-18 
06:55:25.0 +0200
+++ new/http-client-tls-0.3.5.3/Network/HTTP/Client/TLS.hs  2018-02-05 
22:28:18.0 +0100
@@ -180,7 +180,16 @@
 --
 -- @since 0.3.4
 newTlsManager :: MonadIO m => m Manager
-newTlsManager = newTlsManagerWith defaultManagerSettings
+newTlsManager = liftIO $ do
+env <- getEnvironment
+let lenv = Map.fromList $ map (first $ T.toLower . T.pack) env
+msocksHTTP = parseSocksSettings env lenv "http_proxy"
+msocksHTTPS = parseSocksSettings env lenv "https_proxy"
+settings = mkManagerSettingsContext' defaultManagerSettings (Just 
globalConnectionContext) def msocksHTTP msocksHTTPS
+settings' = maybe id (const $ managerSetInsecureProxy 
proxyFromRequest) msocksHTTP
+  $ maybe id (const $ managerSetSecureProxy proxyFromRequest) 
msocksHTTPS
+settings
+newManager settings'
 
 -- | Load up a new TLS manager based upon specified settings,
 -- respecting proxy environment variables.
@@ -196,6 +205,14 @@
 settings' = maybe id (const $ managerSetInsecureProxy 
proxyFromRequest) msocksHTTP
   $ maybe id (const $ managerSetSecureProxy proxyFromRequest) 
msocksHTTPS
 settings
+-- We want to keep the original TLS settings that were
+-- passed in. Sadly they aren't available as a record
+-- field on `ManagerSettings`. So instead we grab the
+-- fields that depend on the TLS settings.
+ 

commit ghc-http-client-tls for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-09-15 21:50:34

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


Package is "ghc-http-client-tls"

Fri Sep 15 21:50:34 2017 rev:11 rq:524817 version:0.3.5.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-07-06 00:01:04.669923183 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-09-15 21:50:36.523547179 +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-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.uZlqLl/_old  2017-09-15 21:50:37.127462057 +0200
+++ /var/tmp/diff_new_pack.uZlqLl/_new  2017-09-15 21:50:37.127462057 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 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
@@ -43,7 +43,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-tls-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -54,7 +53,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}
@@ -83,11 +82,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-http-client-tls for openSUSE:Factory

2017-07-05 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-07-06 00:01:03

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


Package is "ghc-http-client-tls"

Thu Jul  6 00:01:03 2017 rev:10 rq:506995 version:0.3.5.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-06-22 10:37:54.346662221 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-07-06 00:01:04.669923183 +0200
@@ -1,0 +2,5 @@
+Mon Jun 19 20:53:32 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.5.1.
+
+---

Old:

  http-client-tls-0.3.5.tar.gz

New:

  http-client-tls-0.3.5.1.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.CJpvsH/_old  2017-07-06 00:01:05.557798104 +0200
+++ /var/tmp/diff_new_pack.CJpvsH/_new  2017-07-06 00:01:05.565796978 +0200
@@ -19,7 +19,7 @@
 %global pkg_name http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.5
+Version:0.3.5.1
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT

++ http-client-tls-0.3.5.tar.gz -> http-client-tls-0.3.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.5/ChangeLog.md 
new/http-client-tls-0.3.5.1/ChangeLog.md
--- old/http-client-tls-0.3.5/ChangeLog.md  2017-05-30 14:31:53.0 
+0200
+++ new/http-client-tls-0.3.5.1/ChangeLog.md2017-06-18 06:54:54.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.5.1
+
+* Also catch TLSError exceptions 
[#273](https://github.com/snoyberg/http-client/pull/273)
+
 ## 0.3.5
 
 * Add `newTlsManagerWith`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.5/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.5.1/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.3.5/Network/HTTP/Client/TLS.hs2017-05-30 
14:31:53.0 +0200
+++ new/http-client-tls-0.3.5.1/Network/HTTP/Client/TLS.hs  2017-06-18 
06:55:25.0 +0200
@@ -97,6 +97,7 @@
 let wrapper se
   | Just (_ :: IOException)  <- fromException se = se'
   | Just (_ :: TLS.TLSException) <- fromException se = se'
+  | Just (_ :: TLS.TLSError) <- fromException se = se'
   | Just (_ :: NC.LineTooLong)   <- fromException se = se'
 #if MIN_VERSION_connection(0,2,7)
   | Just (_ :: NC.HostNotResolved)   <- fromException se = se'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.5/http-client-tls.cabal 
new/http-client-tls-0.3.5.1/http-client-tls.cabal
--- old/http-client-tls-0.3.5/http-client-tls.cabal 2017-05-30 
14:31:53.0 +0200
+++ new/http-client-tls-0.3.5.1/http-client-tls.cabal   2017-06-18 
06:54:57.0 +0200
@@ -1,5 +1,5 @@
 name:http-client-tls
-version: 0.3.5
+version: 0.3.5.1
 synopsis:http-client backend using the connection package and tls 
library
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/snoyberg/http-client




commit ghc-http-client-tls for openSUSE:Factory

2017-06-22 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-06-22 10:37:53

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


Package is "ghc-http-client-tls"

Thu Jun 22 10:37:53 2017 rev:9 rq:504078 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-06-04 01:57:43.702006622 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-06-22 10:37:54.346662221 +0200
@@ -1,0 +2,5 @@
+Thu Jun  8 11:08:20 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.5.
+
+---

Old:

  http-client-tls-0.3.4.2.tar.gz

New:

  http-client-tls-0.3.5.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.zj5RWb/_old  2017-06-22 10:37:55.718468826 +0200
+++ /var/tmp/diff_new_pack.zj5RWb/_new  2017-06-22 10:37:55.722468263 +0200
@@ -19,7 +19,7 @@
 %global pkg_name http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.4.2
+Version:0.3.5
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT

++ http-client-tls-0.3.4.2.tar.gz -> http-client-tls-0.3.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4.2/ChangeLog.md 
new/http-client-tls-0.3.5/ChangeLog.md
--- old/http-client-tls-0.3.4.2/ChangeLog.md2017-05-01 11:15:44.0 
+0200
+++ new/http-client-tls-0.3.5/ChangeLog.md  2017-05-30 14:31:53.0 
+0200
@@ -1,3 +1,10 @@
+## 0.3.5
+
+* Add `newTlsManagerWith`
+  [#278](https://github.com/snoyberg/http-client/issues/278), which
+  provides a variant of `newTlsManager` that takes a `ManagerSettings`
+  to base its settings off of.
+
 ## 0.3.4.2
 
 * Never throw exceptions on 401 status in `applyDigestAuth`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4.2/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.5/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.3.4.2/Network/HTTP/Client/TLS.hs  2017-05-01 
11:11:20.0 +0200
+++ new/http-client-tls-0.3.5/Network/HTTP/Client/TLS.hs2017-05-30 
14:31:53.0 +0200
@@ -12,6 +12,7 @@
 , mkManagerSettings
 , mkManagerSettingsContext
 , newTlsManager
+, newTlsManagerWith
   -- * Digest authentication
 , applyDigestAuth
 , DigestAuthException (..)
@@ -70,16 +71,17 @@
 -> NC.TLSSettings
 -> Maybe NC.SockSettings
 -> ManagerSettings
-mkManagerSettingsContext mcontext tls sock = mkManagerSettingsContext' 
mcontext tls sock sock
+mkManagerSettingsContext mcontext tls sock = mkManagerSettingsContext' 
defaultManagerSettings mcontext tls sock sock
 
 -- | Internal, allow different SockSettings for HTTP and HTTPS
 mkManagerSettingsContext'
-:: Maybe NC.ConnectionContext
+:: ManagerSettings
+-> Maybe NC.ConnectionContext
 -> NC.TLSSettings
 -> Maybe NC.SockSettings -- ^ insecure
 -> Maybe NC.SockSettings -- ^ secure
 -> ManagerSettings
-mkManagerSettingsContext' mcontext tls sockHTTP sockHTTPS = 
defaultManagerSettings
+mkManagerSettingsContext' set mcontext tls sockHTTP sockHTTPS = set
 { managerTlsConnection = getTlsConnection mcontext (Just tls) sockHTTPS
 , managerTlsProxyConnection = getTlsProxyConnection mcontext tls sockHTTPS
 , managerRawConnection =
@@ -177,12 +179,19 @@
 --
 -- @since 0.3.4
 newTlsManager :: MonadIO m => m Manager
-newTlsManager = liftIO $ do
+newTlsManager = newTlsManagerWith defaultManagerSettings
+
+-- | Load up a new TLS manager based upon specified settings,
+-- respecting proxy environment variables.
+--
+-- @since 0.3.5
+newTlsManagerWith :: MonadIO m => ManagerSettings -> m Manager
+newTlsManagerWith set = liftIO $ do
 env <- getEnvironment
 let lenv = Map.fromList $ map (first $ T.toLower . T.pack) env
 msocksHTTP = parseSocksSettings env lenv "http_proxy"
 msocksHTTPS = parseSocksSettings env lenv "https_proxy"
-settings = mkManagerSettingsContext' (Just globalConnectionContext) 
def msocksHTTP msocksHTTPS
+settings = mkManagerSettingsContext' set (Just 
globalConnectionContext) def msocksHTTP msocksHTTPS
 settings' = maybe id (const $ managerSetInsecureProxy 
proxyFromRequest) msocksHTTP
   $ maybe id (const $ managerSetSecureProxy proxyFromRequest) 
msocksHTTPS
 settings
diff -urN '--exclude=CVS' 

commit ghc-http-client-tls for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-06-04 01:57:42

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


Package is "ghc-http-client-tls"

Sun Jun  4 01:57:42 2017 rev:8 rq:499708 version:0.3.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-05-10 20:49:34.390842679 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-06-04 01:57:43.702006622 +0200
@@ -1,0 +2,5 @@
+Thu May 18 09:52:24 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.4.2 with cabal2obs.
+
+---

Old:

  http-client-tls-0.3.4.1.tar.gz

New:

  http-client-tls-0.3.4.2.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.W6SWo2/_old  2017-06-04 01:57:44.161941645 +0200
+++ /var/tmp/diff_new_pack.W6SWo2/_new  2017-06-04 01:57:44.161941645 +0200
@@ -19,7 +19,7 @@
 %global pkg_name http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.4.1
+Version:0.3.4.2
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT

++ http-client-tls-0.3.4.1.tar.gz -> http-client-tls-0.3.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4.1/ChangeLog.md 
new/http-client-tls-0.3.4.2/ChangeLog.md
--- old/http-client-tls-0.3.4.1/ChangeLog.md2017-04-07 12:39:37.0 
+0200
+++ new/http-client-tls-0.3.4.2/ChangeLog.md2017-05-01 11:15:44.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.4.2
+
+* Never throw exceptions on 401 status in `applyDigestAuth`
+
 ## 0.3.4.1
 
 * Better exception cleanup behavior
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.4.2/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs  2017-03-03 
05:31:27.0 +0100
+++ new/http-client-tls-0.3.4.2/Network/HTTP/Client/TLS.hs  2017-05-01 
11:11:20.0 +0200
@@ -299,7 +299,7 @@
 -> Request
 -> Manager
 -> m (n Request)
-applyDigestAuth user pass req man = liftIO $ do
+applyDigestAuth user pass req0 man = liftIO $ do
 res <- httpNoBody req man
 let throw' = throwM . DigestAuthException req res
 return $ do
@@ -360,6 +360,10 @@
 , cookieJar = Just $ responseCookieJar res
 }
   where
+-- Since we're expecting a non-200 response, ensure we do not
+-- throw exceptions for such responses.
+req = req0 { checkResponse = \_ _ -> return () }
+
 stripCI x y
 | CI.mk x == CI.mk (S.take len y) = Just $ S.drop len y
 | otherwise = Nothing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4.1/http-client-tls.cabal 
new/http-client-tls-0.3.4.2/http-client-tls.cabal
--- old/http-client-tls-0.3.4.1/http-client-tls.cabal   2017-04-07 
12:39:41.0 +0200
+++ new/http-client-tls-0.3.4.2/http-client-tls.cabal   2017-05-01 
11:15:23.0 +0200
@@ -1,5 +1,5 @@
 name:http-client-tls
-version: 0.3.4.1
+version: 0.3.4.2
 synopsis:http-client backend using the connection package and tls 
library
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/snoyberg/http-client




commit ghc-http-client-tls for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-05-10 20:49:33

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


Package is "ghc-http-client-tls"

Wed May 10 20:49:33 2017 rev:7 rq:491476 version:0.3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2017-03-20 17:07:23.292293318 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-05-10 20:49:34.390842679 +0200
@@ -1,0 +2,5 @@
+Sun Apr  9 18:08:08 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.4.1 with cabal2obs.
+
+---

Old:

  http-client-tls-0.3.4.tar.gz

New:

  http-client-tls-0.3.4.1.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.mLJKGA/_old  2017-05-10 20:49:35.374703848 +0200
+++ /var/tmp/diff_new_pack.mLJKGA/_new  2017-05-10 20:49:35.378703283 +0200
@@ -19,7 +19,7 @@
 %global pkg_name http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.4
+Version:0.3.4.1
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT

++ http-client-tls-0.3.4.tar.gz -> http-client-tls-0.3.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4/ChangeLog.md 
new/http-client-tls-0.3.4.1/ChangeLog.md
--- old/http-client-tls-0.3.4/ChangeLog.md  2017-02-26 15:39:37.0 
+0100
+++ new/http-client-tls-0.3.4.1/ChangeLog.md2017-04-07 12:39:37.0 
+0200
@@ -1,3 +1,7 @@
+## 0.3.4.1
+
+* Better exception cleanup behavior
+
 ## 0.3.4
 
 * Add 'newTlsManager'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.3.4/Network/HTTP/Client/TLS.hs2017-02-26 
15:38:40.0 +0100
+++ new/http-client-tls-0.3.4.1/Network/HTTP/Client/TLS.hs  2017-03-03 
05:31:27.0 +0100
@@ -116,14 +116,15 @@
  -> IO (Maybe HostAddress -> String -> Int -> IO Connection)
 getTlsConnection mcontext tls sock = do
 context <- maybe NC.initConnectionContext return mcontext
-return $ \_ha host port -> do
-conn <- NC.connectTo context NC.ConnectionParams
+return $ \_ha host port -> bracketOnError
+(NC.connectTo context NC.ConnectionParams
 { NC.connectionHostname = host
 , NC.connectionPort = fromIntegral port
 , NC.connectionUseSecure = tls
 , NC.connectionUseSocks = sock
-}
-convertConnection conn
+})
+NC.connectionClose
+convertConnection
 
 getTlsProxyConnection
 :: Maybe NC.ConnectionContext
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.3.4/http-client-tls.cabal 
new/http-client-tls-0.3.4.1/http-client-tls.cabal
--- old/http-client-tls-0.3.4/http-client-tls.cabal 2017-02-26 
15:38:40.0 +0100
+++ new/http-client-tls-0.3.4.1/http-client-tls.cabal   2017-04-07 
12:39:41.0 +0200
@@ -1,5 +1,5 @@
 name:http-client-tls
-version: 0.3.4
+version: 0.3.4.1
 synopsis:http-client backend using the connection package and tls 
library
 description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/snoyberg/http-client




commit ghc-http-client-tls for openSUSE:Factory

2017-03-20 Thread root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2017-03-20 17:07:22

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


Package is "ghc-http-client-tls"

Mon Mar 20 17:07:22 2017 rev:6 rq:477452 version:0.3.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2016-10-18 10:41:01.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2017-03-20 17:07:23.292293318 +0100
@@ -1,0 +2,10 @@
+Mon Feb 27 10:12:07 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.4 with cabal2obs.
+
+---
+Sun Feb 12 14:17:39 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.3.1 with cabal2obs.
+
+---

Old:

  http-client-tls-0.2.4.1.tar.gz
  http-client-tls.cabal

New:

  http-client-tls-0.3.4.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.VUTKU0/_old  2017-03-20 17:07:23.880210304 +0100
+++ /var/tmp/diff_new_pack.VUTKU0/_new  2017-03-20 17:07:23.884209739 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# 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,26 +19,33 @@
 %global pkg_name http-client-tls
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.4.1
+Version:0.3.4
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 License:MIT
 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#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-case-insensitive-devel
 BuildRequires:  ghc-connection-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-cryptonite-devel
 BuildRequires:  ghc-data-default-class-devel
+BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-http-client-devel
+BuildRequires:  ghc-http-types-devel
+BuildRequires:  ghc-memory-devel
 BuildRequires:  ghc-network-devel
+BuildRequires:  ghc-network-uri-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-tls-devel
+BuildRequires:  ghc-transformers-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
-BuildRequires:  ghc-http-types-devel
 %endif
 
 %description
@@ -59,7 +66,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -82,5 +88,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc ChangeLog.md README.md
 
 %changelog

++ http-client-tls-0.2.4.1.tar.gz -> http-client-tls-0.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.4.1/ChangeLog.md 
new/http-client-tls-0.3.4/ChangeLog.md
--- old/http-client-tls-0.2.4.1/ChangeLog.md2016-06-16 14:07:25.0 
+0200
+++ new/http-client-tls-0.3.4/ChangeLog.md  2017-02-26 15:39:37.0 
+0100
@@ -1,3 +1,39 @@
+## 0.3.4
+
+* Add 'newTlsManager'
+  [#263](https://github.com/snoyberg/http-client/issues/263), which adds
+  support for respecting `socks5://` and `socks5h://` `http_proxy` and
+  `https_proxy` environment variables.
+
+## 0.3.3.2
+
+* Better handling of internal exceptions
+
+## 0.3.3.1
+
+* Better exception safety via `bracketOnError`
+
+## 0.3.3
+
+* Add `DigestAuthException` and generalize `applyDigestAuth`
+* Global manager uses a shared TLS context (faster init)
+
+## 0.3.2
+
+* Add `mkManagerSettingsContext` 
[#228](https://github.com/snoyberg/http-client/issues/228)
+
+## 0.3.1.1
+
+* Minor doc updates
+
+## 0.3.1
+
+* Add `applyDigestAuth`
+
+## 0.3.0
+
+* Support http-client 0.5
+
 ## 0.2.4.1
 
 * Cabal description fix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.4.1/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.3.4/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.2.4.1/Network/HTTP/Client/TLS.hs  2016-06-16 
14:07:25.0 

commit ghc-http-client-tls for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2016-10-18 10:41:01

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


Package is "ghc-http-client-tls"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2016-07-20 09:19:06.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2016-10-18 10:41:01.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 20 10:06:14 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.4.1 revision 1 with cabal2obs.
+
+---

New:

  http-client-tls.cabal



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.lhzUP6/_old  2016-10-18 10:41:02.0 +0200
+++ /var/tmp/diff_new_pack.lhzUP6/_new  2016-10-18 10:41:02.0 +0200
@@ -23,11 +23,11 @@
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-connection-devel
 BuildRequires:  ghc-data-default-class-devel
@@ -40,7 +40,6 @@
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-http-types-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Hackage documentation generation is not reliable. For up to date documentation,
@@ -60,21 +59,16 @@
 
 %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
@@ -88,6 +82,5 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc ChangeLog.md README.md
 
 %changelog

++ http-client-tls.cabal ++
name:http-client-tls
version: 0.2.4.1
x-revision: 1
synopsis:http-client backend using the connection package and tls 
library
description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
homepage:https://github.com/snoyberg/http-client
license: MIT
license-file:LICENSE
author:  Michael Snoyman
maintainer:  mich...@snoyman.com
category:Network
build-type:  Simple
cabal-version:   >=1.10
extra-source-files:  README.md
 ChangeLog.md

library
  exposed-modules: Network.HTTP.Client.TLS
  other-extensions:ScopedTypeVariables
  build-depends:   base >= 4 && < 5
 , data-default-class
 , http-client >= 0.3.5 && <0.5
 , connection >= 0.2.2
 , network
 , tls >= 1.2
 , bytestring
  default-language:Haskell2010

test-suite spec
  main-is: Spec.hs
  type:exitcode-stdio-1.0
  hs-source-dirs:  test
  default-language:Haskell2010
  build-depends:   base
 , hspec
 , http-client
 , http-client-tls
 , http-types



commit ghc-http-client-tls for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2016-07-20 09:19:02

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


Package is "ghc-http-client-tls"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2016-06-25 02:21:51.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2016-07-20 09:19:06.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:22:49 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.4.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.021aE0/_old  2016-07-20 09:19:07.0 +0200
+++ /var/tmp/diff_new_pack.021aE0/_new  2016-07-20 09:19:07.0 +0200
@@ -15,30 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name http-client-tls
 
+%global pkg_name http-client-tls
 %bcond_with tests
-
-Name:   ghc-http-client-tls
+Name:   ghc-%{pkg_name}
 Version:0.2.4.1
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
-Group:  System/Libraries
-
 License:MIT
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-connection-devel
 BuildRequires:  ghc-data-default-class-devel
 BuildRequires:  ghc-http-client-devel
 BuildRequires:  ghc-network-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-tls-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-http-types-devel
@@ -46,22 +43,21 @@
 # End cabal-rpm deps
 
 %description
-Intended for use by higher-level libraries, such as http-conduit.
-
+Hackage documentation generation is not reliable. For up to date documentation,
+please see: .
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development
 files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -76,25 +72,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-
+%doc ChangeLog.md README.md
 
 %changelog




commit ghc-http-client-tls for openSUSE:Factory

2016-06-24 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2016-06-25 02:20:58

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


Package is "ghc-http-client-tls"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2016-04-22 16:25:23.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2016-06-25 02:21:51.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 07:51:57 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.4.1 
+
+---

Old:

  http-client-tls-0.2.4.tar.gz

New:

  http-client-tls-0.2.4.1.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.PKEYyk/_old  2016-06-25 02:21:52.0 +0200
+++ /var/tmp/diff_new_pack.PKEYyk/_new  2016-06-25 02:21:52.0 +0200
@@ -20,7 +20,7 @@
 %bcond_with tests
 
 Name:   ghc-http-client-tls
-Version:0.2.4
+Version:0.2.4.1
 Release:0
 Summary:Http-client backend using the connection package and tls 
library
 Group:  System/Libraries

++ http-client-tls-0.2.4.tar.gz -> http-client-tls-0.2.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.4/ChangeLog.md 
new/http-client-tls-0.2.4.1/ChangeLog.md
--- old/http-client-tls-0.2.4/ChangeLog.md  2016-04-15 10:51:33.0 
+0200
+++ new/http-client-tls-0.2.4.1/ChangeLog.md2016-06-16 14:07:25.0 
+0200
@@ -1,3 +1,7 @@
+## 0.2.4.1
+
+* Cabal description fix
+
 ## 0.2.4
 
 * Global manager
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.4/http-client-tls.cabal 
new/http-client-tls-0.2.4.1/http-client-tls.cabal
--- old/http-client-tls-0.2.4/http-client-tls.cabal 2016-04-15 
10:51:33.0 +0200
+++ new/http-client-tls-0.2.4.1/http-client-tls.cabal   2016-06-16 
14:07:25.0 +0200
@@ -1,7 +1,7 @@
 name:http-client-tls
-version: 0.2.4
+version: 0.2.4.1
 synopsis:http-client backend using the connection package and tls 
library
-description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
+description: Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
.
 homepage:https://github.com/snoyberg/http-client
 license: MIT
 license-file:LICENSE




commit ghc-http-client-tls for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2016-04-22 16:25:03

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


Package is "ghc-http-client-tls"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-client-tls/ghc-http-client-tls.changes  
2015-05-21 08:37:06.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2016-04-22 16:25:23.0 +0200
@@ -1,0 +2,12 @@
+Sat Apr 16 07:13:00 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.4
+* Global manager
+
+---
+Tue Apr 12 10:02:46 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.3
+* Exception catching cleanup
+
+---

Old:

  http-client-tls-0.2.2.tar.gz

New:

  http-client-tls-0.2.4.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
--- /var/tmp/diff_new_pack.jKMSiy/_old  2016-04-22 16:25:23.0 +0200
+++ /var/tmp/diff_new_pack.jKMSiy/_new  2016-04-22 16:25:23.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-client-tls
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,9 +19,9 @@
 
 %bcond_with tests
 
-Name:   ghc-%{pkg_name}
-Version:0.2.2
-Release:1
+Name:   ghc-http-client-tls
+Version:0.2.4
+Release:0
 Summary:Http-client backend using the connection package and tls 
library
 Group:  System/Libraries
 

++ http-client-tls-0.2.2.tar.gz -> http-client-tls-0.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.2/ChangeLog.md 
new/http-client-tls-0.2.4/ChangeLog.md
--- old/http-client-tls-0.2.2/ChangeLog.md  1970-01-01 01:00:00.0 
+0100
+++ new/http-client-tls-0.2.4/ChangeLog.md  2016-04-15 10:51:33.0 
+0200
@@ -0,0 +1,7 @@
+## 0.2.4
+
+* Global manager
+
+## 0.2.3
+
+* Exception catching cleanup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-client-tls-0.2.2/Network/HTTP/Client/TLS.hs 
new/http-client-tls-0.2.4/Network/HTTP/Client/TLS.hs
--- old/http-client-tls-0.2.2/Network/HTTP/Client/TLS.hs2014-07-15 
07:01:15.0 +0200
+++ new/http-client-tls-0.2.4/Network/HTTP/Client/TLS.hs2016-04-15 
10:51:33.0 +0200
@@ -1,9 +1,16 @@
 {-# LANGUAGE ScopedTypeVariables #-}
 -- | Support for making connections via the connection package and, in turn,
 -- the tls package suite.
+--
+-- Recommended reading: 

 module Network.HTTP.Client.TLS
-( tlsManagerSettings
+( -- * Settings
+  tlsManagerSettings
 , mkManagerSettings
+  -- * Global manager
+, getGlobalManager
+, setGlobalManager
+  -- * Internal
 , getTlsConnection
 ) where
 
@@ -15,7 +22,11 @@
 import Network.Socket (HostAddress)
 import qualified Network.TLS as TLS
 import qualified Data.ByteString as S
+import Data.IORef (IORef, newIORef, readIORef, writeIORef)
+import System.IO.Unsafe (unsafePerformIO)
 
+-- | Create a TLS-enabled 'ManagerSettings' with the given 'NC.TLSSettings' and
+-- 'NC.SockSettings'
 mkManagerSettings :: NC.TLSSettings
   -> Maybe NC.SockSettings
   -> ManagerSettings
@@ -42,23 +53,19 @@
 Just NoResponseDataReceived -> True
 Just IncompleteHeaders -> True
 _ -> False
-, managerWrapIOException =
+, managerWrapIOException = 
 let wrapper se =
 case fromException se of
 Just e -> toException $ InternalIOException e
-Nothing ->
-case fromException se of
-Just TLS.Terminated{} -> toException $ 
TlsException se
-_ ->
-case fromException se of
-Just TLS.HandshakeFailed{} -> toException 
$ TlsException se
-_ ->
-case fromException se of
-Just TLS.ConnectionNotEstablished 
-> toException $ TlsException se
-   

commit ghc-http-client-tls for openSUSE:Factory

2015-05-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-client-tls for 
openSUSE:Factory checked in at 2015-05-21 08:37:05

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


Package is ghc-http-client-tls

Changes:

New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-client-tls.new/ghc-http-client-tls.changes 
2015-05-21 08:37:06.0 +0200
@@ -0,0 +1,5 @@
+---
+Thu Apr 23 10:36:23 UTC 2015 - mimi...@gmail.com
+
+- initial commit 
+

New:

  ghc-http-client-tls.changes
  ghc-http-client-tls.spec
  http-client-tls-0.2.2.tar.gz



Other differences:
--
++ ghc-http-client-tls.spec ++
#
# spec file for package ghc-http-client-tls
#
# Copyright (c) 2015 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%global pkg_name http-client-tls

%bcond_with tests

Name:   ghc-%{pkg_name}
Version:0.2.2
Release:1
Summary:Http-client backend using the connection package and tls library
Group:  System/Libraries

License:MIT
Url:https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-connection-devel
BuildRequires:  ghc-data-default-class-devel
BuildRequires:  ghc-http-client-devel
BuildRequires:  ghc-network-devel
BuildRequires:  ghc-tls-devel
%if %{with tests}
BuildRequires:  ghc-hspec-devel
BuildRequires:  ghc-http-types-devel
%endif
# End cabal-rpm deps

%description
Intended for use by higher-level libraries, such as http-conduit.


%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Other
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires:   %{name} = %{version}-%{release}

%description devel
This package provides the Haskell %{pkg_name} library development
files.


%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


%check
%if %{with tests}
%cabal test
%endif


%post devel
%ghc_pkg_recache


%postun devel
%ghc_pkg_recache


%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE


%files devel -f %{name}-devel.files
%defattr(-,root,root,-)


%changelog