Put datafiles in /var/jabber directory.
Remind to remove this directory manually on deinstall.
This commit is contained in:
parent
b635444c7d
commit
75fdd3fbc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97030
@ -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}'
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}'
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user