From 99f743496cb69518888a684360e64669a2b4da88 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 19 Apr 2002 04:20:22 +0000 Subject: [PATCH] add jabber-conference 0.4.1 Jabber User Directory module PR: 37208 Submitted by: Sean Chittenden --- net-im/jabber-conference/Makefile | 31 ++++++++++ net-im/jabber-conference/distinfo | 1 + net-im/jabber-conference/files/patch-aa | 12 ++++ net-im/jabber-conference/pkg-comment | 1 + net-im/jabber-conference/pkg-descr | 5 ++ net-im/jabber-conference/pkg-message | 75 +++++++++++++++++++++++++ net-im/jabber-conference/pkg-plist | 1 + net/Makefile | 1 + net/jabber-conference/Makefile | 31 ++++++++++ net/jabber-conference/distinfo | 1 + net/jabber-conference/files/patch-aa | 12 ++++ net/jabber-conference/pkg-comment | 1 + net/jabber-conference/pkg-descr | 5 ++ net/jabber-conference/pkg-message | 75 +++++++++++++++++++++++++ net/jabber-conference/pkg-plist | 1 + 15 files changed, 253 insertions(+) create mode 100644 net-im/jabber-conference/Makefile create mode 100644 net-im/jabber-conference/distinfo create mode 100644 net-im/jabber-conference/files/patch-aa create mode 100644 net-im/jabber-conference/pkg-comment create mode 100644 net-im/jabber-conference/pkg-descr create mode 100644 net-im/jabber-conference/pkg-message create mode 100644 net-im/jabber-conference/pkg-plist create mode 100644 net/jabber-conference/Makefile create mode 100644 net/jabber-conference/distinfo create mode 100644 net/jabber-conference/files/patch-aa create mode 100644 net/jabber-conference/pkg-comment create mode 100644 net/jabber-conference/pkg-descr create mode 100644 net/jabber-conference/pkg-message create mode 100644 net/jabber-conference/pkg-plist 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 +# +# $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 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): + + + ${PREFIX}/lib/jabber/conference.so + + + 30 + + Private Conferences + This service is for private conferencing rooms. + http://foo.bar/ + + + has become available + has left + is now known as + + + + +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 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.) + + + ${PREFIX}/lib/jabber/conference.so + + + + Public Chatrooms + This service is for public chatrooms. + http://foo.bar/ + + 20 + + has become available + has left + is now known as + + + Assistance Zone + + + + Adminz only + con0r + + just rocks! + gets lost + feels it is more important to be known as + + + + + +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): + + + 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 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 +# +# $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 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): + + + ${PREFIX}/lib/jabber/conference.so + + + 30 + + Private Conferences + This service is for private conferencing rooms. + http://foo.bar/ + + + has become available + has left + is now known as + + + + +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 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.) + + + ${PREFIX}/lib/jabber/conference.so + + + + Public Chatrooms + This service is for public chatrooms. + http://foo.bar/ + + 20 + + has become available + has left + is now known as + + + Assistance Zone + + + + Adminz only + con0r + + just rocks! + gets lost + feels it is more important to be known as + + + + + +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): + + + 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