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 bd5ec9cd8e23bba4334a7b3a5a73843c3667c085 (commit) via f37c5016572fecb16cc53d5e3fdd059944e36359 (commit) via fa4aad5b509946f947d9b2553d09f5f35be24915 (commit) via f3f39cef84330b734c36a60e48cf26a3f3e1f76c (commit) via 7de92cb2232b2fc40c8fe749da78e8920afa0f1f (commit) via ebb2e36cc4c40d11689a44a2503df40fa96e8fc1 (commit) via 31f2e0cba3281660a2a3ffc6f902a7019cb4699b (commit) via ff88228abde9c288b3e08f5090a1ff3941fdc018 (commit) via 31a7b150b0a7485b9747e7d72416e4257a30140a (commit) via 20b5cc96be546db4e86b2216de3fccaeb7b2a4b2 (commit) via ea79de21d82369e799fcdc6e71b45d9580a75099 (commit) via 71f854dde88c3a5dd479474770e0534af7576267 (commit) via 05f87e0b09429532b68526eba7e92646974f0f30 (commit) via 8d5018e78003689ca1048f0d18a58605b93e3171 (commit) via ce8f91a71b2e5d50fe60baadc0269e6823e8056f (commit) via 6bf60568f8a956c980accdc6ae86c918eee5a881 (commit) via 83f076d3a81e5a625c07fdaf82a5e598a1c75c71 (commit) via 835365b817285abf136fc8509ae9d1bf97f55dff (commit) via c9cc2332cfe59f69ab28b3b928794aa5d24342bc (commit) via 450bcb5d7bbab1c228f02e8010029fed5f751173 (commit) from fffaba50fb6227462d3312b667f55293aa0b9214 (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 bd5ec9cd8e23bba4334a7b3a5a73843c3667c085 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 20:16:42 2011 -0500 Validate the sha256sum if available Adjust load_internal() to check the sha256sum value if we have it. Signed-off-by: Dan McGee <dan@archlinux.org> commit f37c5016572fecb16cc53d5e3fdd059944e36359 Author: Dan McGee <dan@archlinux.org> Date: Mon Aug 15 08:14:02 2011 -0500 Show 'None' in Signatures -Qip/-Si output if none found This is to be as consistent as possible across both types of display. Signed-off-by: Dan McGee <dan@archlinux.org> commit fa4aad5b509946f947d9b2553d09f5f35be24915 Author: Dan McGee <dan@archlinux.org> Date: Sun Aug 14 20:47:08 2011 -0500 decode_signature: guess signature data length for efficiency We may end up allocating 1 or 2 extra bytes this way, but it is worth it to simplify the method and not have to call base64_decode() a second time. Use the hueristic that base64 encoding produces 3 bytes of decoded data for every 4 bytes of encoded data. Signed-off-by: Dan McGee <dan@archlinux.org> commit f3f39cef84330b734c36a60e48cf26a3f3e1f76c Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 20:08:31 2011 -0500 Remove checksum access indirection These items are never present in anything but sync databases, nor do we even try to load them from the local database. Remvoe the indirection meant to allow the caching layer to work since it will never do anything anyway. Signed-off-by: Dan McGee <dan@archlinux.org> commit 7de92cb2232b2fc40c8fe749da78e8920afa0f1f Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 15:07:22 2011 -0400 lib/sync: reset flag after rejecting a replace This prevents iteration through the remainder of the current tree, with pacman claiming that they're all replacements to the original replacement candidate. :: Synchronizing package databases... allanbrokeit is up to date testing is up to date core is up to date extra is up to date community-testing is up to date community is up to date :: Starting full system upgrade... :: Replace util-linux-git with core/util-linux? [Y/n] n :: Replace util-linux-git with core/vi? [Y/n] n :: Replace util-linux-git with core/vpnc? [Y/n] n :: Replace util-linux-git with core/wget? [Y/n] n :: Replace util-linux-git with core/which? [Y/n] n :: Replace util-linux-git with core/wireless-regdb? [Y/n] n :: Replace util-linux-git with core/wireless_tools? [Y/n] n :: Replace util-linux-git with core/wpa_actiond? [Y/n] n :: Replace util-linux-git with core/wpa_supplicant? [Y/n] n :: Replace util-linux-git with core/xfsprogs? [Y/n] n :: Replace util-linux-git with core/xinetd? [Y/n] n :: Replace util-linux-git with core/xz? [Y/n] n :: Replace util-linux-git with core/zd1211-firmware? [Y/n] n :: Replace util-linux-git with core/zlib? [Y/n] n there is nothing to do Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit ebb2e36cc4c40d11689a44a2503df40fa96e8fc1 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 20:15:15 2011 -0500 Load and allow access to sha256sum This adds a field in the package struct for this checksum type as well as allowing access via the API to it. The frontend is now able to display any read value. Note that this does not implement any use or verification of the value internally. Signed-off-by: Dan McGee <dan@archlinux.org> commit 31f2e0cba3281660a2a3ffc6f902a7019cb4699b Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 15:46:18 2011 -0500 Add ALPM sha256sum routines These mirror ones we already have for md5sums. Signed-off-by: Dan McGee <dan@archlinux.org> commit ff88228abde9c288b3e08f5090a1ff3941fdc018 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 15:33:05 2011 -0500 Add sha2 (sha256) routines from PolarSSL Signed-off-by: Dan McGee <dan@archlinux.org> commit 31a7b150b0a7485b9747e7d72416e4257a30140a Author: Allan McRae <allan@archlinux.org> Date: Sat Aug 13 21:17:59 2011 +1000 repo-add: indicate whether package signature is found When adding a package to a repo, it is useful to be able to see that repo-add has indeed found the signature file. [Dan: update text to be more in line with other messages] Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 20b5cc96be546db4e86b2216de3fccaeb7b2a4b2 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Aug 13 14:40:41 2011 -0400 pacman/package: show presence of signature in in -Si adds a new API method: alpm_pkg_get_base64_sig [Dan: don't use a new header string in frontend] Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit ea79de21d82369e799fcdc6e71b45d9580a75099 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 23:38:07 2011 -0400 README: update with 3.5.0 -> 4.0.0 API changes Signed-off-by: Dan McGee <dan@archlinux.org> commit 71f854dde88c3a5dd479474770e0534af7576267 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 23:50:21 2011 -0400 makepkg: don't hardcode path to strip Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 05f87e0b09429532b68526eba7e92646974f0f30 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 22:50:37 2011 -0400 alpm.h: fix inconsistency in function prototype Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 8d5018e78003689ca1048f0d18a58605b93e3171 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 21:31:54 2011 -0400 add pactest for replacing a shared provider This is currently expected to fail. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit ce8f91a71b2e5d50fe60baadc0269e6823e8056f Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 16:45:04 2011 -0400 pactest/sync200: check for curl instead of fetch We can't just check for LIBS as curl won't be listed. Instead, look at the length of the LIBCURL var from the Makefile. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 6bf60568f8a956c980accdc6ae86c918eee5a881 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Aug 12 15:03:45 2011 -0400 lib/dload: avoid deleting .part file on too-slow xfer Take this opportunity to refactor the if/then/else logic into a switch/case which is likely going to be needed to fine tune more exceptions in the future. Fixes FS#25531 Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 83f076d3a81e5a625c07fdaf82a5e598a1c75c71 Author: Dan McGee <dan@archlinux.org> Date: Sun Aug 14 20:39:43 2011 -0500 Update base64 PolarSSL code Also adjust our code using it for the size_t adjustments made by upstream. Signed-off-by: Dan McGee <dan@archlinux.org> commit 835365b817285abf136fc8509ae9d1bf97f55dff Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 15:28:52 2011 -0500 Update MD5 routines with changes from PolarSSL Signed-off-by: Dan McGee <dan@archlinux.org> commit c9cc2332cfe59f69ab28b3b928794aa5d24342bc Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 11 19:26:20 2011 -0500 pacman/query.c: avoid variable redeclaration We were using i as the loop variable in both the inner and outer loop. Use j in the inner loop instead for clarity. Signed-off-by: Dan McGee <dan@archlinux.org> commit 450bcb5d7bbab1c228f02e8010029fed5f751173 Author: Pang Yan Han <pangyanhan@gmail.com> Date: Fri Aug 12 01:38:56 2011 +0800 pactest: -U --recursive Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: README | 75 ++++++++ lib/libalpm/Makefile.am | 3 +- lib/libalpm/alpm.h | 20 ++- lib/libalpm/base64.c | 12 +- lib/libalpm/base64.h | 14 +- lib/libalpm/be_local.c | 7 - lib/libalpm/be_package.c | 21 ++- lib/libalpm/be_sync.c | 3 +- lib/libalpm/dload.c | 34 +++-- lib/libalpm/md5.c | 61 +++---- lib/libalpm/md5.h | 12 +- lib/libalpm/package.c | 22 ++- lib/libalpm/package.h | 4 +- lib/libalpm/sha2.c | 369 +++++++++++++++++++++++++++++++++++++++ lib/libalpm/{md5.h => sha2.h} | 39 +++-- lib/libalpm/signing.c | 25 +-- lib/libalpm/sync.c | 7 +- lib/libalpm/util.c | 99 ++++++++++- lib/libalpm/util.h | 7 +- scripts/makepkg.sh.in | 6 +- scripts/repo-add.sh.in | 1 + src/pacman/package.c | 7 +- src/pacman/query.c | 6 +- test/pacman/tests/Makefile.am | 2 +- test/pacman/tests/replace103.py | 21 +++ test/pacman/tests/sync200.py.in | 2 +- test/pacman/tests/upgrade078.py | 56 ++++++ 27 files changed, 799 insertions(+), 136 deletions(-) create mode 100644 lib/libalpm/sha2.c copy lib/libalpm/{md5.h => sha2.h} (52%) create mode 100644 test/pacman/tests/replace103.py create mode 100644 test/pacman/tests/upgrade078.py hooks/post-receive -- The official pacman repository