[GIT] The official pacman repository branch, master, updated. v5.0.1-223-ga7dbe463

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GIT] The official pacman repository branch, master, updated. v5.0.1-223-ga7dbe463

Allan McRae
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  a7dbe4635b4af9b5bd927ec0e7a211d1f6c1b0f2 (commit)
       via  9058d7fe9aa2bb494d5a6572c167db75d6d02d30 (commit)
       via  d911438352ebec5a887dac02ceb0bb99f54b34fc (commit)
       via  19dabcc19a476735c4273e7ba4a0a7437d83078f (commit)
       via  b2e088e42cfb5be2ed7247040a50acf92916d1c2 (commit)
       via  d9eda13fc69eb0bfbbab6d7488e99e5c7b033d3a (commit)
       via  170bb80a1f8a020595738c7febdb15c68574ce29 (commit)
       via  fa745fb4677c3de37aad93b180fe9475179eb7e6 (commit)
       via  0bbf9ddf9dff45346fb95bc6b6f1db8320551b6a (commit)
       via  e8462a4f88335b200ad0a1c5d96e05a44af7e67c (commit)
       via  653d2dc86d5340c6854818bdab3dae65bf62d474 (commit)
       via  4d80d87f9069fba17ebf4d91cdb097b433a57908 (commit)
       via  2bda849bf9b39b423175d1ee1d8796b856cc9988 (commit)
       via  59b6fdeee1722a58d1599bcbd1e2c0fc33debc99 (commit)
       via  24ab8717d459c07c51f47b7b66736de17ca23e9e (commit)
      from  3a9a510ca873df123a117133c7cb3ebaa711159c (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 a7dbe4635b4af9b5bd927ec0e7a211d1f6c1b0f2
Author: Jelle van der Waa <[hidden email]>
Date:   Sat Jan 13 16:43:12 2018 +0100

    Add BUILDINFO man page
   
    Add a new man page which describes the structure of a BUILDINFO file
    included in a package produced by makepkg.
   
    Signed-off-by: Jelle van der Waa <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 9058d7fe9aa2bb494d5a6572c167db75d6d02d30
Author: Eli Schwartz <[hidden email]>
Date:   Sat Jan 13 23:39:39 2018 -0500

    pacman-key: do not set a default keyserver
   
    Recent versions of GnuPG are perfectly capable of using sane defaults,
    and the default SKS keyserver over hkps:// is better than hardcoding the
    same keyserver over hkp:// anyway.
   
    Fixes FS#55278
   
    Signed-off-by: Eli Schwartz <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit d911438352ebec5a887dac02ceb0bb99f54b34fc
Author: Eli Schwartz <[hidden email]>
Date:   Sun Jan 14 00:11:08 2018 -0500

    vercmp: fail when the wrong number of arguments are provided
   
    Fixes FS#49093
   
    Signed-off-by: Eli Schwartz <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 19dabcc19a476735c4273e7ba4a0a7437d83078f
Author: Eli Schwartz <[hidden email]>
Date:   Sat Jan 13 23:52:38 2018 -0500

    Fix usage of install_package
   
    In commit ab2be5794de8a57426ec3fc0f631cc766a0b8227 return codes were
    implemented, and the output of install_package was improperly assigned
    to a variable when the return code was wanted.
   
    All we need to do is restore the previous exit handling, but return $?
    instead of hardcoding "0".
   
    Reported-by: xftroxgpx <[hidden email]>
    Signed-off-by: Eli Schwartz <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit b2e088e42cfb5be2ed7247040a50acf92916d1c2
Author: Joel Teichroeb <[hidden email]>
Date:   Mon Jan 15 13:15:23 2018 -0800

    use pacman-conf in bash completion
   
    Signed-off-by: Joel Teichroeb <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit d9eda13fc69eb0bfbbab6d7488e99e5c7b033d3a
Author: Andrew Gregory <[hidden email]>
Date:   Sat Jan 13 11:50:00 2018 -0500

    use pacman-conf in scripts
   
    Because parsing pacman.conf is so difficult that even we can't do it
    right.
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 170bb80a1f8a020595738c7febdb15c68574ce29
Author: Andrew Gregory <[hidden email]>
Date:   Sat Jan 13 11:49:59 2018 -0500

    add pacman-conf utility
   
    Parsing pacman's configuration file is non-trivial and extremely
    difficult to do correctly from scripts; even our own do it incorrectly.
    pacman-conf is a dedicated tool specifically to allow scripts to parse
    config files, getting the same value that pacman itself would use.
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit fa745fb4677c3de37aad93b180fe9475179eb7e6
Author: Andrew Gregory <[hidden email]>
Date:   Sat Jan 13 11:49:58 2018 -0500

    extract default settings to separate function
   
    Default values for configuration settings were being set during alpm
    setup and in some cases were never saved back to the original config
    struct.  Refactoring all default settings into a separate function and
    saving them onto the original config struct will allow pacman-conf to
    resolve the defaults without having to setup alpm.
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 0bbf9ddf9dff45346fb95bc6b6f1db8320551b6a
Author: Andrew Gregory <[hidden email]>
Date:   Sat Jan 13 11:49:57 2018 -0500

    extract raw config file parser
   
    To allow pacman-conf to parse the configuration file without having to
    also setup alpm.
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit e8462a4f88335b200ad0a1c5d96e05a44af7e67c
Author: Allan McRae <[hidden email]>
Date:   Wed Jan 10 18:18:34 2018 +1000

    Support new OpenPGP format packets lengths
   
    RFC 4880 defines two packet formats for OpenPGP.  Pacman aborted its key
    in keyring check with an error message if it encountered the new format.
    This was fine until some annoying Arch Trusted User generated a key
    using the new format!
   
    Implement the new format.  This also required parsing the hashed sub
    packets. requiring the parsing code to moved to its own function.
   
    Signed-off-by: Allan McRae <[hidden email]>

commit 653d2dc86d5340c6854818bdab3dae65bf62d474
Author: Allan McRae <[hidden email]>
Date:   Tue Jan 9 12:50:37 2018 +1000

    Fix moving source files into debug packages
   
    Commit 8bec63bf92d8dd028aa88dbd5109c314cdb9ebea attempted to switch to
    using -fdebug-prefix-map to set file locations in debug packages.  It
    make a few mistakes...
   
    1) Adding debug C{,XX}FLAGS only worked if DBGSRCDIR was defined in
    makepkg.conf.  Fix this by falling back to the default value.
   
    2) Using -fdebug-prefix-map altered a lot of assumptions about file
    locations when copying source files into debug packages. This resulted
    in lots of messages of failed cp in packaging output.
   
    Signed-off-by: Allan McRae <[hidden email]>

