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:
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]
Created attachment 148873 [details]
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:
Date: Mon Nov 10 22:09:07 UTC 2014
New revision: 372423
- 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
Submitted by: firstname.lastname@example.org
Obtained from: FreeBSD Haskell
Thank you for your submission, it has been added to the Ports Collection with minor changes.