--- /usr/portage/net-im/ejabberd/ejabberd-2.1.10.ebuild 2012-03-06 12:44:48.000000000 +0100 +++ /usr/portage/net-im/ejabberd/ejabberd-2.1.10.ebuild 2012-03-23 12:15:04.186602831 +0100 @@ -9,12 +9,13 @@ DESCRIPTION="The Erlang Jabber Daemon" HOMEPAGE="http://www.ejabberd.im/" SRC_URI="http://www.process-one.net/downloads/${PN}/${PV}/${P}.tar.gz - mod_statsdx? ( mirror://gentoo/ejabberd-mod_statsdx-1080.patch.gz )" + mod_statsdx? ( mirror://gentoo/ejabberd-mod_statsdx-1080.patch.gz ) + mod_admin_extra? ( mirror://gentoo/ejabberd-mod_admin_extra-1125.patch.gz )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" -EJABBERD_MODULES="mod_irc mod_muc mod_proxy65 mod_pubsub mod_statsdx" +EJABBERD_MODULES="mod_irc mod_muc mod_proxy65 mod_pubsub mod_statsdx mod_admin_extra" IUSE="captcha debug ldap odbc pam +web zlib ${EJABBERD_MODULES}" DEPEND=">=net-im/jabber-base-0.01 @@ -45,6 +46,11 @@ ewarn "taken from here: http://www.ejabberd.im/mod_stats2file" EPATCH_OPTS="-p2" epatch "${WORKDIR}/ejabberd-mod_statsdx-1080.patch" fi + if use mod_admin_extra; then + ewarn "mod_admin_extra is not a part of upstream tarball but is a third-party module" + ewarn "taken from here: http://www.ejabberd.im/mod_admin_extra" + EPATCH_OPTS="-p2" epatch "${WORKDIR}/ejabberd-mod_admin_extra-1125.patch" + fi # don't install release notes (we'll do this manually) sed '/install .* [.][.]\/doc\/[*][.]txt $(DOCDIR)/d' -i Makefile.in || die