[133588] trunk/dports/net/whois

ryandesign at macports.org ryandesign at macports.org
Thu Mar 5 19:48:54 PST 2015


Revision: 133588
          https://trac.macports.org/changeset/133588
Author:   ryandesign at macports.org
Date:     2015-03-05 19:48:54 -0800 (Thu, 05 Mar 2015)
Log Message:
-----------
whois: update to 5.2.5

Modified Paths:
--------------
    trunk/dports/net/whois/Portfile

Added Paths:
-----------
    trunk/dports/net/whois/files/patch-entropy.diff

Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile	2015-03-06 03:42:00 UTC (rev 133587)
+++ trunk/dports/net/whois/Portfile	2015-03-06 03:48:54 UTC (rev 133588)
@@ -14,7 +14,7 @@
 
 name                        whois
 conflicts                   bahamut expect ripe-whois
-version                     5.2.2
+version                     5.2.5
 categories                  net
 maintainers                 ryandesign
 license                     GPL-2+
@@ -30,8 +30,8 @@
 master_sites                http://ftp.debian.org/debian/pool/main/w/${name}/
 use_xz                      yes
 
-checksums                   rmd160  ea502850dcf62710295cfadc2f6a7a8178378cce \
-                            sha256  cba874b457a6b7c4659245780d3d7321d129ab47da86103e07578ec7430fec09
+checksums                   rmd160  0354caac44e9b0a641e3c36f62e8ead0021895cb \
+                            sha256  1a84fb9c1190dc37df396ea1f24aae56a1beb846257ee692c9d4b44337135d10
 
 distfiles                   ${name}_${version}${extract.suffix}
 
@@ -42,6 +42,9 @@
 # Bugs should be reported to MacPorts, not upstream.
 patchfiles-append           patch-bugreport.diff
 
+# entropy should not be redeclared.
+patchfiles-append           patch-entropy.diff
+
 # Add libidn and libiconv support.
 patchfiles-append           patch-idn-iconv.diff
 

Added: trunk/dports/net/whois/files/patch-entropy.diff
===================================================================
--- trunk/dports/net/whois/files/patch-entropy.diff	                        (rev 0)
+++ trunk/dports/net/whois/files/patch-entropy.diff	2015-03-06 03:48:54 UTC (rev 133588)
@@ -0,0 +1,11 @@
+--- mkpasswd.c.orig	2015-01-08 20:49:00.000000000 -0600
++++ mkpasswd.c	2015-03-05 21:40:07.000000000 -0600
+@@ -391,7 +391,7 @@
+     unsigned char *entropy;
+ 
+ #if defined HAVE_ARC4RANDOM_BUF
+-    void *entropy = NOFAIL(malloc(len));
++    entropy = NOFAIL(malloc(len));
+     arc4random_buf(entropy, len);
+ #else
+     entropy = get_random_bytes(len);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150305/891e5160/attachment.html>


More information about the macports-changes mailing list