Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 56880 Details for
Bug 63472
RFE: ejabberd ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ejabberd-0.9.ebuild
ejabberd-0.9.ebuild (text/plain), 3.40 KB, created by
Igor Golubev
on 2005-04-21 16:24:49 UTC
(
hide
)
Description:
new ejabberd-0.9.ebuild
Filename:
MIME Type:
Creator:
Igor Golubev
Created:
2005-04-21 16:24:49 UTC
Size:
3.40 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils ssl-cert > >DESCRIPTION="The Erlang Jabber Daemon" >HOMEPAGE="http://ejabberd.jabber.ru/" >SRC_URI="http://www.jabber.ru/files/ejabberd/${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~sparc" >IUSE="mod_pubsub mod_irc mod_muc ldap web ssl" > >DEPEND=">=dev-libs/expat-1.95 > >=dev-lang/erlang-8b > ssl? ( >=dev-libs/openssl-0.9.6 )" >PROVIDE="virtual/jabber-server" > >S=${WORKDIR}/${PN}/src > >DESTDIR=${D} > >create_user() { > enewgroup jabber || die "problem adding group jabber" > enewuser ejabberd -1 /bin/false /var/run/ejabberd jabber || die "problem adding user ejabberd" >} > >src_compile() { > local myconf > > use mod_pubsub || myconf="--disable-mod_pubsub" > use mod_irc || myconf="${myconf} --disable-mod_irc" > use mod_muc || myconf="${myconf} --disable-mod_muc" > use ldap || myconf="${myconf} --disable-eldap" > use web || myconf="${myconf} --disable-web" > use ssl || myconf="${myconf} --disable-tls" > > econf ${myconf} || die > > emake || die "emake failed" >} > >src_install() { > dodir /var/{spool,run,log}/ejabberd > fowners ejabberd:jabber /var/{log,run,spool}/ejabberd > fperms 700 /var/spool/ejabberd > > make DESTDIR=${DESTDIR} install || die "install failed" > > # This configuration file contains configurations for all modules, > # including ones that were potentially not built due to USE flags, > # so we'll have to move it out of the way so it isn't accidentally > # used. > mv ${DESTDIR}/etc/ejabberd/ejabberd.cfg ${DESTDIR}/etc/ejabberd/ejabberd.cfg.example > > cd .. > dodoc doc/*.{tex,txt} > dohtml doc/*.{html,png} > > dobin ${FILESDIR}/{ejabberdctl,ejabberd} > > exeinto /etc/init.d > newexe ${FILESDIR}/ejabberd-0.7.5.initd ejabberd > > if use ssl ; then > insinto /etc/ejabberd > docert ssl > rm -f ${DESTDIR}/etc/ejabberd/ssl.{crt,csr,key} > fowners ejabberd:jabber /etc/ejabberd/ssl.pem > fi > > insinto /etc/conf.d > newins ${FILESDIR}/ejabberd-0.7.5.confd ejabberd > > # This file is required to make ejabberd use SRV records for > # server-to-server connections, according to > # <URL:http://lists.jabber.ru/pipermail/ejabberd/2005-March/000829.html> > insinto /etc/ejabberd > doins ${FILESDIR}/inetrc >} > >pkg_setup() { > if [ -d /var/spool/ejabberd ] > then > ewarn "Migration from previous version is pretty straightforward as Mnesia database schema" > ewarn "conversion is handled automatically. However, be warned that it's better to backup your" > ewarn "existing ejabberd database before migration." > ewarn "" > ewarn "I give you the chance of hitting Ctrl-C and backup ejabberd database now." > ebeep > fi > create_user >} > >pkg_preinst() { > create_user >} > >pkg_postinst() { > if [ ! -e /etc/ejabberd/ejabberd.cfg ] > then > einfo "A sample configuration file has been installed in /etc/ejabberd/ejabberd.cfg.example." > einfo "Please copy it to /etc/ejabberd/ejabberd.cfg and edit it according to your needs." > einfo "For configuration instructions, please see /usr/share/doc/${PF}/html/guide.html" > else > einfo "Since the format of the configuration file has been changed, its older version will no" > einfo "longer work. You should replace the \"host\" directive in the ejabberd.cfg with new" > einfo "directive \"hosts\", as in example below:" > einfo "Before:" > einfo " {host, \"localhost\"}." > einfo "After:" > einfo " {hosts, [\"localhost\"]}." > einfo "For additional details, refer to /usr/share/doc/${PF}/release_notes_0.9.txt." > fi >}
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 63472
:
39268
|
39970
|
42219
|
50186
|
54445
|
54500
|
55113
|
55438
|
55439
|
55440
|
55441
|
55442
|
55443
|
55656
|
56433
|
56444
|
56826
|
56827
| 56880 |
56913
|
60352