diff options
Diffstat (limited to 'net-im/jabber')
-rw-r--r-- | net-im/jabber/Makefile | 56 | ||||
-rw-r--r-- | net-im/jabber/distinfo | 8 | ||||
-rw-r--r-- | net-im/jabber/files/jabberd.sh | 27 | ||||
-rw-r--r-- | net-im/jabber/files/patch-aa | 11 | ||||
-rw-r--r-- | net-im/jabber/files/patch-ab | 53 | ||||
-rw-r--r-- | net-im/jabber/files/patch-ac | 11 | ||||
-rw-r--r-- | net-im/jabber/files/patch-ad | 50 | ||||
-rw-r--r-- | net-im/jabber/files/patch-ae | 19 | ||||
-rw-r--r-- | net-im/jabber/files/patch-af | 19 | ||||
-rw-r--r-- | net-im/jabber/files/patch-ag | 12 | ||||
-rw-r--r-- | net-im/jabber/pkg-comment | 1 | ||||
-rw-r--r-- | net-im/jabber/pkg-deinstall | 71 | ||||
-rw-r--r-- | net-im/jabber/pkg-descr | 11 | ||||
-rw-r--r-- | net-im/jabber/pkg-install | 156 | ||||
-rw-r--r-- | net-im/jabber/pkg-plist | 28 |
15 files changed, 0 insertions, 533 deletions
diff --git a/net-im/jabber/Makefile b/net-im/jabber/Makefile deleted file mode 100644 index 7bdafdea3791..000000000000 --- a/net-im/jabber/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# New ports collection makefile for: jabber -# Date created: 5 February 2001 -# Whom: joe -# -# $FreeBSD$ -# - -PORTNAME= jabber -PORTVERSION= 1.4.1 -PORTREVISION= 1 -CATEGORIES= net -MASTER_SITES= http://download.jabber.org/dists/1.4/final/ -DISTFILES+= jabber-1.4.1.tar.gz \ - aim-transport-0.9.0.tar.gz \ - conference-0.4.1.tar.gz \ - icq-transport-0.9.tar.gz \ - irc-transport-0.1b-1.40.linux.tar.gz \ - jud-0.4.tar.gz \ - msn-transport-1.1.tar.gz \ - yahoo-transport-0.8-1.4.linux.tar.gz - -MAINTAINER= joe@FreeBSD.org - -LIB_DEPENDS= pth:${PORTSDIR}/devel/pth - -GNU_CONFIGURE= yes -USE_GMAKE= yes - -rc=${PREFIX}/etc/rc.d - -JABDIR= ${PORTNAME}-${PORTVERSION} -post-extract: - @mv ${WRKDIR}/aim-transport-0.9.0 ${WRKDIR}/${JABDIR}/aim-transport - @mv ${WRKDIR}/conference-0.4.1 ${WRKDIR}/${JABDIR}/conference - @mv ${WRKDIR}/icq-transport-0.9 ${WRKDIR}/${JABDIR}/icq-transport - @mv ${WRKDIR}/irc-transport-0.1b-1.40 ${WRKDIR}/${JABDIR}/irc-transport - @mv ${WRKDIR}/jud-0.4 ${WRKDIR}/${JABDIR}/jud - @mv ${WRKDIR}/msn-transport-1.1 ${WRKDIR}/${JABDIR}/msn-transport - @mv ${WRKDIR}/yahoo-transport-0.8-1.4 ${WRKDIR}/${JABDIR}/yahoo-transport - -post-configure: - ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \ - CPPFLAGS=`pth-config --cflags` \ - LDFLAGS=`pth-config --ldflags` \ - LIBS=`pth-config --libs` ${SHELL} -c \ - "cd ${WRKDIR}/${JABDIR}/aim-transport; ./configure; \ - cd ${WRKDIR}/${JABDIR}/irc-transport; \ - ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd; \ - cd ${WRKDIR}/${JABDIR}/yahoo-transport; \ - ./configure --includedir=${WRKDIR}/${JABDIR}/jabberd" - -post-install: - @PREFIX=${PREFIX} ${PERL5} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${INSTALL_SCRIPT} ${FILESDIR}/jabberd.sh ${rc} - -.include <bsd.port.mk> diff --git a/net-im/jabber/distinfo b/net-im/jabber/distinfo deleted file mode 100644 index 12bd01a1b696..000000000000 --- a/net-im/jabber/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -MD5 (jabber-1.4.1.tar.gz) = fc7afba8969e53c5e3b662156d1cdeae -MD5 (aim-transport-0.9.0.tar.gz) = 16af3cdaa008a30079f5a89ecc4dbc90 -MD5 (conference-0.4.1.tar.gz) = 01b825d9f917674f25fdba29255d081b -MD5 (icq-transport-0.9.tar.gz) = ffa69ae19ac18395c87470c1729dcc59 -MD5 (irc-transport-0.1b-1.40.linux.tar.gz) = 5ccf1bb828e3d813380f100e4d11f7f6 -MD5 (jud-0.4.tar.gz) = a057e8dd5966fa0d26ded03697ba395a -MD5 (msn-transport-1.1.tar.gz) = 251cd4b6cfc6c52a0f15c3ff2bfbfff9 -MD5 (yahoo-transport-0.8-1.4.linux.tar.gz) = 0850f8d36d7b1e8df656fa84d03c82ba diff --git a/net-im/jabber/files/jabberd.sh b/net-im/jabber/files/jabberd.sh deleted file mode 100644 index 5fe6dfd4c06b..000000000000 --- a/net-im/jabber/files/jabberd.sh +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/jabberd\.sh\$"); then - echo "$0: Cannot determine the PREFIX" >&2 - exit 1 -fi -user=jabber -rundir=/tmp -out=/var/log/jabber.log -hostname=`/bin/hostname` - -export PATH=/bin:/usr/bin:${PREFIX}/bin -umask 077 - -test -x ${PREFIX}/bin/jabberd || exit 1 -echo -n " jabberd" -cd ${rundir} || exit - -arg=${1:-start} -case $arg in -start) - su -f -m ${user} -c "jabberd -h ${hostname} -c ${PREFIX}/etc/jabber.xml" >${out} 2>&1 &;; - -stop) - killall jabberd; - rm -f /var/tmp/jabber.pid; -esac diff --git a/net-im/jabber/files/patch-aa b/net-im/jabber/files/patch-aa deleted file mode 100644 index 46021cd44f7b..000000000000 --- a/net-im/jabber/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Sat Feb 3 05:06:24 2001 -+++ configure Sat Feb 10 23:46:59 2001 -@@ -32,7 +32,7 @@ - LDFLAGS="$LDFLAGS" - LIBS="$LIBS" - XLDFLAGS="$XLDFLAGS " --JHOME=`pwd` -+JHOME='${PREFIX}/lib/jabber' - - ## - # Print a cool header diff --git a/net-im/jabber/files/patch-ab b/net-im/jabber/files/patch-ab deleted file mode 100644 index e3c1080d575f..000000000000 --- a/net-im/jabber/files/patch-ab +++ /dev/null @@ -1,53 +0,0 @@ ---- Makefile.orig Sun Jan 21 05:32:48 2001 -+++ Makefile Sat Jun 16 14:40:48 2001 -@@ -4,6 +4,15 @@ - include platform-settings - - SUBDIRS=pthsock xdb_file dnsrv jsm dialback jabberd -+SUBDIRS+=aim-transport -+SUBDIRS+=conference -+SUBDIRS+=icq-transport -+SUBDIRS+=irc-transport -+SUBDIRS+=jud -+SUBDIRS+=msn-transport -+SUBDIRS+=yahoo-transport -+ -+ - - all: all-recursive - -@@ -13,8 +22,33 @@ - - single: single-recursive - -+LIBDIR=${PREFIX}/lib/jabber - install: -- printf "\n\nNo actual make install, you just run it out of the directory!\n" -+ @install -c jabberd/jabberd ${PREFIX}/bin -+ @install -c jabber.xml ${PREFIX}/etc/jabber.xml.sample -+ @install -d ${LIBDIR}/jsm -+ @install -c jsm/jsm.so ${LIBDIR}/jsm -+ @install -d ${LIBDIR}/xdb_file -+ @install -c xdb_file/xdb_file.so ${LIBDIR}/xdb_file -+ @install -d ${LIBDIR}/pthsock -+ @install -c pthsock/pthsock_client.so ${LIBDIR}/pthsock -+ @install -d ${LIBDIR}/dnsrv -+ @install -c dnsrv/dnsrv.so ${LIBDIR}/dnsrv -+ @install -d ${LIBDIR}/dialback -+ @install -c dialback/dialback.so ${LIBDIR}/dialback -+ -+ @install -d ${LIBDIR}/aim-transport -+ @install -c aim-transport/src/aimtrans.so ${LIBDIR}/aim-transport -+ @install -d ${LIBDIR}/conference -+ @install -c conference/conference.so ${LIBDIR}/conference -+ @install -d ${LIBDIR}/icq-transport -+ @install -c icq-transport/icqtrans.so ${LIBDIR}/icq-transport -+ @install -d ${LIBDIR}/irc-transport -+ @install -c irc-transport/src/irc_transport.so ${LIBDIR}/irc-transport -+ @install -d ${LIBDIR}/msn-transport -+ @install -c msn-transport/msntrans.so ${LIBDIR}/msn-transport -+ @install -d ${LIBDIR}/yahoo-transport -+ @install -c yahoo-transport/src/yahootrans.so ${LIBDIR}/yahoo-transport - - all-local: - diff --git a/net-im/jabber/files/patch-ac b/net-im/jabber/files/patch-ac deleted file mode 100644 index 45e15e08afaa..000000000000 --- a/net-im/jabber/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- jabber.xml.orig Sat Feb 3 22:46:56 2001 -+++ jabber.xml Sun Feb 11 01:19:01 2001 -@@ -576,7 +576,7 @@ - <!-- - This specifies the file to store the pid of the process in. - --> -- <pidfile>./jabber.pid</pidfile> -+ <pidfile>/var/tmp/jabber.pid</pidfile> - - - </jabber> diff --git a/net-im/jabber/files/patch-ad b/net-im/jabber/files/patch-ad deleted file mode 100644 index 63266c9a12eb..000000000000 --- a/net-im/jabber/files/patch-ad +++ /dev/null @@ -1,50 +0,0 @@ ---- jabber.xml.orig Sun Feb 11 17:24:48 2001 -+++ jabber.xml Sun Feb 11 17:26:23 2001 -@@ -41,6 +41,10 @@ - Multiple <host/> entries are allowed - each one is for a - separate virtual server. Note that each host entry must - be on one line, the server doesn't like it otherwise! :) -+ -+ Currently on FreeBSD jabberd is started with the -h option -+ from /usr/local/etc/rc.d/jabberd.sh. You'll need to modify -+ this before changing below. - --> - - <host><jabberd:cmdline flag="h">localhost</jabberd:cmdline></host> -@@ -193,7 +197,9 @@ - entry for <host/> above. - --> - -+ <!-- - <update><jabberd:cmdline flag="h">localhost</jabberd:cmdline></update> -+ --> - - <!-- - This enables the server to automatically update the -@@ -298,7 +304,7 @@ - <xdb_file>./xdb_file/xdb_file.so</xdb_file> - </load> - <xdb_file xmlns="jabber:config:xdb_file"> -- <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool> -+ <spool><jabberd:cmdline flag='s'>/var/spool/jabber</jabberd:cmdline></spool> - </xdb_file> - </xdb> - -@@ -357,7 +363,7 @@ - <host/> - <logtype/> - <format>%d: [%t] (%h): %s</format> -- <file>error.log</file> -+ <file>/var/log/jabber.error</file> - <stderr/> - </log> - -@@ -370,7 +376,7 @@ - <host/> - <logtype>record</logtype> - <format>%d %h %s</format> -- <file>record.log</file> -+ <file>/var/log/jabber.record</file> - </log> - - <!-- The following two services are for handling server-to-server traffic. --> diff --git a/net-im/jabber/files/patch-ae b/net-im/jabber/files/patch-ae deleted file mode 100644 index c07658cca85c..000000000000 --- a/net-im/jabber/files/patch-ae +++ /dev/null @@ -1,19 +0,0 @@ ---- irc-transport/src/Makefile.in.orig Wed Feb 7 18:31:02 2001 -+++ irc-transport/src/Makefile.in Sat Jun 16 13:38:46 2001 -@@ -31,6 +31,7 @@ - mandir = @mandir@ - includedir = @includedir@ - oldincludedir = /usr/include -+localinclude = /usr/local/include - - DESTDIR = - -@@ -72,7 +73,7 @@ - VERSION = @VERSION@ - - CFLAGS = -g -fPIC -shared --INCLUDES = -I$(JABBERD_INC) -I$(top_builddir)/include -+INCLUDES = -I$(JABBERD_INC) -I$(top_builddir)/include -I$(includedir) -I$(localinclude) - bin_PROGRAMS = irc_transport.so - - irc_transport_so_SOURCES = util.c init.c irc_in.c irc_out.c diff --git a/net-im/jabber/files/patch-af b/net-im/jabber/files/patch-af deleted file mode 100644 index 78b739541596..000000000000 --- a/net-im/jabber/files/patch-af +++ /dev/null @@ -1,19 +0,0 @@ ---- yahoo-transport/src/Makefile.in.orig Wed Feb 7 18:15:42 2001 -+++ yahoo-transport/src/Makefile.in Sat Jun 16 14:17:47 2001 -@@ -31,6 +31,7 @@ - mandir = @mandir@ - includedir = @includedir@ - oldincludedir = /usr/include -+localinclude = /usr/local/include - - DESTDIR = - -@@ -72,7 +73,7 @@ - - CC = gcc - CFLAGS = -g -Wall -fPIC --INCLUDES = -I$(JABBERD_INC) -I$(includedir) -I$(top_builddir)/include -+INCLUDES = -I$(JABBERD_INC) -I$(top_builddir)/include -I$(includedir) -I$(localinclude) - - bin_PROGRAMS = yahootrans.so - diff --git a/net-im/jabber/files/patch-ag b/net-im/jabber/files/patch-ag deleted file mode 100644 index f855814c10ff..000000000000 --- a/net-im/jabber/files/patch-ag +++ /dev/null @@ -1,12 +0,0 @@ ---- msn-transport/Makefile.orig Mon Feb 5 09:25:59 2001 -+++ msn-transport/Makefile Tue Sep 4 08:12:05 2001 -@@ -1,7 +1,7 @@ - include ../platform-settings - --CC=gcc --CFLAGS:=$(CFLAGS) $(DEFINES) -I../jabberd/ -Wall -g -O2 -+#CC=gcc -+CFLAGS:=$(CFLAGS) $(DEFINES) -I../jabberd/ # -Wall -g -O2 - - msntrans_HEADERS=msntrans.h ../jabberd/jabberd.h - diff --git a/net-im/jabber/pkg-comment b/net-im/jabber/pkg-comment deleted file mode 100644 index d056377943d4..000000000000 --- a/net-im/jabber/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Online presence and instant messaging server diff --git a/net-im/jabber/pkg-deinstall b/net-im/jabber/pkg-deinstall deleted file mode 100644 index 0248658c829f..000000000000 --- a/net-im/jabber/pkg-deinstall +++ /dev/null @@ -1,71 +0,0 @@ -#! /bin/sh - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -delete_account() { - local u g home - - u=$1 - g=$2 - if yesno "Do you want me to remove group \"${g}\"" y; then - pw groupdel -n ${g} - echo "Done." - fi - if yesno "Do you want me to remove user \"${u}\"" y; then - eval home=~${u} - pw userdel -n ${u} - echo "Done." - if [ -d "${home}" ]; then - echo "Please remember to remove the home directory \"${home}\" as" - echo "well as the mirrored files." - fi - fi -} - -if [ x$2 != xDEINSTALL ]; then - exit -fi - -export PATH=/bin:/usr/bin:/usr/sbin - -user=jabber -group=jabber - -if ps -axc | grep -q jabberd; then - if yesno "There are some jabberd processes running. Shall I kill them" y - then - killall jabberd - sleep 2 - else - echo "OK ... I hope you know what you are doing." - fi -fi - -delete_account ${user} ${group} diff --git a/net-im/jabber/pkg-descr b/net-im/jabber/pkg-descr deleted file mode 100644 index 29b00f2a9bc8..000000000000 --- a/net-im/jabber/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -The Jabber server (jabberd) is a daemon for Jabber clients to connect -and communicate with. - -After editing $PREFIX/etc/jabber.xml, the server can be started by -rc.d script. - -Complete information about configuration can be found in the Jabber Server -mini-HOWTO at http://docs.jabber.org/. - -You can learn more about Jabber at -WWW: http://server.jabber.org/ diff --git a/net-im/jabber/pkg-install b/net-im/jabber/pkg-install deleted file mode 100644 index fc8486a5f2bc..000000000000 --- a/net-im/jabber/pkg-install +++ /dev/null @@ -1,156 +0,0 @@ -#! /bin/sh - -chmods_done=" " - -ask() { - local question default answer - - question=$1 - default=$2 - if [ -z "${PACKAGE_BUILDING}" ]; then - read -p "${question} [${default}]? " answer - fi - if [ x${answer} = x ]; then - answer=${default} - fi - echo ${answer} -} - -yesno() { - local dflt question answer - - question=$1 - dflt=$2 - while :; do - answer=$(ask "${question}" "${dflt}") - case "${answer}" in - [Yy]*) return 0;; - [Nn]*) return 1;; - esac - echo "Please answer yes or no." - done -} - -make_account() { - local u g gcos homeopt home - - u=$1 - g=$2 - gcos=$3 - homeopt=${4:+"-d $4"} - - if pw group show "${g}" >/dev/null 2>&1; then - echo "You already have a group \"${g}\", so I will use it." - else - echo "You need a group \"${g}\"." - if which -s pw && yesno "Would you like me to create it" y; then - pw groupadd ${g} || exit - echo "Done." - else - echo "Please create it, and try again." - if ! grep -q "^${u}:" /etc/passwd; then - echo "While you're at it, please create a user \"${u}\" too," - echo "with a default group of \"${g}\"." - fi - exit 1 - fi - fi - - if pw user show "${u}" >/dev/null 2>&1; then - echo "You already have a user \"${u}\", so I will use it." - else - echo "You need a user \"${u}\"." - if which -s pw && yesno "Would you like me to create it" y; then - pw useradd ${u} -g ${g} -h - ${homeopt} \ - -s /nonexistent -c "${gcos}" || exit - echo "Done." - else - echo "Please create it, and try again." - exit 1 - fi - fi - - if [ x"$homeopt" = x ]; then - eval home=~${u} - if [ ! -d "${home}" ]; then - if yesno \ - "Would you like me to create ${u}'s home directory (${home})" y - then - (umask 77 && \ - mkdir -p ${home}) || exit - chown -R ${u}:${g} ${home} || exit - else - echo "Please create it, and try again." - exit 1 - fi - fi - fi -} - -case $2 in - -POST-INSTALL) - if which -s pw && which -s lockf; then - : - else - cat <<EOF - -This system looks like a pre-2.2 version of FreeBSD. I see that it -is missing the "lockf" and/or "pw" utilities. I need these utilities. -Please get them and install them, and try again. You can get the -sources from: - - ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.bin/lockf.tar.gz - ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/pw.tar.gz - -EOF - exit 1 - fi - - user=jabber - group=jabber - spooldir="/var/spool/jabber" - etcdir=${PREFIX:-$PKG_PREFIX}/etc - - echo "" - make_account ${user} ${group} "Jabber Daemon" "/nonexistent" - - if [ ! -d ${spooldir} ]; then - echo "Creating \"${spooldir}\"." - mkdir -p ${spooldir} - fi - - echo "Fixing ownerships and modes in \"${spooldir}\"." - chown -R ${user}:${group} ${spooldir} - chmod -R go= ${spooldir} - - 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}/jabber.xml ${etcdir}/jabber.xml.sample - chmod 640 ${etcdir}/jabber.xml ${etcdir}/jabber.xml.sample - - 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/jabber.error ]; then - echo "Creating \"/var/log/jabber.error\"." - cp /dev/null /var/log/jabber.error - fi - - 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/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 diff --git a/net-im/jabber/pkg-plist b/net-im/jabber/pkg-plist deleted file mode 100644 index 008e57af317e..000000000000 --- a/net-im/jabber/pkg-plist +++ /dev/null @@ -1,28 +0,0 @@ -bin/jabberd -@unexec if cmp -s %D/etc/jabber.xml.sample %D/etc/jabber.xml; then rm -f %D/etc/jabber.xml; fi -etc/jabber.xml.sample -etc/rc.d/jabberd.sh -lib/jabber/aim-transport/aimtrans.so -lib/jabber/conference/conference.so -lib/jabber/dialback/dialback.so -lib/jabber/dnsrv/dnsrv.so -lib/jabber/icq-transport/icqtrans.so -lib/jabber/irc-transport/irc_transport.so -lib/jabber/jsm/jsm.so -lib/jabber/msn-transport/msntrans.so -lib/jabber/pthsock/pthsock_client.so -lib/jabber/xdb_file/xdb_file.so -lib/jabber/yahoo-transport/yahootrans.so -@dirrm lib/jabber/aim-transport -@dirrm lib/jabber/conference -@dirrm lib/jabber/dialback -@dirrm lib/jabber/dnsrv -@dirrm lib/jabber/icq-transport -@dirrm lib/jabber/irc-transport -@dirrm lib/jabber/jsm -@dirrm lib/jabber/msn-transport -@dirrm lib/jabber/pthsock -@dirrm lib/jabber/xdb_file -@dirrm lib/jabber/yahoo-transport -@dirrm lib/jabber -@unexec rmdir /var/spool/jabber 2>/dev/null || true |