[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.0.1-54-g406c9b6
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 406c9b66b4f2cc54ea59e57de92db6566e59c4e7 (commit) via 6c15cc4d22e049486a5f773f5d81777b6087510b (commit) via 6d8e3d2a9171df8cbe479d0a582c468970802aed (commit) via 1ec7fa89ad6ad650cedeafd5c7cbc36dcf29239f (commit) via 69aee3e391d85a1c44de1c2e78f62a1e27453bca (commit) via 58140dba7440997e9d318fb56ed939a9c81fddf8 (commit) via 56de155296a57fb3fcd8ae64aed00fd18fe2f22e (commit) via 5b839c58ee1e78312edf69cd2cb5f96d8b649d01 (commit) via 56ae9603768bdc850f32bc789a474ae836305033 (commit) via be1ffedaf6fc44aeb9da235d64889dac71e9bf24 (commit) via c981f5ad76cb77363dcb4ebcc199670c3378995f (commit) via af83a585745d6108d7af2d4a2d1eae9b28a8c4b6 (commit) via 5fcd60e2641c9293c2783aad509baf217e77aa6f (commit) via 681509fd445ed6012e6ecf89b49e9c00d83b70cd (commit) via 1291c04961e6c27e93ef376583d46ec2aa3036a1 (commit) via 80d97fcf7526f16d9eb097b8061956662207ed78 (commit) via 0f0b192d8a59134e9a58781c58aa3202df2eda2c (commit) via 6ac2ee21b30f3c5f331d19349f96bb8e5b020b47 (commit) via 7a9d8b7001f3f90471dc94ab31ec017f32ef8760 (commit) from 839417e8c65e73e632c77d3ecd68539494850de1 (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 406c9b66b4f2cc54ea59e57de92db6566e59c4e7 Author: Florian Pritz <bluewind@xinu.at> Date: Sun Aug 7 15:37:23 2016 +0200 Document contrib/verify-pacman-repo-db.pl Signed-off-by: Florian Pritz <bluewind@xinu.at> commit 6c15cc4d22e049486a5f773f5d81777b6087510b Author: Florian Pritz <bluewind@xinu.at> Date: Mon Jul 18 15:14:54 2016 +0200 contrib: Add documentation Makefile Makefile.am is mostly copied from ./doc/Makefile.am Signed-off-by: Florian Pritz <bluewind@xinu.at> commit 6d8e3d2a9171df8cbe479d0a582c468970802aed Author: Florian Pritz <bluewind@xinu.at> Date: Mon Jul 18 15:12:55 2016 +0200 contrib: Add verify-pacman-repo-db.pl From the documentation: verify-pacman-repo-db looks at a pacman repo database and verifies its content with the actual package files. The database is expected to be in the same directory as the packages (or symlinks to the packages). The following properties are verified for each package in the database: - existence of the package file - file size - MD5 and SHA256 checksum (--checksum) Signed-off-by: Florian Pritz <bluewind@xinu.at> commit 1ec7fa89ad6ad650cedeafd5c7cbc36dcf29239f Author: Allan McRae <allan@archlinux.org> Date: Tue Aug 30 19:06:45 2016 +1000 Fix file name in scripts potfile commit 69aee3e391d85a1c44de1c2e78f62a1e27453bca Author: Giulio Fidente <gfidente@gmail.com> Date: Sun Aug 7 15:55:59 2016 +1000 Merge Giolio Fidente into "Pacman Development Team" contribution As discussed on mailing list: https://lists.archlinux.org/pipermail/pacman-dev/2016-July/021239.html Signed-off-by: Allan McRae <allan@archlinux.org> commit 58140dba7440997e9d318fb56ed939a9c81fddf8 Author: Ivy Foster <ivy.foster@gmail.com> Date: Fri Jul 8 22:11:25 2016 -0500 Normalize alpm download callback's frontend cb arguments When curl calls alpm's dlcb, alpm calls the frontend's cb with the following (dlsize, totalsize) arguments: 0, -1: initialize 0, 0: no change since last call x {x>0, x<y}, y {y>0}: data downloaded, total size known x {x>0}, x: download finished If total size is not known, do not call frontend cb (no change to original behavior); alpm's callback shouldn't be called if there is a download error. See agregory's original spec here: https://wiki.archlinux.org/index.php/User:Apg#download_callback Signed-off-by: Allan McRae <allan@archlinux.org> commit 56de155296a57fb3fcd8ae64aed00fd18fe2f22e Author: Jack O'Connor <oconnor663@gmail.com> Date: Mon Aug 1 13:06:00 2016 +1000 libmakepkg: look for architecture-specific hashes in get_integlist `makepkg -g` looks for existing checksums in the PKGBUILD file, so that it can generate new sums of the same type. Previously it only checked variables of the form "sha256sums", and not "sha256sums_x86_64". That meant it would always fall back to MD5 for packages with only architecture-specific sources. This change makes it look at architecture-specific checksums too to determine the type. Signed-off-by: Jack O'Connor <oconnor663@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 5b839c58ee1e78312edf69cd2cb5f96d8b649d01 Author: Allan McRae <allan@archlinux.org> Date: Sun Jul 3 23:05:41 2016 +1000 Add newline to the end of error messages for signature format issues Signed-off-by: Allan McRae <allan@archlinux.org> commit 56ae9603768bdc850f32bc789a474ae836305033 Author: Olivier Brunel <jjk@jjacky.com> Date: Sun Jun 26 21:30:49 2016 +0200 configure.ac: Fix handling --with-libcurl It was reported being --with-libcurl in the help (and the check for libcurl being installed used $with_libcurl accordingly), but the option handling was set using $with_curl and, therefore, expected option --with-curl. In the end, --with-libcurl wasn't recognized, and --with-curl had no effect. Signed-off-by: Olivier Brunel <jjk@jjacky.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit be1ffedaf6fc44aeb9da235d64889dac71e9bf24 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Jun 27 22:23:43 2016 -0400 hook.c: replace fstatat with stat macOS < 10.10 do not provide fstatat. We were constructing the full path to the hook file for all other operations anyway, so there was no real benefit to using fstatat. Fixes FS#49771 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit c981f5ad76cb77363dcb4ebcc199670c3378995f Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon Jun 27 22:23:42 2016 -0400 hook.c: replace readdir_r with readdir glibc 2.24 deprecates readdir_r. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit af83a585745d6108d7af2d4a2d1eae9b28a8c4b6 Author: Tobias Stoeckmann <tobias@stoeckmann.org> Date: Sat Jun 18 18:58:07 2016 +0200 Handle all POSIX compliant systems in mbscasecmp. The width of wchar_t is allowed to be of the same width as long, according to standards. The return type of mbscasecmp is int though. On amd64 with a 32 bit int, this means that mbscasecmp can return zero (indicating that strings are equal) even though the input strings differ. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 5fcd60e2641c9293c2783aad509baf217e77aa6f Author: Tobias Stoeckmann <tobias@stoeckmann.org> Date: Sat Jun 18 18:41:07 2016 +0200 Reject files larger than 16384 bytes in read_sigfile. If signature files are larger than SIZE_MAX, not enough memory could be allocated for this file. The script repo-add rejects files which are larger than 16384 bytes, therefore handle these as errors here, too. While at it, I also rearranged the code to avoid a quite harmless TOCTOU race condition between stat() and fopen(). Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 681509fd445ed6012e6ecf89b49e9c00d83b70cd Author: Tobias Stoeckmann <tobias@stoeckmann.org> Date: Mon Jun 6 20:12:30 2016 +0200 Release resources on error paths. Some resources (memory or file descriptors) are not released on all error paths. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 1291c04961e6c27e93ef376583d46ec2aa3036a1 Author: Allan McRae <allan@archlinux.org> Date: Sun Jun 12 14:18:24 2016 +1000 pacman-key: reject armored signatures pacman expects an unarmored signature. makepkg forces the generation of unarmored signatures, and repo-add will reject any armored signature. For consistency pacman-key should also reject armored signatures. Signed-off-by: Allan McRae <allan@archlinux.org> commit 80d97fcf7526f16d9eb097b8061956662207ed78 Author: Tobias Stoeckmann <tobias@stoeckmann.org> Date: Sun Jun 5 19:23:31 2016 +0200 Always use proper error code in alpm_initialize. In out of memory conditions, an undefined error value is written into *err, because myerr is never explicitly set in these cases. I have also converted a calloc into a MALLOC call, because the memory will be properly filled by the snprintf call right after it. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 0f0b192d8a59134e9a58781c58aa3202df2eda2c Author: Allan McRae <allan@archlinux.org> Date: Sat Jun 4 17:28:29 2016 +1000 Remove obsolete TODO Signed-off-by: Allan McRae <allan@archlinux.org> commit 6ac2ee21b30f3c5f331d19349f96bb8e5b020b47 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Mon May 23 08:27:29 2016 -0400 recursedeps: include cyclic dependencies Cyclic dependencies (A depends on B, B depends on A) were not selected because neither package could be removed individually, so can_remove_package would always return false for both. By preselecting all dependencies then filtering back out any dependencies still required by any packages that will not be uninstalled, groups of unneeded cyclic dependencies can be found. Fixes FS#41031 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 7a9d8b7001f3f90471dc94ab31ec017f32ef8760 Author: Allan McRae <allan@archlinux.org> Date: Sat Jun 4 17:00:48 2016 +1000 Turn off colours once finished using them The colour of the package version could leak onto the next line in both -Qo and -Fo. Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: configure.ac | 5 +- contrib/Makefile.am | 6 + contrib/doc/.gitignore | 1 + contrib/doc/Makefile.am | 57 ++++++ contrib/doc/asciidoc.conf | 1 + contrib/doc/footer.txt | 1 + contrib/doc/verify-pacman-repo-db.1.txt | 60 +++++++ contrib/pacscripts.sh.in | 1 - contrib/verify-pacman-repo-db.pl | 259 ++++++++++++++++++++++++++++ lib/libalpm/add.c | 5 +- lib/libalpm/alpm.c | 13 +- lib/libalpm/backup.c | 5 +- lib/libalpm/be_local.c | 19 +- lib/libalpm/be_package.c | 15 +- lib/libalpm/deps.c | 104 +++++------ lib/libalpm/dload.c | 22 ++- lib/libalpm/hook.c | 26 ++- lib/libalpm/signing.c | 12 +- scripts/libmakepkg/util/pkgbuild.sh.in | 11 ++ scripts/pacman-key.sh.in | 4 + scripts/po/POTFILES.in | 10 +- src/pacman/callback.c | 19 +- src/pacman/check.c | 1 - src/pacman/files.c | 4 +- src/pacman/query.c | 5 +- src/pacman/util.c | 8 +- test/pacman/tests/TESTS | 1 + test/pacman/tests/remove-recursive-cycle.py | 41 +++++ 28 files changed, 597 insertions(+), 119 deletions(-) create mode 100644 contrib/doc/.gitignore create mode 100644 contrib/doc/Makefile.am create mode 120000 contrib/doc/asciidoc.conf create mode 120000 contrib/doc/footer.txt create mode 100644 contrib/doc/verify-pacman-repo-db.1.txt create mode 100755 contrib/verify-pacman-repo-db.pl create mode 100644 test/pacman/tests/remove-recursive-cycle.py hooks/post-receive -- The official pacman repository
participants (1)
-
allan@archlinux.org