ejabberd
This commit is contained in:
parent
f275993822
commit
d4bbc94d5c
|
@ -0,0 +1,7 @@
|
|||
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
|
||||
groupadd -g 203 ejabberd
|
||||
useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
|
||||
fi
|
||||
|
||||
chown ejabberd:ejabberd var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd
|
||||
chmod 0750 var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd
|
|
@ -0,0 +1,27 @@
|
|||
# Tanım: Jabber server written in Erlang
|
||||
# URL: http://www.ejabberd.im/
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: git rebar3 erlang sqlite
|
||||
# Grup:
|
||||
|
||||
isim=ejabberd
|
||||
surum=18.06
|
||||
devir=1
|
||||
kaynak=(https://github.com/processone/ejabberd/archive/$surum.tar.gz::ejabberd-$surum.tar.gz)
|
||||
|
||||
derle() {
|
||||
cd "$SRC/$isim-$surum"
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--enable-user=ejabberd
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
chmod 0755 $PKG/usr/sbin/ejabberdctl
|
||||
}
|
Loading…
Reference in New Issue