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 5186f702d3d426eec8a2c84bb2a8556ffa9e0736 (commit) via 7d27b2b0f425460be5074f50a4233c9db08fe72b (commit) via ddd2b9e6f638fa98d02c6c64e2717b175dcb3ae7 (commit) via 01e093d0aee1cf5dad70a6c5fbabb024d960b121 (commit) via 327c272bb4540cee396f7e83ff98899876363a79 (commit) via cfd9f1cc6948bc99d48e968efa4dd57f3375b93c (commit) via 18ddf90ff41a9de6611400065b18f6de8dc35b01 (commit) via 097d5a478b32aece93013580fdb06cacbaf0e9a0 (commit) via 0445c68d9b7738553dd1a5088110b8b0a1e1f7f9 (commit) via da3a0333de34b37d073e1d27e9a07a7fa80025ee (commit) via ad3a26c615dbc931275f0ee2f04879d867b06974 (commit) from f5d904d97f66d5e3337578541f2f440e846b9490 (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 5186f702d3d426eec8a2c84bb2a8556ffa9e0736 Author: Allan McRae <allan@archlinux.org> Date: Sun Sep 9 11:13:55 2012 +1000 Remove leading "./" from filenames in mtree file A properly formatted mtree file may stick a leading "./" in front of file names in the root directory. Strip this if present. Signed-off-by: Allan McRae <allan@archlinux.org> commit 7d27b2b0f425460be5074f50a4233c9db08fe72b Author: Allan McRae <allan@archlinux.org> Date: Mon May 7 22:21:20 2012 +1000 Check file types match before comparing properties Bail early in file validation checks if the file type given in the mtree file does not match that in the filesystem. Signed-off-by: Allan McRae <allan@archlinux.org> commit ddd2b9e6f638fa98d02c6c64e2717b175dcb3ae7 Author: Allan McRae <allan@archlinux.org> Date: Mon May 7 21:41:15 2012 +1000 Check "install" and "changelog" files for changes The "install" and "changelog" entries for a package in the local database are now checked for changes with -Qkk. Signed-off-by: Allan McRae <allan@archlinux.org> commit 01e093d0aee1cf5dad70a6c5fbabb024d960b121 Author: Allan McRae <allan@archlinux.org> Date: Fri May 4 15:50:59 2012 +1000 Perform full checking of files with -Qkk The follow fields are checked: Directory: uid, gid, mode File: uid, gid, mode, size, time Symbolic Link: uid, gid, mode, link, time A skeleton is added for checking a files md5sum and sha256sum when reading this information is supported by libarchive. Signed-off-by: Allan McRae <allan@archlinux.org> commit 327c272bb4540cee396f7e83ff98899876363a79 Author: Allan McRae <allan@archlinux.org> Date: Fri May 4 13:56:55 2012 +1000 Basic running of pacman -Qkk to check mtree files If a package has an mtree file, using pacman -Qkk will read that file and use it to perform more in depth package checking. Currently this only checks for file presence. Signed-off-by: Allan McRae <allan@archlinux.org> commit cfd9f1cc6948bc99d48e968efa4dd57f3375b93c Author: Allan McRae <allan@archlinux.org> Date: Fri May 4 13:30:08 2012 +1000 Separate checking a files existence into a function Signed-off-by: Allan McRae <allan@archlinux.org> commit 18ddf90ff41a9de6611400065b18f6de8dc35b01 Author: Allan McRae <allan@archlinux.org> Date: Fri May 4 12:07:50 2012 +1000 Move check function into its own file There is going to be a lot of overlap in the code for the quick and full checks that can be abstracted into their own functions. Also many other file checking functions will be needed for the full check. Put all these in a separate source file. Signed-off-by: Allan McRae <allan@archlinux.org> commit 097d5a478b32aece93013580fdb06cacbaf0e9a0 Author: Allan McRae <allan@archlinux.org> Date: Wed May 2 11:08:07 2012 +1000 Add public functions for accessing mtree data Signed-off-by: Allan McRae <allan@archlinux.org> commit 0445c68d9b7738553dd1a5088110b8b0a1e1f7f9 Author: Allan McRae <allan@archlinux.org> Date: Tue May 1 18:12:13 2012 +1000 Add internal functions for reading mtree file from local db Signed-off-by: Allan McRae <allan@archlinux.org> commit da3a0333de34b37d073e1d27e9a07a7fa80025ee Author: Allan McRae <allan@archlinux.org> Date: Mon Apr 30 16:26:54 2012 +1000 Extract .MTREE file into local package database Signed-off-by: Allan McRae <allan@archlinux.org> commit ad3a26c615dbc931275f0ee2f04879d867b06974 Author: Allan McRae <allan@archlinux.org> Date: Mon Apr 30 16:15:47 2012 +1000 makepkg: add mtree file into package Add an mtree file to the package with all file information. This can be added to the local pacman database on install allowing full package verification. Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: lib/libalpm/add.c | 5 + lib/libalpm/alpm.h | 21 ++ lib/libalpm/be_local.c | 75 +++++++ lib/libalpm/package.c | 46 +++++ lib/libalpm/package.h | 8 + scripts/makepkg.sh.in | 10 +- src/pacman/Makefile.am | 1 + src/pacman/check.c | 335 ++++++++++++++++++++++++++++++++ lib/libalpm/add.h => src/pacman/check.h | 19 +- src/pacman/pacman.c | 2 +- src/pacman/query.c | 62 +----- 11 files changed, 515 insertions(+), 69 deletions(-) create mode 100644 src/pacman/check.c copy lib/libalpm/add.h => src/pacman/check.h (68%) hooks/post-receive -- The official pacman repository