[package-plan] 03/04: warp/wai patching
Clint Adams
clint at moszumanska.debian.org
Sat Dec 5 01:51:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository package-plan.
commit 6708ef54bae101e85c12aa2208d90e9ab00a09d8
Author: Clint Adams <clint at debian.org>
Date: Fri Dec 4 20:15:43 2015 -0500
warp/wai patching
---
additional-cabals/wai-3.0.4.0.cabal | 52 ++++++++
additional-cabals/warp-3.1.3.1.cabal | 186 +++++++++++++++++++++++++++++
patches/wai/3.0.4.0/no-bytestring-builder | 12 ++
patches/wai/3.0.4.0/series | 1 +
patches/warp/3.1.3.1/no-bytestring-builder | 22 ++++
patches/warp/3.1.3.1/series | 1 +
6 files changed, 274 insertions(+)
diff --git a/additional-cabals/wai-3.0.4.0.cabal b/additional-cabals/wai-3.0.4.0.cabal
new file mode 100644
index 0000000..800b382
--- /dev/null
+++ b/additional-cabals/wai-3.0.4.0.cabal
@@ -0,0 +1,52 @@
+Name: wai
+Version: 3.0.4.0
+Synopsis: Web Application Interface.
+Description: Provides a common protocol for communication between web applications and web servers.
+description: API docs and the README are available at <http://www.stackage.org/package/wai>.
+License: MIT
+License-file: LICENSE
+Author: Michael Snoyman
+Maintainer: michael at snoyman.com
+Homepage: https://github.com/yesodweb/wai
+Category: Web
+Build-Type: Simple
+Cabal-Version: >=1.8
+Stability: Stable
+extra-source-files: README.md ChangeLog.md
+
+Source-repository head
+ type: git
+ location: git://github.com/yesodweb/wai.git
+
+Library
+ Build-Depends: base >= 4 && < 5
+ , bytestring >= 0.9.1.4
+ , bytestring-builder >= 0.10.4.0 && < 0.10.7
+ , blaze-builder >= 0.2.1.4 && < 0.5
+ , network >= 2.2.1.5
+ , http-types >= 0.7
+ , text >= 0.7
+ , transformers >= 0.0
+ , unix-compat >= 0.2
+ , vault >= 0.3 && < 0.4
+ Exposed-modules: Network.Wai
+ Network.Wai.HTTP2
+ Network.Wai.Internal
+ ghc-options: -Wall
+
+test-suite test
+ hs-source-dirs: test
+ main-is: Spec.hs
+ type: exitcode-stdio-1.0
+ ghc-options: -threaded
+ cpp-options: -DTEST
+ build-depends: base
+ , wai
+ , hspec
+ , blaze-builder
+ , bytestring
+ other-modules: Network.WaiSpec
+
+source-repository head
+ type: git
+ location: git://github.com/yesodweb/wai.git
diff --git a/additional-cabals/warp-3.1.3.1.cabal b/additional-cabals/warp-3.1.3.1.cabal
new file mode 100644
index 0000000..4e3c843
--- /dev/null
+++ b/additional-cabals/warp-3.1.3.1.cabal
@@ -0,0 +1,186 @@
+Name: warp
+Version: 3.1.3.1
+Synopsis: A fast, light-weight web server for WAI applications.
+License: MIT
+License-file: LICENSE
+Author: Michael Snoyman, Kazu Yamamoto, Matt Brown
+Maintainer: michael at snoyman.com
+Homepage: http://github.com/yesodweb/wai
+Category: Web, Yesod
+Build-Type: Simple
+Cabal-Version: >=1.8
+Stability: Stable
+description: HTTP\/1.0, HTTP\/1.1 and HTTP\/2 are supported.
+ For HTTP\/2, Warp supports direct and ALPN (in TLS)
+ but not upgrade.
+ API docs and the README are available at
+ <http://www.stackage.org/package/warp>.
+extra-source-files: attic/hex
+ ChangeLog.md
+ README.md
+
+Flag network-bytestring
+ Default: False
+
+Flag allow-sendfilefd
+ Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
+ Default: True
+
+Flag warp-debug
+ Description: print debug output. not suitable for production
+ Default: False
+
+Library
+ Build-Depends: base >= 3 && < 5
+ , array
+ , auto-update >= 0.1.1 && < 0.2
+ , blaze-builder >= 0.4
+ , bytestring >= 0.9.1.4
+ , bytestring-builder
+ , case-insensitive >= 0.2
+ , containers
+ , ghc-prim
+ , http-types >= 0.8.5
+ , iproute >= 1.3.1
+ , http2 >= 1.0.2
+ , simple-sendfile >= 0.2.7 && < 0.3
+ , unix-compat >= 0.2
+ , wai >= 3.0 && < 3.1
+ , text
+ , streaming-commons >= 0.1.10
+ , vault >= 0.3
+ , stm >= 2.3
+ , word8
+ if flag(network-bytestring)
+ Build-Depends: network >= 2.2.1.5 && < 2.2.3
+ , network-bytestring >= 0.1.3 && < 0.1.4
+ else
+ Build-Depends: network >= 2.3
+ Exposed-modules: Network.Wai.Handler.Warp
+ Network.Wai.Handler.Warp.Internal
+ Other-modules: Network.Wai.Handler.Warp.Buffer
+ Network.Wai.Handler.Warp.Conduit
+ Network.Wai.Handler.Warp.Counter
+ Network.Wai.Handler.Warp.Date
+ Network.Wai.Handler.Warp.FdCache
+ Network.Wai.Handler.Warp.HTTP2
+ Network.Wai.Handler.Warp.HTTP2.EncodeFrame
+ Network.Wai.Handler.Warp.HTTP2.HPACK
+ Network.Wai.Handler.Warp.HTTP2.Manager
+ Network.Wai.Handler.Warp.HTTP2.Receiver
+ Network.Wai.Handler.Warp.HTTP2.Request
+ Network.Wai.Handler.Warp.HTTP2.Sender
+ Network.Wai.Handler.Warp.HTTP2.Types
+ Network.Wai.Handler.Warp.HTTP2.Worker
+ Network.Wai.Handler.Warp.Header
+ Network.Wai.Handler.Warp.IO
+ Network.Wai.Handler.Warp.IORef
+ Network.Wai.Handler.Warp.ReadInt
+ Network.Wai.Handler.Warp.Recv
+ Network.Wai.Handler.Warp.Request
+ Network.Wai.Handler.Warp.RequestHeader
+ Network.Wai.Handler.Warp.Response
+ Network.Wai.Handler.Warp.ResponseHeader
+ Network.Wai.Handler.Warp.Run
+ Network.Wai.Handler.Warp.SendFile
+ Network.Wai.Handler.Warp.Settings
+ Network.Wai.Handler.Warp.Timeout
+ Network.Wai.Handler.Warp.Types
+ Network.Wai.Handler.Warp.Windows
+ Paths_warp
+ Ghc-Options: -Wall
+
+ if flag(warp-debug)
+ Cpp-Options: -DWARP_DEBUG
+ if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
+ Cpp-Options: -DSENDFILEFD
+ Build-Depends: hashable
+ Other-modules: Network.Wai.Handler.Warp.MultiMap
+ if os(windows)
+ Cpp-Options: -DWINDOWS
+ Build-Depends: time
+ , old-locale
+ else
+ Build-Depends: unix
+ , http-date
+
+Test-Suite doctest
+ Type: exitcode-stdio-1.0
+ HS-Source-Dirs: test
+ Ghc-Options: -threaded -Wall
+ Main-Is: doctests.hs
+ Build-Depends: base
+ , doctest >= 0.10.1
+
+Test-Suite spec
+ Main-Is: Spec.hs
+ Other-modules: BufferPoolSpec
+ ConduitSpec
+ ExceptionSpec
+ FdCacheSpec
+ MultiMapSpec
+ ReadIntSpec
+ RequestSpec
+ ResponseHeaderSpec
+ ResponseSpec
+ RunSpec
+ SendFileSpec
+ Hs-Source-Dirs: test, .
+ Type: exitcode-stdio-1.0
+
+ Ghc-Options: -Wall
+ Build-Depends: base >= 4 && < 5
+ , array
+ , auto-update
+ , blaze-builder >= 0.4
+ , bytestring >= 0.9.1.4
+ , bytestring-builder
+ , case-insensitive >= 0.2
+ , ghc-prim
+ , HTTP
+ , http-types >= 0.8.4
+ , iproute >= 1.3.1
+ , lifted-base >= 0.1
+ , simple-sendfile >= 0.2.4 && < 0.3
+ , transformers >= 0.2.2
+ , unix-compat >= 0.2
+ , wai
+ , network
+ , HUnit
+ , QuickCheck
+ , hspec >= 1.3
+ , time
+ , old-locale
+ , text
+ , streaming-commons >= 0.1.10
+ , async
+ , vault
+ , stm >= 2.3
+ , directory
+ , process
+ , containers
+ , http2 >= 1.0.2
+ , word8
+
+ if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
+ Cpp-Options: -DSENDFILEFD
+ Build-Depends: unix
+ , hashable
+ , http-date
+ if os(windows)
+ Cpp-Options: -DWINDOWS
+
+Benchmark parser
+ Type: exitcode-stdio-1.0
+ Main-Is: Parser.hs
+ HS-Source-Dirs: bench .
+ Build-Depends: base
+ , bytestring
+ , criterion
+ , http-types
+ , network
+ , network
+
+Source-Repository head
+ Type: git
+ Location: git://github.com/yesodweb/wai.git
diff --git a/patches/wai/3.0.4.0/no-bytestring-builder b/patches/wai/3.0.4.0/no-bytestring-builder
new file mode 100644
index 0000000..1e22f6e
--- /dev/null
+++ b/patches/wai/3.0.4.0/no-bytestring-builder
@@ -0,0 +1,12 @@
+--- a/wai.cabal
++++ b/wai.cabal
+@@ -20,8 +20,7 @@
+
+ Library
+ Build-Depends: base >= 4 && < 5
+- , bytestring >= 0.9.1.4
+- , bytestring-builder >= 0.10.4.0 && < 0.10.7
++ , bytestring >= 0.10.4
+ , blaze-builder >= 0.2.1.4 && < 0.5
+ , network >= 2.2.1.5
+ , http-types >= 0.7
diff --git a/patches/wai/3.0.4.0/series b/patches/wai/3.0.4.0/series
new file mode 100644
index 0000000..d61cbb2
--- /dev/null
+++ b/patches/wai/3.0.4.0/series
@@ -0,0 +1 @@
+no-bytestring-builder
diff --git a/patches/warp/3.1.3.1/no-bytestring-builder b/patches/warp/3.1.3.1/no-bytestring-builder
new file mode 100644
index 0000000..e3521f8
--- /dev/null
+++ b/patches/warp/3.1.3.1/no-bytestring-builder
@@ -0,0 +1,22 @@
+--- a/warp.cabal
++++ b/warp.cabal
+@@ -35,8 +35,7 @@
+ , array
+ , auto-update >= 0.1.1 && < 0.2
+ , blaze-builder >= 0.4
+- , bytestring >= 0.9.1.4
+- , bytestring-builder
++ , bytestring >= 0.10.4
+ , case-insensitive >= 0.2
+ , containers
+ , ghc-prim
+@@ -133,8 +132,7 @@
+ , array
+ , auto-update
+ , blaze-builder >= 0.4
+- , bytestring >= 0.9.1.4
+- , bytestring-builder
++ , bytestring >= 0.10.4
+ , case-insensitive >= 0.2
+ , ghc-prim
+ , HTTP
diff --git a/patches/warp/3.1.3.1/series b/patches/warp/3.1.3.1/series
new file mode 100644
index 0000000..d61cbb2
--- /dev/null
+++ b/patches/warp/3.1.3.1/series
@@ -0,0 +1 @@
+no-bytestring-builder
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git
More information about the Pkg-haskell-commits
mailing list