diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:25:53 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-19 04:25:53 +0000 |
commit | aaae62c6e6ff6502d5d8467b4f44fedfc7c79775 (patch) | |
tree | 8c29fb89157b78f6254536264fb831c7f90ef2f6 /net | |
parent | 9f62a612e6363e9d51de06ca6118dfd98c387d27 (diff) | |
download | ports-aaae62c6e6ff6502d5d8467b4f44fedfc7c79775.tar.gz ports-aaae62c6e6ff6502d5d8467b4f44fedfc7c79775.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/jabber-jud/Makefile | 29 | ||||
-rw-r--r-- | net/jabber-jud/distinfo | 1 | ||||
-rw-r--r-- | net/jabber-jud/files/patch-aa | 12 | ||||
-rw-r--r-- | net/jabber-jud/pkg-comment | 1 | ||||
-rw-r--r-- | net/jabber-jud/pkg-descr | 5 | ||||
-rw-r--r-- | net/jabber-jud/pkg-message | 32 | ||||
-rw-r--r-- | net/jabber-jud/pkg-plist | 1 |
8 files changed, 82 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 4b6311563a67..0ae6d0ce152f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -193,6 +193,7 @@ SUBDIR += jabber SUBDIR += jabber-aim SUBDIR += jabber-conference + SUBDIR += jabber-jud SUBDIR += jags SUBDIR += javadc SUBDIR += jift diff --git a/net/jabber-jud/Makefile b/net/jabber-jud/Makefile new file mode 100644 index 000000000000..3abc0c86d2b9 --- /dev/null +++ b/net/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/jabber-jud/distinfo b/net/jabber-jud/distinfo new file mode 100644 index 000000000000..32a50fe808e5 --- /dev/null +++ b/net/jabber-jud/distinfo @@ -0,0 +1 @@ +MD5 (jabber/jud-0.4.tar.gz) = a057e8dd5966fa0d26ded03697ba395a diff --git a/net/jabber-jud/files/patch-aa b/net/jabber-jud/files/patch-aa new file mode 100644 index 000000000000..4d3b47dd85b1 --- /dev/null +++ b/net/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/jabber-jud/pkg-comment b/net/jabber-jud/pkg-comment new file mode 100644 index 000000000000..247740c3b84f --- /dev/null +++ b/net/jabber-jud/pkg-comment @@ -0,0 +1 @@ +Jabber User Directory module diff --git a/net/jabber-jud/pkg-descr b/net/jabber-jud/pkg-descr new file mode 100644 index 000000000000..200de6bc05a2 --- /dev/null +++ b/net/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/jabber-jud/pkg-message b/net/jabber-jud/pkg-message new file mode 100644 index 000000000000..4380f3efcdd1 --- /dev/null +++ b/net/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/jabber-jud/pkg-plist b/net/jabber-jud/pkg-plist new file mode 100644 index 000000000000..e4f9ad4f120a --- /dev/null +++ b/net/jabber-jud/pkg-plist @@ -0,0 +1 @@ +lib/jabber/jud.so |