This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via 61410814c2cb33055e0eb0276444b9073c3a1e7a (commit) via 05f7c0280e31d25e0b9b5c5cca349eb93e24f04f (commit) via f1d25ba2dd2640054b8e2e1c7c39669abb0cc6e8 (commit) via 333269482a08e02d4e730dd739fc9e8625efde32 (commit) via fa3aaa41e3563e8d4632c12cda989a471627aa20 (commit) via 7e5dea5d329a84293fe363ee098aede5aa1825af (commit) via 31c9a521b47a84ae01f3f9c9e25980694e1c472d (commit) via 0c9e86bab17691bf17c4251b2e16d65f517b88c8 (commit) via 0be9e4a4cd2c6a5d5c5246c8dc269931e883c1fe (commit) via df7b390514efa0ae6b84e8404806dee63d3524ad (commit) via 0e85c4989b7a7a20978ba0dcc7b56f0f1853b974 (commit) via fec10d4a65ebfdcac1f0e3dec9e24c1fe67bb52a (commit) via 74f6d717a3e25957ca5f3cf80897b218b990eea8 (commit) via 74e5a494b0cfea7a987fd2b253b765ca4362b456 (commit) via 7963c5d0000a9dc6fe895e0b321cd6f978168c34 (commit) via e37adcd66427acecac934fd97fcf8428080c62e4 (commit) via e458606ad2fce01e973eb02fb44f0a3f27baafa9 (commit) via 15ca6dca5c7be3253f650d615756f3bff1149d35 (commit) via b300b991a7c489731f7e30117be169f69ffb8745 (commit) via 8ee0724558a33e224c06dddd63d6560d6e41cb44 (commit) via 95d7e1616361ab2b2be38ba5283328f6f9312012 (commit) via 7d205a70a26f1c3d283e995ec590b6838eb8283d (commit) via d86a60c6946eeb27ee1092760c8608e207cccb8d (commit) from dad96ccce2eea8b171cd2d14ec20b8185f0009a8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 61410814c2cb33055e0eb0276444b9073c3a1e7a Merge: 05f7c02 3332694 Author: Dan McGee <dan@archlinux.org> Date: Mon Jul 18 21:10:56 2011 -0500 Merge remote-tracking branch 'allan/pacman-key' commit 05f7c0280e31d25e0b9b5c5cca349eb93e24f04f Author: Dan McGee <dan@archlinux.org> Date: Mon Jul 18 20:30:28 2011 -0500 Fix test suite when GPGME is disabled As noted by Allan, we failed pretty hard if gpgme was compiled out. With these changes, only sign001.py fails. This can/will be fixed later once we beef up the test suite with more signing tests anyway. Signed-off-by: Dan McGee <dan@archlinux.org> commit f1d25ba2dd2640054b8e2e1c7c39669abb0cc6e8 Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Jul 17 11:54:58 2011 -0400 pacman/callback: show .sig suffix on sig download Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 333269482a08e02d4e730dd739fc9e8625efde32 Author: Pang Yan Han <pangyanhan@gmail.com> Date: Sun Jul 10 12:26:42 2011 +0800 pacman-key: --init: correct creation of gpg.conf Signed-off-by: Pang Yan Han <pangyanhan@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit fa3aaa41e3563e8d4632c12cda989a471627aa20 Author: Pang Yan Han <pangyanhan@gmail.com> Date: Sun Jul 10 12:23:47 2011 +0800 pacman-key: correct spelling mistake Signed-off-by: Pang Yan Han <pangyanhan@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 7e5dea5d329a84293fe363ee098aede5aa1825af Author: Allan McRae <allan@archlinux.org> Date: Sun Jul 10 16:53:03 2011 +1000 pacman-key: add dependency on parse_options to Makefile Signed-off-by: Allan McRae <allan@archlinux.org> commit 31c9a521b47a84ae01f3f9c9e25980694e1c472d Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 21:51:01 2011 +1000 pacman-key: check required permissions on keyring Makes sure that the pacman keyring is readable and that the user has permissions to create a lock file if lock-never is not specified in the gpg.conf file. Signed-off-by: Allan McRae <allan@archlinux.org> commit 0c9e86bab17691bf17c4251b2e16d65f517b88c8 Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 17:26:17 2011 +1000 pacman-key: add --init option Add an --init option that ensures that the pacman keyring has all the necessary files and they have the correct permissions for being read as a user. Signed-off-by: Allan McRae <allan@archlinux.org> commit 0be9e4a4cd2c6a5d5c5246c8dc269931e883c1fe Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Jul 9 12:48:41 2011 +1000 pacman-key: tidy up logic for finding pacman keyring directory Signed-off-by: Allan McRae <allan@archlinux.org> commit df7b390514efa0ae6b84e8404806dee63d3524ad Author: Dave Reisner <d@falconindy.com> Date: Fri Jul 8 22:40:25 2011 -0400 pacman-key: refactor get_from This function had a variety of pitfalls, including the inability to successfully find a key=value pair where no whitespace surrounded the equals sign. Make it more robust by splitting the line on the equals itself, and performing whitespace trimming on the resulting key/value pair. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 0e85c4989b7a7a20978ba0dcc7b56f0f1853b974 Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 11:41:04 2011 +1000 pacman-key: add --verify option Signed-off-by: Allan McRae <allan@archlinux.org> commit fec10d4a65ebfdcac1f0e3dec9e24c1fe67bb52a Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 11:28:57 2011 +1000 pacman-key: check only a single operation has been specified Follow the example of gpg and only allow a single operation to be specified each time. Prevents having to deal with conflicting variable names and potential issues due to the order in which the operations are run. Signed-off-by: Allan McRae <allan@archlinux.org> commit 74f6d717a3e25957ca5f3cf80897b218b990eea8 Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 11:16:12 2011 +1000 pacman-key: move verifying keyring files to own function Also check all files before bailing on errors. Signed-off-by: Allan McRae <allan@archlinux.org> commit 74e5a494b0cfea7a987fd2b253b765ca4362b456 Author: Allan McRae <allan@archlinux.org> Date: Sat Jul 9 11:07:29 2011 +1000 pacman-key: move --edit-key and --receive processing to functions This moves the processing of the --edit-key and --receive options to functions, keeping the final option processing to be all single line statements. Also rework the --edit-key option to validate all input before processing. Signed-off-by: Allan McRae <allan@archlinux.org> commit 7963c5d0000a9dc6fe895e0b321cd6f978168c34 Author: Allan McRae <allan@archlinux.org> Date: Fri Jul 8 22:30:09 2011 +1000 pacman-key: update man page Update man page to reflect current options. Also add a description on how to manually interact with the pacman keyring with gpg. Signed-off-by: Allan McRae <allan@archlinux.org> commit e37adcd66427acecac934fd97fcf8428080c62e4 Author: Ivan Kanakarakis <ivan.kanak@gmail.com> Date: Thu Apr 21 16:59:09 2011 +0300 pacman-key: hide output of executed commands on logic checks This commit correctly redirects to /dev/null the output of several commands that get executed on logic checks. Original-patch-by: Denis A. Altoé Falqueto <denisfalqueto@gmail.com> Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit e458606ad2fce01e973eb02fb44f0a3f27baafa9 Author: Allan McRae <allan@archlinux.org> Date: Fri Jul 8 21:14:53 2011 +1000 pacman-key: rename --trust to --edit-key This keeps the naming of the option more consistent with what is actually being called by gpg. Original-patch-by: Denis A. Altoé Falqueto <denisfalqueto@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 15ca6dca5c7be3253f650d615756f3bff1149d35 Author: Ivan Kanakarakis <ivan.kanak@gmail.com> Date: Thu Apr 21 16:59:08 2011 +0300 pacman-key: fix quotation on several variable assignments This commit adds quotes to several variable assignments. Unquoted values can cause problems on several occasions if the value is empty. It is safer to have every assignment quoted. Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com> commit b300b991a7c489731f7e30117be169f69ffb8745 Author: Allan McRae <allan@archlinux.org> Date: Wed Jul 6 03:41:52 2011 +1000 pacman-key: allow the export of all key ids The gpg --export will exprt all keys if none are specified. Replicate this behavior in pacman-key. Signed-off-by: Allan McRae <allan@archlinux.org> commit 8ee0724558a33e224c06dddd63d6560d6e41cb44 Author: Allan McRae <allan@archlinux.org> Date: Wed Jul 6 03:34:04 2011 +1000 pacman-key: rename --del to --delete There is already the short -d alias provided, so stay verbose with the longer option name. Signed-off-by: Allan McRae <allan@archlinux.org> commit 95d7e1616361ab2b2be38ba5283328f6f9312012 Author: Allan McRae <allan@archlinux.org> Date: Wed Jul 6 03:27:23 2011 +1000 pacman-key: remove the --adv option The conversion to using parse_options causes this option to break. It is preferable to remove the option rather than fix it as it is simply a wrapper for "gpg --homedir @sysconfdir@/pacman.d/gnupg". Any user using more advanced keyring management than provided by pacman-key can manage to point gpg at the right place themselves... How to manually edit the keyring with gpg will instead be documented in the man page in a later commit. Signed-off-by: Allan McRae <allan@archlinux.org> commit 7d205a70a26f1c3d283e995ec590b6838eb8283d Author: Allan McRae <allan@archlinux.org> Date: Wed Jul 6 03:05:08 2011 +1000 pacman-key: use our option parser The pacman-key script is complicated enough to warrent usage of the parse_options script. This is especially helpful in dealing with all the configuration file override flags as the no longer need to be specified first. It also allows us to do the right thing early with --help/--version and no option cases cleanly. This change also makde the check for root privileges only occur on operations where they are needed. This patch is inspired by and supercedes some patches submitted by Denis A. Altoé Falqueto and Ivan Kanakarakis who were altering the previous option handling in an attempt to deal with the above issues. Signed-off-by: Allan McRae <allan@archlinux.org> commit d86a60c6946eeb27ee1092760c8608e207cccb8d Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Jul 17 11:01:59 2011 -0400 PKGBUILD.vim: add new var and assert bash syntax * assert is_bash to pickup more valid syntax * add checkdepends highlighting Signed-off-by: Dave Reisner <dreisner@archlinux.org> ----------------------------------------------------------------------- Summary of changes: contrib/PKGBUILD.vim | 7 + doc/pacman-key.8.txt | 67 +++++---- lib/libalpm/be_sync.c | 8 + lib/libalpm/db.c | 1 - lib/libalpm/handle.c | 8 + scripts/Makefile.am | 3 +- scripts/pacman-key.sh.in | 347 +++++++++++++++++++++++++++------------------- src/pacman/callback.c | 11 ++- 8 files changed, 277 insertions(+), 175 deletions(-) hooks/post-receive -- The official pacman repository