[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.1.1-35-g7afe5117

Allan McRae allan at archlinux.org
Thu Sep 20 00:25:41 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  7afe51171fe063bf3031cc68fc8c7ac914a01de2 (commit)
       via  bae74c8e9e69b4f4e1a235eef21b9b27fb14aff0 (commit)
       via  cd7b2d6e07bdbc11f8973bedef0cb0ef02f81563 (commit)
       via  192d6166e9cb2a8f26d7256690e0158bd5a5d226 (commit)
       via  b54b33d816cdc3d1aab3b80f4eb94c5bad56c889 (commit)
       via  3d5a056452fe897e533edfac2ddbe2d1ca702a6e (commit)
       via  961ef1a4c8cfc0fa7b8da4e6cb77d8327934e32f (commit)
       via  2bec380e108536f5e5f728ef66223ed3fabf5ab1 (commit)
       via  3318039e3b1530396b0e3ced49ea6fe5b6ea00c5 (commit)
       via  ba2984db3e83e0627c29897e28982e9f4cf24a5d (commit)
       via  58c76daf5e9116dd044f73958b67163549d0e795 (commit)
       via  d03409ccde5a995f19e40a12d61b22be9d4c3af7 (commit)
       via  62eef5bbdb025d9557a1609760b42d7fbac16ad2 (commit)
       via  5b2ff51c399a906fd70df62ca179e2a696ea3860 (commit)
       via  16f6aae33087ec04c1dc90aa84f7d3dde4333046 (commit)
       via  48c8f9f2a24632dabe5b1c74a474e3940ddd8748 (commit)
       via  0696307a3b2e0cbde7d208eb78bbad6a9c8b336f (commit)
       via  3370c08a29a60e1cd1227d43652c22738c8e4f6e (commit)
       via  3e9a62e72139a71cb7c41a5e4bd896d22943cd7b (commit)
       via  9fde55c0c71f473d32fb638eb4f251041e3b3ffa (commit)
       via  8b2f3323b84a34d1d104136e455302dc32892b9a (commit)
       via  2d8d8af915d352b61178a981603360c27a3899f2 (commit)
      from  7d05ffceaf9161a6572505d25b5017e1eb33bf0e (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 7afe51171fe063bf3031cc68fc8c7ac914a01de2
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Oct 30 14:15:19 2017 -0400

    repo-add: add support for the zst format
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit bae74c8e9e69b4f4e1a235eef21b9b27fb14aff0
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Oct 30 14:15:18 2017 -0400

    makepkg: add support for the zst format
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit cd7b2d6e07bdbc11f8973bedef0cb0ef02f81563
Author: Luke Shumaker <lukeshu at parabola.nu>
Date:   Thu Aug 9 13:42:37 2018 -0400

    makepkg: lint_pkgver: Run even if PKGVERFUNC
    
    lint_pkgver returns 0 if PKGVERFUNC, since it's likely that update_pkgver()
    will change the value of pkgver anyway, and there's no point in linting the
    old value.  update_pkgver() will call check_pkgver() itself to validate the
    new value.
    
    However, that "optimization" only holds if we're definitely going to call
    update_pkgver() later; and that's way more complicated than
    
        if (( PKGVERFUNC )); then
    
    it's more like:
    
        if (( !GENINTEG && !PACKAGELIST && !PRINTSRCINFO && !SOURCEONLY && !REPKG && PKGVERFUNC )); then
    
    Which is to say: If I have a PKGBUILD with pkgver():
    
     * if I run `makepkg -g` I expect it to lint pkgver, but it won't
     * if I run `makepkg -R` I expect it to lint pkgver, but it won't
     * ...
    
    So let's fix that.
    
    Rather than try to keep a huge list of conditions in sync with the flow of
    makepkg.sh.in, let's just drop it.  As far as I can tell, the only thing
    that skipping lint_pkgver() really enables is letting the PKGBUILD author
    write `pkgver=` in the initial version, and letting pkgver() fill it in.
    They can just start writing `pkgver=0` for that workflow.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 192d6166e9cb2a8f26d7256690e0158bd5a5d226
Author: David Phillips <david at sighup.nz>
Date:   Wed Sep 19 14:30:37 2018 +1200

    User-visible log when validity check fails due to access
    
    Currently, if checking the validity of packages fails due to an access
    error on one or more packages, the user must sift through debug output
    in order to find the culprit package(s). This patch adds a call to
    _alpm_log in such a case to make the culprits more easily visible.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit b54b33d816cdc3d1aab3b80f4eb94c5bad56c889
Author: David Phillips <david at sighup.nz>
Date:   Wed Sep 19 14:28:35 2018 +1200

    Change if-else chain to switch
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3d5a056452fe897e533edfac2ddbe2d1ca702a6e
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Thu Jun 21 12:39:21 2018 -0400

    makepkg: reject PKGBUILDs with both split and non-split package functions
    
    We accept package_foo() in non-split packages, because it's easier to
    switch to/from a split package just by removing a pkgname element. But
    it makes no sense to have both in one PKGBUILD.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 961ef1a4c8cfc0fa7b8da4e6cb77d8327934e32f
Author: morganamilo <morganamilo at gmail.com>
Date:   Tue Sep 4 14:47:44 2018 +0100

    Show group status during file search
    
    When doing "pacman -Fs", show the "(groupname)"
    message just like "pacman -Ss".
    
    And refactor group printing to its own function.
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2bec380e108536f5e5f728ef66223ed3fabf5ab1
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>

commit 3318039e3b1530396b0e3ced49ea6fe5b6ea00c5
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>

commit ba2984db3e83e0627c29897e28982e9f4cf24a5d
Author: Rikard Falkeborn <rikard.falkeborn at gmail.com>
Date:   Sun Jul 29 21:57:15 2018 +0200

    doc: Remove double spaces
    
    Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 58c76daf5e9116dd044f73958b67163549d0e795
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Tue Sep 18 09:42:42 2018 -0400

    scripts: deduplicate localized copyright messages
    
    We don't need to translate the "Copyright YEAR AUTHOR" part, no part of
    it should probably be translated and it definitely shouldn't turn every
    single license terms notice into a separate translation just because the
    author/year is different.
    
    Fixes FS#58452
    Also consistently add a blank line after the copyright and before the
    license terms.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit d03409ccde5a995f19e40a12d61b22be9d4c3af7
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed Aug 29 02:49:29 2018 -0400

    Revert "makepkg: add whirlpool to the list of hashing algorithms"
    
    This reverts commit 9cdfd18739cc4b0e2b2efeb9a92a3ea612c8505f.
    
    We've never documented whirlpoolsums support in the manpage and no one
    really seems to have realized we support it, let alone use it -- except
    for a few parabola packages, being the contributor's motivation for
    adding support.
    
    The problem is that for two years the code has been broken. In commit
    577701250d645d1fc1a505cde34aedbeb3208ea5 we moved to coreutils to
    provide checksum commands, rather than openssl, but there is no
    whirlpoolsums binary.
    
    Properly fixing this would require re-adding a dependency on openssl,
    independent of the libalpm crypto backend -- which defeats the purpose
    of moving to coreutils in the general case. nettle-hash does not provide
    a whirlpool algorithm any more than it does base64 (the original reason
    for moving to coreutils).
    
    Therefore, we should just drop support for this again.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 62eef5bbdb025d9557a1609760b42d7fbac16ad2
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>

commit 5b2ff51c399a906fd70df62ca179e2a696ea3860
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed Aug 29 01:10:21 2018 -0400

    makepkg: don't print status for run_function when in a subshell
    
    It's most likely a case where output is being captured, so we shouldn't
    be interleaving status messages with function output regardless. Setting
    the pkgver() status message (the one time we use it in a subshell)
    separately also makes it safe to change whether message.sh functions write
    to stdout or stderr.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 16f6aae33087ec04c1dc90aa84f7d3dde4333046
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Aug 13 21:20:58 2018 -0400

    makepkg: fix pkgver() function not aborting on errors
    
    `run_function_safe pkgver` is evaluated in a subshell and therefore does
    not abort when it should. Explicitly check the return outside of the
    subshell and abort if necessary.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 48c8f9f2a24632dabe5b1c74a474e3940ddd8748
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Mon Aug 13 21:20:57 2018 -0400

    makepkg: don't save the same shopts twice
    
    Both run_function and run_function_safe will save and restore `shopt -p`
    but the former is only called from the latter. It makes sense to save
    this as part of a "safe" runner, so let's just do it in one place, there
    where we save and restore everything else too.
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 0696307a3b2e0cbde7d208eb78bbad6a9c8b336f
Author: morganamilo <morganamilo at gmail.com>
Date:   Fri Aug 17 05:41:00 2018 +0100

    Show install status during file search
    
    When doing "pacman -Fs", show the "[installed: version]"
    message just like "pacman -Ss".
    
    Signed-off-by: morganamilo <morganamilo at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3370c08a29a60e1cd1227d43652c22738c8e4f6e
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Thu Jul 5 10:42:41 2018 -0400

    pacman/conf: Remove unused include
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3e9a62e72139a71cb7c41a5e4bd896d22943cd7b
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Aug 19 17:43:02 2018 -0400

    doc: use more implicit rules to build manpages
    
    Use implicit dependency rules to translate asciidoc inputs to HTML and
    manpage outputs. We should only have to declare explicit dependencies
    for odd cases, e.g. the PKGBUILD documentation has an additional include
    file and isn't a 1:1 conversion.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 9fde55c0c71f473d32fb638eb4f251041e3b3ffa
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Aug 19 17:43:01 2018 -0400

    Remove unused checks for strcoll and mktime
    
    We don't use these.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 8b2f3323b84a34d1d104136e455302dc32892b9a
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Aug 19 17:43:00 2018 -0400

    common/ini: Depend on util-common, not util
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2d8d8af915d352b61178a981603360c27a3899f2
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Tue Jun 12 07:28:51 2018 -0400

    scripts: pass on options such as set -x to child processes
    
    When re-running makepkg for fakeroot, if `bash -x makepkg` was used this
    is lost. Fix by encoding the current set of options explicitly in the
    invocation, both for makepkg and for the wrapper used to test scripts
    inside the source tree.
    
    Also change to use ${BASH_SOURCE[0]} instead of $0 as the latter can be
    anything the parent process wants, while the former is explicitly set by
    bash itself to the filepath of the script.
    
    See http://mywiki.wooledge.org/BashFAQ/028
    
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

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

Summary of changes:
 configure.ac                                       |  2 --
 doc/Makefile.am                                    | 34 +++++++-------------
 doc/makepkg.conf.5.asciidoc                        |  3 +-
 doc/pacman.conf.5.asciidoc                         |  2 +-
 doc/submitting-patches.asciidoc                    |  2 +-
 etc/makepkg.conf.in                                |  1 +
 lib/libalpm/sync.c                                 | 33 ++++++++++++-------
 scripts/libmakepkg/lint_config/variable.sh.in      |  4 +--
 .../lint_pkgbuild/package_function.sh.in           |  9 +++++-
 scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in      |  5 ---
 scripts/libmakepkg/util/compress.sh.in             |  1 +
 scripts/makepkg.sh.in                              | 22 +++++++------
 scripts/pacman-db-upgrade.sh.in                    |  3 +-
 scripts/pacman-key.sh.in                           |  3 +-
 scripts/pkgdelta.sh.in                             |  3 +-
 scripts/repo-add.sh.in                             |  4 ++-
 scripts/wrapper.sh.in                              |  2 +-
 src/common/ini.c                                   |  2 +-
 src/pacman/conf.c                                  |  1 -
 src/pacman/files.c                                 |  7 +++-
 src/pacman/package.c                               | 37 ++++++++++++----------
 src/pacman/package.h                               |  1 +
 src/pacman/pacman-conf.c                           |  3 ++
 23 files changed, 104 insertions(+), 80 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list