1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

add jabber-conference 0.4.1

Jabber User Directory module

PR:		37208
Submitted by:	Sean Chittenden <sean@chittenden.org>
This commit is contained in:
Ying-Chieh Liao 2002-04-19 04:20:22 +00:00
parent e05ed36727
commit 99f743496c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57873
15 changed files with 253 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (jabber/conference-0.4.1.tar.gz) = 01b825d9f917674f25fdba29255d081b

View File

@ -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

View File

@ -0,0 +1 @@
Jabber User Directory module

View File

@ -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/

View File

@ -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"/>

View File

@ -0,0 +1 @@
lib/jabber/conference.so

View File

@ -191,6 +191,7 @@
SUBDIR += isc-dhcp3
SUBDIR += isic
SUBDIR += jabber
SUBDIR += jabber-conference
SUBDIR += jags
SUBDIR += javadc
SUBDIR += jift

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (jabber/conference-0.4.1.tar.gz) = 01b825d9f917674f25fdba29255d081b

View File

@ -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

View File

@ -0,0 +1 @@
Jabber User Directory module

View File

@ -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/

View File

@ -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"/>

View File

@ -0,0 +1 @@
lib/jabber/conference.so