diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2006-07-09 14:53:56 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2006-07-09 14:53:56 +0200 |
commit | e0e898c92528b1ae8d2305f868d9eec82f45a696 (patch) | |
tree | d5338976cac9312fa8a0e2693902ed6366f015ae | |
parent | Add pyxmpp (diff) | |
download | portage-e0e898c92528b1ae8d2305f868d9eec82f45a696.tar.xz |
Delete ejabberd, in portage now
-rw-r--r-- | net-im/ejabberd/Manifest | 18 | ||||
-rw-r--r-- | net-im/ejabberd/ejabberd-1.0.0.ebuild | 117 | ||||
-rw-r--r-- | net-im/ejabberd/files/digest-ejabberd-1.0.0 | 3 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd | 12 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd-1.0.0.confd | 17 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd-1.0.0.initd | 60 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberdctl | 8 |
7 files changed, 0 insertions, 235 deletions
diff --git a/net-im/ejabberd/Manifest b/net-im/ejabberd/Manifest deleted file mode 100644 index 69993b66..00000000 --- a/net-im/ejabberd/Manifest +++ /dev/null @@ -1,18 +0,0 @@ -MD5 1ae910d5284bc6b4b0f40e38893f8373 ejabberd-1.0.0.ebuild 3212 -RMD160 4538c98126f42b54a07f55119e0e8960f9b5cb75 ejabberd-1.0.0.ebuild 3212 -SHA256 e6c19be3f7090afeed1bcb87ffa5c877666b5cbe8aa6d9177d8d41ea248be735 ejabberd-1.0.0.ebuild 3212 -MD5 2e4ab0224d246609ff9a118e0110d88d files/digest-ejabberd-1.0.0 244 -RMD160 8e6ee59d0854e04c188c57b00e78f58ac0253763 files/digest-ejabberd-1.0.0 244 -SHA256 f0ddc1f53d8bf517d4948caf6c1b7d7ead48939c4af6a8e7bfaec2e49be550e3 files/digest-ejabberd-1.0.0 244 -MD5 9a8e4312bc168e538a78701b23ab9717 files/ejabberd 348 -RMD160 cfbae5319526fc6e82d6462d011820e1af6a030c files/ejabberd 348 -SHA256 027951df06992925651b0eae03df3714794752db84ea950edc69faf7493db857 files/ejabberd 348 -MD5 7348d713e30c148b3208edf8e24d6ae5 files/ejabberd-1.0.0.confd 777 -RMD160 7c8a17a3e5dd26b4133311c5e875d561f94a4ad4 files/ejabberd-1.0.0.confd 777 -SHA256 f8fb46cb6d48055eab6f95ee487e42b228abe87c2c06a74c08e30872121cc76c files/ejabberd-1.0.0.confd 777 -MD5 608e482a70b1cd9a1a78d721edc8d42d files/ejabberd-1.0.0.initd 1260 -RMD160 0565503966512228f21079213a8587d7ada7a823 files/ejabberd-1.0.0.initd 1260 -SHA256 cd06a6efdefda36993eb82fb6617a9a7e65228941f4deac42d583e96b1d6dfc9 files/ejabberd-1.0.0.initd 1260 -MD5 02f73df322021bad4dceec69bc4ad958 files/ejabberdctl 172 -RMD160 426dfdc02d9c5e733fb6f997ece226355f0b2003 files/ejabberdctl 172 -SHA256 93e967ce07a4e7dd9f4149fe522d64ad5cd699836dcbb651026d6b13e1c3fcc1 files/ejabberdctl 172 diff --git a/net-im/ejabberd/ejabberd-1.0.0.ebuild b/net-im/ejabberd/ejabberd-1.0.0.ebuild deleted file mode 100644 index 7b0c4599..00000000 --- a/net-im/ejabberd/ejabberd-1.0.0.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils - -DESCRIPTION="The Erlang Jabber Daemon" -HOMEPAGE="http://ejabberd.jabber.ru/" -#Mirror from jabberstudio is a pain -SRC_URI="http://process-one.net/en/projects/ejabberd/download/1.0.0/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~amd64 ~sparc" -IUSE="irc ldap ssl odbc msn oscar yahoo icq postgres" - -DEPEND=">=dev-libs/expat-1.95 - >=dev-lang/erlang-8b - ssl? ( >=dev-libs/openssl-0.9.6 ) - ldap? ( =net-nds/openldap-2* )" -PDEPEND="msn? ( net-im/msn-transport ) - oscar? ( net-im/aim-transport ) - yahoo? ( net-im/yahoo-transport ) - icq? ( net-im/jit ) - postgres? ( dev-db/postgresql ) - odbc? ( dev-db/unixODBC )" - -PROVIDE="virtual/jabber-server" - -S=${WORKDIR}/${P}/src - -src_compile() { - local myconf - - use irc || myconf="${myconf} --disable-mod_irc" - use ldap || myconf="${myconf} --disable-eldap" - use ssl || myconf="${myconf} --disable-tls" - use odbc && myconf="${myconf} --enable-odbc" - use icq && myconf="${myconf} --enable-roster-gateway-workaround" - - econf ${myconf} || die - - emake || die "emake failed" -} - -src_install() { - - local test_group=`grep ^jabber: /etc/group | cut -d: -f1` - if [ -z $test_group ] - then - enewgroup jabber - fi - - local test_user=`grep ^jabber: /etc/passwd | cut -d: -f1` - if [ -z $test_user ] - then - enewuser ejabberd -1 -1 /var/spool/ejabberd jabber - fi - - make DESTDIR=${D} 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 ${D}/etc/ejabberd/ejabberd.cfg ${D}/etc/ejabberd/ejabberd.cfg.example - - # Database - dodir /var/spool/ejabberd - fowners ejabberd:jabber /var/spool/ejabberd - fperms 700 /var/spool/ejabberd - - # Home - dodir /var/run/ejabberd - fowners ejabberd:jabber /var/run/ejabberd - - # Logs - dodir /var/log/ejabberd - fowners ejabberd:jabber /var/log/ejabberd - - cd .. - insinto /usr/share/doc/${PF} - doins doc/*.txt - if use postgres ; then - doins src/odbc/pg.sql - fi - dohtml doc/*.html doc/*.png - - dobin ${FILESDIR}/ejabberdctl - dobin ${FILESDIR}/ejabberd - - newinitd ${FILESDIR}/ejabberd-1.0.0.initd ejabberd - if use ssl ; then - insinto /etc/ejabberd - doins ${FILESDIR}/self-cert.sh - fi - - newconfd ${FILESDIR}/ejabberd-1.0.0.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_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/${P}/html/guide.html" - fi - if use ssl ; then - einfo "A script to generate a ssl key has been installed in" - einfo "/etc/ejabberd/self-cert.sh . Use it and change the config file to" - einfo "point to the full path" - fi -} diff --git a/net-im/ejabberd/files/digest-ejabberd-1.0.0 b/net-im/ejabberd/files/digest-ejabberd-1.0.0 deleted file mode 100644 index 6c935e78..00000000 --- a/net-im/ejabberd/files/digest-ejabberd-1.0.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 bc0bfdad2e5e48e42fcc5d09384be74f ejabberd-1.0.0.tar.gz 726315 -RMD160 8a73f79bfb2e832bdf23e331760efa28b9a606a4 ejabberd-1.0.0.tar.gz 726315 -SHA256 5893fe92665fde5ad7af97c8974d39c07a3b36483be35b1f5b6d3f4ec3b6cbb4 ejabberd-1.0.0.tar.gz 726315 diff --git a/net-im/ejabberd/files/ejabberd b/net-im/ejabberd/files/ejabberd deleted file mode 100644 index c34b4305..00000000 --- a/net-im/ejabberd/files/ejabberd +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -cd $HOME -erl +K true \ - -sname ejabberd \ - -s ejabberd \ - -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" \ - log_path \"/var/log/ejabberd/ejabberd.log\" \ - -kernel inetrc \"/etc/ejabberd/inetrc\" \ - -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} \ - -mnesia dir \"/var/spool/ejabberd\" \ - $@ diff --git a/net-im/ejabberd/files/ejabberd-1.0.0.confd b/net-im/ejabberd/files/ejabberd-1.0.0.confd deleted file mode 100644 index 5377b59d..00000000 --- a/net-im/ejabberd/files/ejabberd-1.0.0.confd +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ejabberd/files/ejabberd-0.7.5.confd,v 1.1 2005/04/08 20:02:35 humpback Exp $ - -# Name of your ejabberd node. Used by ejabberdctl to determine which -# node to communicate with. Default is "ejabberd@`hostname -s`". -#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 diff --git a/net-im/ejabberd/files/ejabberd-1.0.0.initd b/net-im/ejabberd/files/ejabberd-1.0.0.initd deleted file mode 100644 index d762311d..00000000 --- a/net-im/ejabberd/files/ejabberd-1.0.0.initd +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -opts="${opts} reload" - -depend() { - use dns - need net - provide jabber-server -} - -checkconfig() { - if [ ! -e /etc/jabber/ejabberd.cfg ] ; then - eerror "You need an /etc/jabber/ejabberd.cfg file to run ejabberd" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting eJabberd" - start-stop-daemon --start --quiet --chuid jabber:jabber \ - --exec /usr/bin/env HOME=/var/run/jabber /usr/bin/ejabberd -- -noshell -detached - eend $? -} - -stop() { - ebegin "Stopping eJabberd" - if [ -z "$EJABBERD_NODE" ]; - then - EJABBERD_NODE="ejabberd@`hostname -s`" - fi - /usr/bin/ejabberdctl $EJABBERD_NODE stop - eend $? -} - -# Work around a bug in /sbin/runscript.sh - it won't run our custom -# restart() unless it finds these two strings in the file. -# svc_start svc_stop -restart() { - ebegin "Restarting eJabberd" - if [ -z "$EJABBERD_NODE" ]; - then - EJABBERD_NODE="ejabberd@`hostname -s`" - fi - /usr/bin/ejabberdctl $EJABBERD_NODE restart - eend $? -} - -reload() { - ebegin "Reloading eJabberd" - if [ -z "$EJABBERD_NODE" ]; - then - EJABBERD_NODE="ejabberd@`hostname -s`" - fi - /usr/bin/ejabberdctl $EJABBERD_NODE reopen-log - eend $? -} diff --git a/net-im/ejabberd/files/ejabberdctl b/net-im/ejabberd/files/ejabberdctl deleted file mode 100644 index c3bab8db..00000000 --- a/net-im/ejabberd/files/ejabberdctl +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -exec env HOME=/var/run/ejabberd \ - erl \ - -noinput \ - -sname ejabberdctl \ - -s ejabberd_ctl \ - -extra $@ |