haskell-tls / hs-certificate

Certificate and Key Reader/Writer in haskell
60 stars 57 forks source link

modifie for building on Mac #1

Closed oskimura closed 13 years ago

oskimura commented 13 years ago

Because I can't build on Mac.

vincenthz commented 13 years ago

Hi Oskimura, i pushed something with the same purpose earlier. If you're in a position to implement the MacOS code, could you give me a hand ? Just fixing the build issue, would just delay the problem of not checking if the certificates received are trustworthy. Thanks

bos commented 13 years ago

Vincent, can you issue a point release with the fix? I can't build http-enumerator on a Mac because certificate 0.9.0 is broken.

oskimura commented 13 years ago

Sorry. my reply late.I can english bit.

If you're in a position to implement the MacOS code, could you give me a hand ? I have a mac. I can report.

2011/5/12 vincenthz reply@reply.github.com:

Hi Oskimura, i pushed something with the same purpose earlier. If you're in a position to implement the MacOS code, could you give me a hand ? Just fixing the build issue, would just delay the problem of not checking if the certificates received are trustworthy. Thanks

Reply to this email directly or view it on GitHub: https://github.com/vincenthz/hs-certificate/pull/1#issuecomment-1145122

oskimura commented 13 years ago

Maybe, I think this problem that forget import "Data.Certificate.X509","Control.Exception" and declare "ReadErr" on the "/System/Certificate/X509/MacOS.hs" file. So can't build on mac.

My modifie is adding there. When my modifie apply, then I can build the Certificate.

Sorry, my english is not good.

2011/5/13 bos reply@reply.github.com:

Vincent, can you issue a point release with the fix? I can't build http-enumerator on a Mac because certificate 0.9.0 is broken.

Reply to this email directly or view it on GitHub: https://github.com/vincenthz/hs-certificate/pull/1#issuecomment-1148616

oskimura commented 13 years ago

I modifie version Certificate 0.9.0. I can install http-enumerator 0.6.4.3.

My modifie is this follow url link. https://github.com/oskimura/hs-certificate/commit/514406055c01b45296b1904eee805190b3352a85#System/Certificate/X509/MacOS.hs

vincenthz commented 13 years ago

@bos: that was the plan, i was just waiting for feedback that the thing i pushed worked.

@oskimura-san: i already fixed the issue in the repository, and now you can just install certificate-0.9.0.1.

oskimura commented 13 years ago

Thanks! If My fix is helpfull then I'm happy.