Hello community, here is the log from the commit of package ghc-authenticate for openSUSE:Factory checked in at 2016-07-12 23:52:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-authenticate (Old) and /work/SRC/openSUSE:Factory/.ghc-authenticate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-authenticate" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-authenticate/ghc-authenticate.changes 2016-05-03 09:36:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-authenticate.new/ghc-authenticate.changes 2016-07-12 23:52:40.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jul 10 15:13:33 UTC 2016 - mimi...@gmail.com + +- update to 1.3.3.2 +* Support for http-conduit-2.2.0 + +------------------------------------------------------------------- Old: ---- authenticate-1.3.3.1.tar.gz New: ---- authenticate-1.3.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-authenticate.spec ++++++ --- /var/tmp/diff_new_pack.fwUP4T/_old 2016-07-12 23:52:41.000000000 +0200 +++ /var/tmp/diff_new_pack.fwUP4T/_new 2016-07-12 23:52:41.000000000 +0200 @@ -18,7 +18,7 @@ %global pkg_name authenticate Name: ghc-%{pkg_name} -Version: 1.3.3.1 +Version: 1.3.3.2 Release: 0 Summary: Authentication methods for Haskell web applications License: MIT ++++++ authenticate-1.3.3.1.tar.gz -> authenticate-1.3.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authenticate-1.3.3.1/ChangeLog.md new/authenticate-1.3.3.2/ChangeLog.md --- old/authenticate-1.3.3.1/ChangeLog.md 2016-04-12 15:13:35.000000000 +0200 +++ new/authenticate-1.3.3.2/ChangeLog.md 2016-07-05 11:28:02.000000000 +0200 @@ -1,3 +1,7 @@ +## 1.3.3.2 + +* Support for http-conduit-2.2.0 [#47](https://github.com/yesodweb/authenticate/issues/47) + ## 1.3.3.1 * License update [#46](https://github.com/yesodweb/authenticate/issues/46) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authenticate-1.3.3.1/OpenId2/Discovery.hs new/authenticate-1.3.3.2/OpenId2/Discovery.hs --- old/authenticate-1.3.3.1/OpenId2/Discovery.hs 2016-04-12 15:13:35.000000000 +0200 +++ new/authenticate-1.3.3.2/OpenId2/Discovery.hs 2016-07-05 11:28:02.000000000 +0200 @@ -73,20 +73,32 @@ -> Int -- ^ remaining redirects -> Manager -> m (Maybe (Provider, Identifier, IdentType)) -discoverYADIS _ _ 0 _ = liftIO $ throwIO $ TooManyRedirects +discoverYADIS _ _ 0 _ = +#if MIN_VERSION_http_conduit(2, 2, 0) + error "discoverYADIS: Too many redirects" +#else + liftIO $ throwIO $ TooManyRedirects #if MIN_VERSION_http_conduit(1,6,0) - [] + [] +#endif #endif discoverYADIS ident mb_loc redirects manager = do let uri = fromMaybe (unpack $ identifier ident) mb_loc +#if MIN_VERSION_http_conduit(2, 2, 0) + req <- liftIO $ parseRequest uri +#else req <- liftIO $ parseUrl uri +#endif res <- httpLbs req +#if !MIN_VERSION_http_conduit(2, 2, 0) #if MIN_VERSION_http_conduit(1, 9, 0) { checkStatus = \_ _ _ -> Nothing #else { checkStatus = \_ _ -> Nothing #endif - } manager + } +#endif + manager let mloc = fmap S8.unpack $ lookup "x-xrds-location" $ map (first $ map toLower . S8.unpack . CI.original) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/authenticate-1.3.3.1/authenticate.cabal new/authenticate-1.3.3.2/authenticate.cabal --- old/authenticate-1.3.3.1/authenticate.cabal 2016-04-12 15:13:35.000000000 +0200 +++ new/authenticate-1.3.3.2/authenticate.cabal 2016-07-05 11:28:02.000000000 +0200 @@ -1,5 +1,5 @@ name: authenticate -version: 1.3.3.1 +version: 1.3.3.2 license: MIT license-file: LICENSE author: Michael Snoyman, Hiromi Ishii, Arash Rouhani