Hello community, here is the log from the commit of package ghc-http-streams for openSUSE:Factory checked in at 2017-06-04 01:57:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-http-streams (Old) and /work/SRC/openSUSE:Factory/.ghc-http-streams.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-http-streams" Sun Jun 4 01:57:44 2017 rev:3 rq:499709 version:0.8.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-http-streams/ghc-http-streams.changes 2017-03-24 02:20:38.560655082 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-http-streams.new/ghc-http-streams.changes 2017-06-04 01:57:46.577600372 +0200 @@ -1,0 +2,5 @@ +Thu May 18 09:52:26 UTC 2017 - [email protected] + +- Update to version 0.8.5.3 revision 1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- http-streams-0.8.4.0.tar.gz New: ---- http-streams-0.8.5.3.tar.gz http-streams.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-http-streams.spec ++++++ --- /var/tmp/diff_new_pack.5wDBKI/_old 2017-06-04 01:57:48.281359673 +0200 +++ /var/tmp/diff_new_pack.5wDBKI/_new 2017-06-04 01:57:48.281359673 +0200 @@ -19,13 +19,14 @@ %global pkg_name http-streams %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.4.0 +Version: 0.8.5.3 Release: 0 Summary: An HTTP client using io-streams License: BSD-3-Clause 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-HsOpenSSL-devel BuildRequires: ghc-aeson-devel @@ -81,6 +82,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ http-streams-0.8.4.0.tar.gz -> http-streams-0.8.5.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.4.0/LICENCE new/http-streams-0.8.5.3/LICENCE --- old/http-streams-0.8.4.0/LICENCE 2014-10-21 05:22:13.000000000 +0200 +++ new/http-streams-0.8.5.3/LICENCE 2017-05-12 13:44:23.000000000 +0200 @@ -1,6 +1,6 @@ An HTTP client for use with io-streams -Copyright © 2012-2014 Operational Dynamics Consulting, Pty Ltd and Others +Copyright © 2012-2017 Operational Dynamics Consulting, Pty Ltd and Others All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.4.0/http-streams.cabal new/http-streams-0.8.5.3/http-streams.cabal --- old/http-streams-0.8.4.0/http-streams.cabal 2016-07-29 00:37:08.000000000 +0200 +++ new/http-streams-0.8.5.3/http-streams.cabal 2017-05-12 13:50:37.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: >= 1.10 name: http-streams -version: 0.8.4.0 +version: 0.8.5.3 synopsis: An HTTP client using io-streams description: /Overview/ @@ -17,11 +17,11 @@ license-file: LICENCE author: Andrew Cowie <[email protected]> maintainer: Andrew Cowie <[email protected]> -copyright: © 2012-2016 Operational Dynamics Consulting, Pty Ltd and Others +copyright: © 2012-2017 Operational Dynamics Consulting, Pty Ltd and Others category: Web, IO-Streams -tested-with: GHC == 7.10.3, GHC == 8.0.1 +tested-with: GHC == 8.0.2 stability: experimental -homepage: http://research.operationaldynamics.com/projects/http-streams/ +homepage: http://github.com/afcowie/http-streams/ bug-reports: https://github.com/afcowie/http-streams/issues extra-source-files: README.markdown CHANGELOG.markdown tests/MockServer.hs @@ -40,6 +40,10 @@ build-type: Custom +custom-setup + setup-depends: base >= 4, + Cabal + flag network-uri description: Get Network.URI from the network-uri package default: True @@ -54,7 +58,7 @@ blaze-builder >= 0.4, bytestring, case-insensitive, - io-streams >= 1.3 && < 1.4, + io-streams >= 1.3 && < 1.5, HsOpenSSL >= 0.10.3.5, openssl-streams >= 1.1 && < 1.4, mtl, @@ -75,8 +79,7 @@ Network.Http.Utilities, Network.Http.Inconvenience - ghc-options: -O2 - -Wall + ghc-options: -Wall -Wwarn -fwarn-tabs -funbox-strict-fields @@ -86,7 +89,7 @@ include-dirs: . - ghc-prof-options: -fprof-auto-top + ghc-prof-options: -fprof-auto-exported test-suite check @@ -123,10 +126,12 @@ unordered-containers, aeson, http-common >= 0.8.2, - http-streams >= 0.8.4 + http-streams >= 0.8.5 hs-source-dirs: lib,tests main-is: check.hs + other-modules: TestSuite + MockServer ghc-options: -O2 -threaded diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.4.0/lib/Network/Http/Connection.hs new/http-streams-0.8.5.3/lib/Network/Http/Connection.hs --- old/http-streams-0.8.4.0/lib/Network/Http/Connection.hs 2016-08-08 03:28:42.000000000 +0200 +++ new/http-streams-0.8.5.3/lib/Network/Http/Connection.hs 2017-04-20 04:58:04.000000000 +0200 @@ -236,6 +236,7 @@ connect s a ssl <- SSL.connection ctx s + SSL.setTlsextHostName ssl h1 SSL.connect ssl (i,o1) <- Streams.sslToStreams ssl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/http-streams-0.8.4.0/lib/Network/Http/Inconvenience.hs new/http-streams-0.8.5.3/lib/Network/Http/Inconvenience.hs --- old/http-streams-0.8.4.0/lib/Network/Http/Inconvenience.hs 2016-07-07 14:58:07.000000000 +0200 +++ new/http-streams-0.8.5.3/lib/Network/Http/Inconvenience.hs 2017-04-20 05:00:15.000000000 +0200 @@ -76,7 +76,7 @@ import Network.Http.RequestBuilder import Network.Http.Types -#if defined __LINUX__ +#if defined __LINUX__ || defined __FREEBSD__ import System.Directory (doesDirectoryExist) #endif @@ -240,6 +240,9 @@ SSL.contextSetVerificationMode ctx SSL.VerifyNone #elif defined __WINDOWS__ SSL.contextSetVerificationMode ctx SSL.VerifyNone +#elif defined __FREEBSD__ + SSL.contextSetCAFile ctx "/usr/local/etc/ssl/cert.pem" + SSL.contextSetVerificationMode ctx $ SSL.VerifyPeer True True Nothing #else fedora <- doesDirectoryExist "/etc/pki/tls" if fedora @@ -615,4 +618,3 @@ case r of (Success a) -> return a (Error str) -> error str - ++++++ http-streams.cabal ++++++ cabal-version: >= 1.10 name: http-streams version: 0.8.5.3 x-revision: 1 synopsis: An HTTP client using io-streams description: /Overview/ . An HTTP client, using the Snap Framework's 'io-streams' library to hande the streaming IO. The API is optimized for ease of use for the rather common case of code needing to query web services and deal with the result. . The library is exported in a single module; see "Network.Http.Client" for full documentation. license: BSD3 license-file: LICENCE author: Andrew Cowie <[email protected]> maintainer: Andrew Cowie <[email protected]> copyright: © 2012-2017 Operational Dynamics Consulting, Pty Ltd and Others category: Web, IO-Streams tested-with: GHC == 8.0.2 stability: experimental homepage: http://github.com/afcowie/http-streams/ bug-reports: https://github.com/afcowie/http-streams/issues extra-source-files: README.markdown CHANGELOG.markdown tests/MockServer.hs tests/TestSuite.hs tests/data-eu-gdp.json tests/data-us-gdp.json tests/data-jp-gdp.json tests/statler.jpg tests/example1.txt tests/example2.txt tests/example3.txt tests/example4.txt tests/example5.txt tests/hello.txt tests/hello.html build-type: Custom custom-setup setup-depends: base >= 4, Cabal flag network-uri description: Get Network.URI from the network-uri package default: True library default-language: Haskell2010 build-depends: attoparsec, base >= 4 && <5, directory, base64-bytestring, blaze-builder >= 0.4, bytestring, case-insensitive, io-streams >= 1.3 && < 1.5, HsOpenSSL >= 0.11.2, openssl-streams >= 1.1 && < 1.4, mtl, transformers, text, unordered-containers, aeson, http-common >= 0.8.2 if flag(network-uri) build-depends: network-uri >= 2.6, network >= 2.6 else build-depends: network-uri < 2.6, network < 2.6 hs-source-dirs: lib exposed-modules: Network.Http.Client other-modules: Network.Http.Connection, Network.Http.ResponseParser, Network.Http.Utilities, Network.Http.Inconvenience ghc-options: -Wall -Wwarn -fwarn-tabs -funbox-strict-fields -fno-warn-missing-signatures -fno-warn-unused-binds -fno-warn-unused-do-bind include-dirs: . ghc-prof-options: -fprof-auto-exported test-suite check type: exitcode-stdio-1.0 default-language: Haskell2010 build-depends: HUnit, HsOpenSSL, lifted-base, aeson-pretty, attoparsec, base, directory, blaze-builder, base64-bytestring, bytestring, case-insensitive, ghc-prim, hspec, hspec-expectations, io-streams, mtl, transformers, network >= 2.6, network-uri >= 2.6, openssl-streams >= 1.1 && < 1.4, snap-core >= 1.0 && < 1.1, snap-server >= 1.0 && < 1.1, system-fileio >= 0.3.10 && < 0.4, system-filepath >= 0.4.1 && < 0.5, text, unordered-containers, aeson, http-common >= 0.8.2, http-streams >= 0.8.5 hs-source-dirs: lib,tests main-is: check.hs other-modules: TestSuite MockServer ghc-options: -O2 -threaded -Wall -Wwarn -fwarn-tabs -funbox-strict-fields -fno-warn-missing-signatures -fno-warn-unused-binds -fno-warn-unused-do-bind include-dirs: . source-repository head type: git location: git://github.com/afcowie/http-streams.git -- vim: set tabstop=21 expandtab:
