aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex McGrath <amk@amk.ie>2022-02-19 12:38:22 +0000
committerdispatch <dispatch@listserv.local>2022-02-19 12:45:50 +0000
commite692659dde50661c9ecd3ddbf818effc009b55cb (patch)
tree0f5b5735f627c577f072ce6539a394028981d1f2
parent1cbbfc227b62de3c132066e828e9316fc36e9948 (diff)
downloadaports-patches/3953.tar.gz
aports-patches/3953.tar.bz2
aports-patches/3953.tar.xz
testing/ejabberd: build with --enable-user=ejabberdpatches/3953
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.
-rw-r--r--testing/ejabberd/APKBUILD3
1 files changed, 2 insertions, 1 deletions
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 <john@jrjrtech.com>
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
}