[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.0.3-250-g2e6cb69

Dan McGee dan at archlinux.org
Sun Apr 29 21:30:28 EDT 2012


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  2e6cb69bf6d6b2738d7a9c23c55d1734378402c7 (commit)
       via  8c7202ca19361c35357140b0e3083cfa5bc12d21 (commit)
       via  9dd42dc0daab510a4e68118d89b5543936d2074f (commit)
       via  8a9c666a8c0f46739724e2032cedb451121c4594 (commit)
       via  6d2fb6fd815c7f427028b20faa16e531d5cc2aa4 (commit)
       via  52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae (commit)
       via  82b7122542e16354b560bae9c7f6f3608873a8e1 (commit)
       via  e0afd81d18fdc646bbf6d37a1627c0267176e167 (commit)
       via  dbc58d9386170a193d951c926c87075450de3bb1 (commit)
       via  20ff0cd40fd228f56251634a7429439244c24eac (commit)
       via  1583a2079c8e84c9cd960a596dae2e36c9077bbb (commit)
       via  953415c86a17c1db8bebbbaca89e6fd5783386b6 (commit)
       via  242411a1b4197910ac75b50033eb530004cc0e5c (commit)
       via  22050f18f4049b20f56e98766b68c0c32d070f1a (commit)
       via  d38a1c02dbbf90b890bcd79d0354d04a4886c026 (commit)
       via  6d10de881e0ca38d8f20384e20139784589ea2c7 (commit)
       via  ea4aa6f184909db38bacbbf60f22f1674f2853a6 (commit)
       via  03acea832ad39fa371781f045c39677a02d1156a (commit)
       via  1b494ab77198a6cbb9c06a13435159641e2dc0c5 (commit)
       via  71fcb69028d6e02bc7f24459918e504d261f86cd (commit)
      from  b2a2a982979ecd9b9bcdbf5f1c60d005ed238b60 (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 2e6cb69bf6d6b2738d7a9c23c55d1734378402c7
Author: Allan McRae <allan at archlinux.org>
Date:   Sun Apr 29 13:23:23 2012 +1000

    Output "Packages" instead of "Targets"
    
    Prefix the list of packages being installed/removed with "Packages"
    instead of "Targets" as they are package names by this stage.
    
    Fixes FS#23123.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 8c7202ca19361c35357140b0e3083cfa5bc12d21
Merge: 9dd42dc 82b7122
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Apr 29 20:27:32 2012 -0500

    Merge remote-tracking branch 'dave/buildsys'

commit 9dd42dc0daab510a4e68118d89b5543936d2074f
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Tue Apr 24 23:36:08 2012 -0400

    makepkg: remove subshelling from check_option and friends
    
    Instead of creating a subshell for each of these checks (of which there
    are many), pass in an expected value and make the check_* function do
    the comparison for us, returning 0 (match), 1, (mismatch), or 127 (not
    found).
    
    For a measureable benefit, I tested this on a fairly simple package,
    perl-term-readkey, and counted the number of clone(2) syscalls to try
    and isolate those generated by makepkg itself, rather than the user
    defined functions. Results as shown below:
    
      336 before
      180 after
    
    So, roughly a 50% reduction, which makes sense given that a single
    check_option() call could be up to 3 subprocesses in total.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 8a9c666a8c0f46739724e2032cedb451121c4594
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Tue Apr 24 23:09:31 2012 -0400

    makepkg: null terminate filenames to strip
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 6d2fb6fd815c7f427028b20faa16e531d5cc2aa4
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Apr 22 23:35:20 2012 -0400

    pacman/package.c: show checksums with -Sii
    
    These were removed entirely by f34864cc9e, but some people (myself
    included) still find them useful. Revive these details, but "demote"
    them, so that they're only displayed when extra sync data is requested.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Apr 29 20:14:10 2012 -0500

    Move short-lived realpath buffers to the stack
    
    There is little reason here to grab 4K from the heap only to return it a
    few lines later. Instead, just use the stack to hold the returned value
    saving ourselves the malloc/free cycle.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 82b7122542e16354b560bae9c7f6f3608873a8e1
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Mon Mar 19 23:56:59 2012 -0400

    libalpm: add pkg-config file
    
    No one seems to do this "correctly", but for the sake of having an easy
    method of detecting the presence and version of libalpm on a given
    system, we provide a straightforward .pc file.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit e0afd81d18fdc646bbf6d37a1627c0267176e167
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Apr 24 21:05:51 2012 -0500

    Pointer coding style cleanups
    
    'foo_type_t *variable' rather than 'foo_type_t* variable'.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit dbc58d9386170a193d951c926c87075450de3bb1
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Apr 24 21:01:55 2012 -0500

    be_local: write all single-valued attributes first
    
    There isn't a whole lot of reason other than code clarity for this, but
    it makes it a bit more obvious where multivalued attributes start.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 20ff0cd40fd228f56251634a7429439244c24eac
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Apr 24 20:59:24 2012 -0500

    util/testdb: don't return crazy error values
    
    With some contrived examples, you could easily make testdb return a very
    high error count, which could easily overflow the 8-bit unsigned integer
    limit. Instead, simply return 1 or 0 based on whether errors were found.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 1583a2079c8e84c9cd960a596dae2e36c9077bbb
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Apr 24 20:44:29 2012 -0500

    Split check steps in Makefile into multiple targets
    
    This allows a `make -j4 check` invocation to actually run in parallel,
    even though 95% of our test suite time is currently dominated by
    pactest. It also allows running something like `make test-vercmp`.
    
    Also, add some targets to the .PHONY list that belong in it.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 953415c86a17c1db8bebbbaca89e6fd5783386b6
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sun Apr 22 17:38:48 2012 -0400

    rankmirrors: move to contrib/
    
    This script is of questionable value, as it ranks mirrors by an
    uninteresting attribute: ping. While the script itself is interesting,
    people should be encouraged to rank mirrors by more useful measures,
    such as actual speed, locality, or up to date-ness.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 242411a1b4197910ac75b50033eb530004cc0e5c
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Apr 13 14:34:02 2012 +1000

    makepkg: Be more consistent with missing program message
    
    Also prevent "sudo" and "su" from being translated.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 22050f18f4049b20f56e98766b68c0c32d070f1a
Author: Allan McRae <allan at archlinux.org>
Date:   Mon Apr 9 16:27:00 2012 +1000

    makepkg: treat list of packages to be installed as an array
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit d38a1c02dbbf90b890bcd79d0354d04a4886c026
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Mar 9 21:09:35 2012 +1000

    makepkg: deal with overriden package arch properly
    
    This fixes a lot of checks done by makepkg (e.g. to see if a package
    is already built and choosing which package to install).  Previously,
    if a package had both "i686" and "any" versions, the "i686" one
    always took precidence regardless of the value of "arch" in the
    PKGBUILD for that package.  Fixes FS#27204.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 6d10de881e0ca38d8f20384e20139784589ea2c7
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Thu Apr 19 13:33:57 2012 -0400

    paccache: adopt parseopts for options parsing
    
    Add longopts and update usage. This removes the TODO item and
    incorporates --help/--version into the standard option set.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit ea4aa6f184909db38bacbbf60f22f1674f2853a6
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Wed Apr 11 09:29:07 2012 -0400

    configure: require bash >= 4.1 at compile time
    
    We've unofficially agreed to raise our minimum supported bash version to
    4.1, and since added features that require it. Additionally, an earlier
    commit adds a syntax check to the builds of scripts/ and contrib/ which
    could conceivably fail with an earlier shell. Therefore, make this a
    hard requirement of the build process.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 03acea832ad39fa371781f045c39677a02d1156a
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Tue Apr 17 21:34:30 2012 -0400

    validate bash scripts with 'bash -n' during build.
    
    Use the no-exec mode of $(BASH_SHELL) to check for syntax errors in
    shell scripts. Since we use the extglob feature in various places, this
    requires that we pass -O extglob to the shell as well, to ensure that
    the parser is armed to handle this syntax.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 1b494ab77198a6cbb9c06a13435159641e2dc0c5
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Thu Apr 19 12:55:20 2012 -0400

    contrib: rename bash scripts: .in -> .sh.in
    
    For consistency with the scripts/ directory, ensure that all bash
    scripts use the same pre-build suffix.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

commit 71fcb69028d6e02bc7f24459918e504d261f86cd
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Thu Apr 19 12:46:48 2012 -0400

    contrib: use a separate build rule for bash scripts
    
    Treat bash scripts separately from the others to allow for a different
    build rule, which is reused from the scripts/ subdir.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>

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

Summary of changes:
 Makefile.am                                        |   16 +-
 configure.ac                                       |   19 +-
 contrib/.gitignore                                 |    1 +
 contrib/Makefile.am                                |   51 +++--
 contrib/{bacman.in => bacman.sh.in}                |    1 -
 contrib/{paccache.in => paccache.sh.in}            |  119 +++++++-----
 contrib/{pacdiff.in => pacdiff.sh.in}              |    0
 contrib/{paclist.in => paclist.sh.in}              |    0
 .../{paclog-pkglist.in => paclog-pkglist.sh.in}    |    0
 contrib/{pacscripts.in => pacscripts.sh.in}        |    0
 contrib/{pacsysclean.in => pacsysclean.sh.in}      |    0
 {scripts => contrib}/rankmirrors.sh.in             |    0
 doc/Makefile.am                                    |    2 +
 lib/libalpm/.gitignore                             |    1 +
 lib/libalpm/Makefile.am                            |    3 +
 lib/libalpm/be_local.c                             |   38 ++--
 lib/libalpm/conflict.c                             |    3 +-
 lib/libalpm/group.c                                |    2 +-
 lib/libalpm/handle.c                               |    5 +-
 lib/libalpm/libalpm.pc.in                          |   12 ++
 lib/libalpm/package.c                              |    2 +-
 lib/libalpm/package.h                              |    2 +-
 scripts/.gitignore                                 |    1 -
 scripts/Makefile.am                                |    5 +-
 scripts/makepkg.sh.in                              |  194 ++++++++++++--------
 src/pacman/package.c                               |    9 +-
 src/pacman/util.c                                  |    2 +-
 src/util/testdb.c                                  |    8 +-
 28 files changed, 309 insertions(+), 187 deletions(-)
 rename contrib/{bacman.in => bacman.sh.in} (99%)
 rename contrib/{paccache.in => paccache.sh.in} (76%)
 rename contrib/{pacdiff.in => pacdiff.sh.in} (100%)
 rename contrib/{paclist.in => paclist.sh.in} (100%)
 rename contrib/{paclog-pkglist.in => paclog-pkglist.sh.in} (100%)
 rename contrib/{pacscripts.in => pacscripts.sh.in} (100%)
 rename contrib/{pacsysclean.in => pacsysclean.sh.in} (100%)
 rename {scripts => contrib}/rankmirrors.sh.in (100%)
 create mode 100644 lib/libalpm/libalpm.pc.in


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list