pkgsrc/net/gnet/Makefile

23 lines
547 B
Makefile
Raw Normal View History

2008-06-20 03:09:05 +02:00
# $NetBSD: Makefile,v 1.34 2008/06/20 01:09:30 joerg Exp $
#
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)
2008-04-16 16:43:38 +02:00
DISTNAME= gnet-2.0.8
CATEGORIES= net
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)
2008-04-16 16:43:38 +02:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnet/2.0/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnetlibrary.org/
COMMENT= Simple network library
2008-06-20 03:09:05 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= gnet-2.0.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
TEST_TARGET= check
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"