commit 4d80d87f9069fba17ebf4d91cdb097b433a57908
Author: Andrew Gregory <[hidden email]>
Date:   Sun Jan 7 19:30:41 2018 -0500

    add missing newline to debug message
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 2bda849bf9b39b423175d1ee1d8796b856cc9988
Author: Andrew Gregory <[hidden email]>
Date:   Sun Jan 7 19:30:42 2018 -0500

    detect pkghash allocation failure
   
    If rehash ever failed with a full hash it would return the old hash
    that is already full.  get_hash_position would then loop forever
    because it would never find an empty bucket.
   
    Signed-off-by: Andrew Gregory <[hidden email]>
    Signed-off-by: Allan McRae <[hidden email]>

commit 59b6fdeee1722a58d1599bcbd1e2c0fc33debc99
Author: Allan McRae <[hidden email]>
Date:   Tue Jan 9 22:00:46 2018 +1000

    Do not continuously try to open an invalid database
   
    If you manage to download a bad database (e.g. an html file when
    behind a proxy or with a badly configured webserver), pacman makes
    sure you know about it.  Here is some example output:
   
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
   
    I don't know how many times that gets printed because it goes beyond my scrollback
    buffer.
   
    Flag a database that we can "open" and "fstat" but not read from as invalid to avoid
    this.
   
    Signed-off-by: Allan McRae <[hidden email]>

commit 24ab8717d459c07c51f47b7b66736de17ca23e9e
Author: Allan McRae <[hidden email]>
Date:   Tue Jan 9 20:48:35 2018 +1000

    Handle empty string passed to query_owner
   
    Passing an empty string to pacman -Qo results in:
    error: No package owns <first directory in $PATH>
   
    Catch empty strings and report an error.
   
    Signed-off-by: Allan McRae <[hidden email]>

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

Summary of changes:
 doc/BUILDINFO.5.txt                   |  67 ++++++
 doc/Makefile.am                       |   4 +-
 lib/libalpm/be_local.c                |   5 +-
 lib/libalpm/be_sync.c                 |   9 +-
 lib/libalpm/db.c                      |   5 +-
 lib/libalpm/pkghash.c                 |  23 +-
 lib/libalpm/pkghash.h                 |   4 +-
 lib/libalpm/signing.c                 | 178 ++++++++------
 scripts/completion/bash_completion.in |   6 +-
 scripts/completion/zsh_completion.in  |   4 +-
 scripts/libmakepkg/tidy/strip.sh.in   |   9 +-
 scripts/makepkg.sh.in                 |  14 +-
 scripts/pacman-db-upgrade.sh.in       |  21 +-
 scripts/pacman-key.sh.in              |   6 +-
 src/pacman/.gitignore                 |   2 +
 src/pacman/Makefile.am                |  17 +-
 src/pacman/conf.c                     | 179 +++++++-------
 src/pacman/conf.h                     |   2 +
 src/pacman/pacman-conf.c              | 437 ++++++++++++++++++++++++++++++++++
 src/pacman/query.c                    |   5 +
 src/util/vercmp.c                     |  13 +-
 21 files changed, 793 insertions(+), 217 deletions(-)
 create mode 100644 doc/BUILDINFO.5.txt
 create mode 100644 src/pacman/pacman-conf.c


hooks/post-receive
--
The official pacman repository