Changes included in this set:
* Added strlcat() and strlcpy() from OpenBSD, always use them if the
system does not have them built in.
* Changed an array of PATH_MAX size allocated in the stack, to a dynamically
allocated buffer from heap. This should reduce memory usage a bit.
* Simplify code that implemented a homegrown realpath(3) implementation,
simply use realpath(3).
* If compiler supports -fstack-protector, build all code with
-D_FORTIFY_SOURCE=2 and --param ssp-buffer-size=1 so that all
buffers are protected.
This helps to catch upgrade problems and simplifies some parts of the code.
Bumped XBPS_RELVER because xbps_remove_pkg() has been changed.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100128150850-gcs93su38t6moydn
doxygen and graphviz are required. It's disabled by default, use
the BUILD_API_DOCS make(1) argument to enable it.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20100123013719-pkk3a3823cx09v8l
Also always build the static bins so that it's done in one pass,
that means that objects are PIC and built with SSP.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091119050337-hkdksjqxy9n7vy7m
libfetch from NetBSD's pkgsrc has been imported into lib/fetch, but
the objects are embedded into libxbps. Only a public function to fetch
files has been implemented: xbps_fetch_file().
The library now is built with -fvisibility=hidden by default, and
exported symbols are the ones that use the SYMEXPORT macro.
The code works well enough, but will need many more cleanups.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091027004600-0lq9aao67lisbzxv
uses an array of strings that lists the packages that should be
removed before new package can be installed.
In the build templates one can use: replaces="foo foo-blah foo-libs".
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091017022643-rdyrp9kvmx3m0p0h
* Added XBPS_FETCH_CMD to xbps-src.conf, this will be used to fetch
distfiles. Please note that it will be copied to the chroot, so
it should be statically linked or with only libc required.
* Removed libtool_func.sh and associated vars, it's unneeded currently.
* Added keep_empty_dirs, keep_libtool_archives and nostrip. By default
all empty dirs and libtool archives are removed, and executables and
libraries stripped, respectively. One can use set the var in a build
template to change the behaviour.
* Explain in README what are the requirements to build XBPS.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091017005836-uifiof32ndy0wmd8
as foo.static.
Updated README to note the new requirements for it. It will be used
to reduce the number of dependencies when building packages in
the chroot.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091015222234-360i67zychjge3nh