Put datafiles in /var/jabber directory.

Remind to remove this directory manually on deinstall.
This commit is contained in:
Dmitry Sivachenko 2004-01-01 13:21:15 +00:00
parent b635444c7d
commit 75fdd3fbc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97030
6 changed files with 16 additions and 2 deletions

View File

@ -18,7 +18,8 @@ COMMENT= Online presence and instant messaging server
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
CONFIGURE_ARGS= --localstatedir=/var \
--with-libiconv-prefix=${LOCALBASE} \
--enable-storage='${STORAGE}' \
--enable-authreg='${AUTHREG}'

View File

@ -16,4 +16,6 @@ if pw groupshow "${USER}" 2>/dev/null 1>&2; then
echo "To delete Jabber group permanently, use 'pw groupdel ${USER}'"
fi
echo "If you wish to delete jabber data files, remove '/var/jabberd' directory."
exit 0

View File

@ -31,4 +31,8 @@ if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
exit 1
fi
fi
mkdir -p /var/jabberd/db /var/jabberd/pid /var/jabberd/log
chown jabber:jabber /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
exit 0

View File

@ -18,7 +18,8 @@ COMMENT= Online presence and instant messaging server
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
CONFIGURE_ARGS= --localstatedir=/var \
--with-libiconv-prefix=${LOCALBASE} \
--enable-storage='${STORAGE}' \
--enable-authreg='${AUTHREG}'

View File

@ -16,4 +16,6 @@ if pw groupshow "${USER}" 2>/dev/null 1>&2; then
echo "To delete Jabber group permanently, use 'pw groupdel ${USER}'"
fi
echo "If you wish to delete jabber data files, remove '/var/jabberd' directory."
exit 0

View File

@ -31,4 +31,8 @@ if ! pw usershow "${USER}" 2>/dev/null 1>&2; then
exit 1
fi
fi
mkdir -p /var/jabberd/db /var/jabberd/pid /var/jabberd/log
chown jabber:jabber /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log
exit 0