[77475] trunk/dports/www/libmicrohttpd

snc at macports.org snc at macports.org
Thu Mar 31 15:39:49 PDT 2011


Revision: 77475
          http://trac.macports.org/changeset/77475
Author:   snc at macports.org
Date:     2011-03-31 15:39:48 -0700 (Thu, 31 Mar 2011)
Log Message:
-----------
libmicrohttpd: update to 0.9.9

Modified Paths:
--------------
    trunk/dports/www/libmicrohttpd/Portfile

Added Paths:
-----------
    trunk/dports/www/libmicrohttpd/files/patch-src-daemon-daemon.c.diff

Removed Paths:
-------------
    trunk/dports/www/libmicrohttpd/files/patch-src-daemon-digestauth.c.diff

Modified: trunk/dports/www/libmicrohttpd/Portfile
===================================================================
--- trunk/dports/www/libmicrohttpd/Portfile	2011-03-31 19:51:51 UTC (rev 77474)
+++ trunk/dports/www/libmicrohttpd/Portfile	2011-03-31 22:39:48 UTC (rev 77475)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                libmicrohttpd
-version             0.9.7
+version             0.9.9
 categories          www
 license             LGPL
 maintainers         snc openmaintainer
@@ -20,10 +20,11 @@
 
 master_sites        ftp://ftp.gnu.org/gnu/libmicrohttpd/
 
-checksums           sha1    cad42cb142b27ae4b2c7260256f3e97d501cccbe \
-                    rmd160  134af0ea50aa8a7ab9c555797808b04b8ea13001
+checksums           sha1    ab2231a8bb65cacdd4f6ca8fad92fd27921dd56a \
+                    rmd160  22d74739d7d790df4686db7d61da1dfc575d3b32
 
-patchfiles          patch-src-daemon-digestauth.c.diff
+#patchfiles          patch-src-daemon-digestauth.c.diff 
+patchfiles          patch-src-daemon-daemon.c.diff
 
 livecheck.type      regex
 livecheck.url       http://ftp.gnu.org/gnu/libmicrohttpd/

Added: trunk/dports/www/libmicrohttpd/files/patch-src-daemon-daemon.c.diff
===================================================================
--- trunk/dports/www/libmicrohttpd/files/patch-src-daemon-daemon.c.diff	                        (rev 0)
+++ trunk/dports/www/libmicrohttpd/files/patch-src-daemon-daemon.c.diff	2011-03-31 22:39:48 UTC (rev 77475)
@@ -0,0 +1,11 @@
+--- src/daemon/daemon.c.orig	2011-03-31 18:33:21.000000000 -0400
++++ src/daemon/daemon.c	2011-03-31 18:33:42.000000000 -0400
+@@ -941,7 +941,7 @@
+ #if OSX
+ #ifdef SOL_SOCKET
+ #ifdef SO_NOSIGPIPE
+-  setsockopt (s, SOL_SOCKET, SO_NOSIGPIPE, &on, sizeof (on));
++  setsockopt (client_socket, SOL_SOCKET, SO_NOSIGPIPE, &on, sizeof (on));
+ #endif
+ #endif
+ #endif

Deleted: trunk/dports/www/libmicrohttpd/files/patch-src-daemon-digestauth.c.diff
===================================================================
--- trunk/dports/www/libmicrohttpd/files/patch-src-daemon-digestauth.c.diff	2011-03-31 19:51:51 UTC (rev 77474)
+++ trunk/dports/www/libmicrohttpd/files/patch-src-daemon-digestauth.c.diff	2011-03-31 22:39:48 UTC (rev 77475)
@@ -1,27 +0,0 @@
---- src/daemon/digestauth.c.orig	2010-12-26 11:21:16.000000000 -0500
-+++ src/daemon/digestauth.c	2010-12-26 11:22:28.000000000 -0500
-@@ -56,6 +56,24 @@
-  */
- #define MAX_AUTH_RESPONSE_LENGTH 128
- 
-+/* begin test code */ 
-+size_t strnlen(const char *s, size_t len) 
-+{ 
-+    size_t i; 
-+    for(i=0; i<len && *(s+i); i++); 
-+    return i; 
-+} 
-+char* strndup (char const *s, size_t n) 
-+{ 
-+    size_t len = strnlen (s, n); 
-+    char *new = malloc (len + 1); 
-+    if (new == NULL) 
-+    return NULL; 
-+    new[len] = '\0'; 
-+    return memcpy (new, s, len); 
-+} 
-+/* end test code */ 
-+
- /**
-  * convert bin to hex 
-  *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110331/e6edcb3a/attachment.html>


More information about the macports-changes mailing list