Make sure the default configuration is without any signature
Fix syslog badly reporting reinstallations
Fix memory leak in pkg-repo.

Free memory when we do not add a package to the resulting site for
some reason.
    Deal l with temporary contention in pkgdb_transaction_begin() by retrying
    up to NTRIES times. This avoids "database is locked" failures under
    contention.
    Retry up to NTRIES times in get_pragma() when sqlite fails with
    SQLITE_BUSY. This function is called outside of a transaction and so
    isn't handled by the retries in pkgdb_transaction_begin().
Small whitespace cleanup
Fix analyzing elf from a stage directory
Fix build on mips, cleanup now unused ARM macros
Return EPKG_FATAL if any install pattern is invalid.
- Fix an error that prevents the use of `pkg add' or `pkg annotate'.
Merge pull request #592 from so14k/add-usage

- Fix an error that prevents the use of `pkg add' or `pkg annotate'.
Factor out the script text column into a new table: 'script'

Create new linking table 'pkg_script' to express the relation between
packages and scripts.

Drop old scripts table and repalce with view + triggers to emulate old
behaviour.
Add backwards compatibility view and triggers to local.sqlite schema.

Fix indentation in libpkg/private/db_upgrades.h
The table is 'pkg_script' not 'package_script'

Be consistent with curly brace position after if ()

Update SQL to account for new pkg_script and script tables.
Clean out any unreferencec scripts from the script table.

Tidy up some of the inline SQL
Create the pkg_script_package_id INDEX correctly

Factor out code as new pkg_install_scripts() function

Get the arguments to the SCRIPTS2 SQL prstmt in the correct order.
    When the input file name has no extension, just ignore the extension
    instead of failing outright. This is useful when /dev/stdin is the input
    filename and there are known to be no dependencies to deal with.
Allow pkg add to read from a pipe or a non-regular file -- so now, all
of the following work:

Installing portmaster-3.17.2... done

Installing portmaster-3.17.2... done

Installing portmaster-3.17.2... done

The special filename '-' means 'read from stdin', but should also read
from character special devices, pipes, fifos, unix domain sockets etc.
Update man page to descripe the special '-' filename meaning 'read
from stdin' and better describe the behaviour when the base directory
for packages cannot be intuited from the filename passed on the
command line.
Fix typo.