xbps-repo(8): 'search' target is now case insensitive.

Along with this change, compat code has been added (from NetBSD)
for systems that don't have it. The compat code has been reorganized
to be in a common place and its prototypes in compat.h.

The configure scripts checks if strcasestr() is available, and
uses compat code if not found.

This fixes issue #2 on github.com/vanilla/xbps.
This commit is contained in:
Juan RP
2011-07-09 10:50:44 +02:00
parent 5585b98ac6
commit 0a2abb3f3d
15 changed files with 198 additions and 70 deletions

12
NEWS
View File

@@ -1,4 +1,14 @@
xbps-0.9.0 (???):
xbps-0.9.1 (???):
* xbps-repo(8): the 'search' target now matches patterns in
case insensitive mode.
* A bug has been fixed while updating a package and another package
providing a virtual package with a greater version was available
in repositories. Only accept this if the virtual package is explicitly
enabled in the "virtual-packages" section in the configuration file.
xbps-0.9.0 (2011-07-08):
* configure doesn't require a zlib package with a pkg-config file, to
workaround some distribution that don't provide it (hi Ubuntu!). Rather