pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ejabberd ejabberd is a Free and Open Source distr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91a430a2a943
branches:  trunk
changeset: 539639:91a430a2a943
user:      martti <martti%pkgsrc.org@localhost>
date:      Mon Mar 10 08:58:32 2008 +0000

description:
ejabberd is a Free and Open Source distributed fault-tolerant Jabber server.
It is writen mostly in Erlang.

diffstat:

 chat/ejabberd/DESCR             |   22 ++++
 chat/ejabberd/MESSAGE           |   15 +++
 chat/ejabberd/Makefile          |  112 ++++++++++++++++++++++
 chat/ejabberd/PLIST             |  198 ++++++++++++++++++++++++++++++++++++++++
 chat/ejabberd/distinfo          |   10 ++
 chat/ejabberd/files/ejabberd.sh |   79 +++++++++++++++
 chat/ejabberd/patches/patch-aa  |   23 ++++
 chat/ejabberd/patches/patch-ab  |   24 ++++
 chat/ejabberd/patches/patch-ac  |   51 ++++++++++
 chat/ejabberd/patches/patch-ad  |  140 ++++++++++++++++++++++++++++
 chat/ejabberd/patches/patch-ae  |   37 +++++++
 11 files changed, 711 insertions(+), 0 deletions(-)

diffs (truncated from 755 to 300 lines):

