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.
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)
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
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).
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.
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.
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.
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.
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".
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.
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
* 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.