doc/translation-help.txt: Transifex example usage

Replace harcoded language code in example

Signed-off-by: Miguel de Val-Borro <miguel@archlinux.net>
Signed-off-by: Allan McRae <allan@archlinux.org>
Fix pointer declarations to be globally consistent

Refactored inconsistent pointer declarations to better improve consistency
throughout the pacman codebase which will, in turn, increase readability to
the user.

Expected format of a pointer declaration:
`typename *varname`

Signed-off-by: Micah Saint Germain <micah@lexme.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg: correctly add changelog files

Before this, we'd see bizzare behavior of:

  -> Adding changelog file (systemd.install)...

And, changelog files in the global section would not be added at all.

The code is clearly wrong here, as it references 'install' within a
loop of 'changelog' and 'install'. Let's use parameter indirection to
ensure that the proper file is identified and added.

Signed-off-by: Allan McRae <allan@archlinux.org>
shut up GCC on -Wmaybe-initialized warnings

Admittedly, these are totally bogus, but a clean build is a happy build.

Signed-off-by: Allan McRae <allan@archlinux.org>
updpkgsums: drop in-place rewrite hack, use a tempfile

This apparently exposes (what I think is) a subtle bug in cygwin's
handling of subst'd drives. Let's just drop the hackery and use a
tempfile, which should always work.

Also, introduce a proper die() function which replaces previous
hand-rolled error+exit pattern, but which wrote to stdout.

Signed-off-by: Allan McRae <allan@archlinux.org>
add alpm_option_match_noupgrade

For parity with alpm_option_match_noextract.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
remove.c: honor inverted patterns in noupgrade

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Update README for pacman-4.2

Signed-off-by: Allan McRae <allan@archlinux.org>
Update NEWS for pacman-4.2 release

Signed-off-by: Allan McRae <allan@archlinux.org>
Update translations from transifex

Signed-off-by: Allan McRae <allan@archlinux.org>
Release 4.2.0

Signed-off-by: Allan McRae <allan@archlinux.org>
updpkgsums: add more error checking before replacement

Re-add some paranoia which was inadvertently lost with 768b65e934. In
case 'makepkg -g' fails to generate new sums (e.g. when a remote
resource cannot be fetched), or awk fails to write the new file (i have
no idea when this would happen), bail out with an error.

Signed-off-by: Allan McRae <allan@archlinux.org>
paclist: fix myver in usage()

Signed-off-by: Allan McRae <allan@archlinux.org>
Fix double spaces in "Running %s as root is not allowed" message

Signed-off-by: Allan McRae <allan@archlinux.org>
add VCSCLIENTS to etc/makepkg.conf

Signed-off-by: Allan McRae <allan@archlinux.org>
Check architecture specific fields for VCS support

Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg-template: Remove unused printf format string

I'm pretty sure this is some kind of left over stuff that was supposed
to print the filename, linenumber and line content. This is already
done so just remove it.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Allan McRae <allan@archlinux.org>
pacman-db-upgrade: be more verbose

People have mentioned that the silent upgrade to DB version 9 when no
adjustments are needed for directory symlinks is confusion.  Always print
the upgrading message.

Signed-off-by: Allan McRae <allan@archlinux.org>
makepkg: download sources for all architectures when making source package

We validated all sources when making a source package, whether or not they
are included in the tarball.

Signed-off-by: Allan McRae <allan@archlinux.org>
pacman-db-upgrade: set umask 022

This prevents the database from becoming inaccessible for non-root
users when the script was executed with a umask of 027.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Allan McRae <allan@archlinux.org>