summaryrefslogtreecommitdiff
path: root/net/gnet
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Remove @dirrm entries from PLISTsjoerg1-5/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-06-20Add DESTDIR support.joerg1-1/+3
2008-04-16Update to 2.0.8:wiz6-78/+9
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)
2006-10-10Fixed "test ==".rillig2-1/+15
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-4/+4
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-08-10Remove the abuse of buildlink that was pkg-config/buildlink3.mk. Thatjlam1-2/+2
file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-07-21Change path from devel/pkgconfig to devel/pkg-config.wiz1-2/+2
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-05-25Install documentation into share/doc instead of share/gtk-doc/html. Bump ↵wiz2-35/+37
PKGREVISION.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-23Update to 2.0.7:wiz3-41/+42
2.0.7 ----- * Ship API documentation pre-built as HTML * Build fixes for mingw on win32 (Gisle Vanem) (Released Feb 23, 2005) 2.0.6 ----- * New experimental HTTP Conn module (Tim Muller) * Misc bug fixes: - pthread detection - escaping of high Latin-1 characters - base64 encoding - doc fixes (gnet_base64_encode) - fix crash when doing dns lookup on ipv6-enabled win32 systems (only if gnet has been built using configure/autotools) (Released Feb 18, 2005) Package change: Drop maintainership.
2005-02-24Add RMD160 digests.agc1-1/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-8/+7
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-03Update gnet to 2.0.5.minskim3-7/+7
Changes: * Many Win32 fixes * Desciptor leak fixed in TCP sockets * GConn 100% CPU bug fix * Bug fix for URIs with high Latin-1 characters * IPv6 fix for inetaddr_get_canonical_name() * New echoserver-partyline example * Miscellaneous clean-ups
2004-03-03Not used any more.minskim1-25/+0
2004-02-14The pkgconfig file is named gnet-2.0.pc.in, not gnet.pc.in.jmmv1-2/+2
2004-02-14PKGCONFIG_OVERRIDE is relative to WRKSRC.jmmv1-2/+2
2004-02-14Add buildlink3.mk.minskim1-0/+22
2004-02-14Remove .pc from BUILDLINK_FILES.minskim1-2/+1
2004-02-14bl3ify and add explicit dependency on pkgconfig.minskim1-3/+4
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2003-07-30Update to 2.0.4:wiz3-9/+8
* Minor memory leak fixed in internet addresses * Compile and regression test fixes for 64-bit systems * Compile fix for Solaris
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-13PKGREVISION bump for libiconv update.wiz2-3/+4
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-15Update to 2.0.3:wiz3-7/+7
* Minor bug fix in TCP connect * Win32 compile/bug fixes (note: additional work still needed)
2003-05-07Update to 2.0.2:wiz3-8/+7
* RPM fixes (thanks Bas Mevissen!) * Compile fixes for Sun compiler (thanks Ives Aerts!)
2003-05-05Line up PKGREVISION whitespace.jmmv1-2/+2
2003-05-02Dependency bumps, needed because of devel/pth's major bump, and relatedwiz2-3/+4
dependency bumps.
2003-04-22Update to 2.0.1:wiz2-5/+5
* Compile fixes for Solaris and systems with no IPv6 support
2003-04-15Update to 2.0.0.wiz9-174/+93
* DNS bug fixes * FreeBSD compile fixes and UDP send bug fix * New functions: gnet_{udp,mcast}_socket_get_local_inetaddr * Build improvements: library is now named libgnet-MAJOR.MINOR, favors GLib 2 over GLib 1.2 * New Base64 module (by Alfred Reibenschuh) * Major documentation improvements * Some minor API renaming in Inetaddr and TcpSocket * IPv6 support * Server, Conn, URI, and Unix modules are no longer "experimental" * Header files are now in gnet-2.0 * gnet-config removed. Use pkg-config. * Many API changes * gnet_server_new() changed, but the prototype is the same. Make sure you are using the new version correctly.
2003-03-04Update to 1.1.8:wiz3-8/+7
* Compilation fixes
2003-02-13correct some types to make this compile on alpha. Passes 3/4 tests so thisdmcmahill7-2/+129
is only a partial improvement.
2002-12-24Bump PKGREVISION because of dependency on latest freetype2 or glib2wiz2-3/+4
package and library major bumps therein. Also match dependency in corresponding buildlink2.mk's for the same reason. Mmmm, binary packages.
2002-10-30Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE.rh3-14/+3
2002-10-16Update gnet to 1.1.7. Depends on glib2 now. Other changes are:rh5-14/+69
* Fixed major bug in IO channel code from 1.1.6 * IOChannels are non-buffering, non-encoded by default (for GLib 2.0) * examples are now build by default * gnet_inetaddr_list_interfaces() bug fix * FreeBSD compile fix (affected gnet_inetaddr_list_interfaces()) * New gnet_init() function. This should be called in main(). [1] * GNet now properly links to libgthread (if necessary) * More automated test cases * Several compile fixes and small bug fixes * Package now includes a buildlink2.mk
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam3-5/+5
have been converted to USE_BUILDLINK2.
2002-07-02Add RCS Id.wiz1-0/+1
2002-05-16Initial import of GNet-1.1.4:wiz4-0/+80
GNet is a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be small, fast, easy-to-use, and easy to port. GNet comes with documentation and examples.