[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.0.1-267-gaf6125fb

Allan McRae allan at archlinux.org
Sat May 12 12:07:54 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, master has been updated
       via  af6125fbcc51b2074321003c3cbd74aeb65d9b7b (commit)
       via  0d356c27c17fb62ed31327d634748f64c781dc49 (commit)
       via  1741bdaf81cc7c0881ee7a26861b3d94c384f13f (commit)
       via  828f305023604474ea078a90bcf9752efdbc8aa9 (commit)
       via  5698d7b66daa2a0bc99cab7a989cef1c806c3bf6 (commit)
       via  f173f6d0da3793952691416d80441b46af12fc94 (commit)
       via  2b4c996b86782ee7280f5c6de1ef873ed9858f7a (commit)
       via  542c3cf812e32989610cb09f40dbc237f2fba9bb (commit)
       via  2c94118dc168f16231e38a84c0b569b5b0006fd9 (commit)
       via  fa8b99189e9f2035a81c8ff8275894b61dc0bce7 (commit)
      from  77986af9b7ae9b2cc701a30bcc1cac51b6f1b5be (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 af6125fbcc51b2074321003c3cbd74aeb65d9b7b
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Fri May 11 13:59:26 2018 -0400

    Fix gcc8 warnings.
    
    Attempting to compile pacman with gcc8 results in several warnings like:
    
    remove.c: In function ‘unlink_file.isra.4’:
    remove.c:407:34: warning: ‘.pacsave.’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
    
    Fix by adding checks to error out if snprintf tries to reserve a
    truncated filename. Because the return values are checked, gcc delegates
    the truncation response to our code instead of throwing warnings.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 0d356c27c17fb62ed31327d634748f64c781dc49
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed May 9 00:18:39 2018 -0400

    Fix regression that broke repo-add aborting on failures
    
    In commit cb0f2bd0385f447e045e2b2aab9ffa55df3c2d8a the changes from
    commit 81d233b79345d05d5bf17a4b2844085e14f9ee36 seem to have been
    inadvertently backed out.
    
    Right now the current check doesn't do anything, since "fail" is always
    nothing and therefore successful.
    
    Fixes FS#58505
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 1741bdaf81cc7c0881ee7a26861b3d94c384f13f
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed May 9 00:17:10 2018 -0400

    libmakepkg/integrity: determine what is a signature preferring local filename
    
    Checking the file extension to determine if something is a signature is
    currently done in three places:
    - verify_file_signature: uses $file to print status, reuses it for
      comparison
    - source_has_signatures: uses $netfile, but removes url component if
      filename component exists
    - generate_one_checksum: uses $netfile and fails to detect renamed files
    
    This leads to inconsistent behavior when trying to use a signature of
    the form "foo-1.0.tar.gz.asc::https://example.com/foo-1.0.tar.gz.pgp"
    
    Fix this by treating the third case like the second case.
    
    Reported-by: Giancarlo Razzolini <grazzolini at archlinux.org>
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 828f305023604474ea078a90bcf9752efdbc8aa9
Author: Simon Linden <xhi2018 at gmail.com>
Date:   Sat May 5 16:17:39 2018 +0000

    bash_completion.in - consider option "-n --native" in operation "-Q --query"
    
    Signed-off-by: Simon Linden <xhi2018 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 5698d7b66daa2a0bc99cab7a989cef1c806c3bf6
Author: Robin Broda <robin at broda.me>
Date:   Thu May 3 09:27:03 2018 +0200

    Append architecture information to 'installed' elements in .BUILDINFO
    
    Adding the architecture to the 'installed' elements of the .BUILDINFO
    file makes it easier to retrieve the packages needed to reconstruct
    the build environment.
    
    Signed-off-by: Robin Broda <robin at broda.me>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit f173f6d0da3793952691416d80441b46af12fc94
Author: Robin Broda <robin at broda.me>
Date:   Thu May 3 09:39:16 2018 +0200

    Add pkgarch to .BUILDINFO
    
    Architecture information is required for repro tooling
    
    This is a revised version of https://patchwork.archlinux.org/patch/475/
    
    Signed-off-by: Robin Broda <robin at broda.me>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2b4c996b86782ee7280f5c6de1ef873ed9858f7a
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed May 2 15:54:36 2018 -0400

    libmakepkg: don't save/set/restore extglob in bash [[ tests
    
    Since bash 4.1 extglobs can be used within [[ ... ]] regardless of
    whether the shopt is set. Our configure.ac requires bash 4.1.0 at a
    minimum for pacman scripts.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 542c3cf812e32989610cb09f40dbc237f2fba9bb
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed May 2 14:24:44 2018 -0400

    libmakepkg: only save the shellopts we need
    
    micro-optimization: We only care about temporarily enforcing extglob, so
    that is the only one we need to explicitly restore.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2c94118dc168f16231e38a84c0b569b5b0006fd9
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Thu May 10 23:23:58 2018 -0400

    libmakepkg/lint_pkgbuild: fix regression in linting depends=(foo=$epoch:$pkgver-$pkgrel)
    
    In commit 91b72cc386ca03241791748da5da2b150c724ace support was added for
    linting depends/etc. to ensure they contain only valid dependency
    specifiers. However it did not properly take into account the
    possibility of dependencies linked to a specific pkgrel or epoch, which
    promptly failed to build because "-" and ":" is not allowed in a pkgver.
    
    pkgrel is something supported by pacman and useful for e.g. split packages
    which cannot be mismatched even if the pkgver is the same. Fix by
    removing an optional suffixed "-$decimal" when checking for a valid
    pkgver.
    
    epoch is kind of difficult to do without :D so likewise fix by removing
    an optional prefixed "$integer:"
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit fa8b99189e9f2035a81c8ff8275894b61dc0bce7
Author: Rafael Ascensão <rafa.almas at gmail.com>
Date:   Tue May 1 17:54:04 2018 +0100

    remove unneeded break argument from option parsing
    
    Some scripts are using `break 2` to break out of the option parsing
    loop.
    
    Since a single `break` is sufficient in these cases, remove the extra
    argument.
    
    Signed-off-by: Rafael Ascensão <rafa.almas at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

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

Summary of changes:
 doc/BUILDINFO.5.txt                                     |  5 ++++-
 lib/libalpm/remove.c                                    | 16 ++++++++++++----
 scripts/completion/bash_completion.in                   |  4 ++--
 scripts/libmakepkg/integrity/generate_checksum.sh.in    |  2 +-
 .../libmakepkg/lint_pkgbuild/3                          |  0
 scripts/libmakepkg/lint_pkgbuild/checkdepends.sh.in     | 10 ++++++----
 scripts/libmakepkg/lint_pkgbuild/conflicts.sh.in        | 10 ++++++----
 scripts/libmakepkg/lint_pkgbuild/depends.sh.in          | 10 ++++++----
 scripts/libmakepkg/lint_pkgbuild/makedepends.sh.in      | 10 ++++++----
 scripts/libmakepkg/lint_pkgbuild/provides.sh.in         | 14 +++++++++++---
 scripts/libmakepkg/source.sh.in                         |  2 +-
 scripts/libmakepkg/util/pkgbuild.sh.in                  |  4 ++--
 scripts/libmakepkg/util/util.sh.in                      |  5 -----
 scripts/makepkg.sh.in                                   | 17 +++++++++++++----
 scripts/pacman-db-upgrade.sh.in                         |  2 +-
 scripts/pacman-key.sh.in                                |  2 +-
 scripts/pkgdelta.sh.in                                  |  2 +-
 scripts/repo-add.sh.in                                  |  3 ++-
 18 files changed, 75 insertions(+), 43 deletions(-)
 copy test/scripts/makepkg-template-tests/template-without-version/templates/template-without_version.template => scripts/libmakepkg/lint_pkgbuild/3 (100%)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list