diff -r 11cdfa0516ee -r 91a430a2a943 chat/ejabberd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ejabberd/DESCR       Mon Mar 10 08:58:32 2008 +0000
@@ -0,0 +1,22 @@
+ejabberd is a Free and Open Source distributed fault-tolerant Jabber server.
+It is writen mostly in Erlang.
+
+The main features of ejabberd are:
+       - Works on most of popular platforms: *nix
+         (tested on Linux, FreeBSD and NetBSD)
+       - Distributed
+       - Fault-tolerance:
+       - Built-in Multi-User Chat service
+       - Built-in IRC transport
+       - Built-in Publish-Subscribe service
+       - Built-in Jabber Users Directory service based on users vCards
+       - SSL support
+       - Ability to interface with external components
+                       (JIT, MSN-t, Yahoo-t, etc)
+       - Migration from jabberd14 is possible
+       - Mostly XMPP-compliant
+       - Support for JEP-0030 (Service Discovery).
+       - Support for JEP-0039 (Statistics Gathering).
+       - Support for xml:lang attribute in many XML elements
+
+WWW: http://www.ejabberd.im/
diff -r 11cdfa0516ee -r 91a430a2a943 chat/ejabberd/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ejabberd/MESSAGE     Mon Mar 10 08:58:32 2008 +0000
@@ -0,0 +1,15 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $
+
+You will need to customize the following files to configure ejabberd for
+local use:
+
+    ${PKG_SYSCONFDIR}/ejabberd.cfg
+
+Note: this package includes an unofficial patch to support multiples listeners
+on the same port number, which enables IPv4 and IPv6 concurrently.
+
+Quick start for ejabberd:
+       ejabberdctl start
+
+===========================================================================
diff -r 11cdfa0516ee -r 91a430a2a943 chat/ejabberd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ejabberd/Makefile    Mon Mar 10 08:58:32 2008 +0000
@@ -0,0 +1,112 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $
+
+DISTNAME=      ejabberd-2.0.0
+#PKGREVISION=  1
+CATEGORIES=    chat
+MASTER_SITES=  http://www.process-one.net/downloads/ejabberd/2.0.0/
+
+MAINTAINER=    martti%NetBSD.org@localhost
+HOMEPAGE=      http://www.ejabberd.im/
+COMMENT=       Free and Open Source distributed fault-tolerant Jabber server
+
+CONFLICTS+=    jabberd-[0-9]*
+
+GNU_CONFIGURE= yes
+USE_TOOLS+=    gmake
+
+# much prefer to be explicit about the configure settings rather than
+# depending on the defaults to continue to be sane or same between versions
+CONFIGURE_ARGS+=       --enable-odbc
+CONFIGURE_ARGS+=       --enable-mod_irc
+CONFIGURE_ARGS+=       --enable-mod_muc
+CONFIGURE_ARGS+=       --enable-eldap
+CONFIGURE_ARGS+=       --enable-web
+CONFIGURE_ARGS+=       --enable-tls
+CONFIGURE_ARGS+=       --enable-odbc
+CONFIGURE_ARGS+=       --enable-ejabberd_zlib
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
+CONFIGURE_ARGS+=       --with-expat=${BUILDLINK_PREFIX.expat}
+CONFIGURE_ARGS+=       --with-libiconv=${BUILDLINK_PREFIX.iconv}
+CONFIGURE_ARGS+=       --with-erlang=${BUILDLINK_PREFIX.erlang}
+
+CONFIGURE_DIRS+=       src
+BUILD_DIRS+=           src
+
+MAKE_ENV=              PKGVERSION=${PKGVERSION}
+PLIST_SUBST+=          DISTNAME=${DISTNAME} PKGBASE=${PKGBASE}
+
+FILES_SUBST+=          DISTNAME=${DISTNAME} PKGBASE=${PKGBASE}
+FILES_SUBST+=          PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+FILES_SUBST+=          EGDIR=${EGDIR}
+
+RCD_SCRIPTS=           ejabberd
+
+BUILD_DEFS+=           EJABBERD_USER EJABBERD_GROUP EJABBERD_LOGDIR
+BUILD_DEFS+=           EJABBERD_PIDDIR EJABBERD_DB EJABBERD_TRANSDIR
+BUILD_DEFS+=           EJABBERD_EXDIR
+BUILD_DEFS+=           VARBASE
+PKG_SYSCONFSUBDIR=     ejabberd
+
+.include "../../mk/bsd.prefs.mk"
+
+EJABBERD_USER=         ejabberd
+EJABBERD_GROUP=                ejabberd
+EJABBERD_PIDDIR=       ${VARBASE}/run/ejabberd
+EJABBERD_LOGDIR=       ${VARBASE}/log/ejabberd
+EJABBERD_DB=           ${VARBASE}/spool/ejabberd
+EJABBERD_EXDIR=                share/examples/ejabberd
+
+OWN_DIRS+=             ${EJABBERD_PIDDIR}
+OWN_DIRS+=             ${EJABBERD_LOGDIR}
+OWN_DIRS+=             ${EJABBERD_DB}
+
+OWN_DIRS_PERMS+=       ${EJABBERD_PIDDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
+OWN_DIRS_PERMS+=       ${EJABBERD_LOGDIR} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
+OWN_DIRS_PERMS+=       ${EJABBERD_DB} ${EJABBERD_USER} ${EJABBERD_GROUP} 0770
+
+FILES_SUBST+=          JABBERD_USER=${EJABBERD_USER}
+FILES_SUBST+=          JABBERD_LOGDIR=${EJABBERD_LOGDIR}
+
+PLIST_SUBST+=          EJABBERD_EXDIR=${EJABBERD_EXDIR}
+
+PKG_GROUPS+=           ${EJABBERD_GROUP}
+PKG_USERS+=            ${EJABBERD_USER}:${EJABBERD_GROUP}
+
+EGDIR=                 ${PREFIX}/${EJABBERD_EXDIR}
+
+INSTALLATION_DIRS+=    ${PREFIX}/share/doc/${DISTNAME}
+INSTALLATION_DIRS+=    ${PREFIX}/share/doc/${DISTNAME}/api
+INSTALLATION_DIRS+=    ${EGDIR}
+
+CONF_FILES=            ${EGDIR}/ejabberd.cfg
+CONF_FILES+=           ${PKG_SYSCONFDIR}/ejabberd.cfg
+CONF_FILES+=           ${PKG_SYSCONFDIR}/inetrc
+
+post-install:
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/ejabberd.cfg.example ${EGDIR}/ejabberd.cfg
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/${DISTNAME}
+       ${INSTALL_DATA} ${WRKSRC}/doc/Makefile ${PREFIX}/share/doc/${DISTNAME}
+       ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/${DISTNAME}
+       ${INSTALL_DATA} ${WRKSRC}/doc/api/* ${PREFIX}/share/doc/${DISTNAME}/api
+
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   Localizing paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     src/Makefile.in
+SUBST_FILES.paths+=    src/ejabberdctl.template
+SUBST_SED.paths+=      -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_SED.paths+=      -e 's,@JABBERD_LOGDIR@,${EJABBERD_LOGDIR},g'
+SUBST_SED.paths+=      -e 's,@EJABBERD_LOGDIR@,${EJABBERD_LOGDIR},g'
+SUBST_SED.paths+=      -e 's,@EJABBERD_DB@,${EJABBERD_DB},g'
+SUBST_SED.paths+=      -e 's,@DISTNAME@,${DISTNAME},g'
+SUBST_SED.paths+=      -e 's,@EJABBERD_VARDIR@,${VARBASE},g'
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 11cdfa0516ee -r 91a430a2a943 chat/ejabberd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ejabberd/PLIST       Mon Mar 10 08:58:32 2008 +0000
@@ -0,0 +1,198 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $
+${EJABBERD_EXDIR}/ejabberd.cfg
+lib/erlang/lib/${DISTNAME}/ebin/ELDAPv3.beam
+lib/erlang/lib/${DISTNAME}/ebin/XmppAddr.beam
+lib/erlang/lib/${DISTNAME}/ebin/acl.beam
+lib/erlang/lib/${DISTNAME}/ebin/adhoc.beam
+lib/erlang/lib/${DISTNAME}/ebin/cyrsasl.beam
+lib/erlang/lib/${DISTNAME}/ebin/cyrsasl_anonymous.beam
+lib/erlang/lib/${DISTNAME}/ebin/cyrsasl_digest.beam
+lib/erlang/lib/${DISTNAME}/ebin/cyrsasl_plain.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd.app
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_admin.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_app.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_anonymous.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_external.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_internal.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_ldap.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_auth_pam.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_c2s.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_c2s_config.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_config.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_ctl.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_frontend_socket.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_hooks.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_http.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_http_bind.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_http_poll.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_listener.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_local.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_logger_h.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_loglevel.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_node_groups.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_odbc_sup.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_rdbms.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_receiver.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_router.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_s2s.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_s2s_in.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_s2s_out.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_service.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_sm.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_socket.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_sup.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_system_monitor.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_tmp_sup.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_update.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_web.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_web_admin.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejabberd_zlib.beam
+lib/erlang/lib/${DISTNAME}/ebin/ejd2odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/eldap.beam
+lib/erlang/lib/${DISTNAME}/ebin/eldap_filter.beam
+lib/erlang/lib/${DISTNAME}/ebin/eldap_pool.beam
+lib/erlang/lib/${DISTNAME}/ebin/eldap_utils.beam
+lib/erlang/lib/${DISTNAME}/ebin/extauth.beam
+lib/erlang/lib/${DISTNAME}/ebin/gen_iq_handler.beam
+lib/erlang/lib/${DISTNAME}/ebin/gen_mod.beam
+lib/erlang/lib/${DISTNAME}/ebin/gen_pubsub_node.beam
+lib/erlang/lib/${DISTNAME}/ebin/gen_pubsub_nodetree.beam
+lib/erlang/lib/${DISTNAME}/ebin/iconv.beam
+lib/erlang/lib/${DISTNAME}/ebin/idna.beam
+lib/erlang/lib/${DISTNAME}/ebin/jd2ejd.beam
+lib/erlang/lib/${DISTNAME}/ebin/jlib.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_adhoc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_announce.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_caps.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_configure.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_configure2.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_disco.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_echo.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_http_bind.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_http_fileserver.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_irc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_irc_connection.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_last.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_last_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_muc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_muc_log.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_muc_room.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_offline.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_offline_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_privacy.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_privacy_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_private.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_private_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_proxy65.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_proxy65_lib.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_proxy65_service.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_proxy65_sm.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_proxy65_stream.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_pubsub.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_register.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_roster.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_roster_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_service_log.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_shared_roster.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_stats.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_time.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_vcard.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_vcard_ldap.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_vcard_odbc.beam
+lib/erlang/lib/${DISTNAME}/ebin/mod_version.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_buddy.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_club.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_default.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_dispatch.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_pep.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_private.beam
+lib/erlang/lib/${DISTNAME}/ebin/node_public.beam
+lib/erlang/lib/${DISTNAME}/ebin/nodetree_default.beam
+lib/erlang/lib/${DISTNAME}/ebin/nodetree_virtual.beam
+lib/erlang/lib/${DISTNAME}/ebin/odbc_queries.beam
+lib/erlang/lib/${DISTNAME}/ebin/p1_fsm.beam
+lib/erlang/lib/${DISTNAME}/ebin/p1_mnesia.beam
+lib/erlang/lib/${DISTNAME}/ebin/ram_file_io_server.beam
+lib/erlang/lib/${DISTNAME}/ebin/randoms.beam
+lib/erlang/lib/${DISTNAME}/ebin/sha.beam
+lib/erlang/lib/${DISTNAME}/ebin/shaper.beam
+lib/erlang/lib/${DISTNAME}/ebin/stringprep.beam
+lib/erlang/lib/${DISTNAME}/ebin/stringprep_sup.beam
+lib/erlang/lib/${DISTNAME}/ebin/tls.beam
+lib/erlang/lib/${DISTNAME}/ebin/translate.beam
+lib/erlang/lib/${DISTNAME}/ebin/xml.beam
+lib/erlang/lib/${DISTNAME}/ebin/xml_stream.beam
+lib/erlang/lib/${DISTNAME}/priv/lib/ejabberd_zlib_drv.so
+lib/erlang/lib/${DISTNAME}/priv/lib/expat_erl.so
+lib/erlang/lib/${DISTNAME}/priv/lib/iconv_erl.so
+lib/erlang/lib/${DISTNAME}/priv/lib/stringprep_drv.so
+lib/erlang/lib/${DISTNAME}/priv/lib/tls_drv.so
+lib/erlang/lib/${DISTNAME}/priv/msgs/ca.msg
+lib/erlang/lib/${DISTNAME}/priv/msgs/cs.msg



Home | Main Index | Thread Index | Old Index