[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.1.0-32-g7e081d2a

Allan McRae allan at archlinux.org
Fri Jul 27 03:03:27 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  7e081d2adf8321f25165255fd21fab61d4055a53 (commit)
       via  1a5f308d52f3a81990e9992400d1de7d449ef951 (commit)
       via  2d8a751943abfe6c32fdc6957d61848d5eb0e4ca (commit)
      from  13fb2430e8e2c5f266e43da85d9adbe5284f0080 (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 7e081d2adf8321f25165255fd21fab61d4055a53
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Jul 27 11:05:51 2018 +1000

    Release v5.1.1
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 1a5f308d52f3a81990e9992400d1de7d449ef951
Author: Eli Schwartz <eschwartz at archlinux.org>
Date:   Wed Jun 13 10:34:32 2018 -0400

    makepkg: optimize and fix BUILDINFO generation's use of awk
    The biggest issue is directly supplying the data within the format
    string which can result in misinterpreting formatter sequences if a
    printed variable contains an "%" in it. This character is currently
    permitted in the pkgver field, though not in the pkgname. Also
    pacman/libalpm itself has much looser limitations and this can appear
    anywhere at all if a package was created by some other program.
    For the package "iambroke-1%s-1-any.pkg.tar.xz", installed in the build
    environment, the result is:
      -> Generating .BUILDINFO file...
    awk: cmd. line:3: (FILENAME=- FNR=1085) fatal: not enough arguments to satisfy format string
    	   ^ ran out for this one
    Followed by a .BUILDINFO which contains an LC_ALL=C sorted list of
    $pkgname-${epoch:+$epoch:}$pkgver-$pkgrel-$arch ending in:
    installed = iambroke
    Which is cut short, then fails to list the succeeding packages. The
    package itself successfully builds.
    It's also unnecessary to save the output of pacman -Qq in order to get the
    information for pacman -Qi, since the latter will, just like the former,
    return information for all installed packages if not given a package
    While I am at it, pipe this directly to awk rather than keeping a copy
    in an unnecessary local variable. This is slightly more efficient in
    addition to preventing the <<< herestring from re-interpreting the
    content of "$pkginfos" in ways that don't really matter for our usage.
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 2d8a751943abfe6c32fdc6957d61848d5eb0e4ca
Author: Jouke Witteveen <j.witteveen at gmail.com>
Date:   Wed Jul 25 18:53:03 2018 +0200

    alpm-hooks.5: include more information on hook files
    Signed-off-by: Allan McRae <allan at archlinux.org>


Summary of changes:
 NEWS                      | 19 +++++++++++++++++++
 configure.ac              |  4 ++--
 doc/alpm-hooks.5.asciidoc |  8 ++++++--
 doc/index.asciidoc        |  1 +
 scripts/makepkg.sh.in     | 10 ++++------
 5 files changed, 32 insertions(+), 10 deletions(-)

The official pacman repository

More information about the pacman-dev mailing list