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
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
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.
* Added basic archive writing support.
* Added a cpio archive module.
* Added a zip archive module.
* Added the beginnings of a cab archive module.
* Added new API functions, which include:
cxMkDir(), cxGets(), cxExtractFile(), cxExtractArchive(),
cxMakePhysDirs(), cxApplyFsNodeInfo(), cxMakeFile(),
cxGetArchiveFileCount()
* Added functions for extracting individual files and full archives.
* Added extraction notification callbacks.
* Added pkg-config support.
* Added gettext v0.11.3+ support.
* Added an Italian translation. Thanks Domenico Andreoli!
* Added a Dutch translation. Thanks Bert De Meyer!
* Added support for some non-ustar tar formats.
* Added a test program to display the file/directory tree inside of an
archive.
* Removed comprex.h. Applications should now include libcomprex/comprex.h.
* Fixed the extraction code so permissions, timestamps, and ownerships
are set on files and directories.
* Fixed cxEof().
* Fixed the file and directory iterator. It should provide the
correct results now.
* Fixed a bug in the ar module where filenames weren't always read in
correctly.
* Fixed a bug in the tar module where filenames that start with '.'
weren't processed correctly.
* Fixed library linking problems with libbz2 and libz.
* Fixed compiling errors when --prefix wasn't specified, and linking
errors with libltdl.
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".
deprecated (?) function. Even though, the module seems to build
correctly with the current version of curl in pkgsrc, so change the
check to look for an existent function.
This fixes the build of the curl module, thus solving the problem
exposed in latest kristerw@'s bulk build in NetBSD 2.0_BETA/i386.
Not bumping PKGREVISION because this was not packaged in the first
place.
configure uses curl_formparse(), which is not available in
curl-7.12.0. Since curl_formparse() is never used in libcompress and
curl is always available through buidlink, it is safe to skip the
test.
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.
as archivers/libcomprex.
The libcomprex library transparently handles automatic compression and
decompression of files. The API is similar to C's built-in file access
functions, which provides a smooth transition to libcomprex.
libcomprex can also open uncompressed files, making it a good
replacement for the native file access functions.
libcomprex is part of the GNUpdate project.
libcomprex is currently in development (so should not be used in
stable products).