xbps/NEWS
2010-06-03 09:53:03 +02:00

143 lines
5.8 KiB
Plaintext

xbps-0.6.0 (2010-06-03):
* Synced libfetch code with NetBSD pkgsrc, updated to 2.31.
* libxbps: improved xbps_get_file_hash() to mmap(2) rather than read(2)
the file we have to process. With mmap'ed files the hash can be
processed 5x faster than before, or even more in some cases.
* libxbps: switch to OpenSSL SHA256 implementation and remove the one
previously used. It's faster and OpenSSL is required for libfetch so
there is not point in using it.
* Added strlcpy() and strlcat() from OpenBSD. Use them if they weren't
found by the configure script on the system.
* Added a configure script that emulates GNU autoconf but simplified, to
simplify customization for build options, flags, etc.
xbps-0.5.2.2 (2010-05-18):
* libxbps: do not forget to reset a variable to 0 when removing obsolete files
that are unexistent or its hash didn't match.
xbps-0.5.2.1 (2010-05-18):
* Due to human error, last fix in 0.5.2 was completely wrong and the
INSTALL/REMOVE scripts were simply empty so ENOENT was returned, clearly
this is expected and shouldn't be ignored.
xbps-0.5.2 (2010-05-18):
* libxbps: while running INSTALL/REMOVE scripts, do not fail if a script
returns ENOENT but the script exists; that means the script did not match
the expected action on its switch statement and the fact can be simply
ignored.
* libxbps: while upgrading packages and searching for obsolete files,
do not remove the files that did not match previous SHA256 hash. Also,
only remove obsolete dangling symlinks.
* xbps-repo(8): fixed the 'genindex' target to not return error if any
package is already registered in the index.
* xbps-repo(8): improved the 'search' target to also match substrings in
package/version tuples.
xbps-0.5.1 (2010-05-12):
* Fixed build issues in RHEL5, Ubuntu and others distributions.
* libxbps: changed the epoch component in version strings to the ':'
character to be differentiated from '-' in pkgname, and '_' in revision.
* xbps-bin(8): added a new target 'show-orphans' that list all package
orphans currently installed.
* Removed asciidoc build dependency, simply use the troff manpages.
xbps-0.5.0 (2010-05-01):
* xbps-repo(8): fixed the 'search' target to also match patterns against
its description, and not only from the package/version tuple.
* Cleaned up the code by using the LLVM's clang static analyzer, found
two possible NULL pointer dereferences in error branches and dead code.
* xbps-bin(8): added new flag '-p' for the 'remove' and 'autoremove'
targets, to also purge the package(s) after successful removal.
* xbps-repo(8): print a warning when registering a repository that has
been already added previously.
* Add proplib-0.4.1 source and use it in XBPS. This is to avoid
an external dependency, so that we depend on the features of the
internal library. This also means that proplib is not required anymore.
* Added support to read/write gzip compressed plists by default, thanks
to proplib-0.4 that gained new functionality.
xbps-0.4.1 (2010-02-28):
* xbps-bin(8): fixed the install target to work with package names containing
multiple '-', thus resulting in incorrect package name.
[ https://bugs.launchpad.net/bugs/528212 ]
* xbps-bin(8): fixed printing of incorrect message for packages containing
the 'preserve' object in its props dictionary.
[ https://bugs.launchpad.net/xbps/bugs/528216 ]
xbps-0.4 (2010-02-01):
* libxbps, xbps-bin(8), xbps-repo(8): redirect all warning and error
messages to stderr.
* libxbps: changes xbps_yesno() and xbps_noyes() to only accept "yes" or "no"
(case insensitive) answers rather than 'y' or 'n', to avoid mistaken answers.
* xbps-repo(8): added support to the 'search' target to find exact matches,
i.e 'xbps-repo search bash'.
* xbps-bin(8) added support to the 'install', 'remove' and 'update'
targets to accept any arbitrary number of package names, i.e
"xbps-bin install foo blah baz".
See https://blueprints.launchpad.net/xbps/+spec/arbitrary-pkgname-args
* xbps-bin(8): added support to the 'install' and 'update' targets to
accept package patterns, i.e "xbps-bin install 'foo<=3.0'.
See https://blueprints.launchpad.net/xbps/+spec/install-pkg-by-pkgmatch
* libxbps: fixed some bugs while upgrading essential packages when new package
didn't have an INSTALL or REMOVE script and old package had them.
* libxbps: fixed some memleaks found by cppcheck and valgrind.
* Makefiles reworked to support parallel builds.
* libxbps: many exported functions to the API are now internal and not
exported, because they were only used internally. The API is still not
finished and may be changed without notice.
* libxbps: be more strict finding required metadata plist files in binary
packages. Now the code checks for the two required plist files to be at
index <= 4 and doesn't write any entry to storage until they aren't found.
* Added doxygen documentation for the API, enabled with BUILD_API_DOCS.
* libxbps: synced libfetch code with NetBSD's pkgsrc, updated to 2.30.
* xbps-bin(8): when downloading binary packages, it now sets default
libfetch cache connection limits, thus reusing connections to the same host.
* xbps-uhelper: the 'fetch' target now accepts an arbitrary number of
arguments, and sets default libfetch cache connection limits.
* xbps-bin(8): enable -f option for the 'purge' and 'remove' targets.
If set, files will be removed even if its hash doesn't match for the
'remove' target, and configuration files for the 'purge' target.
* libxbps: if updating a package, always overwrite files while unpacking;
compare old and new files to remove obsoletes if necessary. This makes
the "essential" object in package dictionary unnecessary, because all
packages are treated as they were essential.