diff options
author | garga <garga@FreeBSD.org> | 2006-03-19 00:08:47 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-03-19 00:08:47 +0800 |
commit | 09bdbb17bfca7b84ed002f0b8e034f826df2c0f0 (patch) | |
tree | eab26584065efb02360f78159df652eedbddb1ee /net-im/jabber/pkg-install | |
parent | 27cac55d6713090036d1db186aa22d6a00b2f233 (diff) | |
download | freebsd-ports-gnome-09bdbb17bfca7b84ed002f0b8e034f826df2c0f0.tar.gz freebsd-ports-gnome-09bdbb17bfca7b84ed002f0b8e034f826df2c0f0.tar.zst freebsd-ports-gnome-09bdbb17bfca7b84ed002f0b8e034f826df2c0f0.zip |
- Back it to 1.4.3.1 version since transports doesn't work correct with 1.4.4
version.
- bump PORTEPOCH
- Since jabber-1.4.x is obsolete and vulnerable, mark it as DEPRECATED and
set an EXPIRATION_DATE.
- Drop maintainership, i'm using ejabberd now.
Diffstat (limited to 'net-im/jabber/pkg-install')
-rw-r--r-- | net-im/jabber/pkg-install | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/net-im/jabber/pkg-install b/net-im/jabber/pkg-install index 8b6db8b6a711..926e79391c4c 100644 --- a/net-im/jabber/pkg-install +++ b/net-im/jabber/pkg-install @@ -9,7 +9,6 @@ GROUP=${USER} UID=93 GID=${UID} SPOOLDIR="/var/spool/jabber" -PIDDIR="/var/run/jabberd" ETCDIR=${PREFIX:-$PKG_PREFIX}/etc if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then @@ -42,24 +41,16 @@ echo "Fixing ownerships and modes in \"${SPOOLDIR}\"." chown -R ${USER}:${GROUP} ${SPOOLDIR} chmod -R go= ${SPOOLDIR} -if [ ! -d ${PIDDIR} ]; then - echo "Creating \"${PIDDIR}\"." - mkdir -p ${PIDDIR} -fi - -echo "Fixing ownerships and modes in \"${PIDDIR}\"." -chown -R ${USER}:${GROUP} ${PIDDIR} - if [ ! -f ${ETCDIR}/jabber.xml ]; then echo "Creating \"${ETCDIR}/jabber.xml\"." - cp -p ${ETCDIR}/jabber.xml.dist ${ETCDIR}/jabber.xml + cp -p ${ETCDIR}/jabber.xml.sample ${ETCDIR}/jabber.xml fi echo "Fixing config files ownerships and modes." -chown root:${GROUP} ${ETCDIR}/jabber.xml ${ETCDIR}/jabber.xml.dist -chmod 640 ${ETCDIR}/jabber.xml ${ETCDIR}/jabber.xml.dist +chown root:${GROUP} ${ETCDIR}/jabber.xml ${ETCDIR}/jabber.xml.sample +chmod 640 ${ETCDIR}/jabber.xml ${ETCDIR}/jabber.xml.sample echo "Fixing log files, ownerships and modes." -touch /var/log/jabberd/error.log /var/log/jabberd/record.log -chown ${USER}:${GROUP} /var/log/jabberd/error.log /var/log/jabberd/record.log -chmod 640 /var/log/jabberd/error.log /var/log/jabberd/record.log +touch /var/log/jabber.error /var/log/jabber.record +chown ${USER}:${GROUP} /var/log/jabber.error /var/log/jabber.record +chmod 640 /var/log/jabber.error /var/log/jabber.record |