diff options
author | joe <joe@FreeBSD.org> | 2001-02-13 03:44:39 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-02-13 03:44:39 +0800 |
commit | 4535e6a06a511d174e6e4e0249e9655d5e2253c3 (patch) | |
tree | 04e50ecbc5df2565dc32fb950eefec467cc790ab /net/jabber/pkg-install | |
parent | 253217e11135bea324d4f0b574b05d26396d7ad6 (diff) | |
download | freebsd-ports-gnome-4535e6a06a511d174e6e4e0249e9655d5e2253c3.tar.gz freebsd-ports-gnome-4535e6a06a511d174e6e4e0249e9655d5e2253c3.tar.zst freebsd-ports-gnome-4535e6a06a511d174e6e4e0249e9655d5e2253c3.zip |
Port of the Jabber instant messaging server, version 1.4.
This replaces net/jabber-transport, and was repo-copied from there.
Diffstat (limited to 'net/jabber/pkg-install')
-rw-r--r-- | net/jabber/pkg-install | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/net/jabber/pkg-install b/net/jabber/pkg-install index 9a0bf378ad65..fc8486a5f2bc 100644 --- a/net/jabber/pkg-install +++ b/net/jabber/pkg-install @@ -107,9 +107,9 @@ EOF exit 1 fi - user=jserver - group=jserver - spooldir="/var/jspool" + user=jabber + group=jabber + spooldir="/var/spool/jabber" etcdir=${PREFIX:-$PKG_PREFIX}/etc echo "" @@ -124,33 +124,33 @@ EOF chown -R ${user}:${group} ${spooldir} chmod -R go= ${spooldir} - if [ ! -f ${etcdir}/jserver.xml ]; then - echo "Creating \"${etcdir}/jserver.xml\"." - cp -p ${etcdir}/jserver.xml.default ${etcdir}/jserver.xml + if [ ! -f ${etcdir}/jabber.xml ]; then + echo "Creating \"${etcdir}/jabber.xml\"." + cp -p ${etcdir}/jabber.xml.sample ${etcdir}/jabber.xml fi echo "Fixing config files ownerships and modes." - chown root:${group} ${etcdir}/jserver.xml ${etcdir}/jserver.xml.default - chmod 640 ${etcdir}/jserver.xml ${etcdir}/jserver.xml.default + chown root:${group} ${etcdir}/jabber.xml ${etcdir}/jabber.xml.sample + chmod 640 ${etcdir}/jabber.xml ${etcdir}/jabber.xml.sample - if [ ! -f /var/log/jserver.log ]; then - echo "Creating \"/var/log/jserver.log\"." - cp /dev/null /var/log/jserver.log + if [ ! -f /var/log/jabber.log ]; then + echo "Creating \"/var/log/jabber.log\"." + cp /dev/null /var/log/jabber.log fi - if [ ! -f /var/log/jserver.error ]; then - echo "Creating \"/var/log/jserver.error\"." - cp /dev/null /var/log/jserver.error + if [ ! -f /var/log/jabber.error ]; then + echo "Creating \"/var/log/jabber.error\"." + cp /dev/null /var/log/jabber.error fi - if [ ! -f /var/log/jserver_packet.log ]; then - echo "Creating \"/var/log/jserver_packet.log\"." - cp /dev/null /var/log/jserver_packet.log + if [ ! -f /var/log/jabber.record ]; then + echo "Creating \"/var/log/jabber.record\"." + cp /dev/null /var/log/jabber.record fi echo "Fixing log files ownerships and modes." - chown ${user}:${group} /var/log/jserver.log /var/log/jserver.error /var/log/jserver_packet.log - chmod 600 /var/log/jserver.log /var/log/jserver.error /var/log/jserver_packet.log + chown ${user}:${group} /var/log/jabber.log /var/log/jabber.error /var/log/jabber.record + chmod 640 /var/log/jabber.log /var/log/jabber.error /var/log/jabber.record ;; esac |