[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.2.1-242-gd8621b9
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 d8621b981e100ecf46d260e1a85cc13d202cafda (commit) via dcc1b22cb33a7a9d9477ffc84f833317860bf751 (commit) via 1142a32c7f6f8ab82528581277b7c7cac6b2d1ae (commit) via 960b64553db7c738202d5108abff77af0bdb87b5 (commit) via 6fdc589fc6d5598c2ce3f3e029594417dcb25b39 (commit) via 5b6526a2adad6140c3878838ae0e7b61d5ee7594 (commit) via b46bdeea146b19f026b2bb2ad4d281aa89fff777 (commit) via 3c671270180163798cb0d08ea163e7100ab21ee6 (commit) via 0c5dbdbfeca8a26d015230a8edd6d7c4c91d386a (commit) via 4c5bf09eec4835f8dfd300215f16289d106266d5 (commit) via 456ebe8f8eee82c467805613f107edd84e73ac26 (commit) via 9809102237f89b73a120250260bf3f68d6bc4ba9 (commit) via e28aff4d87f9456c213359adaf7299a882cdcb04 (commit) via aa8a674b6b2c8474a1111b16806c27d4562b5d80 (commit) via 19d373c9b95ff5c9ee6d5a4cdb097670f69068d4 (commit) via 4b3df10d5d53af94475e006c71ed262efcab6f0f (commit) via 2c72c8b822d21c45a8020e49f03691830f3bcff2 (commit) via 2627b423ff786edd60123a2670a69841fe4cb5a4 (commit) via 70e6875ad9afd6ee0e26c7fbe283466f7a6767e5 (commit) via 5d4a3f101ca15bb1ae7944ec305c7f10c9f504d0 (commit) via 5301d3fe8fc3fc0a65f6361ba3b4afcdcb9c2cf8 (commit) via 29d4dcf767b7325ac7e9bbaa4c0b45e3e3ee2c73 (commit) via 501242a35bce01f19312b774c6364b4edaaec619 (commit) from 0ee1beca12f6070d406bbf09c3036124018e57bf (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 d8621b981e100ecf46d260e1a85cc13d202cafda Author: Allan McRae <allan@archlinux.org> Date: Wed Oct 28 17:04:08 2015 +1000 scripts/po: fix translated file name This file was renamed during review and its entry in POTFILES.in was not updated. Signed-off-by: Allan McRae <allan@archlinux.org> commit dcc1b22cb33a7a9d9477ffc84f833317860bf751 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Wed Oct 28 00:04:05 2015 -0400 _alpm_hook_run: check path length before copying If a hook path equals or exceeds PATH_MAX characters the path will be left unterminated. Pre-calculating the path length also allows us to use the more efficient memcpy over strncpy. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 1142a32c7f6f8ab82528581277b7c7cac6b2d1ae Author: Benjamin Yates <benjamin@rqdq.com> Date: Tue Oct 27 16:22:57 2015 -0400 makepkg: fix $pkgname element duplication run_split_packaging did not preserve the $pkgname array correctly, and would create duplicate entries in the list during restore. After restoring the backup (a b c) would become (a b c b c). This probably went unnoticed because during --install, pacman would reconcile the duplicates. Signed-off-by: Allan McRae <allan@archlinux.org> commit 960b64553db7c738202d5108abff77af0bdb87b5 Author: Allan McRae <allan@archlinux.org> Date: Tue Oct 27 20:44:57 2015 +1000 libmakepkg: fix pkgver checking Signed-off-by: Allan McRae <allan@archlinux.org> commit 6fdc589fc6d5598c2ce3f3e029594417dcb25b39 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Tue Oct 27 00:47:32 2015 -0400 add alpm-hooks man page Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 5b6526a2adad6140c3878838ae0e7b61d5ee7594 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Tue Oct 27 00:47:31 2015 -0400 hook.c: print invalid option name Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit b46bdeea146b19f026b2bb2ad4d281aa89fff777 Author: Andrew Gregory <andrew.gregory.8@gmail.com> Date: Tue Oct 27 00:47:30 2015 -0400 order hooks by file name Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 3c671270180163798cb0d08ea163e7100ab21ee6 Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Tue Oct 27 09:38:10 2015 +0100 Align titles automatically in information display Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 0c5dbdbfeca8a26d015230a8edd6d7c4c91d386a Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Sun Oct 25 12:39:27 2015 +0100 Alpm, check for NULL in free-functions Also, use FREE() instead of free() in _alpm_backup_free() to set the pointers to NULL. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 4c5bf09eec4835f8dfd300215f16289d106266d5 Author: Mohammad Alsaleh <ce.mohammad.alsaleh@gmail.com> Date: Fri Oct 23 01:38:49 2015 +0300 zsh_completion: Add --asdeps/--asexplicit to -U options Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 456ebe8f8eee82c467805613f107edd84e73ac26 Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Wed Oct 21 11:11:17 2015 +0200 Use ARRAYSIZE macro for non-string array size computation Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 9809102237f89b73a120250260bf3f68d6bc4ba9 Author: Mohammad Alsaleh <ce.mohammad.alsaleh@gmail.com> Date: Thu Oct 22 02:27:09 2015 +0300 makepkg: Fix hard-coded debug suffix Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit e28aff4d87f9456c213359adaf7299a882cdcb04 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Mon Aug 10 21:42:39 2015 +0200 pacsort: clean up if error * free memory * close open file Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit aa8a674b6b2c8474a1111b16806c27d4562b5d80 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Mon Aug 10 21:42:38 2015 +0200 pacsort: don't overwrite memory if realloc fails That makes it impossible to free it later. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 19d373c9b95ff5c9ee6d5a4cdb097670f69068d4 Author: Rikard Falkeborn <rikard.falkeborn@gmail.com> Date: Mon Aug 10 21:42:37 2015 +0200 pacsort: handle failing list_add Since it can fail, check the return value. If it fails, we need to free the memory of the object we wanted to add to the list. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 4b3df10d5d53af94475e006c71ed262efcab6f0f Author: Pierre Neidhardt <ambrevar@gmail.com> Date: Tue Oct 20 15:30:32 2015 +0200 HACKING: Allow the use of 'sizeof' on values Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 2c72c8b822d21c45a8020e49f03691830f3bcff2 Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Tue Sep 15 22:17:04 2015 +0200 makepkg: Set CCACHE_BASEDIR to make paths in $srcdir relative Signed-off-by: Allan McRae <allan@archlinux.org> commit 2627b423ff786edd60123a2670a69841fe4cb5a4 Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Tue Sep 15 22:17:03 2015 +0200 makepkg: Correctly layer distcc and ccache ccache expects further compiler wrappers to be specified via CCACHE_PREFIX. Otherwise, ccache will hash the wrapper executable instead of the real one. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 70e6875ad9afd6ee0e26c7fbe283466f7a6767e5 Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Mon Oct 19 03:33:24 2015 +0200 libmakepkg: Add check_buildoption for distcc and ccache makepkg used to check OPTIONS too, which could override BUILDENV. Implement a new function that handles these options more like OPTIONS. This also reduces code duplication a bit. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> commit 5d4a3f101ca15bb1ae7944ec305c7f10c9f504d0 Author: Allan McRae <allan@archlinux.org> Date: Mon Oct 19 14:25:35 2015 +1000 makepkg: separate "sourcefile" into two words Signed-off-by: Allan McRae <allan@archlinux.org> commit 5301d3fe8fc3fc0a65f6361ba3b4afcdcb9c2cf8 Author: Allan McRae <allan@archlinux.org> Date: Mon Oct 19 13:47:19 2015 +1000 Remove space before ellipses Makes all use of ellipses consistent... Signed-off-by: Allan McRae <allan@archlinux.org> commit 29d4dcf767b7325ac7e9bbaa4c0b45e3e3ee2c73 Author: Allan McRae <allan@archlinux.org> Date: Mon Oct 19 13:43:26 2015 +1000 Pluralize malloc failure string Not particularly useful in English (will always be plural), but useful in languages that have multiple plural forms. Signed-off-by: Allan McRae <allan@archlinux.org> commit 501242a35bce01f19312b774c6364b4edaaec619 Author: Allan McRae <allan@archlinux.org> Date: Sun Oct 18 16:05:42 2015 +1000 Ignore cov-int directory for Coverity scan Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: .gitignore | 1 + HACKING | 14 +-- contrib/zsh_completion.in | 2 + doc/.gitignore | 1 + doc/Makefile.am | 4 + doc/alpm-hooks.5.txt | 118 ++++++++++++++++++ lib/libalpm/backup.c | 7 +- lib/libalpm/conflict.c | 2 + lib/libalpm/db.c | 1 + lib/libalpm/delta.c | 1 + lib/libalpm/deps.c | 2 + lib/libalpm/graph.c | 1 + lib/libalpm/hook.c | 37 ++++-- lib/libalpm/pkghash.c | 2 +- scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in | 4 +- scripts/libmakepkg/source/bzr.sh.in | 4 +- scripts/libmakepkg/util/option.sh | 34 +++++ scripts/makepkg.sh.in | 36 +++--- scripts/pacman-key.sh.in | 2 +- scripts/po/POTFILES.in | 2 +- scripts/repo-add.sh.in | 2 +- src/common/util-common.h | 2 + src/pacman/conf.c | 4 +- src/pacman/package.c | 173 +++++++++++++++++++++----- src/pacman/pacman.c | 2 +- src/pacman/sync.c | 2 +- src/pacman/util.c | 2 +- src/util/pacsort.c | 27 ++-- 28 files changed, 400 insertions(+), 89 deletions(-) create mode 100644 doc/alpm-hooks.5.txt hooks/post-receive -- The official pacman repository
participants (1)
-
allan@archlinux.org