a9c5e00be3
- Cleanup pkg-plist - Switch to USERS/GROUPS knobs instead of manual creating - Remove support for unsupported FreeBSD versions - Add PAM support[1] PR: ports/156850 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>, lstewart[1] (via private email)
14 lines
329 B
Bash
14 lines
329 B
Bash
#!/bin/sh
|
|
|
|
if [ x"$2" != x"POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
USERS_HOME="/var/spool/ejabberd"
|
|
|
|
install -d -m 750 -o %%USERS%% -g %%GROUPS%% ${USERS_HOME} /var/log/ejabberd
|
|
|
|
chown -R %%USERS%%:%%GROUPS%% %%PREFIX%%/etc/%%PORTNAME%%
|
|
chown -R %%USERS%%:%%GROUPS%% %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%
|
|
|
|
exit 0
|