summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Verwilst <verwilst@gentoo.org>2002-11-13 12:56:03 +0000
committerBart Verwilst <verwilst@gentoo.org>2002-11-13 12:56:03 +0000
commit131521c1b6f3c3022eebbc454a9f454419332dd6 (patch)
tree2073424e52a809ea692bc89e93cccda7aa8efa58 /net-im/jabber-server
parentunmask x86 (diff)
downloadgentoo-2-131521c1b6f3c3022eebbc454a9f454419332dd6.tar.gz
gentoo-2-131521c1b6f3c3022eebbc454a9f454419332dd6.tar.bz2
gentoo-2-131521c1b6f3c3022eebbc454a9f454419332dd6.zip
other fixes
Diffstat (limited to 'net-im/jabber-server')
-rw-r--r--net-im/jabber-server/files/config-1.4.2-r1.tbz2bin0 -> 3180 bytes
-rw-r--r--net-im/jabber-server/files/config-1.4.2.tar.bz2bin3359 -> 0 bytes
-rw-r--r--net-im/jabber-server/files/jabber.rc6-r127
-rw-r--r--net-im/jabber-server/files/pth.patch29
-rw-r--r--net-im/jabber-server/jabber-server-1.4.2-r2.ebuild34
5 files changed, 49 insertions, 41 deletions
diff --git a/net-im/jabber-server/files/config-1.4.2-r1.tbz2 b/net-im/jabber-server/files/config-1.4.2-r1.tbz2
new file mode 100644
index 000000000000..6eb3842fe6c1
--- /dev/null
+++ b/net-im/jabber-server/files/config-1.4.2-r1.tbz2
Binary files differ
diff --git a/net-im/jabber-server/files/config-1.4.2.tar.bz2 b/net-im/jabber-server/files/config-1.4.2.tar.bz2
deleted file mode 100644
index 7cae8d56ec7d..000000000000
--- a/net-im/jabber-server/files/config-1.4.2.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/net-im/jabber-server/files/jabber.rc6-r1 b/net-im/jabber-server/files/jabber.rc6-r1
new file mode 100644
index 000000000000..23b897d2b13a
--- /dev/null
+++ b/net-im/jabber-server/files/jabber.rc6-r1
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2002 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-r1,v 1.1 2002/11/13 12:56:03 verwilst Exp $
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting Jabber Server"
+
+ /usr/sbin/jabberd -c multiple.xml &
+ /usr/sbin/jabberd -c aimtrans.xml &
+ /usr/sbin/jabberd -c msntrans.xml &
+ /usr/sbin/jabberd -c yahootrans.xml &
+ /usr/sbin/jabberd -c muctrans.xml &
+ /usr/sbin/jabberd -c icqtrans.xml &
+
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Jabber Server"
+ killall jabberd
+ sleep 2
+ eend $?
+}
diff --git a/net-im/jabber-server/files/pth.patch b/net-im/jabber-server/files/pth.patch
deleted file mode 100644
index e8f887c1fb3f..000000000000
--- a/net-im/jabber-server/files/pth.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.orig 2002-02-04 17:05:37.000000000 -0600
-+++ configure 2002-10-19 09:54:16.000000000 -0500
-@@ -81,13 +81,13 @@
- PTH_LDFLAGS=`pth-config --ldflags`
- PTH_LIBS=`pth-config --libs`
- PTH_LIBDIR=`pth-config --libdir`
--if [ -n "$PTH_CFLAGS" ]; then
-- CFLAGS="$CFLAGS $PTH_CFLAGS";
-- LDFLAGS="$LDFLAGS $PTH_LDFLAGS";
-- LIBS="$LIBS $PTH_LIBS";
-- SLIBS="$SLIBS $PTH_LIBDIR/libpth.a";
-- printf " Done.\n";
--else
-+#if [ -n "$PTH_CFLAGS" ]; then
-+ #CFLAGS="$CFLAGS $PTH_CFLAGS";
-+ #LDFLAGS="$LDFLAGS $PTH_LDFLAGS";
-+ #LIBS="$LIBS $PTH_LIBS";
-+ #SLIBS="$SLIBS $PTH_LIBDIR/libpth.a";
-+ #printf " Done.\n";
-+#else
- if [ -d "jabberd/pth-1.4.1" ]; then
- opwd=`pwd`
- cd jabberd/pth-1.4.1;
-@@ -100,7 +100,7 @@
- else
- printf " Error.\n\n No version of PTH is available on this system\nhttp://www.gnu.org/software/pth/";
- fi
--fi
-+#fi
diff --git a/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild b/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
index 8f3078e14fd6..30191c29ea6b 100644
--- a/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
+++ b/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 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.2-r2.ebuild,v 1.3 2002/11/12 22:11:31 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild,v 1.4 2002/11/13 12:56:03 verwilst Exp $
IUSE="ssl"
@@ -15,6 +15,7 @@ SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz
http://files.jabberstudio.org/mu-conference/muconference-0.3.tar.gz"
DEPEND=">=dev-libs/pth-1.4.0
+ >=dev-libs/glib-2
ssl? ( >=dev-libs/openssl-0.9.6g )"
SLOT="0"
@@ -26,7 +27,6 @@ src_unpack() {
unpack jabber-${PV}.tar.gz
cd ${S}
patch -p0 < ${FILESDIR}/mio_ssl.c.patch
- patch -p0 < ${FILESDIR}/pth.patch
tar -xjf ${FILESDIR}/config-1.4.2.tar.bz2
unpack msn-transport-stable-20011217.tar.gz
unpack aim-transport-stable-20021112.tar.gz
@@ -47,23 +47,23 @@ src_compile() {
mv jabberd/jabberd.c jabberd/jabberd.c.orig
sed 's:pstrdup(jabberd__runtime,HOME):"/usr/bin":' jabberd/jabberd.c.orig > jabberd/jabberd.c
rm -f jabberd/jabberd.c.orig
- ./configure --with-pth-includes=../jabberd/pth-1.4.0 ${myconf} || die
+ ./configure ${myconf} || die
make || die
cd ${S}/aim-transport
- ./autogen.sh --with-pth-includes=../jabberd/pth-1.4.0 || die
- make CFLAGS="-Ijabberd/pth-1.4.0 -DAIM_BUILDDATE=\"`date +%Y%m%d`\" -DAIM_BUILDTIME=\"`date +%H%M%S`\" " || die
+ ./configure || die
+ make || die
+ make install
cd ${S}/msn-transport
./bootstrap || die
- ./configure --with-pth-includes=../jabberd/pth-1.4.0 || die
- make CFLAGS="-Ijabberd/pth-1.4.0" || die
+ ./configure || die
+ make || die
cd ${S}/mu-conference
- pass
+ make || die
cd ${S}/yahoo-transport-2
- CPPFLAGS="$CPPFLAGS -I../jabberd -I../../jabberd -I../jabberd/pth-1.4.0" ./autogen.sh || die
make || die
}
@@ -75,9 +75,19 @@ src_install() {
touch error.log
touch record.log
exeinto /etc/init.d ; newexe ${FILESDIR}/jabber.rc6 jabber
- mkdir -p ${D}/usr/jabber-${PV}
- cp -rf * ${D}/usr/jabber-${PV}/
- cd ${D}/usr/jabber-${PV}/jabberd
+ mkdir -p ${D}/usr/sbin
+ mkdir -p ${D}/etc/jabber
+ mkdir -p ${D}/usr/lib/jabber
+ cp ${S}/jabberd/jabberd ${D}/usr/sbin/
+ cp ${S}/aim-transport/src/aimtrans.so ${D}/usr/lib/jabber/
+ cp ${S}/aim-transport/Install_AIM_3.5.1670.exe ${D}/usr/lib/jabber/
+ cp ${S}/msn-transport/src/msntrans.so ${D}/usr/lib/jabber/
+ cp ${S}/mu-conference/src/mu-conference.so ${D}/usr/lib/jabber/
+ cp ${S}/yahoo-transport-2/yahoo-transport.so ${D}/usr/lib/jabber/
+ cd ${D}/etc/jabber
+ tar -xjf ${FILESDIR}/config-1.4.2-r1.tar.bz2
+
+
}