Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 14/14] ejabberd: Bump to version 17.11
Date: Tue, 16 Jan 2018 22:02:50 +0100	[thread overview]
Message-ID: <20180116220250.483dff36@windsurf> (raw)
In-Reply-To: <20180116140649.7381-15-johan.oudinet@gmail.com>

Hello,

On Tue, 16 Jan 2018 15:06:49 +0100, Johan Oudinet wrote:
> * Adapt all patches.
> * Use the new configure option enable-system-deps even though there is
>   still a patch needed to correct includes.
> * Disable graphics to not depends on X libraries. Disable also
>   mod_avatar from the default loaded modules, since this module
>   requires graphics enabled.
> * Add a configure option to specify the Erlang cookie for users that do
>   not want a random cookie generated at first boot.
> 
> Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>

Thanks for this update! Can I apply all the erlang package version
bumps, even if I don't apply the ejabberd bump ?

More questions/comments below.


> diff --git a/package/ejabberd/0004-correct-includes.patch b/package/ejabberd/0004-correct-includes.patch
> new file mode 100644
> index 0000000000..812bf6c5be
> --- /dev/null
> +++ b/package/ejabberd/0004-correct-includes.patch
> @@ -0,0 +1,1909 @@
> +From 0487178693143955ff57e3c9371fb6e7b164294c Mon Sep 17 00:00:00 2001
> +From: Johan Oudinet <johan.oudinet@gmail.com>
> +Date: Thu, 11 Jan 2018 12:49:38 +0100
> +Subject: [PATCH] correct includes
> +
> +This part of the code was moved into it's own project and was packaged
> +separately by me. To make the build process work, this small fix is
> +necessary.
> +Author: Philipp Huebner <debalance@debian.org>
> +
> +Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>

It is not entirely clear: is this patch already upstream?

> +if BR2_PACKAGE_EJABBERD
> +
> +config BR2_PACKAGE_EJABBERD_ERLANG_COOKIE
> +	string "Erlang cookie"
> +	help
> +	  An alphanumeric string used by Erlang to authenticate nodes.
> +	  If empty, erlang creates a random cookie at first execution.

Just curious, why is the Erlang cookie part of the Ejabberd
configuration?


> +# Install an Erlang cookie if any is provided.
> +ifneq ($(call qstrip,$(BR2_PACKAGE_EJABBERD_ERLANG_COOKIE)),)
> +define EJABBERD_INSTALL_ERLANG_COOKIE
> +	echo $(BR2_PACKAGE_EJABBERD_ERLANG_COOKIE) \

Don't you need to $(call qstrip,...) the variable to remove the double
quotes around the value ?

> +	>'$(TARGET_DIR)/var/lib/ejabberd/.erlang.cookie'

Why is this path between single quotes ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2018-01-16 21:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 14:06 [Buildroot] [PATCH 00/14] Bump ejabberd version to 17.04 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 01/14] erlang-lager: Bump to version 3.4.2 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 02/14] erlang-p1-utils: Bump to version 1.0.10 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 03/14] erlang-p1-zlib: Bump to version 1.0.3 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 04/14] erlang-p1-xml: Bump to version 1.1.25 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 05/14] erlang-stringprep: Bump to version 1.0.10 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 06/14] erlang-p1-xmpp: Bump to version 1.1.16 Johan Oudinet
2018-01-17 21:36   ` Thomas Petazzoni
2018-01-16 14:06 ` [Buildroot] [PATCH 07/14] erlang-p1-cache-tab: Bump to version 1.0.12 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 08/14] erlang-p1-iconv: Bump to version 1.0.6 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 09/14] erlang-p1-oauth2: Bump to version 0.6.2 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 10/14] erlang-p1-tls: Bump to version 1.0.17 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 11/14] erlang-p1-stun: Bump to version 1.0.16 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 12/14] erlang-p1-sip: Bump to version 1.0.17 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 13/14] erlang-p1-yaml: Bump to version 1.0.12 Johan Oudinet
2018-01-16 14:06 ` [Buildroot] [PATCH 14/14] ejabberd: Bump to version 17.11 Johan Oudinet
2018-01-16 21:02   ` Thomas Petazzoni [this message]
2018-01-17 13:12     ` Johan Oudinet
2018-01-17 13:19       ` Thomas Petazzoni
2018-01-17 15:49         ` Johan Oudinet
2018-01-17 21:34 ` [Buildroot] [PATCH 00/14] Bump ejabberd version to 17.04 Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180116220250.483dff36@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox