[pacman-dev] [GIT] The official pacman repository branch, release/5.1.x, updated. v5.1.1-8-g3a88fcb1

Andrew Gregory andrew at archlinux.org
Mon Nov 19 01:40:09 UTC 2018


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, release/5.1.x has been updated
       via  3a88fcb19199c5b5fa18162f5f9dc8990311dbd2 (commit)
       via  2a7bdd3e3aabbf9fa3cc31379cadad909e6c1da3 (commit)
       via  b39a62f57551a2e23ceaa37b3fbc71a2273545e6 (commit)
       via  cad8fe2fbfc3a63554a2537ea7b5627a71453075 (commit)
       via  0dbb94538770d2ffce3709b5854d1e5e44cfc183 (commit)
       via  519685e4b1cff3df9bc389550fa6e19ee4ba8794 (commit)
       via  4fc7c1d41efcce7f85def270c0ce8edca1062fc4 (commit)
       via  5e81518ecb4ba9c8b7231e9b627f45d3abb19ce3 (commit)
      from  7e081d2adf8321f25165255fd21fab61d4055a53 (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 3a88fcb19199c5b5fa18162f5f9dc8990311dbd2
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Fri Oct 12 19:16:53 2018 -0700

    handle EINTR while polling scripts/hooks
    
    If poll() is interrupted by a signal, alpm was closing the socket it
    uses for listening to script/hook output.  This would drop script output
    at the least and kill the script at the worst.
    
    Fixes FS#60396
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit ac959bb9c6ce549047a954109ae825158855e386)

commit 2a7bdd3e3aabbf9fa3cc31379cadad909e6c1da3
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Wed Oct 3 00:42:38 2018 -0700

    reset signal handlers before running scripts/hooks
    
    Front-ends or libraries may set signals to be ignored, which gets
    inherited across fork and exec.  This can cause scripts to malfunction
    if they expect the signal.  To make matters worse, scripts written in
    bash can't reset signals that were ignored when bash was started.
    
    Fixes FS#56756
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit 9886566abb375043740167ce5066f1a186c71176)

commit b39a62f57551a2e23ceaa37b3fbc71a2273545e6
Author: Olivier Brunel <jjk at jjacky.com>
Date:   Wed Oct 17 17:11:01 2018 +0200

    alpm: Fix SIGINT handling re: aborting download
    
    Upon receiving SIGINT a flag is set to abort the (curl) download.
    However, since it was never reset/initialized, if a front-end doesn't
    actually exit on SIGINT, and later tries any operation that needs to
    perform a new download, said download would always get aborted right
    away due to the flag not having been reset.
    
    (cherry picked from commit ffde85aadfe0e08fb710102d0a547335e9d1a200)

commit cad8fe2fbfc3a63554a2537ea7b5627a71453075
Author: Olivier Brunel <jjk at jjacky.com>
Date:   Tue Oct 9 18:29:05 2018 +0200

    alpm: Do not raise SIGINT when filesize goes over limit
    
    Variable dload_interrupted is used both to abort a download because
    SIGINT was caught, and when a file limit is reached. But raising SIGINT
    is only meant to happen in the first case.
    
    Signed-off-by: Olivier Brunel <jjk at jjacky.com>
    (cherry picked from commit d96d0ffe7c88d9521a9e6cdd65939e9a20733cdf)

commit 0dbb94538770d2ffce3709b5854d1e5e44cfc183
Author: Michael Straube <straubem at gmx.de>
Date:   Sun Jun 10 18:58:34 2018 +0200

    libalpm/dload.c: add case for CURLE_COULDNT_RESOLVE_HOST
    
    Add a case for curl error 'Could not resolve host'.
    An attempt to fix FS#48285.
    
    Signed-off-by: Michael Straube <straubem at gmx.de>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit 9e960d9d5a735bbc7d418f2ad81d3f3e92d99968)

commit 519685e4b1cff3df9bc389550fa6e19ee4ba8794
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Tue Sep 4 15:17:54 2018 -0400

    libmakepkg/lint_config: fix lint_variable actually running the PKGBUILD lint
    
    Due to a copy-paste error when initially implementing this, it actually
    uses a duplicate function name, usually resulting in lint_pkgbuild
    overwriting the function definition.
    
    Then the PKGBUILD lint gets run twice, one time before the PKGBUILD is
    even sourced -- to potentially surprising results, like erroring out on
    a pre-existing shell definition that doesn't match our expectations.
    
    Seen in the wild with lint_config triggering an error for
    'declare -x arch="foo"'
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit 2bec380e108536f5e5f728ef66223ed3fabf5ab1)

commit 4fc7c1d41efcce7f85def270c0ce8edca1062fc4
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Tue Sep 18 10:08:37 2018 -0400

    pacman: check versioned optdepends in -Qi operation
    
    Fixes FS#60106
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit 3318039e3b1530396b0e3ced49ea6fe5b6ea00c5)

commit 5e81518ecb4ba9c8b7231e9b627f45d3abb19ce3
Author: morganamilo <morganamilo at gmail.com>
Date:   Mon Sep 10 22:41:07 2018 +0100

    pacman-conf: add missing DisableDownloadTimeout
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>
    (cherry picked from commit 62eef5bbdb025d9557a1609760b42d7fbac16ad2)

-----------------------------------------------------------------------

Summary of changes:
 lib/libalpm/dload.c                            | 10 ++++++++-
 lib/libalpm/util.c                             | 30 +++++++++++++++++++++++++-
 scripts/libmakepkg/lint_config/variable.sh.in  |  4 ++--
 src/pacman/package.c                           |  2 +-
 src/pacman/pacman-conf.c                       |  3 +++
 test/pacman/tests/TESTS                        |  2 ++
 test/pacman/tests/scriptlet-signal-handling.py | 15 +++++++++++++
 test/pacman/tests/scriptlet-signal-reset.py    | 11 ++++++++++
 8 files changed, 72 insertions(+), 5 deletions(-)
 create mode 100644 test/pacman/tests/scriptlet-signal-handling.py
 create mode 100644 test/pacman/tests/scriptlet-signal-reset.py


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list