diff options
author | Caleb Tennis <caleb@gentoo.org> | 2008-02-22 14:55:59 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2008-02-22 14:55:59 +0000 |
commit | f1ecac56e608c72645d355b9d98f600e2c133808 (patch) | |
tree | 13fc50fd517028cb108138e420619cfb528b5ac2 /net-im/ejabberd | |
parent | Add net-misc/xf4vnc as a blocker, bug #210791 (diff) | |
download | gentoo-2-f1ecac56e608c72645d355b9d98f600e2c133808.tar.gz gentoo-2-f1ecac56e608c72645d355b9d98f600e2c133808.tar.bz2 gentoo-2-f1ecac56e608c72645d355b9d98f600e2c133808.zip |
bump to 2.0.0, remove old versions
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r-- | net-im/ejabberd/ChangeLog | 10 | ||||
-rw-r--r-- | net-im/ejabberd/ejabberd-1.1.3-r1.ebuild | 155 | ||||
-rw-r--r-- | net-im/ejabberd/ejabberd-1.1.3-r2.ebuild | 135 | ||||
-rw-r--r-- | net-im/ejabberd/ejabberd-1.1.3.ebuild | 124 | ||||
-rw-r--r-- | net-im/ejabberd/ejabberd-2.0.0.ebuild (renamed from net-im/ejabberd/ejabberd-2.0.0_rc1.ebuild) | 4 | ||||
-rw-r--r-- | net-im/ejabberd/files/1.1.3-missing-declaration.patch | 11 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd-1.1.3.confd | 17 |
7 files changed, 11 insertions, 445 deletions
diff --git a/net-im/ejabberd/ChangeLog b/net-im/ejabberd/ChangeLog index fa2e8d92f391..1c067cf75af0 100644 --- a/net-im/ejabberd/ChangeLog +++ b/net-im/ejabberd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-im/ejabberd # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.30 2008/02/10 00:35:58 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ChangeLog,v 1.31 2008/02/22 14:55:58 caleb Exp $ + +*ejabberd-2.0.0 (22 Feb 2008) + + 22 Feb 2008; Caleb Tennis <caleb@gentoo.org> -files/ejabberd-1.1.3.confd, + -files/1.1.3-missing-declaration.patch, -ejabberd-1.1.3.ebuild, + -ejabberd-1.1.3-r1.ebuild, -ejabberd-1.1.3-r2.ebuild, + -ejabberd-2.0.0_rc1.ebuild, +ejabberd-2.0.0.ebuild: + bump to 2.0.0, remove old versions 10 Feb 2008; Luca Barbato <lu_zero@gentoo.org> ejabberd-2.0.0_rc1.ebuild: Marked ~ppc diff --git a/net-im/ejabberd/ejabberd-1.1.3-r1.ebuild b/net-im/ejabberd/ejabberd-1.1.3-r1.ebuild deleted file mode 100644 index 4444d8a726d7..000000000000 --- a/net-im/ejabberd/ejabberd-1.1.3-r1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-1.1.3-r1.ebuild,v 1.1 2007/04/11 14:42:45 chainsaw Exp $ - -inherit eutils multilib versionator - -JABBER_ETC="/etc/jabber" -JABBER_RUN="/var/run/jabber" -JABBER_SPOOL="/var/spool/jabber" -JABBER_LOG="/var/log/jabber" - -DESCRIPTION="The Erlang Jabber Daemon" -HOMEPAGE="http://ejabberd.jabber.ru/" -SRC_URI="http://process-one.net/en/projects/${PN}/download/${PV}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mod_irc mod_muc mod_pubsub ldap odbc sname ssl web" - -DEPEND=">=net-im/jabber-base-0.01 - >=dev-libs/expat-1.95 - >=dev-lang/erlang-10.2.0 - odbc? ( dev-db/unixODBC ) - ldap? ( =net-nds/openldap-2* ) - ssl? ( dev-libs/openssl )" - -PROVIDE="virtual/jabber-server" -S=${WORKDIR}/${P}/src - -src_unpack() { - # Bug #171551 - if useq ssl && built_with_use dev-libs/openssl zlib ; then - die "Openssl must be built without the zlib USE flag to avoid triggering ejabberd SSL/TLS instability" - fi - - unpack ${A} - cd ${S} - - # Bug #171427 - epatch ${FILESDIR}/${PV}-missing-declaration.patch -} - -src_compile() { - econf ${myconf} \ - $(use_enable mod_irc) \ - $(use_enable ldap eldap) \ - $(use_enable mod_muc) \ - $(use_enable mod_pubsub) \ - $(use_enable ssl tls) \ - $(use_enable web) \ - $(use_enable odbc) \ - || die "econf failed" - - emake || die "compiling ejabberd core failed" -} - -src_install() { - make \ - DESTDIR=${D} \ - EJABBERDDIR=${D}/usr/$(get_libdir)/erlang/lib/${P} \ - ETCDIR=${D}${JABBER_ETC} \ - LOGDIR=${D}${JABBER_LOG} \ - install \ - || die "install failed" - - chown -R jabber:jabber "${D}${JABBER_ETC}" - chown -R jabber:jabber "${D}${JABBER_LOG}" - chown -R jabber:jabber "${D}/usr/$(get_libdir)/erlang/lib/${P}" - - insinto /usr/share/doc/${PF} - dohtml doc/*.{html,png} - - # Bug #161252 - if useq sname; then - CHECK_CONF="" - EJD_LINE="-sname ejabberd" - EJCTL_LINE="-sname ejabberdctl" - else - CHECK_CONF=". /etc/conf.d/ejabberd" - EJD_LINE="-name \$EJABBERD_NODE" - EJCTL_LINE="-name \$EJABBERCTL_NODE" - fi - - # - # Create /usr/bin/ejabberd - # - cat <<EOF > ${T}/ejabberd -#!/bin/bash - -${CHECK_CONF} - -erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - ${EJD_LINE} \\ - -s ejabberd \\ - -ejabberd config \"${JABBER_ETC}/ejabberd.cfg\" \\ - log_path \"${JABBER_LOG}/ejabberd.log\" \\ - -kernel inetrc \"${JABBER_ETC}/inetrc\" \\ - -sasl sasl_error_logger \{file,\"${JABBER_LOG}/sasl.log\"\} \\ - -mnesia dir \"${JABBER_SPOOL}\" \\ - \$@ -EOF - - # - # Create /usr/bin/ejabberdctl - # - cat <<EOF > ${T}/ejabberdctl -#!/bin/sh - -${CHECK_CONF} - -exec env HOME=${JABBER_RUN} \\ - erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - -noinput \\ - ${EJCTL_LINE} \\ - -s ejabberd_ctl \\ - -extra \$@ -EOF - - dobin ${T}/ejabberdctl - dobin ${T}/ejabberd - - newinitd ${FILESDIR}/ejabberd-1.1.1-r1.initd ${PN} - newconfd ${FILESDIR}/${P}.confd ${PN} - - insinto ${JABBER_ETC} - doins ${FILESDIR}/inetrc - if useq ssl ; then - doins ${FILESDIR}/ssl.cnf - newins ${FILESDIR}/self-cert-v2.sh self-cert.sh - fi -} - -pkg_postinst() { - elog "For configuration instructions, please see /usr/share/doc/${PF}/html/guide.html" - elog "or the online version at http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html" - echo - if useq ssl ; then - if [ ! -e /etc/jabber/ssl.pem ]; then - ebegin "Creating SSL key" - sh ${JABBER_ETC}/self-cert.sh &> /dev/null - eend $? - fi - chown jabber:jabber ${JABBER_ETC}/ssl.pem - elog "Please be sure that your ${JABBER_ETC}/ejabber.cfg points to ${JABBER_ETC}/ssl.pem" - elog "You may want to edit ${JABBER_ETC}/ssl.cnf and run ${JABBER_ETC}/self-cert.sh again" - fi - if ! useq web ; then - elog "The web USE flag is off, this has disabled the web admin interface." - fi - if useq odbc ; then - elog "Please add a column askmessage to the rosterusers table if migrating from 1.1.1" - fi -} diff --git a/net-im/ejabberd/ejabberd-1.1.3-r2.ebuild b/net-im/ejabberd/ejabberd-1.1.3-r2.ebuild deleted file mode 100644 index f6ba1f240e3e..000000000000 --- a/net-im/ejabberd/ejabberd-1.1.3-r2.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-1.1.3-r2.ebuild,v 1.3 2007/09/01 07:04:02 opfer Exp $ - -inherit eutils multilib versionator - -JABBER_ETC="/etc/jabber" -JABBER_RUN="/var/run/jabber" -JABBER_SPOOL="/var/spool/jabber" -JABBER_LOG="/var/log/jabber" - -DESCRIPTION="The Erlang Jabber Daemon" -HOMEPAGE="http://ejabberd.jabber.ru/" -SRC_URI="http://process-one.net/en/projects/${PN}/download/${PV}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug mod_irc mod_muc mod_pubsub ldap odbc ssl web" - -DEPEND=">=net-im/jabber-base-0.01 - >=dev-libs/expat-1.95 - >=dev-lang/erlang-10.2.0 - odbc? ( dev-db/unixODBC ) - ldap? ( =net-nds/openldap-2* ) - ssl? ( >=dev-libs/openssl-0.9.8e )" - -PROVIDE="virtual/jabber-server" -S=${WORKDIR}/${P}/src - -src_unpack() { - unpack ${A} - cd "${S}" - - # Bug #171427 - epatch "${FILESDIR}/${PV}-missing-declaration.patch" -} - -src_compile() { - econf ${myconf} \ - $(use_enable mod_irc) \ - $(use_enable ldap eldap) \ - $(use_enable mod_muc) \ - $(use_enable mod_pubsub) \ - $(use_enable ssl tls) \ - $(use_enable web) \ - $(use_enable odbc) \ - || die "econf failed" - - if useq debug; then - emake ejabberd_debug=true || die "compiling ejabberd core failed" - else - emake || die "compiling ejabberd core failed" - fi -} - -src_install() { - make \ - DESTDIR="${D}" \ - EJABBERDDIR="${D}/usr/$(get_libdir)/erlang/lib/${P}" \ - ETCDIR="${D}${JABBER_ETC}" \ - LOGDIR="${D}${JABBER_LOG}" \ - install \ - || die "install failed" - - chown -R jabber:jabber "${D}${JABBER_ETC}" - chown -R jabber:jabber "${D}${JABBER_LOG}" - chown -R jabber:jabber "${D}/usr/$(get_libdir)/erlang/lib/${P}" - - insinto /usr/share/doc/${PF} - dohtml doc/*.{html,png} - - # - # Create /usr/bin/ejabberd - # - cat <<EOF > "${T}/ejabberd" -#!/bin/bash - -erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - -sname ejabberd \\ - -s ejabberd \\ - -ejabberd config \"${JABBER_ETC}/ejabberd.cfg\" \\ - log_path \"${JABBER_LOG}/ejabberd.log\" \\ - -kernel inetrc \"${JABBER_ETC}/inetrc\" \\ - -sasl sasl_error_logger \{file,\"${JABBER_LOG}/sasl.log\"\} \\ - -mnesia dir \"${JABBER_SPOOL}\" \\ - \$@ -EOF - - # - # Create /usr/bin/ejabberdctl - # - cat <<EOF > "${T}/ejabberdctl" -#!/bin/sh - -exec env HOME=${JABBER_RUN} \\ - erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - -noinput \\ - -sname ejabberdctl \\ - -s ejabberd_ctl \\ - -extra \$@ -EOF - - dobin "${T}/ejabberdctl" - dobin "${T}/ejabberd" - - newinitd "${FILESDIR}/ejabberd-1.1.1-r1.initd" ${PN} - newconfd "${FILESDIR}/${P}.confd" ${PN} - - insinto ${JABBER_ETC} - doins "${FILESDIR}/inetrc" - if useq ssl ; then - doins "${FILESDIR}/ssl.cnf" - newins "${FILESDIR}/self-cert-v2.sh" self-cert.sh - fi -} - -pkg_postinst() { - elog "For configuration instructions, please see /usr/share/doc/${PF}/html/guide.html" - elog "or the online version at http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html" - echo - if useq ssl ; then - if [ ! -e /etc/jabber/ssl.pem ]; then - elog "Please edit ${JABBER_ETC}/ssl.cnf and run ${JABBER_ETC}/self-cert.sh" - elog "Ejabberd may refuse to start without an SSL certificate" - fi - fi - if ! useq web ; then - elog "The web USE flag is off, this has disabled the web admin interface." - fi - if useq odbc ; then - elog "Please add a column askmessage to the rosterusers table if migrating from 1.1.1" - fi -} diff --git a/net-im/ejabberd/ejabberd-1.1.3.ebuild b/net-im/ejabberd/ejabberd-1.1.3.ebuild deleted file mode 100644 index 04df8ed14848..000000000000 --- a/net-im/ejabberd/ejabberd-1.1.3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-1.1.3.ebuild,v 1.3 2007/03/11 19:04:23 corsair Exp $ - -inherit eutils multilib versionator - -JABBER_ETC="/etc/jabber" -JABBER_RUN="/var/run/jabber" -JABBER_SPOOL="/var/spool/jabber" -JABBER_LOG="/var/log/jabber" - -DESCRIPTION="The Erlang Jabber Daemon" -HOMEPAGE="http://ejabberd.jabber.ru/" -SRC_URI="http://process-one.net/en/projects/${PN}/download/${PV}/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="mod_irc mod_muc mod_pubsub ldap odbc ssl web" - -DEPEND=">=net-im/jabber-base-0.01 - >=dev-libs/expat-1.95 - >=dev-lang/erlang-10.2.0 - odbc? ( dev-db/unixODBC ) - ldap? ( =net-nds/openldap-2* )" - -PROVIDE="virtual/jabber-server" -S=${WORKDIR}/${P}/src - -src_compile() { - econf ${myconf} \ - $(use_enable mod_irc) \ - $(use_enable ldap eldap) \ - $(use_enable mod_muc) \ - $(use_enable mod_pubsub) \ - $(use_enable ssl tls) \ - $(use_enable web) \ - $(use_enable odbc) \ - || die "econf failed" - - emake || die "compiling ejabberd core failed" -} - -src_install() { - make \ - DESTDIR=${D} \ - EJABBERDDIR=${D}/usr/$(get_libdir)/erlang/lib/${P} \ - ETCDIR=${D}${JABBER_ETC} \ - LOGDIR=${D}${JABBER_LOG} \ - install \ - || die "install failed" - - chown -R jabber:jabber "${D}${JABBER_ETC}" - chown -R jabber:jabber "${D}${JABBER_LOG}" - chown -R jabber:jabber "${D}/usr/$(get_libdir)/erlang/lib/${P}" - - insinto /usr/share/doc/${PF} - dohtml doc/*.{html,png} - - # - # Create /usr/bin/ejabberd - # - cat <<EOF > ${T}/ejabberd -#!/bin/bash - -erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - -sname ejabberd \\ - -s ejabberd \\ - -ejabberd config \"${JABBER_ETC}/ejabberd.cfg\" \\ - log_path \"${JABBER_LOG}/ejabberd.log\" \\ - -kernel inetrc \"${JABBER_ETC}/inetrc\" \\ - -sasl sasl_error_logger \{file,\"${JABBER_LOG}/sasl.log\"\} \\ - -mnesia dir \"${JABBER_SPOOL}\" \\ - \$@ -EOF - - # - # Create /usr/bin/ejabberdctl - # - cat <<EOF > ${T}/ejabberdctl -#!/bin/sh - -exec env HOME=${JABBER_RUN} \\ - erl -pa /usr/$(get_libdir)/erlang/lib/${P}/ebin \\ - ${pa} \\ - -noinput \\ - -sname ejabberdctl \\ - -s ejabberd_ctl \\ - -extra \$@ -EOF - - dobin ${T}/ejabberdctl - dobin ${T}/ejabberd - - newinitd ${FILESDIR}/ejabberd-1.1.1-r1.initd ${PN} - newconfd ${FILESDIR}/ejabberd-1.1.1.confd ${PN} - - insinto ${JABBER_ETC} - doins ${FILESDIR}/inetrc - doins ${FILESDIR}/ssl.cnf - newins ${FILESDIR}/self-cert-v2.sh self-cert.sh -} - -pkg_postinst() { - einfo "For configuration instructions, please see /usr/share/doc/${PF}/html/guide.html" - einfo "or the online version at http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html" - echo - if useq ssl ; then - if [ ! -e /etc/jabber/ssl.pem ]; then - ebegin "Creating SSL key" - sh ${JABBER_ETC}/self-cert.sh &> /dev/null - eend $? - fi - chown jabber:jabber ${JABBER_ETC}/ssl.pem - ewarn "Please be sure that your ${JABBER_ETC}/ejabber.cfg points to ${JABBER_ETC}/ssl.pem" - ewarn "You may want to edit ${JABBER_ETC}/ssl.cnf and run ${JABBER_ETC}/self-cert.sh again" - fi - if ! useq web ; then - einfo "The web USE flag is off, this has disabled the web admin interface." - fi - if useq odbc ; then - ewarn "Please add a column askmessage to the rosterusers table if migrating from 1.1.1" - fi -} diff --git a/net-im/ejabberd/ejabberd-2.0.0_rc1.ebuild b/net-im/ejabberd/ejabberd-2.0.0.ebuild index c3886749272e..c13843ba9456 100644 --- a/net-im/ejabberd/ejabberd-2.0.0_rc1.ebuild +++ b/net-im/ejabberd/ejabberd-2.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-2.0.0_rc1.ebuild,v 1.2 2008/02/10 00:35:58 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/ejabberd-2.0.0.ebuild,v 1.1 2008/02/22 14:55:58 caleb Exp $ inherit eutils multilib @@ -9,7 +9,7 @@ JABBER_RUN="/var/run/jabber" JABBER_SPOOL="/var/spool/jabber" JABBER_LOG="/var/log/jabber" -MY_PV=${PV/_rc1/} +MY_PV=${PV} MY_P=${PN}-${MY_PV} DESCRIPTION="The Erlang Jabber Daemon" diff --git a/net-im/ejabberd/files/1.1.3-missing-declaration.patch b/net-im/ejabberd/files/1.1.3-missing-declaration.patch deleted file mode 100644 index a9ece714782a..000000000000 --- a/net-im/ejabberd/files/1.1.3-missing-declaration.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ejabberd-1.1.3/src/expat_erl.c.orig 2007-04-11 15:24:05.000000000 +0100 -+++ ejabberd-1.1.3/src/expat_erl.c 2007-04-11 15:25:25.000000000 +0100 -@@ -14,6 +14,8 @@ - * Workaround for EI encode_string bug - */ - -+int x_fix_buff(ei_x_buff* x, int szneeded); -+ - #define put8(s,n) do { \ - (s)[0] = (char)((n) & 0xff); \ - (s) += 1; \ diff --git a/net-im/ejabberd/files/ejabberd-1.1.3.confd b/net-im/ejabberd/files/ejabberd-1.1.3.confd deleted file mode 100644 index 2a6dc053c8fc..000000000000 --- a/net-im/ejabberd/files/ejabberd-1.1.3.confd +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-1.1.3.confd,v 1.1 2007/04/11 14:42:45 chainsaw Exp $ - -# Name of your ejabberd node. Used by ejabberdctl to determine which -# node to communicate with. -EJABBERD_NODE="ejabberd@`hostname -s`" - -# Max number of open network connections. Default is 1024. Increasing -# this will slightly increase memory usage. -#ERL_MAX_PORTS=1024 - -# Return memory to the system after using it, instead of keeping it -# allocated for future use. Decreases the memory required by ejabberd, -# but makes it run slower. Default is unset, set to any value to -# activate. -#ERL_FULLSWEEP_AFTER=0 |