aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabber-jud
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-19 04:25:53 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-19 04:25:53 +0000
commitaaae62c6e6ff6502d5d8467b4f44fedfc7c79775 (patch)
tree8c29fb89157b78f6254536264fb831c7f90ef2f6 /net-im/jabber-jud
parent9f62a612e6363e9d51de06ca6118dfd98c387d27 (diff)
downloadports-aaae62c6e6ff6502d5d8467b4f44fedfc7c79775.tar.gz
ports-aaae62c6e6ff6502d5d8467b4f44fedfc7c79775.zip
Notes
Diffstat (limited to 'net-im/jabber-jud')
-rw-r--r--net-im/jabber-jud/Makefile29
-rw-r--r--net-im/jabber-jud/distinfo1
-rw-r--r--net-im/jabber-jud/files/patch-aa12
-rw-r--r--net-im/jabber-jud/pkg-comment1
-rw-r--r--net-im/jabber-jud/pkg-descr5
-rw-r--r--net-im/jabber-jud/pkg-message32
-rw-r--r--net-im/jabber-jud/pkg-plist1
7 files changed, 81 insertions, 0 deletions
diff --git a/net-im/jabber-jud/Makefile b/net-im/jabber-jud/Makefile
new file mode 100644
index 000000000000..3abc0c86d2b9
--- /dev/null
+++ b/net-im/jabber-jud/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: jabber-jud
+# Date created: 14 Apr 2002
+# Whom: Sean Chittenden <sean@chittenden.org>
+#
+# $FreeBSD$
+
+PORTNAME= jud
+PORTVERSION= 0.4
+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
+
+post-patch:
+ @echo "${PREFIX}" > ${WRKSRC}/.prefix-freebsd
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/jud.so ${PREFIX}/lib/jabber/
+
+post-install:
+ @cat pkg-message
+
+.include <bsd.port.mk>
diff --git a/net-im/jabber-jud/distinfo b/net-im/jabber-jud/distinfo
new file mode 100644
index 000000000000..32a50fe808e5
--- /dev/null
+++ b/net-im/jabber-jud/distinfo
@@ -0,0 +1 @@
+MD5 (jabber/jud-0.4.tar.gz) = a057e8dd5966fa0d26ded03697ba395a
diff --git a/net-im/jabber-jud/files/patch-aa b/net-im/jabber-jud/files/patch-aa
new file mode 100644
index 000000000000..4d3b47dd85b1
--- /dev/null
+++ b/net-im/jabber-jud/files/patch-aa
@@ -0,0 +1,12 @@
+--- Makefile.orig Sun Apr 14 21:28:26 2002
++++ Makefile Sun Apr 14 21:53:11 2002
+@@ -1,6 +1,7 @@
+-include ../platform-settings
++INCDIR= ${PREFIX}/include/jabber
++include ${INCDIR}/platform-settings
+
+-CFLAGS:=$(CFLAGS) -I../jabberd
++CFLAGS:=$(CFLAGS) -I${INCDIR}
+
+ jud_OBJECTS=jud.o jud_reg.o jud_search.o
+
diff --git a/net-im/jabber-jud/pkg-comment b/net-im/jabber-jud/pkg-comment
new file mode 100644
index 000000000000..247740c3b84f
--- /dev/null
+++ b/net-im/jabber-jud/pkg-comment
@@ -0,0 +1 @@
+Jabber User Directory module
diff --git a/net-im/jabber-jud/pkg-descr b/net-im/jabber-jud/pkg-descr
new file mode 100644
index 000000000000..200de6bc05a2
--- /dev/null
+++ b/net-im/jabber-jud/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-jud/pkg-message b/net-im/jabber-jud/pkg-message
new file mode 100644
index 000000000000..4380f3efcdd1
--- /dev/null
+++ b/net-im/jabber-jud/pkg-message
@@ -0,0 +1,32 @@
+To activate JUD for your Jabber server, add the following (around line 36 in
+the sample configuration file) to your configuration file
+(${LOCALBASE}/etc/jabber.xml):
+
+
+ <!--
+ If you want this service to be accessible from other servers,
+ change 'jud.localhost' to the server's fully qualified domain name!
+ Also note that ${LOCALBASE} should be changed to your local base
+ (ex: /usr/local).
+ -->
+ <service id="jud">
+ <host>jud.localhost</host>
+ <load><jud>${LOCALBASE}/lib/jabber/jud.so</jud></load>
+ <jud xmlns="jabber:config:jud">
+ <vCard>
+ <FN>Local Organization's User Directory</FN>
+ <DESC>This service provides a simple user directory service.</DESC>
+ <URL>http://foo.bar/</URL>
+ </vCard>
+ </jud>
+ </service>
+
+Add this section to the browse area of the jsm service to advertise it to
+your users (around line 245 of the sample config):
+
+ <service type="jud" jid="jud.localhost" name="My Organization's User Directory">
+ <ns>jabber:iq:search</ns>
+ <ns>jabber:iq:register</ns>
+ </service>
+
+Be sure to restart your server after reconfiguring.
diff --git a/net-im/jabber-jud/pkg-plist b/net-im/jabber-jud/pkg-plist
new file mode 100644
index 000000000000..e4f9ad4f120a
--- /dev/null
+++ b/net-im/jabber-jud/pkg-plist
@@ -0,0 +1 @@
+lib/jabber/jud.so