[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.2.2-104-g9519d22
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 9519d22df7cef5b5a48a7d1ebee44a9e935e02b7 (commit) via de97282fbd78755cde71c1d064ec00b806efcca5 (commit) via 36863b968f562840461e60be4ed23abf635d6008 (commit) via 687f04ab4699440e3d8b371454b26039b6eb2772 (commit) via a864a50bc6a65a5c39a4727a07a3b269049a808e (commit) from d8d9ab8c870eb9f2df5e6e607b1da34e6e40e29e (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 9519d22df7cef5b5a48a7d1ebee44a9e935e02b7 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sun Mar 1 01:40:24 2009 +0100 be_files.c : use %jd instead of %ju for intmax_t Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit de97282fbd78755cde71c1d064ec00b806efcca5 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sun Mar 15 12:43:39 2009 +0100 Revert "popen does NOT require /bin/sh in a subchroot" This reverts commit 9558639d8009483fbf422b138d020745986f82f1. This change was wrong, popen does require /bin/sh in a subchroot. 1) pacman -S lilo -r root Notice no error 2) rm root/bin/sh ; pacman -S lilo -r root Notice an error : error: scriptlet failed to execute correctly Actually, we already get an explicit error here, when popen is run, so there is no need to check for bin/sh explicitely. Besides this check was problematic in some cases. For example, bash itself has a scriptlet, but only post_install and post_upgrade, no pre_install and pre_upgrade. However, since bash has a scriptlet, runscriptlet will also be called before bash is installed. It won't do anything since the scriptlet has no pre_install function. But if we keep the check, we will still get "error : no /bin/sh". Conflicts: lib/libalpm/trans.c Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 36863b968f562840461e60be4ed23abf635d6008 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sun Mar 15 15:42:35 2009 +0100 runscriptlet : Flush open fds before fork() to avoid cloning buffers This is a bug I noticed 2 years ago : http://www.nabble.com/Re%3A-logging-output-crazy-to11437357.html#a11479679 I thought I fixed it with 57d77eab32c01cd7572a11f76480a3724d09c029 But the bug was still here. Reading man fork, this part caught my attention: * The child inherits copies of the parent's set of open file descriptors. Each file descriptor in the child refers to the same open file description (see open(2)) as the corresponding file descriptor in the parent. This means that the two descriptors share open file status flags, current file offset, and signal-driven I/O attributes (see the description of F_SETOWN and F_SETSIG in fcntl(2)). Since the open file descriptors are inherited, it is probably a good idea to flush them before forking. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 687f04ab4699440e3d8b371454b26039b6eb2772 Author: Allan McRae <allan@archlinux.org> Date: Sat Mar 14 23:43:05 2009 +1000 Only check checksums if there is a source file Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit a864a50bc6a65a5c39a4727a07a3b269049a808e Author: Allan McRae <allan@archlinux.org> Date: Tue Mar 3 04:13:08 2009 +1000 contrib/pacscripts - print install scripts from a package Prints the install script from a given package file or from a package in the pacman repo. Original-work-by: Giulio "giulivo" Fidente <giulivo.navigante@gmail.com> Improvements-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: contrib/Makefile.am | 1 + contrib/README | 3 + contrib/pacscripts | 132 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/libalpm/be_files.c | 6 +- lib/libalpm/trans.c | 10 +--- scripts/makepkg.sh.in | 2 + 6 files changed, 144 insertions(+), 10 deletions(-) create mode 100755 contrib/pacscripts hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org