Re: [pacman-dev] [PATCH] Remove AC_FUNC_MALLOC check.

2016-08-30 Thread Allan McRae
On 31/08/16 11:13, Alastair Hughes wrote: > We weren't supplying the rpl_malloc function needed if this failed, and > didn't check for realloc, so just remove. > > Signed-off-by: Alastair Hughes > --- > > The build will currently fail if cross compiling or if > ac_cv_func_malloc_0_nonnull=no is

Re: [pacman-dev] [PATCH] Replace CURLOPT_PROGRESSFUNCTION with CURLOPT_XFERINFOFUNCTION

2016-08-30 Thread Allan McRae
On 31/08/16 06:33, ivy.fos...@gmail.com wrote: > From: Ivy Foster > > Curl 7.32.0 added CURLOPT_XFERINFOFUNCTION, which deprecates > CURLOPT_PROGRESSFUNCTION and means less casting doubles to size_ts for > alpm. This change has no user-facing nor frontend-facing effects. > OK. I don't think p

[pacman-dev] [PATCH] Remove AC_FUNC_MALLOC check.

2016-08-30 Thread Alastair Hughes
We weren't supplying the rpl_malloc function needed if this failed, and didn't check for realloc, so just remove. Signed-off-by: Alastair Hughes --- The build will currently fail if cross compiling or if ac_cv_func_malloc_0_nonnull=no is set, because we don't supply a rpl_malloc function anywher

[pacman-dev] [PATCH v2] Replace CURLOPT_PROGRESSFUNCTION with

2016-08-30 Thread ivy . foster
On Tue, Aug 30, 2016 at 02:54:31PM -0500, Dave Reisner wrote: > From: Ivy Foster > > Curl 7.32.0 added CURLOPT_XFERINFOFUNCTION > Making this change would require that you update configure.ac to bump > the minimum version for libcurl (which is currently 7.19.4). FWIW 7.32.0 > was released in Au

[pacman-dev] [PATCH] Replace CURLOPT_PROGRESSFUNCTION with CURLOPT_XFERINFOFUNCTION

2016-08-30 Thread ivy . foster
From: Ivy Foster Curl 7.32.0 added CURLOPT_XFERINFOFUNCTION, which deprecates CURLOPT_PROGRESSFUNCTION and means less casting doubles to size_ts for alpm. This change has no user-facing nor frontend-facing effects. Signed-off-by: Ivy Foster --- configure.ac| 4 ++-- lib/libalpm/dload.

Re: [pacman-dev] [PATCH v2] Make DUFLAGS be overrideable during configure

2016-08-30 Thread Alastair Hughes
On 8/30/16, Allan McRae wrote: > On 20/08/16 06:52, Alastair Hughes wrote: >> Not all du implementations on linux accept --apparent-size, so let the >> user configure the arguments passed to du if required. >> >> This fixes FS#47943. >> >> Signed-off-by: Alastair Hughes >> --- > > Why this approa

Re: [pacman-dev] [PATCH] Replace CURLOPT_PROGRESSFUNCTION with CURLOPT_XFERINFOFUNCTION

2016-08-30 Thread Dave Reisner
On Tue, Aug 30, 2016 at 02:54:31PM -0500, ivy.fos...@gmail.com wrote: > From: Ivy Foster > > Curl 7.32.0 added CURLOPT_XFERINFOFUNCTION, which deprecates > CURLOPT_PROGRESSFUNCTION and means less casting doubles to size_ts for > alpm. This change has no user-facing nor frontend-facing effects. M

[pacman-dev] [PATCH] Replace CURLOPT_PROGRESSFUNCTION with CURLOPT_XFERINFOFUNCTION

2016-08-30 Thread ivy . foster
From: Ivy Foster Curl 7.32.0 added CURLOPT_XFERINFOFUNCTION, which deprecates CURLOPT_PROGRESSFUNCTION and means less casting doubles to size_ts for alpm. This change has no user-facing nor frontend-facing effects. Signed-off-by: Ivy Foster --- lib/libalpm/dload.c | 18 +- 1 fi

[pacman-dev] [PATCH 1/1] add command line options for libcurl's "low speed" timeout

2016-08-30 Thread Christian Hesse
From: Christian Hesse Signed-off-by: Christian Hesse --- doc/pacman.8.txt| 13 + src/pacman/conf.h | 4 +++- src/pacman/pacman.c | 14 ++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 231e0bc..83f63e6 1006

Re: [pacman-dev] [PATCH v6 1/1] Add configuration options for libcurl's "low speed" timeout

