Add missing header

Exposed when building with --without-libcurl

Signed-off-by: Allan McRae <allan@archlinux.org>
Hide unused parameter warnings when building without libcurl

Signed-off-by: Allan McRae <allan@archlinux.org>
be_sync: avoid crashing on files in the root of a DB

If a sync DB is malformed and contains entries in the root of the
archive, load_pkg_for_entry will leave the 'filename' variable empty,
leading to a crash in the ensuing strcmp() calls which determine the DB
fragment being examined.

While this isn't a read error, this should be reported to the user so
that it can be addressed by the creator of the DB.

As seen: https://bbs.archlinux.org/viewtopic.php?pid=1297766

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Remove autotools files

Signed-off-by: Allan McRae <allan@archlinux.org>
Update gitignore files for use with autoreconf

Signed-off-by: Allan McRae <allan@archlinux.org>
Use autoreconf in autogen.sh

Signed-off-by: Allan McRae <allan@archlinux.org>
Patch ltmain on autoreconf

We used to carry a patched version of ltmain in our repos to fix libtools
issues with -Wl,-as-needed. Now that ltmain is "generated" by autoreconf,
we manually patch it afterwards.

Signed-off-by: Allan McRae <allan@archlinux.org>
Remove autoclean.sh

Use 'git clean' instead.

Signed-off-by: Allan McRae <allan@archlinux.org>
Carry a copy of gpgme.m4

On systems without gpgme installed, autoreconf will fail with an unrelated
error message unless the gpgme.m4 file is present.

Signed-off-by: Allan McRae <allan@archlinux.org>
pacdiff: Add quit to found pacnew options

Signed-off-by: Jonathan Frazier <eyeswide@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
pacdiff: Search and give warnings for older pacsave.[0-9] files

Signed-off-by: Jonathan Frazier <eyeswide@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>