Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201880 Details for
Bug 281366
net-im/ejabberd-2.1.4 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
promised ebuild
ejabberd-2.1.0_beta2.ebuild (text/plain), 3.54 KB, created by
Dennis Schridde
on 2009-08-21 16:35:48 UTC
(
hide
)
Description:
promised ebuild
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2009-08-21 16:35:48 UTC
Size:
3.54 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ >EAPI=2 > >inherit eutils pam > >JABBER_ETC="/etc/jabber" >JABBER_RUN="/var/run/jabber" >JABBER_SPOOL="/var/spool/jabber" >JABBER_LOG="/var/log/jabber" > >BASE_PV=${PV%_*} >MY_PV=${PV/_/-} > >DESCRIPTION="The Erlang Jabber Daemon" >HOMEPAGE="http://www.ejabberd.im/" >SRC_URI="http://www.process-one.net/downloads/ejabberd/${MY_PV}/sources/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" > >IUSE="debug +mod_irc +mod_muc +mod_proxy65 +mod_pubsub ldap odbc pam +ssl +web zlib" > >DEPEND=">=net-im/jabber-base-0.01 > >=dev-libs/expat-1.95 > >=dev-lang/erlang-12.2.5 > odbc? ( dev-db/unixODBC ) > ldap? ( =net-nds/openldap-2* ) > ssl? ( >=dev-libs/openssl-0.9.8e ) > zlib? ( sys-libs/zlib )" >RDEPEND="${DEPEND}" > >PROVIDE="virtual/jabber-server" > >src_configure() { > cd "${S}/src" > > econf \ > $(use_enable mod_irc) \ > $(use_enable mod_muc) \ > $(use_enable mod_proxy65) \ > $(use_enable mod_pubsub) \ > $(use_enable ldap eldap) \ > $(use_enable odbc) \ > $(use_enable ssl tls) \ > $(use_enable web) \ > $(use_enable zlib ejabberd_zlib) \ > $(use_enable pam) \ > --enable-user=jabber \ > || die "econf failed" >} > >src_compile() { > cd "${S}/src" > > flags='' > use debug && flags="debug=true ejabberd_debug=true" > > emake $flags || die "compiling ejabberd core failed" >} > >src_install() { > cd "${S}/src" > emake \ > DESTDIR="${D}" \ > ETCDIR="${D}${JABBER_ETC}" \ > LOGDIR="${D}${JABBER_LOG}" \ > SPOOLDIR="${D}${JABBER_SPOOL}" \ > install || die "install failed" > > insinto "${JABBER_ETC}" > > if use ssl; then > doins "${FILESDIR}/ssl.cnf" > newins "${FILESDIR}/self-cert-v2.sh" self-cert.sh > fi > > # Pam helper module permissions > # http://www.process-one.net/docs/ejabberd/guide_en.html > if use pam; then > pamd_mimic_system xmpp auth account || die "Cannot create pam.d file" > fperms 4750 "/usr/$(get_libdir)/${PN}/priv/bin/epam" || die "Cannot adjust epam permissions" > fi > > cd "${WORKDIR}/${P}/doc" > dodoc "release_notes_${BASE_PV}.txt" > dohtml *.{html,png} > > newinitd "${FILESDIR}/${PN}-2.initd" "${PN}" || die "Cannot install init.d script" > newconfd "${FILESDIR}/${PN}-2.confd" "${PN}" || die "Cannot install conf.d file" > > # fix up the ssl cert paths in /etc/jabber/ejabberd.cfg to use the cert > # that would be generated by /etc/jabber/self-cert.sh > sed -i -e "s/\/path\/to\/ssl.pem/\/etc\/jabber\/ssl.pem/g" \ > "${D}${JABBER_ETC}/ejabberd.cfg" || die "Cannot sed ejabberd.cfg" >} > >pkg_postinst() { > elog "For configuration instructions, please see" > elog "/usr/share/doc/${PF}/html/guide.html, or the online version at" > elog "http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html" > > if use 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 ! use web ; then > elog "The web USE flag is off, this has disabled the web admin interface." > fi > > elog '====================================================================' > elog 'Quick Start Guide:' > elog '1) Add output of `hostname -f` to /etc/jabber/ejabberd.cfg line 89' > elog ' {hosts, ["localhost", "thehost"]}.' > elog '2) Add an admin user to /etc/jabber/ejabberd.cfg line 324' > elog ' {acl, admin, {user, "theadmin", "thehost"}}.' > elog '3) Start the server' > elog ' # /etc/init.d/ejabberd start' > elog '4) Register the admin user' > elog ' # /usr/sbin/ejabberdctl register theadmin thehost thepassword' > elog '5) Log in with your favourite jabber client or using the web admin' >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 281366
:
201880
|
201884
|
202123
|
202124
|
202125
|
202127
|
202132
|
202133
|
202173
|
203918
|
208978
|
210162
|
210348
|
210349
|
214845
|
214847