commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2020-08-28 21:41:07 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new.3399 (New) Package is "ghc-wai-logger" Fri Aug 28 21:41:07 2020 rev:2 rq:829490 version:2.3.6 Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2020-06-19 17:05:44.068873037 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new.3399/ghc-wai-logger.changes 2020-08-28 21:41:09.472882394 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:46:36 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.0Iky6C/_old 2020-08-28 21:41:11.080882987 +0200 +++ /var/tmp/diff_new_pack.0Iky6C/_new 2020-08-28 21:41:11.084882988 +0200 @@ -52,7 +52,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2017-09-15 22:23:55 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Fri Sep 15 22:23:55 2017 rev:7 rq:525659 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2016-10-22 13:20:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2017-09-15 22:23:56.785716780 +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-wai-logger.spec ++ --- /var/tmp/diff_new_pack.ZqQIGO/_old 2017-09-15 22:23:58.197517880 +0200 +++ /var/tmp/diff_new_pack.ZqQIGO/_new 2017-09-15 22:23:58.209516190 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-wai-logger # -# 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 @@ -23,8 +23,8 @@ Release:0 Summary:A logging system for WAI 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-blaze-builder-devel @@ -38,7 +38,6 @@ BuildRequires: ghc-unix-devel BuildRequires: ghc-unix-time-devel BuildRequires: ghc-wai-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-doctest-devel %endif @@ -48,7 +47,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} @@ -76,10 +75,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2016-10-22 13:20:53 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2016-07-20 09:20:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2016-10-22 13:20:53.0 +0200 @@ -1,0 +2,5 @@ +Thu Sep 15 06:51:07 UTC 2016 - psim...@suse.com + +- Update to version 2.3.0 revision 0 with cabal2obs. + +--- Old: wai-logger-2.2.7.tar.gz New: wai-logger-2.3.0.tar.gz Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.Mx5aw0/_old 2016-10-22 13:20:54.0 +0200 +++ /var/tmp/diff_new_pack.Mx5aw0/_new 2016-10-22 13:20:54.0 +0200 @@ -19,15 +19,14 @@ %global pkg_name wai-logger %bcond_with tests Name: ghc-%{pkg_name} -Version:2.2.7 +Version:2.3.0 Release:0 Summary:A logging system for WAI 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-blaze-builder-devel BuildRequires: ghc-byteorder-devel BuildRequires: ghc-bytestring-devel @@ -43,7 +42,6 @@ %if %{with tests} BuildRequires: ghc-doctest-devel %endif -# End cabal-rpm deps %description A logging system for WAI. @@ -62,20 +60,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++ wai-logger-2.2.7.tar.gz -> wai-logger-2.3.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.7/Network/Wai/Logger/Apache.hs new/wai-logger-2.3.0/Network/Wai/Logger/Apache.hs --- old/wai-logger-2.2.7/Network/Wai/Logger/Apache.hs 2016-04-18 07:47:40.0 +0200 +++ new/wai-logger-2.3.0/Network/Wai/Logger/Apache.hs 2016-07-04 09:27:04.0 +0200 @@ -3,6 +3,7 @@ module Network.Wai.Logger.Apache ( IPAddrSource(..) , apacheLogStr + , serverpushLogStr ) where #ifndef MIN_VERSION_base @@ -72,6 +73,32 @@ mua = lookup "user-agent" $ requestHeaders req #endif +-- | HTTP/2 Push log format in the Apache style. +serverpushLogStr :: IPAddrSource -> FormattedTime -> Request -> ByteString -> Integer -> LogStr +serverpushLogStr ipsrc tmstr req path size = + toLogStr (getSourceIP ipsrc req) + <> " - - [" + <> toLogStr tmstr + <> "] \"PUSH " + <> toLogStr path + <> " HTTP/2\" 200 " + <> toLogStr (show size) + <> " \"" + <> toLogStr ref + <> "\" \"" + <> toLogStr (fromMaybe "" mua) + <> "\"\n" + where +ref = rawPathInfo req +#if !MIN_VERSION_base(4,5,0) +(<>) = mappend +#endif +#if MIN_VERSION_wai(3,2,0) +mua = requestHeaderUserAgent req +#else +mua = lookup "user-agent" $ requestHeaders req +#endif + -- getSourceIP = getSourceIP fromString fromByteString getSourceIP :: IPAddrSource -> Request -> ByteString diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.7/Network/Wai/Logger.hs new/wai-logger-2.3.0/Network/Wai/Logger.hs --- old/wai-logger-2.2.7/Network/Wai/Logger.hs 2016-04-18 07:47:40.0 +0200 +++ new/wai-logger-2.3.0/Network/Wai/Logger.hs 2016-07-04 09:27:04.0 +0200 @@ -34,8 +34,13 @@ -- * High level functions ApacheLogger , withStdoutLogger + , ServerPushLogger -- * Creating a logger - , ApacheLoggerActions(..) + , ApacheLoggerActions + , apacheLogger + , serverpushLogger + , logRotator + , logRemover , initLogger -- * Types , IPAddrSource(..) @@ -56,6 +61,7 @@ #endif import Control.Exception (bracket) import Control.Monad (void) +import Data.ByteString (ByteString) import Network.HTTP.Types (Status) import Network.Wai (Request) import System.Log.FastLogger @@ -85,12 +91,19 @@ -- | Apache style logger. type ApacheLogger = Request -> Status -> Maybe Integer -> IO () +-- | HTTP/2 server push logger in Apache style. +type ServerPushLogger = Request -> ByteString -> Integer -> IO () + +-- | Function set of Apache style logger. data ApacheLoggerActions = ApacheLoggerActions { +-- | The Apache logger. apacheLogger :: ApacheL
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2016-07-20 09:20:25 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2016-04-30 23:30:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2016-07-20 09:20:26.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:21:08 UTC 2016 - psim...@suse.com + +- Update to version 2.2.7 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.BHGwSf/_old 2016-07-20 09:20:28.0 +0200 +++ /var/tmp/diff_new_pack.BHGwSf/_new 2016-07-20 09:20:28.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-wai-logger # -# 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 @@ -17,22 +17,16 @@ %global pkg_name wai-logger - %bcond_with tests - -Name: ghc-wai-logger +Name: ghc-%{pkg_name} Version:2.2.7 Release:0 Summary:A logging system for WAI 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-blaze-builder-devel BuildRequires: ghc-byteorder-devel @@ -41,9 +35,11 @@ BuildRequires: ghc-fast-logger-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-network-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-devel BuildRequires: ghc-unix-time-devel BuildRequires: ghc-wai-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-doctest-devel %endif @@ -52,33 +48,35 @@ %description A logging system for WAI. - %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} + %build %ghc_lib_build + %install %ghc_lib_install + %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post devel %ghc_pkg_recache
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2016-04-30 23:30:52 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2016-01-22 01:08:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2016-04-30 23:30:53.0 +0200 @@ -1,0 +2,5 @@ +Tue Apr 26 09:22:36 UTC 2016 - mimi...@gmail.com + +- update to 2.2.7 + +--- Old: wai-logger-2.2.5.tar.gz New: wai-logger-2.2.7.tar.gz Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.CKW01b/_old 2016-04-30 23:30:53.0 +0200 +++ /var/tmp/diff_new_pack.CKW01b/_new 2016-04-30 23:30:53.0 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-wai-logger -Version:2.2.5 +Version:2.2.7 Release:0 Summary:A logging system for WAI License:MIT @@ -34,12 +34,10 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: -BuildRequires: ghc-auto-update-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-byteorder-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel -BuildRequires: ghc-easy-file-devel BuildRequires: ghc-fast-logger-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-network-devel ++ wai-logger-2.2.5.tar.gz -> wai-logger-2.2.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.5/Network/Wai/Logger/Apache.hs new/wai-logger-2.2.7/Network/Wai/Logger/Apache.hs --- old/wai-logger-2.2.5/Network/Wai/Logger/Apache.hs 2016-01-13 08:28:24.0 +0100 +++ new/wai-logger-2.2.7/Network/Wai/Logger/Apache.hs 2016-04-18 07:47:40.0 +0200 @@ -14,7 +14,6 @@ import Data.ByteString.Char8 (ByteString) import qualified Data.ByteString.Char8 as BS -import Data.CaseInsensitive (CI) import Data.List (find) import Data.Maybe (fromMaybe) #if MIN_VERSION_base(4,5,0) @@ -24,7 +23,6 @@ #endif import Network.HTTP.Types (Status, statusCode) import Network.Wai (Request(..)) -import Network.Wai.Logger.Date import Network.Wai.Logger.IP import System.Log.FastLogger @@ -42,7 +40,7 @@ | FromFallback -- | Apache style log format. -apacheLogStr :: IPAddrSource -> ZonedDate -> Request -> Status -> Maybe Integer -> LogStr +apacheLogStr :: IPAddrSource -> FormattedTime -> Request -> Status -> Maybe Integer -> LogStr apacheLogStr ipsrc tmstr req status msize = toLogStr (getSourceIP ipsrc req) <> " - - [" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.5/Network/Wai/Logger/Date.hs new/wai-logger-2.2.7/Network/Wai/Logger/Date.hs --- old/wai-logger-2.2.5/Network/Wai/Logger/Date.hs 2016-01-13 08:28:24.0 +0100 +++ new/wai-logger-2.2.7/Network/Wai/Logger/Date.hs 1970-01-01 01:00:00.0 +0100 @@ -1,88 +0,0 @@ -{-# LANGUAGE CPP, OverloadedStrings #-} - --- | --- Formatting time is slow. --- This package provides mechanisms to cache formatted date. -module Network.Wai.Logger.Date ( - -- * Types -DateCacheGetter - , DateCacheUpdater - , ZonedDate - -- * Cache configuration - , DateCacheConf(..) - , zonedDateCacheConf - -- * Date cacher - , clockDateCacher - ) where - -import Control.AutoUpdate (mkAutoUpdate, defaultUpdateSettings, updateAction) -import Data.ByteString (ByteString) -#if WINDOWS -import qualified Data.ByteString.Char8 as BS -import Data.Time (UTCTime, formatTime, getCurrentTime, utcToLocalZonedTime) -# if MIN_VERSION_time(1,5,0) -import Data.Time (defaultTimeLocale) -# else -import System.Locale (defaultTimeLocale) -# endif -#else -import Data.UnixTime (formatUnixTime, fromEpochTime) -import System.Posix (EpochTime, epochTime) -#endif - - - --- | Getting cached 'ZonedDate'. -type DateCacheGetter = IO ZonedDate --- | Updateing cached 'ZonedDate'. This should be called every second. --- See the source code of 'withStdoutLogger'. -type DateCacheUpdater = IO () - - - --- | A type for zoned date. -type ZonedDate = ByteString - - - -data DateCacheConf t = DateCacheConf { --- | A function to get a time. E.g 'epochTime' and 'getCurrentTime'. -getTime :: IO t --- | A function to f
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2016-01-21 23:43:13 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2015-06-15 17:49:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2016-01-22 01:08:18.0 +0100 @@ -1,0 +2,5 @@ +Fri Jan 15 10:26:18 UTC 2016 - mimi...@gmail.com + +- update to 2.2.5 + +--- Old: wai-logger-2.2.4.1.tar.gz New: wai-logger-2.2.5.tar.gz Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.6oSDAT/_old 2016-01-22 01:08:20.0 +0100 +++ /var/tmp/diff_new_pack.6oSDAT/_new 2016-01-22 01:08:20.0 +0100 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-wai-logger -Version:2.2.4.1 +Version:2.2.5 Release:0 Summary:A logging system for WAI License:MIT ++ wai-logger-2.2.4.1.tar.gz -> wai-logger-2.2.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.4.1/Network/Wai/Logger/Apache.hs new/wai-logger-2.2.5/Network/Wai/Logger/Apache.hs --- old/wai-logger-2.2.4.1/Network/Wai/Logger/Apache.hs 2015-06-09 05:29:42.0 +0200 +++ new/wai-logger-2.2.5/Network/Wai/Logger/Apache.hs 2016-01-13 08:28:24.0 +0100 @@ -8,6 +8,9 @@ #ifndef MIN_VERSION_base #define MIN_VERSION_base(x,y,z) 1 #endif +#ifndef MIN_VERSION_wai +#define MIN_VERSION_wai(x,y,z) 1 +#endif import Data.ByteString.Char8 (ByteString) import qualified Data.ByteString.Char8 as BS @@ -55,17 +58,21 @@ <> " " <> toLogStr (maybe "-" show msize) <> " \"" - <> toLogStr (lookupRequestField' "referer" req) + <> toLogStr (fromMaybe "" mr) <> "\" \"" - <> toLogStr (lookupRequestField' "user-agent" req) + <> toLogStr (fromMaybe "" mua) <> "\"\n" where #if !MIN_VERSION_base(4,5,0) (<>) = mappend #endif - -lookupRequestField' :: CI ByteString -> Request -> ByteString -lookupRequestField' k req = fromMaybe "" . lookup k $ requestHeaders req +#if MIN_VERSION_wai(3,2,0) +mr = requestHeaderReferer req +mua = requestHeaderUserAgent req +#else +mr = lookup "referer" $ requestHeaders req +mua = lookup "user-agent" $ requestHeaders req +#endif -- getSourceIP = getSourceIP fromString fromByteString diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.4.1/test/doctests.hs new/wai-logger-2.2.5/test/doctests.hs --- old/wai-logger-2.2.4.1/test/doctests.hs 2015-06-09 05:29:42.0 +0200 +++ new/wai-logger-2.2.5/test/doctests.hs 2016-01-13 08:28:24.0 +0100 @@ -3,9 +3,4 @@ import Test.DocTest main :: IO () -main = doctest [ -"-idist/build/autogen/" - , "-optP-include" - , "-optPdist/build/autogen/cabal_macros.h" - , "Network/Wai/Logger.hs" - ] +main = doctest ["Network"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.4.1/wai-logger.cabal new/wai-logger-2.2.5/wai-logger.cabal --- old/wai-logger-2.2.4.1/wai-logger.cabal 2015-06-09 05:29:42.0 +0200 +++ new/wai-logger-2.2.5/wai-logger.cabal 2016-01-13 08:28:24.0 +0100 @@ -1,5 +1,5 @@ Name: wai-logger -Version:2.2.4.1 +Version:2.2.5 Author: Kazu Yamamoto Maintainer: Kazu Yamamoto License:BSD3 @@ -44,7 +44,7 @@ Ghc-Options: -Wall Main-Is: doctests.hs Build-Depends:base - , doctest + , doctest >= 0.10.1 Source-Repository head Type: git
commit ghc-wai-logger for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-wai-logger for openSUSE:Factory checked in at 2015-06-15 17:49:30 Comparing /work/SRC/openSUSE:Factory/ghc-wai-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-wai-logger.new (New) Package is "ghc-wai-logger" Changes: --- /work/SRC/openSUSE:Factory/ghc-wai-logger/ghc-wai-logger.changes 2015-05-28 09:58:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-wai-logger.new/ghc-wai-logger.changes 2015-06-15 17:49:32.0 +0200 @@ -1,0 +2,5 @@ +Sun Jun 14 16:57:34 UTC 2015 - mimi...@gmail.com + +- update to 2.2.4.1 + +--- Old: wai-logger-2.2.4.tar.gz New: wai-logger-2.2.4.1.tar.gz Other differences: -- ++ ghc-wai-logger.spec ++ --- /var/tmp/diff_new_pack.8GgJrg/_old 2015-06-15 17:49:33.0 +0200 +++ /var/tmp/diff_new_pack.8GgJrg/_new 2015-06-15 17:49:33.0 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-wai-logger -Version:2.2.4 +Version:2.2.4.1 Release:0 Summary:A logging system for WAI License:MIT ++ wai-logger-2.2.4.tar.gz -> wai-logger-2.2.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.4/Network/Wai/Logger.hs new/wai-logger-2.2.4.1/Network/Wai/Logger.hs --- old/wai-logger-2.2.4/Network/Wai/Logger.hs 2015-03-28 16:20:02.0 +0100 +++ new/wai-logger-2.2.4.1/Network/Wai/Logger.hs2015-06-09 05:29:42.0 +0200 @@ -18,16 +18,15 @@ -- > run 3000 $ logApp aplogger -- > -- > logApp :: ApacheLogger -> Application --- > logApp aplogger req = do +-- > logApp aplogger req response = do -- > liftIO $ aplogger req status (Just len) --- > return $ responseBuilder status hdr msg +-- > response $ responseBuilder status hdr msg -- > where -- > status = status200 --- > hdr = [("Content-Type", "text/plain") --- > ,("Content-Length", BS.pack (show len))] +-- > hdr = [("Content-Type", "text/plain")] -- > pong = "PONG" +-- > msg = fromByteString pong -- > len = fromIntegral $ BS.length pong --- > msg = toLogStr pong module Network.Wai.Logger ( -- * High level functions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wai-logger-2.2.4/wai-logger.cabal new/wai-logger-2.2.4.1/wai-logger.cabal --- old/wai-logger-2.2.4/wai-logger.cabal 2015-03-28 16:20:02.0 +0100 +++ new/wai-logger-2.2.4.1/wai-logger.cabal 2015-06-09 05:29:42.0 +0200 @@ -1,5 +1,5 @@ Name: wai-logger -Version:2.2.4 +Version:2.2.4.1 Author: Kazu Yamamoto Maintainer: Kazu Yamamoto License:BSD3