diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:20:22 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:20:22 +0000 |
commit | 99f743496cb69518888a684360e64669a2b4da88 (patch) | |
tree | 41fbd5eceb802dd86c4db80fbfc215f834651810 /net-im | |
parent | Say goodbye to Qt 1.x and all of its dependents. The one port I found (diff) |
add jabber-conference 0.4.1
Jabber User Directory module
PR: 37208
Submitted by: Sean Chittenden <sean@chittenden.org>
Notes
Notes:
svn path=/head/; revision=57873
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabber-conference/Makefile | 31 | ||||
-rw-r--r-- | net-im/jabber-conference/distinfo | 1 | ||||
-rw-r--r-- | net-im/jabber-conference/files/patch-aa | 12 | ||||
-rw-r--r-- | net-im/jabber-conference/pkg-comment | 1 | ||||
-rw-r--r-- | net-im/jabber-conference/pkg-descr | 5 | ||||
-rw-r--r-- | net-im/jabber-conference/pkg-message | 75 | ||||
-rw-r--r-- | net-im/jabber-conference/pkg-plist | 1 |
7 files changed, 126 insertions, 0 deletions
diff --git a/net-im/jabber-conference/Makefile b/net-im/jabber-conference/Makefile new file mode 100644 index 000000000000..814bd455f310 --- /dev/null +++ b/net-im/jabber-conference/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: jabber-conference +# Date created: 15 Apr 2002 +# Whom: Sean Chittenden <sean@chittenden.org> +# +# $FreeBSD$ + +PORTNAME= conference +PORTVERSION= 0.4.1 +CATEGORIES= net +MASTER_SITES= http://download.jabber.org/dists/1.4/final/ +PKGNAMEPREFIX= jabber- +DIST_SUBDIR= jabber + +MAINTAINER= sean@chittenden.org + +BUILD_DEPENDS= ${LOCALBASE}/sbin/jabberd:${PORTSDIR}/net/jabber + +USE_GMAKE= yes + +CONFIGURE_ARGS+= --with-jabberd=${PREFIX}/include/jabber + +post-patch: + @echo "${PREFIX}" > ${WRKSRC}/.prefix-freebsd + +do-install: + ${INSTALL_DATA} ${WRKSRC}/conference.so ${PREFIX}/lib/jabber/ + +post-install: + @cat pkg-message + +.include <bsd.port.mk> diff --git a/net-im/jabber-conference/distinfo b/net-im/jabber-conference/distinfo new file mode 100644 index 000000000000..384104d13675 --- /dev/null +++ b/net-im/jabber-conference/distinfo @@ -0,0 +1 @@ +MD5 (jabber/conference-0.4.1.tar.gz) = 01b825d9f917674f25fdba29255d081b diff --git a/net-im/jabber-conference/files/patch-aa b/net-im/jabber-conference/files/patch-aa new file mode 100644 index 000000000000..f430df919a23 --- /dev/null +++ b/net-im/jabber-conference/files/patch-aa @@ -0,0 +1,12 @@ +--- Makefile.orig Mon Apr 15 00:17:50 2002 ++++ Makefile Mon Apr 15 00:18:33 2002 +@@ -1,6 +1,7 @@ +-include ../platform-settings ++INCDIR= ${PREFIX}/include/jabber ++include ${INCDIR}/platform-settings + +-CFLAGS:=$(CFLAGS) -I../jabberd ++CFLAGS:=$(CFLAGS) -I${INCDIR} + + conference_OBJECTS=conference.o conference_room.o conference_user.o + diff --git a/net-im/jabber-conference/pkg-comment b/net-im/jabber-conference/pkg-comment new file mode 100644 index 000000000000..247740c3b84f --- /dev/null +++ b/net-im/jabber-conference/pkg-comment @@ -0,0 +1 @@ +Jabber User Directory module diff --git a/net-im/jabber-conference/pkg-descr b/net-im/jabber-conference/pkg-descr new file mode 100644 index 000000000000..200de6bc05a2 --- /dev/null +++ b/net-im/jabber-conference/pkg-descr @@ -0,0 +1,5 @@ +The Jabber server (jabberd) is a daemon for Jabber clients to connect +and communicate with. JUD is allows clients to search for other users. + +You can learn more about Jabber at: +WWW: http://server.jabber.org/ diff --git a/net-im/jabber-conference/pkg-message b/net-im/jabber-conference/pkg-message new file mode 100644 index 000000000000..e69d51816582 --- /dev/null +++ b/net-im/jabber-conference/pkg-message @@ -0,0 +1,75 @@ +NOTE: if you want this service to be accessible from other servers, + change any 'conference.localhost' or 'private.localhost' listed below + to a fully qualified domain name! Please make sure that your directives + are _NOT_ in an XML comment: there are many multi-line comments. + +Conference can be configured as a private conferencing server (no browse, +all rooms locked up). Add the following to make a private conferencing +server (around line 446 in the sample configuration file): + + <service id='private.localhost'> + <load><conference>${PREFIX}/lib/jabber/conference.so</conference></load> + <conference xmlns="jabberd:config:conference"> + <private/> + <history>30</history> + <vCard> + <FN>Private Conferences</FN> + <DESC>This service is for private conferencing rooms.</DESC> + <URL>http://foo.bar/</URL> + </vCard> + <notice> + <join> has become available</join> + <leave> has left</leave> + <rename> is now known as </rename> + </notice> + </conference> + </service> + +Add this section to the browse area of the jsm service to advertise it +to your users (around line 246 of the sample config file): + + <conference type="private" jid="private.localhost" name="Private Conferencing"/> + + +Conference can ALSO be configured as a public chatroom server (add this +around line 446 in the sample config file): + +(NOTE: don't forget to change the secret and note that this is transmitted + in plain text.) + + <service id='conference.localhost'> + <load><conference>${PREFIX}/lib/jabber/conference.so</conference></load> + <conference xmlns="jabber:config:conference"> + <public/> + <vCard> + <FN>Public Chatrooms</FN> + <DESC>This service is for public chatrooms.</DESC> + <URL>http://foo.bar/</URL> + </vCard> + <history>20</history> + <notice> + <join> has become available</join> + <leave> has left</leave> + <rename> is now known as </rename> + </notice> + <room jid="help@conference.localhost"> + <name>Assistance Zone</name> + <privacy/> + </room> + <room jid="admin@conference.localhost"> + <name>Adminz only</name> + <secret>con0r</secret> + <notice> + <join> just rocks!</join> + <leave> gets lost</leave> + <rename> feels it is more important to be known as </rename> + </notice> + </room> + </conference> + </service> + +Add this section to the browse area of the jsm service to advertise it +to your users (around line 246 of the sample configuration file): + + <conference type="public" jid="conference.localhost" name="Public Chatrooms"/> + diff --git a/net-im/jabber-conference/pkg-plist b/net-im/jabber-conference/pkg-plist new file mode 100644 index 000000000000..9335e35a1ee8 --- /dev/null +++ b/net-im/jabber-conference/pkg-plist @@ -0,0 +1 @@ +lib/jabber/conference.so |