[109537] trunk/dports/devel
cal at macports.org
cal at macports.org
Fri Aug 16 17:06:09 PDT 2013
Revision: 109537
https://trac.macports.org/changeset/109537
Author: cal at macports.org
Date: 2013-08-16 17:06:09 -0700 (Fri, 16 Aug 2013)
Log Message:
-----------
hs-entropy: new port, transitive dependency of hs-pureMD5 update
Modified Paths:
--------------
trunk/dports/devel/hs-entropy/Portfile
Added Paths:
-----------
trunk/dports/devel/hs-entropy/
trunk/dports/devel/hs-entropy/files/
trunk/dports/devel/hs-entropy/files/patch-Setup.hs-make-rdrand-test-fail.diff
Modified: trunk/dports/devel/hs-entropy/Portfile
===================================================================
--- trunk/dports/devel/hs-extensible-exceptions/Portfile 2013-08-16 23:12:40 UTC (rev 109529)
+++ trunk/dports/devel/hs-entropy/Portfile 2013-08-17 00:06:09 UTC (rev 109537)
@@ -4,15 +4,19 @@
PortSystem 1.0
PortGroup haskell 1.0
-haskell.setup extensible-exceptions 0.1.1.4
-checksums rmd160 2e1311778e7e87b1e5266bbce2dea81eb4620ae7 \
- sha256 6ce5e8801760385a408dab71b53550f87629e661b260bdc2cd41c6a439b6e388
+haskell.setup entropy 0.2.2.2
+checksums rmd160 75c260b56c4f87d31e33a668abe4db12e37cff3c \
+ sha256 281cd466ee901b621ed5b92fdc418649ead9bfbfd6285e2cc7b148694d7477f6
license BSD
maintainers cal openmaintainer
platforms darwin
-description Extensible exceptions
+description A platform independent entropy source
long_description \
- This package provides extensible exceptions for both new and old versions \
- of GHC (i.e., < 6.10).
+ A platform independent method to obtain cryptographically strong entropy \
+ (urandom on Linux, CryptAPI on Windows, patches welcome). Users looking for \
+ cryptographically strong (number-theoretically sound) PRNGs should see the \
+ DRBG package too!
+
+patchfiles patch-Setup.hs-make-rdrand-test-fail.diff
Added: trunk/dports/devel/hs-entropy/files/patch-Setup.hs-make-rdrand-test-fail.diff
===================================================================
--- trunk/dports/devel/hs-entropy/files/patch-Setup.hs-make-rdrand-test-fail.diff (rev 0)
+++ trunk/dports/devel/hs-entropy/files/patch-Setup.hs-make-rdrand-test-fail.diff 2013-08-17 00:06:09 UTC (rev 109537)
@@ -0,0 +1,11 @@
+--- Setup.hs.orig 2013-08-17 02:04:11.000000000 +0200
++++ Setup.hs 2013-08-17 02:04:27.000000000 +0200
+@@ -37,7 +37,7 @@
+ (unlines [ "#include <stdint.h>"
+ , "int main() {"
+ , " uint64_t therand;"
+- , " unsigned char err;"
++ , " unsigned foobar err;"
+ , " asm volatile(\"rdrand %0 ; setc %1\""
+ , " : \"=r\" (therand), \"=qm\" (err));"
+ , " return (!err);"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130816/aa4b6bbc/attachment.html>
More information about the macports-changes
mailing list