2016-08-30 Thread Christian Hesse
Dave Reisner on Tue, 2016/08/30 08:46: > On Tue, Aug 30, 2016 at 02:12:23PM +0200, Christian Hesse wrote: > > From: Christian Hesse > > > > Add LowSpeedLimit and LowSpeedTime configuration options to correspond > > to libcurl's CURLOPT_LOW_SPEED_LIMIT and CURLOPT_LOW_SPEED_TIME options. > > This

Re: [pacman-dev] [PATCH v6 1/1] Add configuration options for libcurl's "low speed" timeout

2016-08-30 Thread Dave Reisner
On Tue, Aug 30, 2016 at 02:12:23PM +0200, Christian Hesse wrote: > From: Christian Hesse > > Add LowSpeedLimit and LowSpeedTime configuration options to correspond > to libcurl's CURLOPT_LOW_SPEED_LIMIT and CURLOPT_LOW_SPEED_TIME options. > This allows, e.g., transfers behind corporate virus-scan

[pacman-dev] [PATCH v6 1/1] Add configuration options for libcurl's "low speed" timeout

2016-08-30 Thread Christian Hesse
From: Christian Hesse Add LowSpeedLimit and LowSpeedTime configuration options to correspond to libcurl's CURLOPT_LOW_SPEED_LIMIT and CURLOPT_LOW_SPEED_TIME options. This allows, e.g., transfers behind corporate virus-scanning firewalls to survive the delays. Increasing the timeout may not be des

[pacman-dev] I'm back (mostly)

2016-08-30 Thread Allan McRae
Hi all, I had a low presence over the last couple of months due to purchasing a house, moving and the subsequent delay of internet connection. But I am back! Ping any patches that I have missed in my flurry tonight and I will review them. Cheers, Allan

Re: [pacman-dev] [PATCH v2] Make DUFLAGS be overrideable during configure

2016-08-30 Thread Allan McRae
On 20/08/16 06:52, Alastair Hughes wrote: > Not all du implementations on linux accept --apparent-size, so let the > user configure the arguments passed to du if required. > > This fixes FS#47943. > > Signed-off-by: Alastair Hughes > --- Why this approach over the previous style of: DUFLAGS="$

Re: [pacman-dev] [PATCH] Add option MaxDlSpeed to limit download speed

2016-08-30 Thread Allan McRae
On 20/08/16 04:12, Olivier Brunel wrote: > Signed-off-by: Olivier Brunel > --- > doc/pacman.8.txt | 5 + > doc/pacman.conf.5.txt | 6 ++ > lib/libalpm/alpm.h| 3 +++ > lib/libalpm/dload.c | 1 + > lib/libalpm/handle.c | 26 ++ > lib/libalpm/handle.h

Re: [pacman-dev] [PATCH v2 2/3] bacman: proper option handling plus more options

2016-08-30 Thread Allan McRae
On 15/08/16 06:39, Gordian Edenhofer wrote: > * Add option for printing fewer status updates > * Add option for controlling the output directory > * Add option for specyfying the the maximum number of jobs > * Adjust output to the number of jobs > * Rewrite usage page > * Alter version information

Re: [pacman-dev] [PATCH v2 3/3] bacman: add manual page

2016-08-30 Thread Allan McRae
On 15/08/16 06:39, Gordian Edenhofer wrote: > Signed-off-by: Gordian Edenhofer > --- > * Fix some typos > * Adjust man page according to v2 of this patch series > > doc/.gitignore | 1 + > doc/Makefile.am | 4 > doc/bacman.8.txt | 71 > +

Re: [pacman-dev] [PATCH v2 1/3] bacman: allow for parallel packaging

2016-08-30 Thread Allan McRae
On 15/08/16 06:39, Gordian Edenhofer wrote: > * move the actual assembly process into its own function > * allow for packaging multiple packages with one command > * handle SIGHUP SIGINT SIGTERM and remove working dirs accordingly > * add some comments > > Signed-off-by: Gordian Edenhofer > --- >

Re: [pacman-dev] [PATCH] pacman.8: fix typo in the documentation of --asexplicit

2016-08-30 Thread Allan McRae
On 20/08/16 21:46, Lukas Fleischer wrote: > Add a space between the option and its argument. Also, do not enclose > the argument in asterisk characters. > > Fixes a typo introduced in aa4c61f (Document database checking options, > 2014-12-28). Thanks, A

[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.0.1-54-g406c9b6

2016-08-30 Thread 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 406c9b66b4f2cc54ea59e57de92db6566e59c4e7 (commit) vi