Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 63E717812E4 for <~alpine/aports@lists.alpinelinux.org>; Sat, 19 Feb 2022 12:45:48 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amk.ie; s=key1; t=1645274306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2YbX3OlSfD7b0q16v3mpcfTqaWOFg149o7rSLeHMnYo=; b=D3t/TF5pnkinq5HidtfhWmhCXVvhY7AsbORExwgR5je7hb9g2M3PofqeWDYQdcBTQTnERf UFoYU5aKWlDiu+nyo7PP+XK+hHGUFgAYX5pEdKSHR2VPVABHem/QfDYqCgVCEploQAzAjR qp0kNzuIyv+yvwWhCtcEFJjgKj9MJii6tiA4EwGYccO8pgVy4fiVSyFCJAhTWeCxq2Cnhv pEbSczqOgVchRp9A6apmuy03X9ypWlc6YISNwSD1/J3UkAjWHjvDHi03tAe/xotKyYbSlU 5XK4uRnyXot+/f/CCxsBA+L0gW9u6WbswnHhsA09Gtpg4cTEFZ7qwY1xUgy5Nw== From: Alex McGrath To: ~alpine/aports@lists.alpinelinux.org Cc: Alex McGrath Subject: [PATCH v2] testing/ejabberd: build with --enable-user=ejabberd Date: Sat, 19 Feb 2022 12:38:22 +0000 Message-Id: <20220219123822.4176-1-amk@amk.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: amk.ie Building without --enable-user=ejabberd causes INSTALLUSER to be empty in /usr/sbin/ejabberdctl and when it is not set ejabberd will run as root when /etc/init.d/ejabberd start is called. --- v2: space -> tab testing/ejabberd/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/ejabberd/APKBUILD b/testing/ejabberd/APKBUILD index a6919edfe5..46463b3590 100644 --- a/testing/ejabberd/APKBUILD +++ b/testing/ejabberd/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: John Regan pkgname=ejabberd pkgver=21.01 -pkgrel=1 +pkgrel=2 pkgdesc="An erlang jabber server" url="https://www.ejabberd.im/" arch="all" @@ -102,6 +102,7 @@ build() { --localstatedir=/var \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ + --enable-user=ejabberd \ --enable-all make } -- 2.35.1