diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-19 12:20:22 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-19 12:20:22 +0800 |
commit | 8e0ce07ae4e010c3aad4af66f79a0e9337dda614 (patch) | |
tree | 5271d5ca6db2cc9b9aa91fb1ade920a3099e1b37 /net | |
parent | 4c52c9067b06ff76694d44e2bd5819fc06e974fe (diff) | |
download | freebsd-ports-gnome-8e0ce07ae4e010c3aad4af66f79a0e9337dda614.tar.gz freebsd-ports-gnome-8e0ce07ae4e010c3aad4af66f79a0e9337dda614.tar.zst freebsd-ports-gnome-8e0ce07ae4e010c3aad4af66f79a0e9337dda614.zip |
add jabber-conference 0.4.1
Jabber User Directory module
PR: 37208
Submitted by: Sean Chittenden <sean@chittenden.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/jabber-conference/Makefile | 31 | ||||
-rw-r--r-- | net/jabber-conference/distinfo | 1 | ||||
-rw-r--r-- | net/jabber-conference/files/patch-aa | 12 | ||||
-rw-r--r-- | net/jabber-conference/pkg-comment | 1 | ||||
-rw-r--r-- | net/jabber-conference/pkg-descr | 5 | ||||
-rw-r--r-- | net/jabber-conference/pkg-message | 75 | ||||
-rw-r--r-- | net/jabber-conference/pkg-plist | 1 |
8 files changed, 127 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index aaca1cf23924..b7217d1e0ef3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -191,6 +191,7 @@ SUBDIR += isc-dhcp3 SUBDIR += isic SUBDIR += jabber + SUBDIR += jabber-conference SUBDIR += jags SUBDIR += javadc SUBDIR += jift diff --git a/net/jabber-conference/Makefile b/net/jabber-conference/Makefile new file mode 100644 index 000000000000..814bd455f310 --- /dev/null +++ b/net/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/jabber-conference/distinfo b/net/jabber-conference/distinfo new file mode 100644 index 000000000000..384104d13675 --- /dev/null +++ b/net/jabber-conference/distinfo @@ -0,0 +1 @@ +MD5 (jabber/conference-0.4.1.tar.gz) = 01b825d9f917674f25fdba29255d081b diff --git a/net/jabber-conference/files/patch-aa b/net/jabber-conference/files/patch-aa new file mode 100644 index 000000000000..f430df919a23 --- /dev/null +++ b/net/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/jabber-conference/pkg-comment b/net/jabber-conference/pkg-comment new file mode 100644 index 000000000000..247740c3b84f --- /dev/null +++ b/net/jabber-conference/pkg-comment @@ -0,0 +1 @@ +Jabber User Directory module diff --git a/net/jabber-conference/pkg-descr b/net/jabber-conference/pkg-descr new file mode 100644 index 000000000000..200de6bc05a2 --- /dev/null +++ b/net/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/jabber-conference/pkg-message b/net/jabber-conference/pkg-message new file mode 100644 index 000000000000..e69d51816582 --- /dev/null +++ b/net/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/jabber-conference/pkg-plist b/net/jabber-conference/pkg-plist new file mode 100644 index 000000000000..9335e35a1ee8 --- /dev/null +++ b/net/jabber-conference/pkg-plist @@ -0,0 +1 @@ +lib/jabber/conference.so |