Revision: 70218 http://trac.macports.org/changeset/70218 Author: snc@macports.org Date: 2010-08-02 05:25:06 -0700 (Mon, 02 Aug 2010) Log Message: ----------- update version Modified Paths: -------------- trunk/dports/www/libmicrohttpd/Portfile Added Paths: ----------- trunk/dports/www/libmicrohttpd/files/ trunk/dports/www/libmicrohttpd/files/missing-libgcrypt-when-link-with-gnutls.patch trunk/dports/www/libmicrohttpd/files/patch-src-examples-https_fileserver_example.c.diff Modified: trunk/dports/www/libmicrohttpd/Portfile =================================================================== --- trunk/dports/www/libmicrohttpd/Portfile 2010-08-02 11:58:19 UTC (rev 70217) +++ trunk/dports/www/libmicrohttpd/Portfile 2010-08-02 12:25:06 UTC (rev 70218) @@ -4,7 +4,7 @@ PortSystem 1.0 name libmicrohttpd -version 0.4.6 +version 0.9.0 categories www license LGPL maintainers snc openmaintainer @@ -16,12 +16,16 @@ free software and part of the GNU project. homepage http://www.gnu.org/software/libmicrohttpd/ platforms darwin +depends_lib port:gnutls port:libgcrypt port:curl + master_sites ftp://ftp.gnu.org/gnu/libmicrohttpd/ -checksums md5 61698da6aa04744ea076c327f66fc05a \ - sha1 930f18734496247d4c8d391268110c15a0fd355d \ - rmd160 58ed14097f6f99d7dfca7cca665904fdafb86dd5 +checksums md5 9c0d681ee88cdbe332919e102ad27953 \ + sha1 f2e0e02e9f4cdf0e35fffeadb719a318a40ed33a +patchfiles missing-libgcrypt-when-link-with-gnutls.patch \ + patch-src-examples-https_fileserver_example.c.diff + livecheck.type regex livecheck.url http://ftp.gnu.org/gnu/libmicrohttpd/ livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)" Added: trunk/dports/www/libmicrohttpd/files/missing-libgcrypt-when-link-with-gnutls.patch =================================================================== --- trunk/dports/www/libmicrohttpd/files/missing-libgcrypt-when-link-with-gnutls.patch (rev 0) +++ trunk/dports/www/libmicrohttpd/files/missing-libgcrypt-when-link-with-gnutls.patch 2010-08-02 12:25:06 UTC (rev 70218) @@ -0,0 +1,22 @@ +--- src/daemon/Makefile.am.link 2010-07-27 05:57:55.000000000 +0200 ++++ src/daemon/Makefile.am 2010-07-27 05:58:22.000000000 +0200 +@@ -28,7 +28,7 @@ + if ENABLE_HTTPS + libmicrohttpd_la_SOURCES += \ + connection_https.c connection_https.h +-libmicrohttpd_la_LIBADD = -lgnutls ++libmicrohttpd_la_LIBADD = -lgnutls @LIBGCRYPT_LIBS@ + endif + + check_PROGRAMS = \ +--- src/daemon/Makefile.in.link 2010-07-27 05:57:51.000000000 +0200 ++++ src/daemon/Makefile.in 2010-07-27 05:58:35.000000000 +0200 +@@ -276,7 +276,7 @@ + -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ + + @USE_COVERAGE_TRUE@AM_CFLAGS = --coverage +-@ENABLE_HTTPS_TRUE@libmicrohttpd_la_LIBADD = -lgnutls ++@ENABLE_HTTPS_TRUE@libmicrohttpd_la_LIBADD = -lgnutls @LIBGCRYPT_LIBS@ + TESTS = $(check_PROGRAMS) + daemon_test_SOURCES = \ + daemon_test.c Added: trunk/dports/www/libmicrohttpd/files/patch-src-examples-https_fileserver_example.c.diff =================================================================== --- trunk/dports/www/libmicrohttpd/files/patch-src-examples-https_fileserver_example.c.diff (rev 0) +++ trunk/dports/www/libmicrohttpd/files/patch-src-examples-https_fileserver_example.c.diff 2010-08-02 12:25:06 UTC (rev 70218) @@ -0,0 +1,9 @@ +--- src/examples/https_fileserver_example.c.orig 2010-07-24 15:24:50.000000000 +0000 ++++ src/examples/https_fileserver_example.c 2010-07-29 20:32:16.000000000 +0000 +@@ -138,5 +138,5 @@ + *ptr = NULL; /* reset when done */ + +- if ( (0 == stat (url, &buf)) && ++ if ( (0 == stat (&url[1], &buf)) && + (S_ISREG (buf.st_mode)) ) + file = fopen (&url[1], "rb");
participants (1)
-
snc@macports.org