summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-18 14:42:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-18 14:42:49 +0000
commit09916f705070b8ad858675873252f4b624a61cfd (patch)
tree266cb88a317a6791290aebf7adde54e2d7986903 /net-im
parent- add patch to fix connections that stay in CLOSE_WAIT (diff)
An implemention of the Jabber conference server using the protocol defined in
JEP-0045. PR: ports/62585 Submitted by: Denis Shaposhnikov <dsh@neva.vlink.ru>
Notes
Notes: svn path=/head/; revision=129182
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mu-conference/Makefile42
-rw-r--r--net-im/mu-conference/distinfo4
-rw-r--r--net-im/mu-conference/files/patch-src-jcomp.mk11
-rw-r--r--net-im/mu-conference/pkg-descr4
-rw-r--r--net-im/mu-conference/pkg-plist5
5 files changed, 66 insertions, 0 deletions
diff --git a/net-im/mu-conference/Makefile b/net-im/mu-conference/Makefile
new file mode 100644
index 000000000000..800d46c6b99a
--- /dev/null
+++ b/net-im/mu-conference/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: mu-conference
+# Date created: Mon Feb 9 15:34:59 MSK 2004
+# Whom: Denis Shaposhnikov <dsh@vlink.ru>
+#
+# $FreeBSD$
+
+PORTNAME= mu-conference
+PORTVERSION= 0.6.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GENTOO} \
+ http://jabber.terrapin.com/JCR/:jcr
+MASTER_SITE_SUBDIR= distfiles
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jcr-${JCR_VER}.tar.gz:jcr
+
+MAINTAINER= dsh@vlink.ru
+COMMENT= Multi-User Conferencing component for Jabber
+
+USE_GNOME= glib20
+WRKSRC= ${WRKDIR}/jcr-${JCR_VER}
+
+JCR_VER?= 0.2.4
+
+post-extract:
+ ${MV} ${WRKDIR}/${DISTNAME} ${WRKSRC}
+
+post-build:
+.for i in jcomp.mk main.c
+ ${CP} ${WRKSRC}/src/${i} ${WRKSRC}/${DISTNAME}/src/
+.endfor
+ (cd ${WRKSRC}/${DISTNAME}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} jcomp.mk)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/src/mu-conference ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/muc-jcr.xml ${PREFIX}/etc/muc.xml-dist
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in FAQ README
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-im/mu-conference/distinfo b/net-im/mu-conference/distinfo
new file mode 100644
index 000000000000..9289a1706df3
--- /dev/null
+++ b/net-im/mu-conference/distinfo
@@ -0,0 +1,4 @@
+MD5 (mu-conference-0.6.0.tar.gz) = e97433bf4a978329d639ce872bee3223
+SIZE (mu-conference-0.6.0.tar.gz) = 56272
+MD5 (jcr-0.2.4.tar.gz) = f88bcc4a8347fd1dd8ca50dff50341f3
+SIZE (jcr-0.2.4.tar.gz) = 128939
diff --git a/net-im/mu-conference/files/patch-src-jcomp.mk b/net-im/mu-conference/files/patch-src-jcomp.mk
new file mode 100644
index 000000000000..36114f01d1e4
--- /dev/null
+++ b/net-im/mu-conference/files/patch-src-jcomp.mk
@@ -0,0 +1,11 @@
+--- src/jcomp.mk.orig Sun Oct 26 15:35:19 2003
++++ src/jcomp.mk Mon Feb 9 16:03:18 2004
+@@ -25,7 +25,7 @@
+ #CFLAGS:=$(CFLAGS) -pipe -Os -I../../jabberd -I../include
+ #LIBS:=$(LIBS) /usr/local/lib/ccmalloc-gcc.o -lccmalloc
+ #LIBS:=$(LIBS) -lmemusage
+-LIBS:=$(LIBS) -ljcomp -lm `pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0`
++LIBS:=-ljcomp -lm `pkg-config --libs glib-2.0` `pkg-config --libs gthread-2.0`
+ LDFLAGS:=-L../../lib
+
+ conference_OBJECTS=conference.o conference_room.o conference_user.o utils.o xdata.o admin.o roles.o xdb.o hash.o main.o
diff --git a/net-im/mu-conference/pkg-descr b/net-im/mu-conference/pkg-descr
new file mode 100644
index 000000000000..6697422d4216
--- /dev/null
+++ b/net-im/mu-conference/pkg-descr
@@ -0,0 +1,4 @@
+An implemention of the conference server using the protocol defined in
+JEP-0045.
+
+WWW: http://www.jabberstudio.org/projects/mu-conference
diff --git a/net-im/mu-conference/pkg-plist b/net-im/mu-conference/pkg-plist
new file mode 100644
index 000000000000..3dd3a73287d3
--- /dev/null
+++ b/net-im/mu-conference/pkg-plist
@@ -0,0 +1,5 @@
+bin/mu-conference
+etc/muc.xml-dist
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%