[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.1.2-240-g480a9ff
Allan McRae
allan at archlinux.org
Sun Jan 5 23:40:35 EST 2014
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 480a9ff82fe6d560c7d6e7b6e5e5ecad30699f12 (commit)
via ffa4c6fc8f7b4dd3d70434759513571d3b4ac4c7 (commit)
via 6c917e433e3192d4ac6bc8cc34d9c3a95a53c361 (commit)
via 30740d9d2fd859cbfa214a8bb3236ba73dedf159 (commit)
via 086bbc5b623d08df9ffe595bd5ee965e668a4ae1 (commit)
via 8bec8a3f6a09155827aa8c3287f6d814c6912717 (commit)
via bad86247f74c181f9ae2e01fc71d5289f08f3bc3 (commit)
via e25afaf673f8be96a05ad1ed68e3bedaf1f88585 (commit)
via e20500363582cae3b4dd285adadc4dfdf0b715d2 (commit)
via 3bb3b1555a5456aab4a7d51ea695ddb728fa8079 (commit)
via 77268f352f2b3f4503be3748e0599822390902ae (commit)
via 7fa35f32d8526e77c3e2ef075bc2aa353a9fafe3 (commit)
via 19445e42e6ec2eb631c3d18f0cb161548996d787 (commit)
via 6f468c2465f4bfdcf4779c920899a960857c7361 (commit)
via 6a656c7429c6fce44abf6f83657dd7b423979cd9 (commit)
via 452ee39de180c5c77f2f264d38a7c4d5925c1099 (commit)
via f7f8964c2315c81939798e870f96083146bbb27c (commit)
via 50e9543908817940792cd9a590c42aed5230c311 (commit)
via 2f8be5f8db1e157d3bcdac763b79c7989567ca6d (commit)
via 714609639f9a316e037252d31437505520a7966f (commit)
via 9652c27710142e91ca863047832c0796e72380f6 (commit)
from 31fcdec619a5d738221b6629ec5e48205b4e04fe (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 480a9ff82fe6d560c7d6e7b6e5e5ecad30699f12
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date: Fri Jan 3 14:43:05 2014 -0500
check_keyring: plug memory leak
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit ffa4c6fc8f7b4dd3d70434759513571d3b4ac4c7
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date: Fri Jan 3 14:43:04 2014 -0500
valgrind.supp: suppress leak in gpgme_get_key
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 6c917e433e3192d4ac6bc8cc34d9c3a95a53c361
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:10 2014 -0600
Reorder and reshape the package struct for better packing
This shrinks down the total size of the package struct by a handful of
bytes, saving us some memory and cache pressure when we are loading up
the entirety of the sync and local databases.
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 30740d9d2fd859cbfa214a8bb3236ba73dedf159
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:08 2014 -0600
Minor struct member reordering for packing concerns
Noticed using clang and `-Wpadded`.
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 086bbc5b623d08df9ffe595bd5ee965e668a4ae1
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:12 2014 -0600
Use O_CLOEXEC as much as possible when opening files
When calling open(), use O_CLOEXEC as much as possible to ensure the
file descriptor is closed when and if a process using libalpm forks.
For most of these cases, and especially in utility functions, the file
descriptor is opened and closed in the same function, so we don't have
too much to worry about. However, for things like the log file and
database lock file, we should ensure descriptors aren't left hanging
around for children to touch.
This patch is inspired by the problem in FS#36161, where an open file
descriptor to the current working directory prevents chroot() from
working on FreeBSD. We don't need this file descriptor in the child
process, so open it (and now several others) with O_CLOEXEC.
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 8bec8a3f6a09155827aa8c3287f6d814c6912717
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:11 2014 -0600
Log more in search debug message
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit bad86247f74c181f9ae2e01fc71d5289f08f3bc3
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:09 2014 -0600
Remove -fgnu89-inline from compile options
This was a hack done by me in commit d8e88aa0175fd back in 2007 that is
no longer necessary, given a sufficiently smart compiler and one that
supports the inline keyword.
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit e25afaf673f8be96a05ad1ed68e3bedaf1f88585
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:13 2014 -0600
Push down testing .gitignore entries
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit e20500363582cae3b4dd285adadc4dfdf0b715d2
Author: Dan McGee <dan at archlinux.org>
Date: Thu Jan 2 12:37:06 2014 -0600
Clear up definition of INFRQ_ALL
Signed-off-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 3bb3b1555a5456aab4a7d51ea695ddb728fa8079
Author: Allan McRae <allan at archlinux.org>
Date: Wed Jan 1 20:24:48 2014 +1000
Update copyright years for 2014
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 77268f352f2b3f4503be3748e0599822390902ae
Author: Allan McRae <allan at archlinux.org>
Date: Wed Jan 1 19:44:00 2014 +1000
Copy validation field in _alpm_pkg_dup
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 7fa35f32d8526e77c3e2ef075bc2aa353a9fafe3
Author: Allan McRae <allan at archlinux.org>
Date: Wed Jan 1 19:40:49 2014 +1000
Update comment for local db entry creation
Mention mtree files do not need creation in addtion to install files.
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 19445e42e6ec2eb631c3d18f0cb161548996d787
Author: Jeremy Heiner <scalaprotractor at gmail.com>
Date: Mon Nov 11 06:47:43 2013 -0500
Add the unit tests for -Qk and -Qkk that are possible now.
The -Qk test (001) validates the existence of the package files (which
were installed to the filesystem by the framework because the package
was added to the "local" db).
The -Qkk test (002) does not validate any file's properties - it can
only check that the pacman run produces the expected warning message
saying that the package lacks an mtree.
Further tests will require modifications to the testing framework to
allow intentional damage to the filesystem and generating an mtree.
Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com>
[Allan] Make warning message detection more specific
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 6f468c2465f4bfdcf4779c920899a960857c7361
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date: Thu Nov 14 21:02:07 2013 -0500
deps.c: remove filtered_depend functions
filtered_dep was duplicating an alpm_depend_t solely for the purpose of
overriding its depmod and would effectively cause alpm_checkdeps to
ignore ALPM_TRANS_FLAG_NODEPVERSION if the duplication failed. Manually
overriding/restoring the depmod for the original depend removes the
duplication as a point of failure and fixes a memory leak where the
duplicated depend was not being properly freed.
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 6a656c7429c6fce44abf6f83657dd7b423979cd9
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date: Sun Dec 29 22:51:20 2013 -0500
conf.c: add missing newline to warning
Fixes tests that use pacman's output when built without libcurl.
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 452ee39de180c5c77f2f264d38a7c4d5925c1099
Author: Allan McRae <allan at archlinux.org>
Date: Sat Dec 21 18:04:41 2013 +1000
Fix build warnings with --disable-nls
The gettext functions return a "char *", so do the same for the defines
in the case where gettext is unavailable. This prevents a number of
warnings about const being dropped.
Signed-off-by: Allan McRae <allan at archlinux.org>
commit f7f8964c2315c81939798e870f96083146bbb27c
Author: Jeremy Heiner <scalaprotractor at gmail.com>
Date: Fri Dec 20 11:59:46 2013 -0500
Use the 'configure'd PYTHON to run pactest.
Use the 'configure'd PYTHON to run pactest instead of the one
hard-coded (with '#!') in pactest.py. Also remove useless '#!' from
non-main .py files.
Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 50e9543908817940792cd9a590c42aed5230c311
Author: Maxime Arthaud <maxime.arthaud at gmail.com>
Date: Sat Dec 21 10:12:53 2013 +1000
makepkg: fix check for distcc
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 2f8be5f8db1e157d3bcdac763b79c7989567ca6d
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date: Wed Dec 11 11:58:28 2013 -0500
trans_prepare: always sort trans->remove by deps
Packages can be removed during a sync transaction either directly or
due to conflicts and need to be sorted.
Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 714609639f9a316e037252d31437505520a7966f
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Dec 18 15:24:45 2013 -0500
dload: allow curl to response to any auth challenge
Previously, we only allowed the default of responding to basic auth
challenges. Mirrors requiring authorization are far and away the edge
case, but there's no sense in preventing access to them.
Implements FS#38184.
Signed-off-by: Dave Reisner <dreisner at archlinux.org>
Signed-off-by: Allan McRae <allan at archlinux.org>
commit 9652c27710142e91ca863047832c0796e72380f6
Author: Olivier Brunel <jjk at jjacky.com>
Date: Mon Dec 2 21:45:15 2013 +0100
alpm: Rename a variable for future clarity
We will be adding event structs in the following patches.
Signed-off-by: Olivier Brunel <jjk at jjacky.com>
Signed-off-by: Allan McRae <allan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 2 --
Makefile.am | 2 +-
configure.ac | 2 --
contrib/bacman.sh.in | 4 ++--
contrib/pacdiff.sh.in | 4 ++--
contrib/pacscripts.sh.in | 2 +-
doc/index.txt | 2 +-
lib/libalpm/Makefile.am | 3 ---
lib/libalpm/add.c | 18 +++++++++---------
lib/libalpm/add.h | 2 +-
lib/libalpm/alpm.c | 2 +-
lib/libalpm/alpm.h | 2 +-
lib/libalpm/alpm_list.c | 2 +-
lib/libalpm/alpm_list.h | 2 +-
lib/libalpm/backup.c | 2 +-
lib/libalpm/backup.h | 2 +-
lib/libalpm/be_local.c | 6 +++---
lib/libalpm/be_package.c | 2 +-
lib/libalpm/be_sync.c | 2 +-
lib/libalpm/conflict.c | 2 +-
lib/libalpm/conflict.h | 2 +-
lib/libalpm/db.c | 5 +++--
lib/libalpm/db.h | 7 ++++---
lib/libalpm/delta.c | 2 +-
lib/libalpm/delta.h | 2 +-
lib/libalpm/deps.c | 34 +++++++++++-----------------------
lib/libalpm/deps.h | 2 +-
lib/libalpm/diskspace.c | 2 +-
lib/libalpm/diskspace.h | 2 +-
lib/libalpm/dload.c | 3 ++-
lib/libalpm/dload.h | 6 +++---
lib/libalpm/error.c | 2 +-
lib/libalpm/filelist.c | 2 +-
lib/libalpm/filelist.h | 2 +-
lib/libalpm/graph.c | 2 +-
lib/libalpm/graph.h | 6 +++---
lib/libalpm/group.c | 2 +-
lib/libalpm/group.h | 2 +-
lib/libalpm/handle.c | 4 ++--
lib/libalpm/handle.h | 6 ++++--
lib/libalpm/libarchive-compat.h | 2 +-
lib/libalpm/log.c | 13 ++++++++++---
lib/libalpm/log.h | 2 +-
lib/libalpm/package.c | 3 ++-
lib/libalpm/package.h | 27 ++++++++++++++-------------
lib/libalpm/pkghash.c | 2 +-
lib/libalpm/pkghash.h | 2 +-
lib/libalpm/remove.c | 9 +--------
lib/libalpm/remove.h | 2 +-
lib/libalpm/signing.c | 2 +-
lib/libalpm/signing.h | 2 +-
lib/libalpm/sync.c | 8 ++------
lib/libalpm/sync.h | 2 +-
lib/libalpm/trans.c | 18 +++++++++++++++++-
lib/libalpm/trans.h | 2 +-
lib/libalpm/util.c | 16 ++++++++--------
lib/libalpm/util.h | 4 ++--
lib/libalpm/version.c | 2 +-
m4/acinclude.m4 | 20 --------------------
scripts/makepkg-template.pl.in | 4 ++--
scripts/makepkg-wrapper.sh.in | 2 +-
scripts/makepkg.sh.in | 6 +++---
scripts/pacman-db-upgrade.sh.in | 4 ++--
scripts/pacman-key.sh.in | 4 ++--
scripts/pacman-optimize.sh.in | 4 ++--
scripts/repo-add.sh.in | 4 ++--
src/common/util-common.c | 2 +-
src/common/util-common.h | 2 +-
src/pacman/callback.c | 2 +-
src/pacman/callback.h | 2 +-
src/pacman/check.c | 2 +-
src/pacman/check.h | 2 +-
src/pacman/conf.c | 6 +++---
src/pacman/conf.h | 2 +-
src/pacman/database.c | 2 +-
src/pacman/deptest.c | 2 +-
src/pacman/ini.c | 2 +-
src/pacman/ini.h | 2 +-
src/pacman/package.c | 2 +-
src/pacman/package.h | 2 +-
src/pacman/pacman.c | 4 ++--
src/pacman/pacman.h | 2 +-
src/pacman/query.c | 2 +-
src/pacman/remove.c | 2 +-
src/pacman/sync.c | 2 +-
src/pacman/upgrade.c | 2 +-
src/pacman/util.c | 2 +-
src/pacman/util.h | 6 +++---
src/util/cleanupdelta.c | 2 +-
src/util/pacsort.c | 2 +-
src/util/pactree.c | 2 +-
src/util/testdb.c | 1 +
src/util/testpkg.c | 1 +
src/util/vercmp.c | 2 +-
test/.gitignore | 2 ++
test/pacman/pactest.py | 2 +-
test/pacman/pmdb.py | 4 +---
test/pacman/pmenv.py | 4 +---
test/pacman/pmfile.py | 4 +---
test/pacman/pmpkg.py | 4 +---
test/pacman/pmrule.py | 4 +---
test/pacman/pmtest.py | 4 +---
test/pacman/tap.py | 2 +-
test/pacman/tests/TESTS | 3 +++
test/pacman/tests/querycheck001.py | 15 +++++++++++++++
test/pacman/tests/querycheck002.py | 15 +++++++++++++++
test/pacman/tests/sync046.py | 29 +++++++++++++++++++++++++++++
test/pacman/util.py | 4 +---
test/util/pacsorttest.sh | 2 +-
test/util/vercmptest.sh | 1 +
valgrind.supp | 7 +++++++
111 files changed, 268 insertions(+), 228 deletions(-)
create mode 100644 test/.gitignore
create mode 100644 test/pacman/tests/querycheck001.py
create mode 100644 test/pacman/tests/querycheck002.py
create mode 100644 test/pacman/tests/sync046.py
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list