[DHG_packages] 01/01: Add hackage-security

Clint Adams clint at moszumanska.debian.org
Wed Oct 12 13:55:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit ecfd511732c8594087eb0f0704b25a0f3c516894
Author: Clint Adams <clint at debian.org>
Date:   Wed Oct 12 09:55:06 2016 -0400

    Add hackage-security
---
 p/haskell-hackage-security/debian/changelog        |   5 +
 p/haskell-hackage-security/debian/compat           |   1 +
 p/haskell-hackage-security/debian/control          | 113 +++++++++++++++++++++
 p/haskell-hackage-security/debian/copyright        |  45 ++++++++
 p/haskell-hackage-security/debian/patches/series   |   1 +
 .../debian/patches/use-cryptohash                  |  11 ++
 p/haskell-hackage-security/debian/rules            |   8 ++
 p/haskell-hackage-security/debian/source/format    |   1 +
 p/haskell-hackage-security/debian/watch            |   2 +
 9 files changed, 187 insertions(+)

diff --git a/p/haskell-hackage-security/debian/changelog b/p/haskell-hackage-security/debian/changelog
new file mode 100644
index 0000000..a15c531
--- /dev/null
+++ b/p/haskell-hackage-security/debian/changelog
@@ -0,0 +1,5 @@
+haskell-hackage-security (0.5.2.2-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Clint Adams <clint at debian.org>  Wed, 12 Oct 2016 09:44:43 -0400
diff --git a/p/haskell-hackage-security/debian/compat b/p/haskell-hackage-security/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/p/haskell-hackage-security/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/p/haskell-hackage-security/debian/control b/p/haskell-hackage-security/debian/control
new file mode 100644
index 0000000..fb3e06b
--- /dev/null
+++ b/p/haskell-hackage-security/debian/control
@@ -0,0 +1,113 @@
+Source: haskell-hackage-security
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts (>= 0.9),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-base16-bytestring-dev (>= 0.1.1),
+ libghc-base16-bytestring-dev (<< 0.2),
+ libghc-base16-bytestring-prof,
+ libghc-base64-bytestring-dev (>= 1.0),
+ libghc-base64-bytestring-dev (<< 1.1),
+ libghc-base64-bytestring-prof,
+ libghc-cryptohash-dev,
+ libghc-cryptohash-prof,
+ libghc-ed25519-dev (>= 0.0),
+ libghc-ed25519-dev (<< 0.1),
+ libghc-ed25519-prof,
+ libghc-mtl-dev (>= 2.2),
+ libghc-mtl-dev (<< 2.3),
+ libghc-mtl-prof,
+ libghc-network-dev (>= 2.6),
+ libghc-network-dev (<< 2.7),
+ libghc-network-prof,
+ libghc-network-uri-dev (>= 2.6),
+ libghc-network-uri-dev (<< 2.7),
+ libghc-network-uri-prof,
+ libghc-parsec3-dev (>= 3.1),
+ libghc-parsec3-dev (<< 3.2),
+ libghc-parsec3-prof,
+ libghc-tar-dev (>= 0.5),
+ libghc-tar-dev (<< 0.6),
+ libghc-tar-prof,
+ libghc-zlib-dev (>= 0.5),
+ libghc-zlib-dev (<< 0.7),
+ libghc-zlib-prof,
+ libghc-hunit-dev <!nocheck>,
+ libghc-quickcheck2-dev <!nocheck>,
+ libghc-network-uri-dev <!nocheck>,
+ libghc-tar-dev <!nocheck>,
+ libghc-tasty-dev <!nocheck>,
+ libghc-tasty-hunit-dev <!nocheck>,
+ libghc-tasty-quickcheck-dev <!nocheck>,
+ libghc-temporary-dev <!nocheck>,
+ libghc-zlib-dev <!nocheck>,
+Build-Depends-Indep: ghc-doc,
+ libghc-base16-bytestring-doc,
+ libghc-base64-bytestring-doc,
+ libghc-cryptohash-doc,
+ libghc-ed25519-doc,
+ libghc-mtl-doc,
+ libghc-network-doc,
+ libghc-network-uri-doc,
+ libghc-parsec3-doc,
+ libghc-tar-doc,
+ libghc-zlib-doc,
+Standards-Version: 3.9.8
+Homepage: https://github.com/well-typed/hackage-security
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/tree/p/haskell-hackage-security
+Vcs-Git: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git
+X-Description: Hackage security library
+ The Hackage security library provides both server and client utilities
+ for securing the Hackage package server.  It is based on The Update
+ Framework, a set of recommendations developed by security researchers
+ at various universities in the US as well as developers on the Tor
+ project.
+ .
+ The current implementation supports only index signing,
+ thereby enabling untrusted mirrors. It does not yet provide
+ facilities for author package signing.
+
+Package: libghc-hackage-security-dev
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hackage-security-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-hackage-security-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
diff --git a/p/haskell-hackage-security/debian/copyright b/p/haskell-hackage-security/debian/copyright
new file mode 100644
index 0000000..057dfcd
--- /dev/null
+++ b/p/haskell-hackage-security/debian/copyright
@@ -0,0 +1,45 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hackage-security
+Upstream-Contact: Edsko de Vries <edsko at well-typed.com>
+Source: https://hackage.haskell.org/package/hackage-security
+
+Files: *
+Copyright: Copyright 2015-2016 Well-Typed LLP
+License: BSD-3-clause
+
+Files: src/Text/JSON/Canonical.hs
+Copyright: 2007-2009 Galois, Inc.
+           2015 Duncan Coutts
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+     * Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+ .
+     * Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials provided
+       with the distribution.
+ .
+     * Neither the name of Well-Typed LLP nor the names of other
+       contributors may be used to endorse or promote products derived
+       from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/p/haskell-hackage-security/debian/patches/series b/p/haskell-hackage-security/debian/patches/series
new file mode 100644
index 0000000..087bcfb
--- /dev/null
+++ b/p/haskell-hackage-security/debian/patches/series
@@ -0,0 +1 @@
+use-cryptohash
diff --git a/p/haskell-hackage-security/debian/patches/use-cryptohash b/p/haskell-hackage-security/debian/patches/use-cryptohash
new file mode 100644
index 0000000..4158fe4
--- /dev/null
+++ b/p/haskell-hackage-security/debian/patches/use-cryptohash
@@ -0,0 +1,11 @@
+--- a/hackage-security.cabal
++++ b/hackage-security.cabal
+@@ -107,7 +107,7 @@
+                        mtl               >= 2.2     && < 2.3,
+                        parsec            >= 3.1     && < 3.2,
+                        pretty            >= 1.0     && < 1.2,
+-                       cryptohash-sha256 >= 0.11    && < 0.12,
++                       cryptohash,
+                        -- 0.4.2 introduces TarIndex, 0.4.4 introduces more
+                        -- functionality, 0.5.0 changes type of serialise
+                        tar               >= 0.5     && < 0.6,
diff --git a/p/haskell-hackage-security/debian/rules b/p/haskell-hackage-security/debian/rules
new file mode 100755
index 0000000..a1f5581
--- /dev/null
+++ b/p/haskell-hackage-security/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_CABAL_PACKAGE = hackage-security
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
diff --git a/p/haskell-hackage-security/debian/source/format b/p/haskell-hackage-security/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-hackage-security/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-hackage-security/debian/watch b/p/haskell-hackage-security/debian/watch
new file mode 100644
index 0000000..49b5df0
--- /dev/null
+++ b/p/haskell-hackage-security/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/hackage-security/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list