[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.0.6-675-gf5478d6
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 f5478d68a67741236a2e9f42f2e524ee1bb26517 (commit) via 685a659656d670acb0d606f8e91c8984d47c98b5 (commit) via 9558639d8009483fbf422b138d020745986f82f1 (commit) via f8b113ed97652da62c217cef139c58ca1d75d647 (commit) via 565d2eeed5fdd85b516cbc76bc48be439e42c41f (commit) via 9781d0d637fb2a077b0c4b262af1e2fb4decc2a0 (commit) via 572bdb5c997846c426aba53392800e5866f725bd (commit) via bd83a1fd85c0e1e41be998b3633f613bce75f08c (commit) via 90d72bd24f67e1ec32525ca0c36fece4d6364eab (commit) via 7249c08bdf6beacc087607db558ef16d3527b9b6 (commit) via 815a2ead3ef2b8daedb9e93e5e141356d5003e6e (commit) from b6acb30aae5504736fd23f97402389baabbddb1b (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 f5478d68a67741236a2e9f42f2e524ee1bb26517 Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 23:39:51 2007 -0600 Add real scriptlet checking for pactest Due to commit da1222de2e30aabcae9d17bbfa10bbf0672338af, we can now use fakechroot to completely run scriptlet pactests Use "which" functionality so as not to REQUIRE it for all users Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 685a659656d670acb0d606f8e91c8984d47c98b5 Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 23:37:53 2007 -0600 Add "which" path searching functionality to pactest Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> commit 9558639d8009483fbf422b138d020745986f82f1 Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 23:30:57 2007 -0600 popen does NOT require /bin/sh in a subchroot I appears that when chrooted, the /bin/sh used by popen is that of the parent process. This is true until the process forks once chrooted, which we do not want to do. As such, this actually makes things nicer. We don't need a /bin/sh in a chroot to run install scriptlets, and don't need to check for it in the root directory Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit f8b113ed97652da62c217cef139c58ca1d75d647 Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 22:33:45 2007 -0600 Fail sanely on OUTPUT rules when --nolog is passed Check for existence of the logfile first, and output an error if not found Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 565d2eeed5fdd85b516cbc76bc48be439e42c41f Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 13:58:00 2007 -0600 Correct scriptlet usage pattern The new pattern is as follows: . /path/to/scriptlet post_upgrade X Y This requires less frameworking in the install scripts (the three lines that shift and eval a function are nasty) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 9781d0d637fb2a077b0c4b262af1e2fb4decc2a0 Author: Dan McGee <dan@archlinux.org> Date: Mon Dec 10 22:55:22 2007 -0600 Update GNU GPL boilerplate and copyright dates Update the GPL boilerplate to direct people to the GNU website for a copy of the license, as well as bump all of Judd's copyrights to 2007. Signed-off-by: Dan McGee <dan@archlinux.org> commit 572bdb5c997846c426aba53392800e5866f725bd Author: Dan McGee <dan@archlinux.org> Date: Sun Nov 4 14:30:11 2007 -0600 pactest: if we are root, don't use fakeroot Signed-off-by: Dan McGee <dan@archlinux.org> commit bd83a1fd85c0e1e41be998b3633f613bce75f08c Author: Dan McGee <dan@archlinux.org> Date: Mon Dec 10 12:06:12 2007 -0600 Updates to PKGBUILD manpage Make the manpage a little more distro agnostic by referring to ABS in the context of Arch Linux, and saying that prototype files are also available with the pacman source. Signed-off-by: Dan McGee <dan@archlinux.org> commit 90d72bd24f67e1ec32525ca0c36fece4d6364eab Author: Dan McGee <dan@archlinux.org> Date: Sun Dec 9 13:49:38 2007 -0600 Rename prototype install file Most (sane) people name their install file pkgname.install, and this move of the prototype reflects that. Signed-off-by: Dan McGee <dan@archlinux.org> commit 7249c08bdf6beacc087607db558ef16d3527b9b6 Author: Dan McGee <dan@archlinux.org> Date: Sat Dec 8 23:42:04 2007 -0600 Improve changelog handling through addition of open/read/close functions Thanks to Allan for inspiring all this work on what was one little TODO item in the codebase. :) Change changelog handling so we can now dump a changelog from both installed packages and package files (fixes FS#7371). We do this by moving all of the machinery to the backend where it should have been in the first place. The changelog reading is now done through a open/read/close interface similar to the fopen/fread/fclose functions (can you guess how it is done?). It is buffered by the frontend, so programs using the library can read as much or as little as they want at a time. Unfortunately, I could not implement a changelog_feof function due to some shortcomings of libarchive. However, I left the stub code in there, commented out, in case it becomes possible later or anyone wants to take a stab at it. Original-work-by: Allan McRae <mcrae_allan@hotmail.com> Improved-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 815a2ead3ef2b8daedb9e93e5e141356d5003e6e Author: Giovanni Scafora <linuxmania@gmail.com> Date: Sun Dec 9 11:38:08 2007 +0100 Updated Italian Translation Signed-off-by: Giovanni Scafora <linuxmania@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: COPYING | 31 +- contrib/pacdiff | 4 +- contrib/pacsearch | 3 +- contrib/{install.proto => proto.install} | 4 - contrib/re-pacman | 4 +- doc/PKGBUILD.5.txt | 17 +- lib/libalpm/add.c | 4 +- lib/libalpm/add.h | 6 +- lib/libalpm/alpm.c | 4 +- lib/libalpm/alpm.h | 11 +- lib/libalpm/alpm_list.c | 6 +- lib/libalpm/alpm_list.h | 6 +- lib/libalpm/backup.c | 4 +- lib/libalpm/backup.h | 6 +- lib/libalpm/be_files.c | 4 +- lib/libalpm/cache.c | 6 +- lib/libalpm/cache.h | 6 +- lib/libalpm/conflict.c | 6 +- lib/libalpm/conflict.h | 6 +- lib/libalpm/db.c | 6 +- lib/libalpm/db.h | 6 +- lib/libalpm/delta.c | 4 +- lib/libalpm/delta.h | 4 +- lib/libalpm/deps.c | 6 +- lib/libalpm/deps.h | 6 +- lib/libalpm/error.c | 6 +- lib/libalpm/error.h | 6 +- lib/libalpm/group.c | 6 +- lib/libalpm/group.h | 6 +- lib/libalpm/handle.c | 6 +- lib/libalpm/handle.h | 6 +- lib/libalpm/log.c | 6 +- lib/libalpm/log.h | 6 +- lib/libalpm/md5.c | 5 +- lib/libalpm/md5.h | 5 +- lib/libalpm/package.c | 115 +++++++- lib/libalpm/package.h | 6 +- lib/libalpm/remove.c | 6 +- lib/libalpm/remove.h | 6 +- lib/libalpm/server.c | 4 +- lib/libalpm/server.h | 4 +- lib/libalpm/sync.c | 6 +- lib/libalpm/sync.h | 6 +- lib/libalpm/trans.c | 19 +- lib/libalpm/trans.h | 6 +- lib/libalpm/util.c | 6 +- lib/libalpm/util.h | 6 +- pactest/pactest.py | 4 +- pactest/pmdb.py | 4 +- pactest/pmenv.py | 4 +- pactest/pmfile.py | 4 +- pactest/pmpkg.py | 4 +- pactest/pmrule.py | 12 +- pactest/pmtest.py | 15 +- pactest/tests/scriptlet001.py | 17 +- pactest/tests/scriptlet002.py | 17 +- pactest/util.py | 12 +- po/it.po | 478 ++++++++++++++++-------------- scripts/abs.sh.in | 4 +- scripts/gensync.sh.in | 4 +- scripts/makepkg.sh.in | 4 +- scripts/makeworld.sh.in | 4 +- scripts/pacman-optimize.sh.in | 4 +- scripts/rankmirrors.py.in | 4 +- scripts/repo-add.sh.in | 4 +- scripts/repo-remove.sh.in | 4 +- scripts/updatesync.sh.in | 4 +- src/pacman/add.c | 4 +- src/pacman/callback.c | 4 +- src/pacman/callback.h | 4 +- src/pacman/conf.c | 6 +- src/pacman/conf.h | 6 +- src/pacman/deptest.c | 6 +- src/pacman/package.c | 44 ++-- src/pacman/package.h | 8 +- src/pacman/pacman.c | 4 +- src/pacman/pacman.h | 4 +- src/pacman/query.c | 13 +- src/pacman/remove.c | 6 +- src/pacman/sync.c | 4 +- src/pacman/util.c | 6 +- src/pacman/util.h | 4 +- src/util/testdb.c | 4 +- src/util/testpkg.c | 4 +- src/util/vercmp.c | 4 +- 85 files changed, 574 insertions(+), 586 deletions(-) rename contrib/{install.proto => proto.install} (91%) hooks/post-receive -- The official pacman repository
2007/12/11, Dan McGee <dan@archlinux.org>:
commit 9558639d8009483fbf422b138d020745986f82f1 Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 23:30:57 2007 -0600
popen does NOT require /bin/sh in a subchroot
I appears that when chrooted, the /bin/sh used by popen is that of the parent process. This is true until the process forks once chrooted, which we do not want to do.
As such, this actually makes things nicer. We don't need a /bin/sh in a chroot to run install scriptlets, and don't need to check for it in the root directory
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
commit 565d2eeed5fdd85b516cbc76bc48be439e42c41f Author: Aaron Griffin <aaronmgriffin@gmail.com> Date: Thu Nov 29 13:58:00 2007 -0600
Correct scriptlet usage pattern
The new pattern is as follows: . /path/to/scriptlet post_upgrade X Y
This requires less frameworking in the install scripts (the three lines that shift and eval a function are nasty)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Wow, these commits are such a nice surprise. :-) Great work! -- Roman Kyrylych (Роман Кирилич)
participants (2)
-
Dan McGee
-
Roman Kyrylych