packages feed

Cabal revisions of mighttpd2-4.0.10

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-cabal-version:      >=1.10-name:               mighttpd2-version:            4.0.10-license:            BSD3-license-file:       LICENSE-maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>-author:             Kazu Yamamoto <kazu@iij.ad.jp>-homepage:           https://kazu-yamamoto.github.io/mighttpd2/-synopsis:           High performance web server on WAI/warp-description:-    High performance web server to handle static-    files and CGI on WAI/warp.-    Reverse proxy functionality is also provided-    to connect web applications behind.--category:           Network, Web-build-type:         Simple-data-files:-    example.conf-    example.route--data-dir:           conf-extra-source-files:-    Program/Mighty/Dhall/Option.dhall-    conf/example.dhall-    utils/restart.sh--source-repository head-    type:     git-    location: https://github.com/kazu-yamamoto/mighttpd2.git--flag tls-    description: Support HTTP over TLS (HTTPS).-    default:     False--flag quic-    description: Support HTTP over QUIC (HTTP/3).-    default:     False--flag dhall-    description: Support Dhall-    default:     False--library-    exposed-modules:-        Program.Mighty-        Program.Mighty.ByteString-        Program.Mighty.Config-        Program.Mighty.Network-        Program.Mighty.Parser-        Program.Mighty.Process-        Program.Mighty.Report-        Program.Mighty.Resource-        Program.Mighty.Route-        Program.Mighty.Signal-        Program.Mighty.Dhall.Option-        Program.Mighty.Types--    default-language: Haskell2010-    ghc-options:      -Wall-    build-depends:-        base >=4.9 && <5,-        array,-        async,-        auto-update,-        byteorder,-        bytestring,-        case-insensitive,-        conduit >=1.1,-        conduit-extra,-        directory,-        filepath,-        http-date,-        http-types,-        http2,-        network,-        parsec >=3,-        resourcet,-        split,-        streaming-commons,-        text,-        unix,-        unix-time,-        unordered-containers,-        wai >=3.2 && <3.3,-        wai-app-file-cgi >=3.1.9 && <3.2,-        warp >=3.4 && <3.5--    if impl(ghc >=8)-        default-extensions: Strict StrictData--    if flag(dhall)-        cpp-options:   -DDHALL-        build-depends: dhall--    if flag(tls)-        build-depends:-            tls,-            warp-tls--    if flag(quic)-        build-depends:-            quic,-            http3--executable mighty-    main-is:          Mighty.hs-    hs-source-dirs:   src-    other-modules:-        Server-        WaiApp-        Paths_mighttpd2--    default-language: Haskell2010-    ghc-options:      -Wall -threaded -rtsopts "-with-rtsopts=-qn1 -A32m -kc2k"-    build-depends:-        base >=4.9 && <5,-        bytestring,-        directory,-        filepath,-        http-client >=0.5,-        http-date,-        http-types,-        mighttpd2,-        network,-        conduit-extra,-        transformers,-        unix,-        streaming-commons,-        time-manager,-        wai >=3.2 && <3.3,-        wai-app-file-cgi >=3.1.9 && <3.2,-        wai-logger >=2.3.0,-        warp >=3.4 && <3.5--    if flag(tls)-        cpp-options:   -DHTTP_OVER_TLS-        build-depends:-            async,-            tls-session-manager >=0.1.0--    if flag(quic)-        cpp-options:   -DHTTP_OVER_QUIC-        build-depends:-            async,-            base16-bytestring--    if flag(dhall)-        cpp-options:   -DDHALL-        build-depends: dhall--    if flag(tls)-        build-depends:-            tls,-            warp-tls >=3.2.12 && <3.5--    if flag(quic)-        build-depends:-            quic >= 0.3 && < 0.4,-            warp-quic >= 0.0.2--    if impl(ghc >=8)-        default-extensions: Strict StrictData--executable mighty-mkindex-    main-is:          mkindex.hs-    hs-source-dirs:   utils src-    default-language: Haskell2010-    ghc-options:      -Wall-    build-depends:-        base >=4.9 && <5,-        directory,-        old-locale,-        time,-        unix--executable mightyctl-    main-is:          mightyctl.hs-    hs-source-dirs:   utils src-    default-language: Haskell2010-    ghc-options:      -Wall -threaded-    build-depends:-        base >=4.9 && <5,-        unix,-        mighttpd2--    if impl(ghc >=8)-        default-extensions: Strict StrictData--test-suite spec-    type:             exitcode-stdio-1.0-    main-is:          Spec.hs-    build-tool-depends: hspec-discover:hspec-discover-    hs-source-dirs:   test src-    other-modules:-        ConfigSpec-        RouteSpec--    default-language: Haskell2010-    build-depends:-        base >=4.9 && <5,-        hspec >=1.3,-        mighttpd2,-        http-client >=0.5--    if flag(tls)-        build-depends:-            tls,-            warp-tls >=3.2.12 && <3.5--    if impl(ghc >=8)-        default-extensions: Strict StrictData--    if flag(dhall)-        cpp-options:   -DDHALL-        build-depends: dhall+cabal-version:      >=1.10
+name:               mighttpd2
+version:            4.0.10
+x-revision: 1
+license:            BSD3
+license-file:       LICENSE
+maintainer:         Kazu Yamamoto <kazu@iij.ad.jp>
+author:             Kazu Yamamoto <kazu@iij.ad.jp>
+homepage:           https://kazu-yamamoto.github.io/mighttpd2/
+synopsis:           High performance web server on WAI/warp
+description:
+    High performance web server to handle static
+    files and CGI on WAI/warp.
+    Reverse proxy functionality is also provided
+    to connect web applications behind.
+
+category:           Network, Web
+build-type:         Simple
+data-files:
+    example.conf
+    example.route
+
+data-dir:           conf
+extra-source-files:
+    Program/Mighty/Dhall/Option.dhall
+    conf/example.dhall
+    utils/restart.sh
+
+source-repository head
+    type:     git
+    location: https://github.com/kazu-yamamoto/mighttpd2.git
+
+flag tls
+    description: Support HTTP over TLS (HTTPS).
+    default:     False
+
+flag quic
+    description: Support HTTP over QUIC (HTTP/3).
+    default:     False
+
+flag dhall
+    description: Support Dhall
+    default:     False
+
+library
+    exposed-modules:
+        Program.Mighty
+        Program.Mighty.ByteString
+        Program.Mighty.Config
+        Program.Mighty.Network
+        Program.Mighty.Parser
+        Program.Mighty.Process
+        Program.Mighty.Report
+        Program.Mighty.Resource
+        Program.Mighty.Route
+        Program.Mighty.Signal
+        Program.Mighty.Dhall.Option
+        Program.Mighty.Types
+
+    default-language: Haskell2010
+    ghc-options:      -Wall
+    build-depends:
+        base >=4.9 && <5,
+        array,
+        async,
+        auto-update,
+        byteorder,
+        bytestring,
+        case-insensitive,
+        conduit >=1.1,
+        conduit-extra,
+        directory,
+        filepath,
+        http-date,
+        http-types,
+        http2,
+        network,
+        parsec >=3,
+        resourcet,
+        split,
+        streaming-commons,
+        text,
+        unix,
+        unix-time,
+        unordered-containers,
+        wai >=3.2 && <3.3,
+        wai-app-file-cgi >=3.1.9 && <3.3,
+        warp >=3.4 && <3.5
+
+    if impl(ghc >=8)
+        default-extensions: Strict StrictData
+
+    if flag(dhall)
+        cpp-options:   -DDHALL
+        build-depends: dhall
+
+    if flag(tls)
+        build-depends:
+            tls,
+            warp-tls
+
+    if flag(quic)
+        build-depends:
+            quic,
+            http3
+
+executable mighty
+    main-is:          Mighty.hs
+    hs-source-dirs:   src
+    other-modules:
+        Server
+        WaiApp
+        Paths_mighttpd2
+
+    default-language: Haskell2010
+    ghc-options:      -Wall -threaded -rtsopts "-with-rtsopts=-qn1 -A32m -kc2k"
+    build-depends:
+        base >=4.9 && <5,
+        bytestring,
+        directory,
+        filepath,
+        http-client >=0.5,
+        http-date,
+        http-types,
+        mighttpd2,
+        network,
+        conduit-extra,
+        transformers,
+        unix,
+        streaming-commons,
+        time-manager,
+        wai >=3.2 && <3.3,
+        wai-app-file-cgi >=3.1.9 && <3.3,
+        wai-logger >=2.3.0,
+        warp >=3.4 && <3.5
+
+    if flag(tls)
+        cpp-options:   -DHTTP_OVER_TLS
+        build-depends:
+            async,
+            tls-session-manager >=0.1.0
+
+    if flag(quic)
+        cpp-options:   -DHTTP_OVER_QUIC
+        build-depends:
+            async,
+            base16-bytestring
+
+    if flag(dhall)
+        cpp-options:   -DDHALL
+        build-depends: dhall
+
+    if flag(tls)
+        build-depends:
+            tls,
+            warp-tls >=3.2.12 && <3.5
+
+    if flag(quic)
+        build-depends:
+            quic >= 0.3 && < 0.4,
+            warp-quic >= 0.0.2
+
+    if impl(ghc >=8)
+        default-extensions: Strict StrictData
+
+executable mighty-mkindex
+    main-is:          mkindex.hs
+    hs-source-dirs:   utils src
+    default-language: Haskell2010
+    ghc-options:      -Wall
+    build-depends:
+        base >=4.9 && <5,
+        directory,
+        old-locale,
+        time,
+        unix
+
+executable mightyctl
+    main-is:          mightyctl.hs
+    hs-source-dirs:   utils src
+    default-language: Haskell2010
+    ghc-options:      -Wall -threaded
+    build-depends:
+        base >=4.9 && <5,
+        unix,
+        mighttpd2
+
+    if impl(ghc >=8)
+        default-extensions: Strict StrictData
+
+test-suite spec
+    type:             exitcode-stdio-1.0
+    main-is:          Spec.hs
+    build-tool-depends: hspec-discover:hspec-discover
+    hs-source-dirs:   test src
+    other-modules:
+        ConfigSpec
+        RouteSpec
+
+    default-language: Haskell2010
+    build-depends:
+        base >=4.9 && <5,
+        hspec >=1.3,
+        mighttpd2,
+        http-client >=0.5
+
+    if flag(tls)
+        build-depends:
+            tls,
+            warp-tls >=3.2.12 && <3.5
+
+    if impl(ghc >=8)
+        default-extensions: Strict StrictData
+
+    if flag(dhall)
+        cpp-options:   -DDHALL
+        build-depends: dhall