[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.5.3-434-gdfc5326
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 dfc532668d4a4182ce196a895fdd5b017b505c6f (commit) via 77a93328cfb317ceae4cf0fbde98be14316ff769 (commit) via bfd6d22be20d939dfd77a75f21c790b55548ab4a (commit) via 87ee38d8b3d155310d13e2539e8647a98115df80 (commit) via ddb8617d96675c8009d2aa99d6cc47e002339a51 (commit) via 24324ff0e12a3e19cada669a4c5c391e486790a3 (commit) via 97103f860d48e1f6f9c0dd7c75568618f8ed5163 (commit) via c748eadc80593c3941b55b1d4ec6e46899abd295 (commit) via 07502f2d82393854f36f5c3ff608458e74fcb747 (commit) via e8443b1685cc99cf3a46461e7a12c9b616fac44e (commit) via 7af0ab1cde9398c938a7a221aca5787934a16121 (commit) from 1ce7f39ad73c5c96870c6036014afad3d49a8edf (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 dfc532668d4a4182ce196a895fdd5b017b505c6f Author: Allan McRae <allan@archlinux.org> Date: Wed Jul 6 00:30:17 2011 +1000 makepkg: update --pkg desciption in man page Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 77a93328cfb317ceae4cf0fbde98be14316ff769 Author: Allan McRae <allan@archlinux.org> Date: Tue Jul 5 23:46:08 2011 +1000 Add library files to POTFILES.in Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit bfd6d22be20d939dfd77a75f21c790b55548ab4a Author: Allan McRae <allan@archlinux.org> Date: Tue Jul 5 20:14:20 2011 +1000 parse_options: accept multiple arguments Allow command-line options to accept multiple arguments without additional quoting by taking the list of arguments until one starting with a "-" is reached. The only current use of this is the --pkg option in makepkg. This allows (e.g.) makepkg --pkg foo bar and packages "foo" and "bar" will be built. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 87ee38d8b3d155310d13e2539e8647a98115df80 Author: Allan McRae <allan@archlinux.org> Date: Tue Jul 5 19:01:22 2011 +1000 parse_options: implement optional arguments This allows options specified with a trailing "::" to optionally take arguments. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit ddb8617d96675c8009d2aa99d6cc47e002339a51 Author: Allan McRae <allan@archlinux.org> Date: Tue Jul 5 17:34:03 2011 +1000 parse_options: add missing newlines Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 24324ff0e12a3e19cada669a4c5c391e486790a3 Author: Allan McRae <allan@archlinux.org> Date: Mon Jul 4 11:17:12 2011 +1000 Simplify alpm_list_previous We can readily detect the first node in a list by checking if node->prev->next is NULL. So there is no need to pass the head of the list to this function and its prototype now looks like all the other item accessors. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 97103f860d48e1f6f9c0dd7c75568618f8ed5163 Author: Allan McRae <allan@archlinux.org> Date: Mon Jul 4 08:38:09 2011 +1000 Remove alpm_list_first The only thing this accessor did was remove the const qualifier given our entire list implementation requires passing around the head anyway. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit c748eadc80593c3941b55b1d4ec6e46899abd295 Author: Dan McGee <dan@archlinux.org> Date: Tue Jun 7 23:08:06 2011 -0500 Allow invalid sync DBs to be returned by the library They are placeholders, but important for things like trying to re-sync a database missing a signature. By using the alpm_db_validity() method at the right time, a client can take the appropriate action with these invalid databases as necessary. In pacman's case, we disallow just about anything that involves looking at a sync database outside of an '-Sy' operation (although we do check the validity immediately after). A few operations are still permitted- '-Q' ops that don't touch sync databases as well as '-R'. Signed-off-by: Dan McGee <dan@archlinux.org> commit 07502f2d82393854f36f5c3ff608458e74fcb747 Author: Dan McGee <dan@archlinux.org> Date: Fri Jul 1 16:50:32 2011 -0500 Allow frontend access to signature verification information Show output in -Qip for each package signature, which includes the UID string from the key ("Joe User <joe@example.com>") and the validity of said key. Example output: Signatures : Valid signature from "Dan McGee <dpmcgee@gmail.com>" Unknown signature from "<Key Unknown>" Invalid signature from "Dan McGee <dpmcgee@gmail.com>" Also add a backend alpm_sigresult_cleanup() function since memory allocation took place on this object, and we need some way of freeing it. Signed-off-by: Dan McGee <dan@archlinux.org> commit e8443b1685cc99cf3a46461e7a12c9b616fac44e Author: Dan McGee <dan@archlinux.org> Date: Fri Jul 1 15:51:21 2011 -0500 Correctly check the GPG error codes The error code is in fact a bitmask value of an error code and an error source, so use the proper function to get only the relevant bits. For the no error case, this shouldn't ever matter, but it bit me when I was trying to compare the error code to other values and wondered why it wasn't working, so set a good example. Signed-off-by: Dan McGee <dan@archlinux.org> commit 7af0ab1cde9398c938a7a221aca5787934a16121 Author: Dan McGee <dan@archlinux.org> Date: Mon Jun 27 16:29:49 2011 -0500 signing: move to new signing verification and return scheme This gives us more granularity than the former Never/Optional/Always trifecta. The frontend still uses these values temporarily but that will be changed in a future patch. * Use 'siglevel' consistenly in method names, 'level' as variable name * The level becomes an enum bitmask value for flexibility * Signature check methods now return a array of status codes rather than a simple integer success/failure value. This allows callers to determine whether things such as an unknown signature are valid. * Specific signature error codes mostly disappear in favor of the above returned status code; pm_errno is now set only to PKG_INVALID_SIG or DB_INVALID_SIG as appropriate. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: doc/makepkg.8.txt | 3 +- lib/libalpm/alpm.h | 69 ++++++++++---- lib/libalpm/alpm_list.c | 23 +---- lib/libalpm/alpm_list.h | 3 +- lib/libalpm/be_package.c | 20 ++-- lib/libalpm/be_sync.c | 36 +++----- lib/libalpm/db.c | 16 ++-- lib/libalpm/db.h | 4 +- lib/libalpm/dload.c | 5 +- lib/libalpm/error.c | 12 ++- lib/libalpm/handle.c | 15 ++-- lib/libalpm/handle.h | 2 +- lib/libalpm/package.h | 2 +- lib/libalpm/remove.c | 4 +- lib/libalpm/signing.c | 190 ++++++++++++++++++++++++++++++-------- lib/libalpm/signing.h | 5 +- lib/libalpm/sync.c | 14 ++- lib/libalpm/trans.c | 8 -- scripts/library/parse_options.sh | 51 ++++++++--- scripts/po/POTFILES.in | 2 + src/pacman/conf.c | 38 ++++---- src/pacman/conf.h | 2 +- src/pacman/database.c | 2 +- src/pacman/package.c | 11 ++ src/pacman/query.c | 9 +- src/pacman/remove.c | 2 +- src/pacman/sync.c | 17 ++-- src/pacman/upgrade.c | 6 +- src/pacman/util.c | 80 +++++++++++++++- src/pacman/util.h | 4 +- src/util/cleanupdelta.c | 3 +- src/util/pactree.c | 3 +- src/util/testdb.c | 3 +- src/util/testpkg.c | 3 +- 34 files changed, 454 insertions(+), 213 deletions(-) hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org