packages feed

Cabal revisions of hackage-security-0.1.0.0

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

revision 1
-name:                hackage-security-version:             0.1.0.0-synopsis:            Hackage security library-description:         The hackage security library provides both server and-                     client utilities for securing the Hackage package server-                     (<http://hackage.haskell.org/>).  It is based on The Update-                     Framework (<http://theupdateframework.com/>), a set of-                     recommendations developed by security researchers at-                     various universities in the US as well as developers on the-                     Tor project (<https://www.torproject.org/>).-                     .-                     The current implementation supports only index signing,-                     thereby enabling untrusted mirrors. It does not yet provide-                     facilities for author package signing.-                     .-                     The library has two main entry points:-                     "Hackage.Security.Client" is the main entry point for-                     clients (the typical example being @cabal@), and-                     "Hackage.Security.Server" is the main entry point for-                     servers (the typical example being @hackage-server@).-                     .-                     This is a beta release. -license:             BSD3-license-file:        LICENSE-author:              Edsko de Vries-maintainer:          edsko@well-typed.com-copyright:           Copyright 2015 Well-Typed LLP-category:            Distribution-build-type:          Simple-cabal-version:       >=1.10--flag base48-  description: Are we using base 4.8 or later?-  manual: False--library-  -- Most functionality is exported through the top-level entry points .Client-  -- and .Server; the other exported modules are intended for qualified imports.-  exposed-modules:     Hackage.Security.Client-                       Hackage.Security.Client.Repository-                       Hackage.Security.Client.Repository.Cache-                       Hackage.Security.Client.Repository.Local-                       Hackage.Security.Client.Repository.Remote-                       Hackage.Security.Client.Repository.HttpLib-                       Hackage.Security.JSON-                       Hackage.Security.Key.Env-                       Hackage.Security.Server-                       Hackage.Security.TUF.FileMap-                       Hackage.Security.Util.Checked-                       Hackage.Security.Util.IO-                       Hackage.Security.Util.Lens-                       Hackage.Security.Util.Path-                       Hackage.Security.Util.Pretty-                       Hackage.Security.Util.Some-                       Text.JSON.Canonical-  other-modules:       Hackage.Security.Client.Formats-                       Hackage.Security.Key-                       Hackage.Security.Trusted-                       Hackage.Security.Trusted.TCB-                       Hackage.Security.TUF-                       Hackage.Security.TUF.Common-                       Hackage.Security.TUF.FileInfo-                       Hackage.Security.TUF.Header-                       Hackage.Security.TUF.Layout-                       Hackage.Security.TUF.Mirrors-                       Hackage.Security.TUF.Patterns-                       Hackage.Security.TUF.Root-                       Hackage.Security.TUF.Signed-                       Hackage.Security.TUF.Snapshot-                       Hackage.Security.TUF.Targets-                       Hackage.Security.TUF.Timestamp-                       Hackage.Security.Util.Base64-                       Hackage.Security.Util.JSON-                       Hackage.Security.Util.Stack-                       Hackage.Security.Util.TypedEmbedded-                       Prelude-  -- We support ghc 7.2 (bundled with Cabal 1.12) and up-  build-depends:       base              >= 4.4    && < 5,-                       base64-bytestring >= 1.0    && < 1.1,-                       -- we need Data.ByteString.Builder to build tar indices,-                       -- which is only available from bytestring-0.10.2 and up-                       -- TODO: We should probably fix that upstream (in tar)-                       -- so that we can compile with the version of bytestring-                       -- that comes with ghc for ghc < 7.8-                       bytestring        >= 0.10.2 && < 0.11,-                       Cabal             >= 1.12   && < 1.23,-                       containers        >= 0.4    && < 0.6,-                       directory         >= 1.1    && < 1.3,-                       ed25519           >= 0.0    && < 0.1,-                       filepath          >= 1.2    && < 1.5,-                       mtl               >= 2.2    && < 2.3,-                       network-uri       >= 2.6    && < 2.7,-                       parsec            >= 3.1    && < 3.2,-                       SHA               >= 1.6    && < 1.7,-                       -- version 0.4.2 of tar introduces TarIndex-                       tar               >= 0.4.2  && < 0.5,-                       time              >= 1.2    && < 1.6,-                       transformers      >= 0.4    && < 0.5,-                       zlib              >= 0.5    && < 0.7,-                       -- whatever versions are bundled with ghc:-                       template-haskell,-                       ghc-prim-  hs-source-dirs:      src-  default-language:    Haskell2010-  default-extensions:  DefaultSignatures-                       DeriveDataTypeable-                       DeriveFunctor-                       FlexibleContexts-                       FlexibleInstances-                       GADTs-                       GeneralizedNewtypeDeriving-                       KindSignatures-                       MultiParamTypeClasses-                       NamedFieldPuns-                       NoMonomorphismRestriction-                       RankNTypes-                       RecordWildCards-                       ScopedTypeVariables-                       StandaloneDeriving-                       TupleSections-                       TypeFamilies-                       TypeOperators-                       ViewPatterns-  other-extensions:    BangPatterns-                       CPP-                       OverlappingInstances-                       PackageImports-                       QuasiQuotes-                       TemplateHaskell-                       UndecidableInstances-  ghc-options:         -Wall--  if flag(base48)-    build-depends: base >= 4.8-  else-    build-depends: old-locale >= 1.0--  if impl(ghc >= 7.8)-     other-extensions: RoleAnnotations--  if impl(ghc >= 7.10)-     other-extensions: AllowAmbiguousTypes---                       StaticPointers--- ^^^ Temporarily disabled because Hackage doesn't know yet about this--- extension and will therefore reject this package.+name:                hackage-security
+version:             0.1.0.0
+x-revision: 1
+synopsis:            Hackage security library
+description:         The hackage security library provides both server and
+                     client utilities for securing the Hackage package server
+                     (<http://hackage.haskell.org/>).  It is based on The Update
+                     Framework (<http://theupdateframework.com/>), a set of
+                     recommendations developed by security researchers at
+                     various universities in the US as well as developers on the
+                     Tor project (<https://www.torproject.org/>).
+                     .
+                     The current implementation supports only index signing,
+                     thereby enabling untrusted mirrors. It does not yet provide
+                     facilities for author package signing.
+                     .
+                     The library has two main entry points:
+                     "Hackage.Security.Client" is the main entry point for
+                     clients (the typical example being @cabal@), and
+                     "Hackage.Security.Server" is the main entry point for
+                     servers (the typical example being @hackage-server@).
+                     .
+                     This is a beta release. 
+license:             BSD3
+license-file:        LICENSE
+author:              Edsko de Vries
+maintainer:          edsko@well-typed.com
+copyright:           Copyright 2015 Well-Typed LLP
+category:            Distribution
+build-type:          Simple
+cabal-version:       >=1.10
+
+flag base48
+  description: Are we using base 4.8 or later?
+  manual: False
+
+library
+  -- Most functionality is exported through the top-level entry points .Client
+  -- and .Server; the other exported modules are intended for qualified imports.
+  exposed-modules:     Hackage.Security.Client
+                       Hackage.Security.Client.Repository
+                       Hackage.Security.Client.Repository.Cache
+                       Hackage.Security.Client.Repository.Local
+                       Hackage.Security.Client.Repository.Remote
+                       Hackage.Security.Client.Repository.HttpLib
+                       Hackage.Security.JSON
+                       Hackage.Security.Key.Env
+                       Hackage.Security.Server
+                       Hackage.Security.TUF.FileMap
+                       Hackage.Security.Util.Checked
+                       Hackage.Security.Util.IO
+                       Hackage.Security.Util.Lens
+                       Hackage.Security.Util.Path
+                       Hackage.Security.Util.Pretty
+                       Hackage.Security.Util.Some
+                       Text.JSON.Canonical
+  other-modules:       Hackage.Security.Client.Formats
+                       Hackage.Security.Key
+                       Hackage.Security.Trusted
+                       Hackage.Security.Trusted.TCB
+                       Hackage.Security.TUF
+                       Hackage.Security.TUF.Common
+                       Hackage.Security.TUF.FileInfo
+                       Hackage.Security.TUF.Header
+                       Hackage.Security.TUF.Layout
+                       Hackage.Security.TUF.Mirrors
+                       Hackage.Security.TUF.Patterns
+                       Hackage.Security.TUF.Root
+                       Hackage.Security.TUF.Signed
+                       Hackage.Security.TUF.Snapshot
+                       Hackage.Security.TUF.Targets
+                       Hackage.Security.TUF.Timestamp
+                       Hackage.Security.Util.Base64
+                       Hackage.Security.Util.JSON
+                       Hackage.Security.Util.Stack
+                       Hackage.Security.Util.TypedEmbedded
+                       Prelude
+  -- We support ghc 7.2 (bundled with Cabal 1.12) and up
+  build-depends:       base              >= 4.4    && < 5,
+                       base64-bytestring >= 1.0    && < 1.1,
+                       -- we need Data.ByteString.Builder to build tar indices,
+                       -- which is only available from bytestring-0.10.2 and up
+                       -- TODO: We should probably fix that upstream (in tar)
+                       -- so that we can compile with the version of bytestring
+                       -- that comes with ghc for ghc < 7.8
+                       bytestring        >= 0.10.2 && < 0.11,
+                       Cabal             >= 1.12   && < 1.25,
+                       containers        >= 0.4    && < 0.6,
+                       directory         >= 1.1    && < 1.3,
+                       ed25519           >= 0.0    && < 0.1,
+                       filepath          >= 1.2    && < 1.5,
+                       mtl               >= 2.2    && < 2.3,
+                       network-uri       >= 2.6    && < 2.7,
+                       parsec            >= 3.1    && < 3.2,
+                       SHA               >= 1.6    && < 1.7,
+                       -- version 0.4.2 of tar introduces TarIndex
+                       tar               >= 0.4.2  && < 0.5,
+                       time              >= 1.2    && < 1.6,
+                       transformers      >= 0.4    && < 0.5,
+                       zlib              >= 0.5    && < 0.7,
+                       -- whatever versions are bundled with ghc:
+                       template-haskell,
+                       ghc-prim
+  hs-source-dirs:      src
+  default-language:    Haskell2010
+  default-extensions:  DefaultSignatures
+                       DeriveDataTypeable
+                       DeriveFunctor
+                       FlexibleContexts
+                       FlexibleInstances
+                       GADTs
+                       GeneralizedNewtypeDeriving
+                       KindSignatures
+                       MultiParamTypeClasses
+                       NamedFieldPuns
+                       NoMonomorphismRestriction
+                       RankNTypes
+                       RecordWildCards
+                       ScopedTypeVariables
+                       StandaloneDeriving
+                       TupleSections
+                       TypeFamilies
+                       TypeOperators
+                       ViewPatterns
+  other-extensions:    BangPatterns
+                       CPP
+                       OverlappingInstances
+                       PackageImports
+                       QuasiQuotes
+                       TemplateHaskell
+                       UndecidableInstances
+  ghc-options:         -Wall
+
+  if flag(base48)
+    build-depends: base >= 4.8
+  else
+    build-depends: old-locale >= 1.0
+
+  if impl(ghc >= 7.8)
+     other-extensions: RoleAnnotations
+
+  if impl(ghc >= 7.10)
+     other-extensions: AllowAmbiguousTypes
+--                       StaticPointers
+-- ^^^ Temporarily disabled because Hackage doesn't know yet about this
+-- extension and will therefore reject this package.