[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.2.1-25-g0428f621
Allan McRae
allan at archlinux.org
Wed Nov 27 00:06:32 UTC 2019
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 0428f6213bcb5586d4ec9feb18af9a883c463793 (commit)
via 1e23b4585146b5c2bced10293c0f3486e53d51ed (commit)
via 3073752bcd9718b243661dd727e8f8bc18035938 (commit)
via 49a8e90bc78c17600eb4903ba00be26341df9161 (commit)
via 349c22d043290ccd0cce9f30981f5415e295442a (commit)
via 55233b69c74a087ff405d3f768e5303dacaf8129 (commit)
via 8846574eda51cb48b3c3a462abb8bb9b61b7e10b (commit)
via eaa2770c80f8f3b168b99021e4258d696523d38a (commit)
via 6fb233d0eed9de2bf2f511001bb27a9c934ae8f9 (commit)
via e6a6d3079315ce722fec39604fddbab1c7ac79b3 (commit)
from b9faf652735c603d1bdf849a570185eb721f11c1 (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 0428f6213bcb5586d4ec9feb18af9a883c463793
Author: Eli Schwartz <eschwartz at archlinux.org>
Date: Fri Nov 15 09:32:12 2019 -0500
makepkg: add the $startdir to package .BUILDINFO
This value is needed for reproducible builds. The reason is because
$BUILDDIR changes its behavior depending on whether it is the same as
$startdir, and the result is that we cannot know whether $srcdir (the
path that is potentially embedded into the final package) is actually
"$BUILDDIR/src" or "$BUILDDIR/$pkgbase/src".
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 1e23b4585146b5c2bced10293c0f3486e53d51ed
Author: Allan McRae <allan at archlinux.org>
Date: Tue Nov 26 11:37:32 2019 +1000
Fix documentation of alpm_mtree_next and remove libarchive exposure
The documentation of the return types of alpm_mtree_next was incorrect.
This extended into the relevant function in be_local.c.
Also, return explicit integer values, rather than the ARCHIVE_xxx values,
to avoid unnecessarily exposing frontends to libarchive internals (even
though it makes no functional difference).
Original-work-by: morganamilo <morganamilo at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 3073752bcd9718b243661dd727e8f8bc18035938
Author: Eli Schwartz <eschwartz at archlinux.org>
Date: Mon Nov 25 19:26:44 2019 -0500
pactest: add environment option to run tests with valgrind
In autotools, if we wanted to run tests with valgrind, we used some Make
magic which passed arguments to pactest.py, but that doesn't work in
meson, because all arguments are encoded at configure time. Instead,
let's short-circuit the build runner logic entirely, and teach pactest
to default to running valgrind, when it detects an environment variable
set independent of the build system.
To run the tests with valgrind, we can now use:
PACTEST_VALGRIND=1 meson test -C builddir/
or
PACTEST_VALGRIND=1 make check
It is also possible, but confusing/inconsistent, to use
make check PY_LOG_FLAGS=--valgrind
We *could* add a meson option -Dvalgrind=true, but that is annoying to
reconfigure between test runs, and overall the consensus is it seems
simpler to opt in each time we want to run valgrind, as was already the
case.
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 49a8e90bc78c17600eb4903ba00be26341df9161
Author: Eli Schwartz <eschwartz at archlinux.org>
Date: Tue Nov 12 01:34:30 2019 -0500
meson: make non-symlink scripts install for real, and use a better wrapper
We now generate the scripts using their real name, install them using
meson's builtin facility instead of an install_script, and generate the
wrapper scripts in the root of the build directory, instead of a
subdirectory.
This gets us closer to resolving FS#64394.
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 349c22d043290ccd0cce9f30981f5415e295442a
Author: Eli Schwartz <eschwartz at archlinux.org>
Date: Mon Nov 25 19:07:56 2019 -0500
makepkg: fix regression that broke extraction of file:// sources
In commit 9c817b654996249b8022e189ee7e2692f4668431 we made these sources
extendable, and heuristically determined the correct extraction
functions to use. But our fallback for protos that didn't have an exact
extract_* function didn't take into account that 'extract_file' matches
an actual proto... so we passed the netfile in while the function
expected a file.
Solution: the function should expect a netfile too, thereby allowing us
to delay an attempted resolution of netfile -> file, to the one case
where it is actually used. This makes us slightly more efficient in the
non-file case, makes our functions a bit more consistent, and makes
file:// extraction work again.
Fixes FS#64648
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 55233b69c74a087ff405d3f768e5303dacaf8129
Author: Allan McRae <allan at archlinux.org>
Date: Fri Nov 22 09:35:31 2019 +1000
Improved documentation for alpm_db_search() parameters
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 8846574eda51cb48b3c3a462abb8bb9b61b7e10b
Author: Allan McRae <allan at archlinux.org>
Date: Thu Nov 21 22:38:59 2019 +1000
Fix leak in _alpm_db_search on error condition
commit eaa2770c80f8f3b168b99021e4258d696523d38a
Author: Daniel T. Borelli <danieltborelli at gmail.com>
Date: Sat Nov 16 15:14:30 2019 +1000
Dereference double pointer before assigning NULL
Daniel T. Borelli <danieltborelli at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 6fb233d0eed9de2bf2f511001bb27a9c934ae8f9
Author: Allan McRae <allan at archlinux.org>
Date: Sat Nov 16 00:14:34 2019 +1000
Add Eli to current maintainers
Also retire Dan into past major contributors.
Signed-off-by: Allan McRae <allan at archlinux.org>
commit e6a6d3079315ce722fec39604fddbab1c7ac79b3
Author: Allan McRae <allan at archlinux.org>
Date: Fri Nov 15 23:29:20 2019 +1000
Handle .part files that are the size of the correct package
In rare cases, likely due to a well timed Ctrl+C, but possibly due to a
broken mirror, a ".part" file may have size at least that of the correct
package size.
When encountering this issue, currently pacman fails in different ways
depending on where the package falls in the list to download. If last,
"wrong or NULL argument passed" error is reported, or a "invalid or
corrupt package" issue if not.
Capture these .part files, and remove the extension. This lets pacman
either use the package if valid, or offer to remove it if it fails checksum
or signature verification.
Signed-off-by: Allan McRae <allan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 1 -
build-aux/meson-install-script.sh | 6 ------
doc/BUILDINFO.5.asciidoc | 3 +++
doc/footer.asciidoc | 3 ++-
lib/libalpm/alpm.h | 5 +++--
lib/libalpm/be_local.c | 18 +++++++++++++++--
lib/libalpm/db.c | 5 ++++-
lib/libalpm/dload.c | 6 ++++++
lib/libalpm/signing.c | 4 ++--
lib/libalpm/sync.c | 14 +++++++++++--
meson.build | 16 ++++++++++++++-
scripts/libmakepkg/source.sh.in | 3 +--
scripts/libmakepkg/source/file.sh.in | 3 ++-
scripts/makepkg.sh.in | 3 ++-
scripts/meson.build | 38 ++++++++++++++++--------------------
src/pacman/check.c | 2 +-
test/pacman/pactest.py | 2 +-
17 files changed, 87 insertions(+), 45 deletions(-)
delete mode 100644 build-aux/meson-install-script.sh
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list