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.
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).
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.
libstatgrab 0.10.3 (24 August 2004)
* Add -f flag to statgrab to display floating-point numbers multiplied
by an integer.
* Add -K, -M and -G flags to statgrab to show byte counts in kibibytes,
mebibytes or gibibytes.
* Make statgrab-make-mrtg-config use the new flags to scale extremely
large or small numbers so that mrtg can handle them.
* Make statgrab-make-mrtg-config automatically detect network interface
speeds.
* Add support for FreeBSD 6.0-CURRENT.
libstatgrab 0.10.2 (27 July 2004)
* Fix shared library version that when backwards in 0.10.1.
libstatgrab 0.10.1 (26 July 2004)
* Use DESTDIR correctly when setting permissions at install time.
* Fix disk stats to work with OpenBSD 3.5.
* Fix disk stats on NetBSD 2.0 (statvfs instead of statfs).
* Fix memory leak in process stats on NetBSD 2.0.
* Add vxfs (Veritas filesystem) to list of known filesystems
on Solaris.
* Add more variables to the pkg-config file to suggest suitable
ownership and permissions for binaries using libstatgrab.
* Make sure statgrab.h can safely be included twice.
* Fix statgrab to display network interface names even if they
don't have IO stats (like the loopback interface on Solaris).
* Add error reporting function that grabs errno.
author Tim Bishop.
The libstatgrab library provides an easy to use interface for
accessing system statistics and information. Available statistics
include CPU, Load, Memory, Swap, Disk I/O, and Network I/O.
Also part of the package are two tools; saidar provides a curses-based
interface to viewing live system statistics, and statgrab is a
sysctl-like interface to the statistics.