summaryrefslogtreecommitdiff
path: root/net/jabberd
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-12-29 13:27:06 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-12-29 13:27:06 +0000
commit5d4f5926ceedd0e9eec41f8e2663d59b7d06aede (patch)
tree55391776cd94e9a7af88d998442aced35957894e /net/jabberd
parentUpdate to 0.04. (diff)
New port jabberd2.
This is a complete rewrite of jabber daemon version 1.
Diffstat (limited to 'net/jabberd')
-rw-r--r--net/jabberd/Makefile44
-rw-r--r--net/jabberd/distinfo1
-rw-r--r--net/jabberd/files/patch-configure20
-rw-r--r--net/jabberd/pkg-descr4
-rw-r--r--net/jabberd/pkg-plist16
5 files changed, 85 insertions, 0 deletions
diff --git a/net/jabberd/Makefile b/net/jabberd/Makefile
new file mode 100644
index 000000000000..739f06a1149a
--- /dev/null
+++ b/net/jabberd/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: jabberd
+# Date created: 29 December 2003
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jabberd
+PORTVERSION= 2.0.1
+CATEGORIES= net
+MASTER_SITES= http://www.jabberstudio.org/files/jabberd2/
+DISTNAME= ${PORTNAME}-2.0s1
+DIST_SUBDIR= jabber
+
+MAINTAINER= demon@FreeBSD.org
+COMMENT= Online presence and instant messaging server
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-openssl=/usr \
+ --with-libiconv-prefix=${LOCALBASE}
+
+.if defined(WITH_BDB)
+LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
+CONFIGURE_ARGS+=--with-berkeley-db=${LOCALBASE} \
+ --enable-storage=db \
+ --enable-authreg=db
+LDFLAGS+= -ldb41
+CFLAGS+= -I${LOCALBASE}/include/db41
+.endif
+
+.if defined(WITH_MYSQL)
+USE_MYSQL= yes
+CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \
+ --enable-storage=mysql \
+ --enable-authreg=mysql
+.endif
+
+.if defined(WITH_LDAP)
+USE_OPENLDAP= yes
+.endif
+
+MAN8= c2s.8 jabberd.8 resolver.8 router.8 s2s.8 sm.8
+
+.include <bsd.port.mk>
diff --git a/net/jabberd/distinfo b/net/jabberd/distinfo
new file mode 100644
index 000000000000..af908b448c07
--- /dev/null
+++ b/net/jabberd/distinfo
@@ -0,0 +1 @@
+MD5 (jabber/jabberd-2.0s1.tar.gz) = d9d5de1b430c12758d613cc7882bc0b6
diff --git a/net/jabberd/files/patch-configure b/net/jabberd/files/patch-configure
new file mode 100644
index 000000000000..39311cb7a000
--- /dev/null
+++ b/net/jabberd/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Mon Dec 29 16:07:44 2003
++++ configure Mon Dec 29 16:07:56 2003
+@@ -23698,7 +23698,7 @@
+ fi;
+
+ if test "$places" = "search"; then
+- places="std /usr/local/include/db4:/usr/local/lib /usr/local
++ places="std /usr/local/include/db41:/usr/local/lib /usr/local
+ /usr/local/BerkeleyDB.4.1 /usr/include/db4:/usr/lib
+ /sw/include/db4:/sw/lib"
+ fi
+@@ -23734,7 +23734,7 @@
+ ;;
+ esac
+
+- for db_libname in db-4.1 db-4 db4 db; do
++ for db_libname in db-4.1 db-4 db41 db; do
+ # We generate a separate cache variable for each prefix and libname
+ # we search under. That way, we avoid caching information that
+ # changes if the user runs `configure' with a different set of
diff --git a/net/jabberd/pkg-descr b/net/jabberd/pkg-descr
new file mode 100644
index 000000000000..c01a6f35705f
--- /dev/null
+++ b/net/jabberd/pkg-descr
@@ -0,0 +1,4 @@
+The Jabber server (jabberd) is a daemon for Jabber clients to connect
+and communicate with.
+
+WWW: http://jabberd.jabberstudio.org/
diff --git a/net/jabberd/pkg-plist b/net/jabberd/pkg-plist
new file mode 100644
index 000000000000..a80feb8a4541
--- /dev/null
+++ b/net/jabberd/pkg-plist
@@ -0,0 +1,16 @@
+bin/c2s
+bin/jabberd
+bin/resolver
+bin/router
+bin/s2s
+bin/sm
+etc/jabberd/c2s.xml.dist
+etc/jabberd/jabberd.cfg.dist
+etc/jabberd/resolver.xml.dist
+etc/jabberd/router-users.xml.dist
+etc/jabberd/router.xml.dist
+etc/jabberd/s2s.xml.dist
+etc/jabberd/sm.xml.dist
+etc/jabberd/templates/roster.xml.dist
+@dirrm etc/jabberd/templates
+@dirrm etc/jabberd