Added files in debian subdirectory.
These files are base to build postgrest Debian package. Additional, it has TODO-deps.md file with whole task to build postgrest as Debian official package.
This commit is contained in:
Vendored
+52
@@ -0,0 +1,52 @@
|
|||||||
|
# TODO list to build debian "official" package
|
||||||
|
|
||||||
|
It feels for free to modify, fix or take some task or all.
|
||||||
|
|
||||||
|
## debian/control
|
||||||
|
|
||||||
|
* Fill description field
|
||||||
|
* Add Vcs-Browser
|
||||||
|
* Add Vcs-Git
|
||||||
|
* Add Uploaders field
|
||||||
|
|
||||||
|
## debian/copyright
|
||||||
|
|
||||||
|
* Add more contributers
|
||||||
|
|
||||||
|
## Dependencies packages
|
||||||
|
|
||||||
|
Some libraries dependencies aren't Debian package. Below is the list was built by [cabal-debian](https://wiki.debian.org/Haskell/CollabMaint/GettingStarted). These libraries are necessary to build Postgrest the right way.
|
||||||
|
|
||||||
|
* libghc-base64-string-dev
|
||||||
|
* libghc-base64-string-prof
|
||||||
|
* libghc-bcrypt-dev
|
||||||
|
* libghc-bcrypt-prof
|
||||||
|
* libghc-hasql-dev
|
||||||
|
* libghc-hasql-prof
|
||||||
|
* libghc-hasql-backend-dev
|
||||||
|
* libghc-hasql-backend-prof
|
||||||
|
* libghc-hasql-postgres-dev
|
||||||
|
* libghc-hasql-postgres-prof
|
||||||
|
* libghc-string-conversions-dev
|
||||||
|
* libghc-string-conversions-prof
|
||||||
|
* libghc-wai-cors-dev
|
||||||
|
* libghc-wai-cors-prof
|
||||||
|
* libghc-wai-middleware-static-dev
|
||||||
|
* libghc-wai-middleware-static-prof
|
||||||
|
* libghc-hasql-dev
|
||||||
|
* libghc-hasql-backend-dev
|
||||||
|
* libghc-hasql-postgres-dev
|
||||||
|
* libghc-heredoc-dev
|
||||||
|
* libghc-hspec-wai-dev
|
||||||
|
* libghc-hspec-wai-json-dev
|
||||||
|
* libghc-http-media-dev
|
||||||
|
* libghc-packdeps-dev
|
||||||
|
* libghc-base64-string-doc
|
||||||
|
* libghc-bcrypt-doc
|
||||||
|
* libghc-hasql-doc
|
||||||
|
* libghc-hasql-backend-doc
|
||||||
|
* libghc-hasql-postgres-doc
|
||||||
|
* libghc-string-conversions-doc
|
||||||
|
* libghc-wai-cors-doc
|
||||||
|
* libghc-wai-middleware-static-doc
|
||||||
|
|
||||||
Vendored
+5
@@ -0,0 +1,5 @@
|
|||||||
|
haskell-postgrest (0.2.11.1-1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org> Wed, 30 Sep 2015 18:52:46 +0000
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
9
|
||||||
Vendored
+196
@@ -0,0 +1,196 @@
|
|||||||
|
Source: haskell-postgrest
|
||||||
|
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
|
||||||
|
Priority: extra
|
||||||
|
Section: haskell
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
haskell-devscripts (>= 0.8),
|
||||||
|
cdbs,
|
||||||
|
ghc,
|
||||||
|
ghc-prof,
|
||||||
|
libghc-http-dev,
|
||||||
|
libghc-http-prof,
|
||||||
|
libghc-missingh-dev,
|
||||||
|
libghc-missingh-prof,
|
||||||
|
libghc-ranged-sets-dev,
|
||||||
|
libghc-ranged-sets-prof,
|
||||||
|
libghc-aeson-dev,
|
||||||
|
libghc-aeson-prof,
|
||||||
|
libghc-base64-string-dev,
|
||||||
|
libghc-base64-string-prof,
|
||||||
|
libghc-bcrypt-dev,
|
||||||
|
libghc-bcrypt-prof,
|
||||||
|
libghc-blaze-builder-dev,
|
||||||
|
libghc-blaze-builder-prof,
|
||||||
|
libghc-case-insensitive-dev,
|
||||||
|
libghc-case-insensitive-prof,
|
||||||
|
libghc-cassava-dev,
|
||||||
|
libghc-cassava-prof,
|
||||||
|
libghc-convertible-dev,
|
||||||
|
libghc-convertible-prof,
|
||||||
|
libghc-hasql-dev,
|
||||||
|
libghc-hasql-prof,
|
||||||
|
libghc-hasql-backend-dev,
|
||||||
|
libghc-hasql-backend-prof,
|
||||||
|
libghc-hasql-postgres-dev,
|
||||||
|
libghc-hasql-postgres-prof,
|
||||||
|
libghc-http-types-dev,
|
||||||
|
libghc-http-types-prof,
|
||||||
|
libghc-jwt-dev,
|
||||||
|
libghc-jwt-prof,
|
||||||
|
libghc-mtl-dev,
|
||||||
|
libghc-mtl-prof,
|
||||||
|
libghc-network-dev,
|
||||||
|
libghc-network-prof,
|
||||||
|
libghc-network-uri-dev,
|
||||||
|
libghc-network-uri-prof,
|
||||||
|
libghc-optparse-applicative-dev,
|
||||||
|
libghc-optparse-applicative-prof,
|
||||||
|
libghc-regex-base-dev,
|
||||||
|
libghc-regex-base-prof,
|
||||||
|
libghc-regex-tdfa-dev,
|
||||||
|
libghc-regex-tdfa-prof,
|
||||||
|
libghc-resource-pool-dev,
|
||||||
|
libghc-resource-pool-prof,
|
||||||
|
libghc-scientific-dev,
|
||||||
|
libghc-scientific-prof,
|
||||||
|
libghc-split-dev,
|
||||||
|
libghc-split-prof,
|
||||||
|
libghc-string-conversions-dev,
|
||||||
|
libghc-string-conversions-prof,
|
||||||
|
libghc-stringsearch-dev,
|
||||||
|
libghc-stringsearch-prof,
|
||||||
|
libghc-text-dev,
|
||||||
|
libghc-text-prof,
|
||||||
|
libghc-unordered-containers-dev,
|
||||||
|
libghc-unordered-containers-prof,
|
||||||
|
libghc-vector-dev,
|
||||||
|
libghc-vector-prof,
|
||||||
|
libghc-wai-dev,
|
||||||
|
libghc-wai-prof,
|
||||||
|
libghc-wai-cors-dev,
|
||||||
|
libghc-wai-cors-prof,
|
||||||
|
libghc-wai-extra-dev,
|
||||||
|
libghc-wai-extra-prof,
|
||||||
|
libghc-wai-middleware-static-dev,
|
||||||
|
libghc-wai-middleware-static-prof,
|
||||||
|
libghc-warp-dev,
|
||||||
|
libghc-warp-prof,
|
||||||
|
libghc-aeson-dev (>= 0.8),
|
||||||
|
libghc-bcrypt-dev (>= 0.0.6),
|
||||||
|
libghc-hasql-dev (>= 0.7.3),
|
||||||
|
libghc-hasql-dev (<< 0.8),
|
||||||
|
libghc-hasql-backend-dev (>= 0.4.1),
|
||||||
|
libghc-hasql-backend-dev (<< 0.5),
|
||||||
|
libghc-hasql-postgres-dev (>= 0.10.4),
|
||||||
|
libghc-hasql-postgres-dev (<< 0.11),
|
||||||
|
libghc-network-dev (>= 2.6),
|
||||||
|
libghc-network-uri-dev (>= 2.6),
|
||||||
|
libghc-optparse-applicative-dev (>= 0.11),
|
||||||
|
libghc-optparse-applicative-dev (<< 0.12),
|
||||||
|
libghc-wai-dev (>= 3.0.1),
|
||||||
|
libghc-wai-middleware-static-dev (>= 0.6.0),
|
||||||
|
libghc-warp-dev (>= 3.0.2),
|
||||||
|
libghc-quickcheck2-dev,
|
||||||
|
libghc-heredoc-dev,
|
||||||
|
libghc-hlint-dev,
|
||||||
|
libghc-hspec-dev (>= 2.1),
|
||||||
|
libghc-hspec-dev (<< 2.2),
|
||||||
|
libghc-hspec-wai-dev,
|
||||||
|
libghc-hspec-wai-json-dev,
|
||||||
|
libghc-http-media-dev,
|
||||||
|
libghc-packdeps-dev,
|
||||||
|
Build-Depends-Indep: ghc-doc,
|
||||||
|
libghc-http-doc,
|
||||||
|
libghc-missingh-doc,
|
||||||
|
libghc-ranged-sets-doc,
|
||||||
|
libghc-aeson-doc,
|
||||||
|
libghc-base64-string-doc,
|
||||||
|
libghc-bcrypt-doc,
|
||||||
|
libghc-blaze-builder-doc,
|
||||||
|
libghc-case-insensitive-doc,
|
||||||
|
libghc-cassava-doc,
|
||||||
|
libghc-convertible-doc,
|
||||||
|
libghc-hasql-doc,
|
||||||
|
libghc-hasql-backend-doc,
|
||||||
|
libghc-hasql-postgres-doc,
|
||||||
|
libghc-http-types-doc,
|
||||||
|
libghc-jwt-doc,
|
||||||
|
libghc-mtl-doc,
|
||||||
|
libghc-network-doc,
|
||||||
|
libghc-network-uri-doc,
|
||||||
|
libghc-optparse-applicative-doc,
|
||||||
|
libghc-regex-base-doc,
|
||||||
|
libghc-regex-tdfa-doc,
|
||||||
|
libghc-resource-pool-doc,
|
||||||
|
libghc-scientific-doc,
|
||||||
|
libghc-split-doc,
|
||||||
|
libghc-string-conversions-doc,
|
||||||
|
libghc-stringsearch-doc,
|
||||||
|
libghc-text-doc,
|
||||||
|
libghc-unordered-containers-doc,
|
||||||
|
libghc-vector-doc,
|
||||||
|
libghc-wai-doc,
|
||||||
|
libghc-wai-cors-doc,
|
||||||
|
libghc-wai-extra-doc,
|
||||||
|
libghc-wai-middleware-static-doc,
|
||||||
|
libghc-warp-doc,
|
||||||
|
Standards-Version: 3.9.6
|
||||||
|
Homepage: https://github.com/begriffs/postgrest
|
||||||
|
Description: REST API for any Postgres database
|
||||||
|
Reads the schema of a PostgreSQL database and creates RESTful routes
|
||||||
|
for the tables and views, supporting all HTTP verbs that security
|
||||||
|
permits.
|
||||||
|
|
||||||
|
Package: libghc-postgrest-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-postgrest-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-postgrest-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}
|
||||||
|
|
||||||
|
Package: haskell-postgrest-utils
|
||||||
|
Architecture: any
|
||||||
|
Section: misc
|
||||||
|
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}
|
||||||
Vendored
+34
@@ -0,0 +1,34 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: postgrest
|
||||||
|
Upstream-Contact: Joe Nelson <joe@begriffs.com>
|
||||||
|
Source: https://hackage.haskell.org/package/postgrest
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: Joe Nelson <joe@begriffs.com>
|
||||||
|
License: Expat
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: Fernando Ike <fike@midstorm.org>
|
||||||
|
License: Expat
|
||||||
|
|
||||||
|
License: Expat
|
||||||
|
Copyright (c) 2014 Joe Nelson
|
||||||
|
.
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
.
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Software.
|
||||||
|
.
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
dist-ghc/build/postgrest/postgrest usr/bin
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
DEB_ENABLE_TESTS = yes
|
||||||
|
DEB_CABAL_PACKAGE = postgrest
|
||||||
|
DEB_DEFAULT_COMPILER = ghc
|
||||||
|
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
include /usr/share/cdbs/1/class/hlibrary.mk
|
||||||
|
|
||||||
|
build/haskell-postgrest-utils:: build-ghc-stamp
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
version=3
|
||||||
|
http://hackage.haskell.org/package/postgrest/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
|
||||||
Reference in New Issue
Block a user