diff options
author | wiz <wiz> | 2008-04-16 14:43:38 +0000 |
---|---|---|
committer | wiz <wiz> | 2008-04-16 14:43:38 +0000 |
commit | 2692b7bba796a97168b991c737cfc3e7ede9bee4 (patch) | |
tree | 92f241ed3690e08cb8671d38400fbbcd708bddee /net/gnet | |
parent | 2d68fafd76733b997c863a2f9ebb702064debda0 (diff) | |
download | pkgsrc-2692b7bba796a97168b991c737cfc3e7ede9bee4.tar.gz |
Update to 2.0.8:
2.0.8
-----
* New API:
gnet_conn_set_main_context
gnet_conn_http_set_main_context
gnet_inetaddr_new_async_full
gnet_inetaddr_new_list_async_full
gnet_inetaddr_get_name_async_full
gnet_tcp_socket_connect_async_full
gnet_tcp_socket_new_async_full
gnet_tcp_socket_new_async_direct_full
gnet_unix_socket_new_abstract
gnet_unix_socket_server_new_abstract
gnet_uri_parse_inplace
* GConnHttp API is no longer marked as experimental
* Fix major memory leak in GConnHttp
* gnet_init() can now safely be called
more than once now
* Fix crash when gnet_conn_http_delete()
is called from within the user callback.
* GConnHttp: do not emit data events for
pages that are being redirected to a
new location.
* GConnHttp: add gnet_conn_http_set_escaped_uri()
(Samuel Cormier-Iijima)
* Eliminate direct pthread usage on unix
and use GLib GThreads instead (also
fixes problems with gdb and valgrind)
(Andreas Rottmann)
* Dropped support for GLib-1.2
* Fix build on old systems that have
a __ss_family member in struct
sockaddr_storage instead of
ss_family (Jeremy Denise)
* GConnHttp: Documentation fixes
* Fix compilation with --enable-debug
on some 64-bit architectures like
amd64 (Daniel Gryniewicz)
* GConnHttp: fix several timeout issues
(Steve Morris, Tim Muller).
* GConnHttp: fix parsing of POST method
response when there are optional headers
after the 100-Continue response (#459895).
* Relicense source code in examples/
directory from GPL to LGPL.
* Add 'extern "C"' guards to pack.h to
make things work with c++ compilers
(thanks to Adriano Winter Bess).
* New API: gnet_conn_write_direct() to
write buffers asynchroneously without
copying them (Jeff Garzik)
* Fix for race condition and subsequent
crash in asynchroneous DNS lookup
(Steve Morris, Tim Müller)
* Pass correct size parameters to bind()
and connect() when creating unix sockets
(Zeeshan Ali, #403197)
* New API: gnet_unix_socket_new_abstract()
and gnet_unix_socket_server_new_abstract()
add support for abstract unix sockets on
systems where this is supported
(Zeeshan Ali, #404583)
* Remove unused and pointless fork() fallback
for asynchronous DNS lookups in cases where
GLib has been compiled without threading
support. It's 2007 - I think it's in order
to require threading to be present; even my
wrist watch can do that. Removs lots of
unmaintained code and ugly #ifdefs.
(Released Feb 3, 2008)
Diffstat (limited to 'net/gnet')
-rw-r--r-- | net/gnet/Makefile | 8 | ||||
-rw-r--r-- | net/gnet/PLIST | 3 | ||||
-rw-r--r-- | net/gnet/distinfo | 8 | ||||
-rw-r--r-- | net/gnet/patches/patch-ad | 22 | ||||
-rw-r--r-- | net/gnet/patches/patch-ae | 33 | ||||
-rw-r--r-- | net/gnet/patches/patch-co | 13 |
6 files changed, 9 insertions, 78 deletions
diff --git a/net/gnet/Makefile b/net/gnet/Makefile index fa4fb96bb82..18d0239b7c1 100644 --- a/net/gnet/Makefile +++ b/net/gnet/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.32 2006/03/04 21:30:19 jlam Exp $ +# $NetBSD: Makefile,v 1.33 2008/04/16 14:43:38 wiz Exp $ # -DISTNAME= gnet-2.0.7 -PKGREVISION= 2 +DISTNAME= gnet-2.0.8 CATEGORIES= net -MASTER_SITES= http://www.gnetlibrary.org/src/ +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnet/2.0/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnetlibrary.org/ @@ -14,7 +13,6 @@ USE_TOOLS+= pkg-config USE_LIBTOOL= YES PKGCONFIG_OVERRIDE= gnet-2.0.pc.in GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --enable-glib2 CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc TEST_TARGET= check diff --git a/net/gnet/PLIST b/net/gnet/PLIST index f54f273e3be..ad0acc49050 100644 --- a/net/gnet/PLIST +++ b/net/gnet/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2005/05/25 11:41:32 wiz Exp $ +@comment $NetBSD: PLIST,v 1.13 2008/04/16 14:43:38 wiz Exp $ include/gnet-2.0/base64.h include/gnet-2.0/conn-http.h include/gnet-2.0/conn.h @@ -44,6 +44,7 @@ share/doc/gnet/gnet-udp.html share/doc/gnet/gnet-unix.html share/doc/gnet/gnet-uri.html share/doc/gnet/gnet.devhelp +share/doc/gnet/gnet.devhelp2 share/doc/gnet/home.png share/doc/gnet/index.html share/doc/gnet/index.sgml diff --git a/net/gnet/distinfo b/net/gnet/distinfo index b01c8e8ac1f..d1d8f6daf95 100644 --- a/net/gnet/distinfo +++ b/net/gnet/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.16 2006/10/10 20:01:31 rillig Exp $ +$NetBSD: distinfo,v 1.17 2008/04/16 14:43:38 wiz Exp $ -SHA1 (gnet-2.0.7.tar.gz) = 01c41bd492c6fd33d31800d0c5146a09315f7f6d -RMD160 (gnet-2.0.7.tar.gz) = 4df0bbc29ccdd84cb32d5199dade6351163c5548 -Size (gnet-2.0.7.tar.gz) = 608961 bytes +SHA1 (gnet-2.0.8.tar.gz) = 762b606874fed243d2befe730212a398eef02872 +RMD160 (gnet-2.0.8.tar.gz) = b2ab816f4101e5825867b4fd1a7f6b7cb91c31d3 +Size (gnet-2.0.8.tar.gz) = 725267 bytes SHA1 (patch-ad) = 4c7e3a07df6f1018fe9446db333348eaf587225e SHA1 (patch-ae) = cf642dc0f9ea7a6c87ef0a9fb6be0f110d42232d SHA1 (patch-co) = 286194dfea94f17e44b2fdb454076b076cc235ad diff --git a/net/gnet/patches/patch-ad b/net/gnet/patches/patch-ad deleted file mode 100644 index 82b995a99ca..00000000000 --- a/net/gnet/patches/patch-ad +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2003/04/15 12:19:19 wiz Exp $ - ---- examples/echoserver-unix.c.orig Mon Feb 3 20:01:56 2003 -+++ examples/echoserver-unix.c -@@ -228,7 +228,7 @@ async_client_iofunc(GIOChannel *iochanne - /* Check for data to be read (or if the socket was closed) */ - if (c & G_IO_IN) { - GIOError e; -- guint bytes_read; -+ gsize bytes_read; - - /* Read the data into our buffer */ - e = g_io_channel_read(iochannel, -@@ -259,7 +259,7 @@ async_client_iofunc(GIOChannel *iochanne - } - if (c & G_IO_OUT) { - GIOError e; -- guint bytes_written; -+ gsize bytes_written; - /* Write the data out */ - e = g_io_channel_write(iochannel, cs->buffer, cs->n, - &bytes_written); diff --git a/net/gnet/patches/patch-ae b/net/gnet/patches/patch-ae deleted file mode 100644 index 26334ea3d60..00000000000 --- a/net/gnet/patches/patch-ae +++ /dev/null @@ -1,33 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2003/04/15 12:19:19 wiz Exp $ - ---- examples/hfetch.c.orig Mon Feb 3 20:01:56 2003 -+++ examples/hfetch.c -@@ -114,6 +114,7 @@ hfetch(gchar* server, gint port, gchar* - gchar buffer[1024]; - GIOError error; - guint n; -+ gsize n2; - - - /* Create the address */ -@@ -142,17 +143,17 @@ hfetch(gchar* server, gint port, gchar* - /* Read the output */ - while (1) - { -- error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n); -+ error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n2); - if (error != G_IO_ERROR_NONE) - { - g_warning("Read error: %d\n", error); - break; - } - -- if (n == 0) -+ if (n2 == 0) - break; - -- fwrite(buffer, n, 1, stdout); -+ fwrite(buffer, n2, 1, stdout); - } - - gnet_tcp_socket_delete(socket); diff --git a/net/gnet/patches/patch-co b/net/gnet/patches/patch-co deleted file mode 100644 index 89f9a414b4a..00000000000 --- a/net/gnet/patches/patch-co +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-co,v 1.1 2006/10/10 20:01:31 rillig Exp $ - ---- configure.orig 2006-10-10 21:32:25.000000000 +0200 -+++ configure 2006-10-10 22:00:48.000000000 +0200 -@@ -21644,7 +21644,7 @@ fi - LIBS="$gnet_save_LIBS $dash_pthread" - - # Otherwise, check for -lpthread and -lc_r -- if test "x$dash_pthread" == "x"; then -+ if test "x$dash_pthread" = "x"; then - echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 - echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 - if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |