Pacman

Here is a small collection of patches based on the latest pacman release available.

It contains some fixes and features that can possibly be included in next pacman releases.

Please note that patches can relate to pacman binary itself, but also to pacman scripts (aka. makepkg, makeworld and gensync) too.

This comes with no warranty at all. As such, it may end-up in broking your local database.

Patches

Read carefully the description of patches to check the nature of changes.

CURRENT
2.8-ore1
  • Merged patch 2.7.9-ore4.
DEPRECATED
2.7.9-ore4
  • Removed the --file option for query operations.
    When using -Q, pacman first look for a package within the local db. If not found, pacman tries to interpret the argument as a file.
  • Optimized db_scan() calls in -Q operations.
2.7.9-ore3
  • Fixed a display bug when only downloading a group.
    When using the "-w" option, "Install whole content?" is now replaced by "Download whole content?".
2.7.9-ore2
  • db_write improvements:
    Pacman can now write partial package records to the local database (e.g. write only the "desc" file or only the "files" one).
    It brings an important performance improvement when pacman has to update REQUIREDBY fields during packages installation or removal.
2.7.9-ore1
  • db_read improvements:
    Pacman is now able to browse the database and fetch packages name and version only without having to parse a single file.
    This allows a slight performance enhancement with querying a file owner for instance.

Installation

Unpack pacman source tarball, and simply apply the patch to it prior to run "./configure; make; make install" (you can get pacman sources from http://www.archlinux.org/pacman/).

Contact

Thanks to send your comments, feedbacks and suggestions to orelien@chez.com.