Created attachment 148190 [details] Hedis, BoundedChan, bytestring-lexing and patch for bsd.hackage.mk The port itself needs 2 further dependencies which I also supplied. Please take a careful look at it. I basically used a Haskell port as a template and adapted it. Haskell ports also need a cabal entry in lang/ghc/bsd.hackage.mk (as far as I understood it). In the archive you'll find a diff of this file. I used the latest versions and added very version dependencies that enforce the latest releases. Hedis has also some upper version restrictions for some modules. I am not sure how to specify them. I verified that the API to a Redis server actually works. I could make some entries in the DB, so I am pretty sure that everything is OK.
Created attachment 148517 [details] Added missing dependencies on fresh installations hs-hedis has some missing dependencies on fresh installations. This should solve it.
please submit a shar file for a new port as outlined here: https://www.freebsd.org/doc/en/books/porters-handbook/porting-submitting.html
Created attachment 148871 [details] New port: databases/hs-hedis The instructions there don't make much sense for my submission, but I try to follow them as good as I can. Also notice that a patch needs to be used for a file in lang/ghc. This is not a new port but a correction to make cabal function properly in ports.
Created attachment 148872 [details] Dependency: devel/hs-BoundedChan
Created attachment 148873 [details] Dependency: devel/bytestring-lexing
Created attachment 148874 [details] Fix for cabal: lang/ghc
how you broke it up makes complete sense. However, you created 3 new ports and assigned a third party to be the maintainer (haskell@) which is not allowed. I will assign this PR to haskell@ and they can figure out if they want to maintain them, if they agree with the changes, etc.
Thank you, John, I think we could handle this and are fine with the maintainership. Please give me some time to review and test the ports then add them to the Ports Collection.
A commit references this bug: Author: pgj Date: Mon Nov 10 22:09:07 UTC 2014 New revision: 372423 URL: https://svnweb.freebsd.org/changeset/ports/372423 Log: - Add Haskell API and bindings for Redis: devel/hs-BoundedChan Channels with bounded sizes devel/hs-bytestring-lexing Parse and produce literals from bytestrings databases/hs-hedis Haskell API for Redis PR: 194299 Submitted by: martin@sugioarto.com Obtained from: FreeBSD Haskell Changes: head/databases/Makefile head/databases/hs-hedis/ head/databases/hs-hedis/Makefile head/databases/hs-hedis/distinfo head/databases/hs-hedis/pkg-descr head/devel/Makefile head/devel/hs-BoundedChan/ head/devel/hs-BoundedChan/Makefile head/devel/hs-BoundedChan/distinfo head/devel/hs-BoundedChan/pkg-descr head/devel/hs-bytestring-lexing/ head/devel/hs-bytestring-lexing/Makefile head/devel/hs-bytestring-lexing/distinfo head/devel/hs-bytestring-lexing/pkg-descr head/lang/ghc/bsd.hackage.mk
Thank you for your submission, it has been added to the Ports Collection with minor changes.