summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDon Seiler <rizzo@gentoo.org>2004-02-17 22:27:09 +0000
committerDon Seiler <rizzo@gentoo.org>2004-02-17 22:27:09 +0000
commit07f496beb333966d21d86a815247c6dc2b05b0bf (patch)
tree6a390b6886719ed8f4ca1225e4987684097a5c43 /net-im
parentadd ~alpha and ~ia64 (Manifest recommit) (diff)
downloadgentoo-2-07f496beb333966d21d86a815247c6dc2b05b0bf.tar.gz
gentoo-2-07f496beb333966d21d86a815247c6dc2b05b0bf.tar.bz2
gentoo-2-07f496beb333966d21d86a815247c6dc2b05b0bf.zip
Moved net-im/jabber-server to net-im/jabberd
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-server/ChangeLog95
-rw-r--r--net-im/jabber-server/Manifest9
-rw-r--r--net-im/jabber-server/files/config-1.4.2-r4.tbz2bin3833 -> 0 bytes
-rw-r--r--net-im/jabber-server/files/digest-jabber-server-1.4.38
-rw-r--r--net-im/jabber-server/files/digest-jabber-server-1.4.3-r18
-rw-r--r--net-im/jabber-server/files/jabber.rc6-r333
-rw-r--r--net-im/jabber-server/files/msn-configure-patch-0033
-rw-r--r--net-im/jabber-server/jabber-server-1.4.3-r1.ebuild223
-rw-r--r--net-im/jabber-server/jabber-server-1.4.3.ebuild223
-rw-r--r--net-im/jabber-server/metadata.xml6
10 files changed, 0 insertions, 638 deletions
diff --git a/net-im/jabber-server/ChangeLog b/net-im/jabber-server/ChangeLog
deleted file mode 100644
index 3af2bb3d1e7a..000000000000
--- a/net-im/jabber-server/ChangeLog
+++ /dev/null
@@ -1,95 +0,0 @@
-# ChangeLog for net-im/jabber-server
-# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/ChangeLog,v 1.18 2004/01/26 14:21:41 humpback Exp $
-
-*jabber-server-1.4.3-r2 (26 Jan 2004)
-
- 26 Jan 2004; Gustavo Felisberto <humpback@gentoo.org>;
- jabber-server-1.4.3-r2.ebuild:
- Adding 1.4.3-r2 that informs users that they should install the new jabberd
- ebuild and transports
-
- 14 Jan 2004; Aron Griffis <agriffis@gentoo.org>
- jabber-server-1.4.3-r1.ebuild:
- add ~alpha
-
- 05 Jan 2004; Don Seiler <rizzo@gentoo.org>; jabber-server-1.4.3-r1.ebuild
- Unmasking -r1 after getting working confirmation on Bug 35925
-
- 31 Dec 2003; Sven Blumenstein <bazik@gentoo.org>
- jabber-server-1.4.3-r1.ebuild, jabber-server-1.4.3.ebuild:
- Wrong use of "useflag?" in DEPEND fixed (killed repoman)
-
-*jabber-server-1.4.3-r1 (17 Dec 2003)
-
- 17 Dec 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.3-r1.ebuild:
- JUD version bump; masked until tested
-
- 08 Dec 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r2.ebuild,
- jabber-server-1.4.2-r3.ebuild, jabber-server-1.4.2-r4.ebuild,
- jabber-server-1.4.3.ebuild, files/config-1.4.2-r1.tbz2,
- files/config-1.4.2-r3.tbz2, files/hash_map_gcc32.patch, files/jabber.rc6-r1,
- files/mio_ssl.c.patch:
- bugfix, mark as stable, clean out old vers
-
- 08 Dec 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r2.ebuild,
- jabber-server-1.4.2-r3.ebuild, jabber-server-1.4.2-r4.ebuild,
- jabber-server-1.4.3.ebuild:
- use keepdir!
-
-*jabber-server-1.4.3 (18 Nov 2003)
-
- 18 Nov 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r4.ebuild,
- jabber-server-1.4.3.ebuild:
- Unstable version bump & mark 1.4.2-r4 stable
-
- 11 Oct 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r4.ebuild,
- files/config-1.4.2-r4.tbz2:
- Fixed problem w/ MSN-t and moved -r4 to ~x86
-
-*jabber-server-1.4.2-r4 (05 Oct 2003)
-
- 05 Oct 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r4.ebuild,
- files/config-1.4.2-r4.tbz2, files/msn-configure-patch-00:
- MSN-t version bump; no keywords since it doesn't work
-
- 12 Aug 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r3.ebuild:
- DEPEND on !=sys-libs/glibc-2.3.1 if any transports enabled
-
- 11 Aug 2003; Luke-Jr <luke-jr@gentoo.org> metadata.xml:
- Created metadata.xml
-
- 10 Aug 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r3.ebuild:
- Changed DEPEND to !=glibc-2.3.1 instead of >=glibc-2.3.2
-
-*jabber-server-1.4.2-r3 (09 May 2003)
-
- 09 May 2003; Luke-Jr <luke-jr@gentoo.org> jabber-server-1.4.2-r3.ebuild,
- files/config-1.4.2-r3.tbz2, files/jabber.rc6-r3:
- Merged LDAP and JUD ebuild patches; Added package-specific USE flags: j-noaim
- j-nomsn j-nojud j-noyahoo
-
-*jabber-server-1.4.2-r2 (03 Dec 2002)
-
- 25 Apr 2003; Martin Holzer <mholzer@gentoo.org>
- jabber-server-1.4.2-r2.ebuild:
- Updated md5sum
-
- 03 Dec 2003; B.Verwilst <verwilst@gentoo.org> ChangeLog :
- Totally overhauled ebuild.. Enjoy :o)
-
-*jabber-server-1.4.2-r1 (11 May 2002)
-
- 11 May 2002; B.Verwilst <verwilst@gentoo.org> ChangeLog :
- Totally reworked ebuild, with the latest snapshots of the transports,
- this should work virtually out of the box now. Included ssl script as
- well.
-
-*jabber-server-1.4.1 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/net-im/jabber-server/Manifest b/net-im/jabber-server/Manifest
deleted file mode 100644
index 8e1438b133e6..000000000000
--- a/net-im/jabber-server/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 a1bf81449af48d13d421e801a1e8f510 jabber-server-1.4.3.ebuild 7329
-MD5 e104866ed1eb4ce25c6084b053605e27 jabber-server-1.4.3-r1.ebuild 7337
-MD5 5777fd3d69974da55f6e6889bcc4f937 ChangeLog 3714
-MD5 7e448175f482247240ea2c432de5ba27 metadata.xml 287
-MD5 48039b6004a1236eb07d637d15334c28 files/digest-jabber-server-1.4.3-r1 536
-MD5 6eec3798463d34b660b93470f12bb8d5 files/msn-configure-patch-00 1051
-MD5 1293290534790bda82a6f87d97c399fe files/config-1.4.2-r4.tbz2 3833
-MD5 cdd557874bd23433279e577b7e7a511d files/jabber.rc6-r3 904
-MD5 535f34d7e5a2d886fcf25136882a2798 files/digest-jabber-server-1.4.3 536
diff --git a/net-im/jabber-server/files/config-1.4.2-r4.tbz2 b/net-im/jabber-server/files/config-1.4.2-r4.tbz2
deleted file mode 100644
index bbbce869cb4d..000000000000
--- a/net-im/jabber-server/files/config-1.4.2-r4.tbz2
+++ /dev/null
Binary files differ
diff --git a/net-im/jabber-server/files/digest-jabber-server-1.4.3 b/net-im/jabber-server/files/digest-jabber-server-1.4.3
deleted file mode 100644
index 7b5e4119f36a..000000000000
--- a/net-im/jabber-server/files/digest-jabber-server-1.4.3
+++ /dev/null
@@ -1,8 +0,0 @@
-MD5 a3e964d6fa07b5d850302ae0512f94c6 jabberd-1.4.3.tar.gz 258016
-MD5 950e2661ca99e5bcac5930373f0b0fd4 aim-transport-stable-20030314.tar.gz 305569
-MD5 9251a8e86206e5ce3344b3438b187ec0 Install_AIM.exe 2598120
-MD5 7180420f99f81ef24d2667cce72ed14b msn-transport-1.2.8pre5.tar.gz 62502
-MD5 565c259b23ac27ead83a97c3c7daa3b5 yahoo-t-2.1.1.tar.gz 35742
-MD5 ff07f57d1778fe8de28f6e62da423bd7 mu-conference-0.5.1.tar.gz 46838
-MD5 373f0f780c725cc06c824e322fc694ff xdb_ldap-1.0.tar.gz 112204
-MD5 a057e8dd5966fa0d26ded03697ba395a jud-0.4.tar.gz 3950
diff --git a/net-im/jabber-server/files/digest-jabber-server-1.4.3-r1 b/net-im/jabber-server/files/digest-jabber-server-1.4.3-r1
deleted file mode 100644
index 5dd66a067b36..000000000000
--- a/net-im/jabber-server/files/digest-jabber-server-1.4.3-r1
+++ /dev/null
@@ -1,8 +0,0 @@
-MD5 a3e964d6fa07b5d850302ae0512f94c6 jabberd-1.4.3.tar.gz 258016
-MD5 950e2661ca99e5bcac5930373f0b0fd4 aim-transport-stable-20030314.tar.gz 305569
-MD5 9251a8e86206e5ce3344b3438b187ec0 Install_AIM.exe 2598120
-MD5 7180420f99f81ef24d2667cce72ed14b msn-transport-1.2.8pre5.tar.gz 62502
-MD5 565c259b23ac27ead83a97c3c7daa3b5 yahoo-t-2.1.1.tar.gz 35742
-MD5 ff07f57d1778fe8de28f6e62da423bd7 mu-conference-0.5.1.tar.gz 46838
-MD5 373f0f780c725cc06c824e322fc694ff xdb_ldap-1.0.tar.gz 112204
-MD5 7e59e841a3e43cce647f2dbe0f1a090d jud-0.5.tar.gz 5451
diff --git a/net-im/jabber-server/files/jabber.rc6-r3 b/net-im/jabber-server/files/jabber.rc6-r3
deleted file mode 100644
index 461964f6ae3f..000000000000
--- a/net-im/jabber-server/files/jabber.rc6-r3
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/files/jabber.rc6-r3,v 1.1 2003/05/11 16:18:35 luke-jr Exp $
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Jabber Server"
-
- jabberd -B -c /etc/jabber/multiple.xml >/dev/null 2>&1
- for addon in /etc/jabber/*.xml; do
- if [ "$addon" != "/etc/jabber/multiple.xml" ]; then
- jabberd -B -c $addon >/dev/null 2>&1
- fi
- done
-
- #jabberd -c /etc/jabber/aimtrans.xml &
- #jabberd -c /etc/jabber/msntrans.xml &
- #jabberd -c /etc/jabber/yahootrans.xml &
- #jabberd -c /etc/jabber/muctrans.xml &
- #jabberd -c /etc/jabber/icqtrans.xml &
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping Jabber Server"
- killall jabberd
- sleep 2
- eend $?
-}
diff --git a/net-im/jabber-server/files/msn-configure-patch-00 b/net-im/jabber-server/files/msn-configure-patch-00
deleted file mode 100644
index 944555da6f6d..000000000000
--- a/net-im/jabber-server/files/msn-configure-patch-00
+++ /dev/null
@@ -1,33 +0,0 @@
---- configure.old 2003-10-05 17:43:27.601744112 +0000
-+++ configure 2003-10-05 17:45:35.238340400 +0000
-@@ -1055,9 +1055,6 @@
- JABBERD_INC="-I$JABBERD_PATH"
-
-
--PTH_INC="-I$JABBERD_PATH/pth-1.4.0"
--
--
- echo $ac_n "checking for jabberd.h""... $ac_c" 1>&6
- echo "configure:1063: checking for jabberd.h" >&5
- if test -f "$JABBERD_PATH/jabberd.h"; then
-@@ -1073,20 +1070,6 @@
- +----------------------------------------+" 1>&2; exit 1; };
- fi
-
--echo $ac_n "checking for pth-1.4.0/pth.h""... $ac_c" 1>&6
--echo "configure:1078: checking for pth-1.4.0/pth.h" >&5
--if test -f "$JABBERD_PATH/pth-1.4.0/pth.h"; then
-- echo "$ac_t""Found" 1>&6;
--else
-- echo "$ac_t""Error" 1>&6;
-- { echo "configure: error:
--+----------------------------------------+
--| Try running with the --with-jabberd |
--| option to specify the absolute path. |
--| (there must be a pth-1.4.0 directory) |
--+----------------------------------------+" 1>&2; exit 1; };
--fi
--
-
- # Check whether --with-curl or --without-curl was given.
- if test "${with_curl+set}" = set; then
diff --git a/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild b/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild
deleted file mode 100644
index d9627e9196ad..000000000000
--- a/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild,v 1.4 2004/01/15 04:00:34 agriffis Exp $
-
-S="${WORKDIR}/jabberd-${PV}"
-DESCRIPTION="Open Source Jabber Server & JUD,MUC,AIM,MSN,ICQ and Yahoo transports"
-HOMEPAGE="http://www.jabber.org"
-SRC_URI="http://jabberd.jabberstudio.org/1.4/dist/jabberd-${PV}.tar.gz
- !j-noaim? ( mirror://gentoo/aim-transport-stable-20030314.tar.gz
- http://ftp.newaol.com/aim/win95/Install_AIM.exe )
- !j-nomsn? ( http://msn-transport.jabberstudio.org/msn-transport-1.2.8pre5.tar.gz )
- !j-noyahoo? (http://yahoo-transport.jabberstudio.org/yahoo-t-2.1.1.tar.gz )
- !j-nomuconf? ( http://www.jabberstudio.org/files/mu-conference/mu-conference-0.5.1.tar.gz )
- ldap? ( http://www.jabberstudio.org/files/xdb_ldap/xdb_ldap-1.0.tar.gz )
- !j-nojud? ( http://jud.jabberstudio.org/jud-0.5.tar.gz )"
-#mirror://gentoo/Install_AIM_3.5.1670.exe
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~alpha"
-IUSE="ssl ldap ipv6"
-# Internal USE flags that I do not really want to advertise ...
-IUSE="${IUSE} j-nomsn j-noaim j-noyahoo j-nomuconf j-nojud"
-
-DEPEND="=dev-libs/pth-1.4.0
- !j-noyahoo? ( =dev-libs/glib-1.2* !=sys-libs/glibc-2.3.1 )
- ssl? ( >=dev-libs/openssl-0.9.6i )
- ldap? ( =net-nds/openldap-2* )
- !j-nomsn? ( !=sys-libs/glibc-2.3.1 net-ftp/curl )
- !j-noaim? ( !=sys-libs/glibc-2.3.1 )
- !j-nomuconf? ( !=sys-libs/glibc-2.3.1 )
- !j-nojud? ( !=sys-libs/glibc-2.3.1 )"
-
-src_unpack() {
- unpack jabberd-${PV}.tar.gz
- cd ${S}
- if ! use j-nomsn; then
- unpack msn-transport-1.2.8pre5.tar.gz
- cd msn-transport*
- epatch ${FILESDIR}/msn-configure-patch-00
- cd ..
- fi
- use j-noyahoo || unpack yahoo-t-2.1.1.tar.gz
- use j-nojud || unpack jud-0.5.tar.gz
- use ldap && unpack xdb_ldap-1.0.tar.gz
- if ! use j-nomuconf; then
- unpack mu-conference-0.5.1.tar.gz
- mv ${S}/mu-conference-0.5.1 ${S}/mu-conference
- fi
- if ! use j-noaim; then
- unpack aim-transport-stable-20030314.tar.gz
- mv ${S}/aim-transport-stable-20030314 ${S}/aim-transport
- cd ${S}/aim-transport
- cp ${DISTDIR}/Install_AIM.exe .
- fi
-
- mkdir ${S}/config -p
- cd ${S}/config
- tar -xjf ${FILESDIR}/config-1.4.2-r4.tbz2
-}
-
-src_compile() {
- # These can cause problems with certain configure scripts used...
- unset LC_ALL LC_CTYPE
-
-
- local myconf=""
- cd ${S}
- use ssl && myconf="$myconf --enable-ssl"
- use ipv6 && myconf="$myconf --enable-ipv6"
-
- mv jabberd/jabberd.c jabberd/jabberd.c.orig
- sed 's:pstrdup(jabberd__runtime,HOME):"/var/spool/jabber":' jabberd/jabberd.c.orig > jabberd/jabberd.c
- rm -f jabberd/jabberd.c.orig
- ./configure ${myconf} || die
- make || die
-
- if ! use j-noaim; then
- cd ${S}/aim-transport
- ./configure || die
- make || die
- make install
- fi
-
- if ! use j-nomsn; then
- cd ${S}/msn-transport*
- ./configure --with-jabberd=${S}/jabberd || die
- make || die
- fi
-
- if ! use j-nomuconf; then
- cd ${S}/mu-conference
- make || die
- fi
-
- if ! use j-nojud; then
- cd ${S}/jud-ansi-c
- make || die
- fi
-
- if ! use j-noyahoo; then
- cd ${S}/yahoo-transport-2
- make || die
- fi
-
- if use ldap; then
- cd ${S}/xdb_ldap/src
- make all || die
- fi
-}
-
-src_install() {
- exeinto /etc/init.d ; newexe ${FILESDIR}/jabber.rc6-r3 jabber
- dodir /usr/sbin /etc/jabber /usr/lib/jabber /var/log/jabber
- touch ${D}/var/log/jabber/error.log
- touch ${D}/var/log/jabber/record.log
- keepdir /var/spool/jabber
- dodir /var/run
-
- cp ${S}/jabberd/jabberd ${D}/usr/sbin/
- if ! use j-noaim; then
- cp ${S}/aim-transport/src/aimtrans.so ${D}/usr/lib/jabber/
- cp ${S}/aim-transport/Install_AIM.exe ${D}/usr/lib/jabber/
- cp ${S}/config/aimtrans.xml ${D}/etc/jabber/
- cp ${S}/config/icqtrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nomsn; then
- cp ${S}/msn-transport*/src/msntrans.so ${D}/usr/lib/jabber/
- cp ${S}/config/msntrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nomuconf; then
- cp ${S}/mu-conference/src/mu-conference.so ${D}/usr/lib/jabber/
- cp ${S}/config/muctrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nojud; then
- cp ${S}/jud-ansi-c/jud.so ${D}/usr/lib/jabber/
- cp ${S}/jud-ansi-c/README ${D}/etc/jabber/jud.README
- fi
- if ! use j-noyahoo; then
- cp ${S}/yahoo-transport-2/yahoo-transport.so ${D}/usr/lib/jabber/
- cp ${S}/config/yahootrans.xml ${D}/etc/jabber/
- fi
- cp ${S}/jsm/jsm.so ${D}/usr/lib/jabber/
- cp ${S}/xdb_file/xdb_file.so ${D}/usr/lib/jabber/
- cp ${S}/pthsock/pthsock_client.so ${D}/usr/lib/jabber/
- cp ${S}/dnsrv/dnsrv.so ${D}/usr/lib/jabber/
- cp ${S}/dialback/dialback.so ${D}/usr/lib/jabber/
- if use ldap; then
- cp ${S}/xdb_ldap/jabber.schema ${D}/etc/jabber/
- cp ${S}/xdb_ldap/slapd.conf ${D}/etc/jabber/
- cp ${S}/xdb_ldap/src/xdb_ldap.so ${D}/usr/lib/jabber/
- cp ${S}/config/xdb-ldap.xml ${D}/etc/jabber/
- fi
- if use j-noaim; then
- grep -v 'aim data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nomsn; then
- grep -v 'msn data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-noyahoo; then
- grep -v 'yahoo data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nomuconf; then
- grep -v 'muconf data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nojud; then
- grep -v 'jud data' ${S}/config/multiple.xml > ${S}/config/multiple.xml
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi
- cp ${S}/config/multiple.xml ${D}/etc/jabber/
-}
-
-pkg_postinst() {
- local test_group=`grep ^jabber: /etc/group | cut -d: -f1`
- if [ -z $test_group ]
- then
- groupadd jabber
- fi
-
- local test_user=`grep ^jabber: /etc/passwd | cut -d: -f1`
- if [ -z $test_user ]
- then
- useradd jabber -s /bin/false -d /var/spool/jabber -g jabber -m
- fi
-
- chown jabber:jabber /etc/jabber
- chown jabber:jabber /usr/sbin/jabberd
- chown jabber:jabber /var/log/jabber -R
- chown jabber:jabber /var/spool/jabber -R
- chmod o-rwx /etc/jabber
- chmod o-rwx /usr/sbin/jabberd
- chmod o-rwx /var/log/jabber -R
- chmod o-rwx /var/spool/jabber -R
- chmod u+rwx /usr/sbin/jabberd
- chmod g-x /etc/jabber
- chmod g-x /usr/sbin/jabberd
- chmod g-x /var/log/jabber -R
- chmod g-x /var/spool/jabber -R
- chmod g+rw /etc/jabber
- chmod g+rw /usr/sbin/jabberd
- chmod g+rw /var/spool/jabber -R
- chmod g+rw /var/log/jabber -R
- chmod u+xs /usr/sbin/jabberd
-
- einfo "Change 'localhost' to your server's domainname in the"
- einfo "/etc/jabber/*.xml configs first"
- if use ssl >/dev/null; then
- einfo "To enable SSL connections, execute /etc/jabber/self-cert.sh"
- fi
- einfo "Server admins should be added to the "jabber" group"
- if use ldap >/dev/null; then
- einfo "In order to use the ldap backend, you need to copy"
- einfo "the file /etc/jabber/jabber.schema into the /etc/openldap/schemas"
- einfo "directory on your ldap server. You will also need to"
- einfo "include the schema in your slapd.conf file and retsart openldap."
- einfo "An example slapd.conf file is included in /etc/jabber."
- einfo "The xdb_ldap backend expects your ldap server to handle"
- einfo "StartTLS or run in ldaps mode."
- fi
- if ! use j-nojud >/dev/null; then
- einfo "To complete JUD configuration, read /etc/jabber/jud.README"
- fi
-}
diff --git a/net-im/jabber-server/jabber-server-1.4.3.ebuild b/net-im/jabber-server/jabber-server-1.4.3.ebuild
deleted file mode 100644
index 564ef5cd63d4..000000000000
--- a/net-im/jabber-server/jabber-server-1.4.3.ebuild
+++ /dev/null
@@ -1,223 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.3.ebuild,v 1.5 2004/01/05 16:02:58 rizzo Exp $
-
-S="${WORKDIR}/jabberd-${PV}"
-DESCRIPTION="Open Source Jabber Server & JUD,MUC,AIM,MSN,ICQ and Yahoo transports"
-HOMEPAGE="http://www.jabber.org"
-SRC_URI="http://jabberd.jabberstudio.org/1.4/dist/jabberd-${PV}.tar.gz
- !j-noaim? ( mirror://gentoo/aim-transport-stable-20030314.tar.gz
- http://ftp.newaol.com/aim/win95/Install_AIM.exe )
- !j-nomsn? ( http://msn-transport.jabberstudio.org/msn-transport-1.2.8pre5.tar.gz )
- !j-noyahoo? (http://yahoo-transport.jabberstudio.org/yahoo-t-2.1.1.tar.gz )
- !j-nomuconf? ( http://www.jabberstudio.org/files/mu-conference/mu-conference-0.5.1.tar.gz )
- ldap? ( http://www.jabberstudio.org/files/xdb_ldap/xdb_ldap-1.0.tar.gz )
- !j-nojud? ( http://download.jabber.org/dists/1.4/final/jud-0.4.tar.gz )"
-#mirror://gentoo/Install_AIM_3.5.1670.exe
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86"
-IUSE="ssl ldap ipv6"
-# Internal USE flags that I do not really want to advertise ...
-IUSE="${IUSE} j-nomsn j-noaim j-noyahoo j-nomuconf j-nojud"
-
-DEPEND="=dev-libs/pth-1.4.0
- !j-noyahoo? ( =dev-libs/glib-1.2* !=sys-libs/glibc-2.3.1 )
- ssl? ( >=dev-libs/openssl-0.9.6i )
- ldap? ( =net-nds/openldap-2* )
- !j-nomsn? ( !=sys-libs/glibc-2.3.1 net-ftp/curl )
- !j-noaim? ( !=sys-libs/glibc-2.3.1 )
- !j-nomuconf? ( !=sys-libs/glibc-2.3.1 )
- !j-nojud? ( !=sys-libs/glibc-2.3.1 )"
-
-src_unpack() {
- unpack jabberd-${PV}.tar.gz
- cd ${S}
- if ! use j-nomsn; then
- unpack msn-transport-1.2.8pre5.tar.gz
- cd msn-transport*
- epatch ${FILESDIR}/msn-configure-patch-00
- cd ..
- fi
- use j-noyahoo || unpack yahoo-t-2.1.1.tar.gz
- use j-nojud || unpack jud-0.4.tar.gz
- use ldap && unpack xdb_ldap-1.0.tar.gz
- if ! use j-nomuconf; then
- unpack mu-conference-0.5.1.tar.gz
- mv ${S}/mu-conference-0.5.1 ${S}/mu-conference
- fi
- if ! use j-noaim; then
- unpack aim-transport-stable-20030314.tar.gz
- mv ${S}/aim-transport-stable-20030314 ${S}/aim-transport
- cd ${S}/aim-transport
- cp ${DISTDIR}/Install_AIM.exe .
- fi
-
- mkdir ${S}/config -p
- cd ${S}/config
- tar -xjf ${FILESDIR}/config-1.4.2-r4.tbz2
-}
-
-src_compile() {
- # These can cause problems with certain configure scripts used...
- unset LC_ALL LC_CTYPE
-
-
- local myconf=""
- cd ${S}
- use ssl && myconf="$myconf --enable-ssl"
- use ipv6 && myconf="$myconf --enable-ipv6"
-
- mv jabberd/jabberd.c jabberd/jabberd.c.orig
- sed 's:pstrdup(jabberd__runtime,HOME):"/var/spool/jabber":' jabberd/jabberd.c.orig > jabberd/jabberd.c
- rm -f jabberd/jabberd.c.orig
- ./configure ${myconf} || die
- make || die
-
- if ! use j-noaim; then
- cd ${S}/aim-transport
- ./configure || die
- make || die
- make install
- fi
-
- if ! use j-nomsn; then
- cd ${S}/msn-transport*
- ./configure --with-jabberd=${S}/jabberd || die
- make || die
- fi
-
- if ! use j-nomuconf; then
- cd ${S}/mu-conference
- make || die
- fi
-
- if ! use j-nojud; then
- cd ${S}/jud-0.4
- make || die
- fi
-
- if ! use j-noyahoo; then
- cd ${S}/yahoo-transport-2
- make || die
- fi
-
- if use ldap; then
- cd ${S}/xdb_ldap/src
- make all || die
- fi
-}
-
-src_install() {
- exeinto /etc/init.d ; newexe ${FILESDIR}/jabber.rc6-r3 jabber
- dodir /usr/sbin /etc/jabber /usr/lib/jabber /var/log/jabber
- touch ${D}/var/log/jabber/error.log
- touch ${D}/var/log/jabber/record.log
- keepdir /var/spool/jabber
- dodir /var/run
-
- cp ${S}/jabberd/jabberd ${D}/usr/sbin/
- if ! use j-noaim; then
- cp ${S}/aim-transport/src/aimtrans.so ${D}/usr/lib/jabber/
- cp ${S}/aim-transport/Install_AIM.exe ${D}/usr/lib/jabber/
- cp ${S}/config/aimtrans.xml ${D}/etc/jabber/
- cp ${S}/config/icqtrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nomsn; then
- cp ${S}/msn-transport*/src/msntrans.so ${D}/usr/lib/jabber/
- cp ${S}/config/msntrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nomuconf; then
- cp ${S}/mu-conference/src/mu-conference.so ${D}/usr/lib/jabber/
- cp ${S}/config/muctrans.xml ${D}/etc/jabber/
- fi
- if ! use j-nojud; then
- cp ${S}/jud-0.4/jud.so ${D}/usr/lib/jabber/
- cp ${S}/jud-0.4/README ${D}/etc/jabber/jud.README
- fi
- if ! use j-noyahoo; then
- cp ${S}/yahoo-transport-2/yahoo-transport.so ${D}/usr/lib/jabber/
- cp ${S}/config/yahootrans.xml ${D}/etc/jabber/
- fi
- cp ${S}/jsm/jsm.so ${D}/usr/lib/jabber/
- cp ${S}/xdb_file/xdb_file.so ${D}/usr/lib/jabber/
- cp ${S}/pthsock/pthsock_client.so ${D}/usr/lib/jabber/
- cp ${S}/dnsrv/dnsrv.so ${D}/usr/lib/jabber/
- cp ${S}/dialback/dialback.so ${D}/usr/lib/jabber/
- if use ldap; then
- cp ${S}/xdb_ldap/jabber.schema ${D}/etc/jabber/
- cp ${S}/xdb_ldap/slapd.conf ${D}/etc/jabber/
- cp ${S}/xdb_ldap/src/xdb_ldap.so ${D}/usr/lib/jabber/
- cp ${S}/config/xdb-ldap.xml ${D}/etc/jabber/
- fi
- if use j-noaim; then
- grep -v 'aim data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nomsn; then
- grep -v 'msn data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-noyahoo; then
- grep -v 'yahoo data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nomuconf; then
- grep -v 'muconf data' ${S}/config/multiple.xml > ${S}/config/multiple.xml.new
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi; if use j-nojud; then
- grep -v 'jud data' ${S}/config/multiple.xml > ${S}/config/multiple.xml
- mv ${S}/config/multiple.xml.new ${S}/config/multiple.xml
- fi
- cp ${S}/config/multiple.xml ${D}/etc/jabber/
-}
-
-pkg_postinst() {
- local test_group=`grep ^jabber: /etc/group | cut -d: -f1`
- if [ -z $test_group ]
- then
- groupadd jabber
- fi
-
- local test_user=`grep ^jabber: /etc/passwd | cut -d: -f1`
- if [ -z $test_user ]
- then
- useradd jabber -s /bin/false -d /var/spool/jabber -g jabber -m
- fi
-
- chown jabber:jabber /etc/jabber
- chown jabber:jabber /usr/sbin/jabberd
- chown jabber:jabber /var/log/jabber -R
- chown jabber:jabber /var/spool/jabber -R
- chmod o-rwx /etc/jabber
- chmod o-rwx /usr/sbin/jabberd
- chmod o-rwx /var/log/jabber -R
- chmod o-rwx /var/spool/jabber -R
- chmod u+rwx /usr/sbin/jabberd
- chmod g-x /etc/jabber
- chmod g-x /usr/sbin/jabberd
- chmod g-x /var/log/jabber -R
- chmod g-x /var/spool/jabber -R
- chmod g+rw /etc/jabber
- chmod g+rw /usr/sbin/jabberd
- chmod g+rw /var/spool/jabber -R
- chmod g+rw /var/log/jabber -R
- chmod u+xs /usr/sbin/jabberd
-
- einfo "Change 'localhost' to your server's domainname in the"
- einfo "/etc/jabber/*.xml configs first"
- if use ssl >/dev/null; then
- einfo "To enable SSL connections, execute /etc/jabber/self-cert.sh"
- fi
- einfo "Server admins should be added to the "jabber" group"
- if use ldap >/dev/null; then
- einfo "In order to use the ldap backend, you need to copy"
- einfo "the file /etc/jabber/jabber.schema into the /etc/openldap/schemas"
- einfo "directory on your ldap server. You will also need to"
- einfo "include the schema in your slapd.conf file and retsart openldap."
- einfo "An example slapd.conf file is included in /etc/jabber."
- einfo "The xdb_ldap backend expects your ldap server to handle"
- einfo "StartTLS or run in ldaps mode."
- fi
- if ! use j-nojud >/dev/null; then
- einfo "To complete JUD configuration, read /etc/jabber/jud.README"
- fi
-}
diff --git a/net-im/jabber-server/metadata.xml b/net-im/jabber-server/metadata.xml
deleted file mode 100644
index 8198b9cffc00..000000000000
--- a/net-im/jabber-server/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-im</herd>
-<longdescription>This is the official Jabber server along with many different gateways to other IM protocols.</longdescription>
-</pkgmetadata>