diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2003-01-02 12:18:16 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2003-01-02 12:18:16 +0000 |
commit | 22cd35ffd4fac1064b68d8e113fcb40918e2bbde (patch) | |
tree | 32d1234188fcf92fd24d14bf494f81353bb11347 /net-im/jabber-server | |
parent | Added CXX='g++' so gcc2 systems don't have problems compiling. (diff) | |
download | gentoo-2-22cd35ffd4fac1064b68d8e113fcb40918e2bbde.tar.gz gentoo-2-22cd35ffd4fac1064b68d8e113fcb40918e2bbde.tar.bz2 gentoo-2-22cd35ffd4fac1064b68d8e113fcb40918e2bbde.zip |
changed r2 to stable
Diffstat (limited to 'net-im/jabber-server')
-rw-r--r-- | net-im/jabber-server/files/digest-jabber-server-1.4.2-r1 | 7 | ||||
-rw-r--r-- | net-im/jabber-server/files/jabber.rc6 | 30 | ||||
-rw-r--r-- | net-im/jabber-server/jabber-server-1.4.2-r1.ebuild | 97 | ||||
-rw-r--r-- | net-im/jabber-server/jabber-server-1.4.2-r2.ebuild | 4 |
4 files changed, 2 insertions, 136 deletions
diff --git a/net-im/jabber-server/files/digest-jabber-server-1.4.2-r1 b/net-im/jabber-server/files/digest-jabber-server-1.4.2-r1 deleted file mode 100644 index 2a23d203c69e..000000000000 --- a/net-im/jabber-server/files/digest-jabber-server-1.4.2-r1 +++ /dev/null @@ -1,7 +0,0 @@ -MD5 e5a0f96ba804a1626e37806d17114e1e jabber-1.4.2.tar.gz 691919 -MD5 b17f55aa42a3e6e6ca484fa2e9688b87 conference-0.4.tar.gz 9533 -MD5 a057e8dd5966fa0d26ded03697ba395a jud-0.4.tar.gz 3950 -MD5 802fbf87f950147afe47841af234d40d aim-transport-stable-20020503.tar.gz 149342 -MD5 7cff38bc6f2b0adae9e942cffa1b5b70 msn-transport-stable-20011217.tar.gz 33781 -MD5 910073bf65c00b08aa2edd95ca122ece yahoo-transport-0.8.4.6.tar.gz 89610 -MD5 3946cf625278fb5899cad78d49f469d4 Install_AIM_3.5.1670.exe 2452872 diff --git a/net-im/jabber-server/files/jabber.rc6 b/net-im/jabber-server/files/jabber.rc6 deleted file mode 100644 index 7a12d2687087..000000000000 --- a/net-im/jabber-server/files/jabber.rc6 +++ /dev/null @@ -1,30 +0,0 @@ -#!/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,v 1.3 2002/05/11 08:13:42 verwilst Exp $ -depend() { - need net -} - -start() { - ebegin "Starting Jabber Server" - - cd /usr/jabber-1.4.2 - - ./jabberd/jabberd -c multiple.xml & - ./jabberd/jabberd -c aimtrans.xml & - ./jabberd/jabberd -c msntrans.xml & - ./jabberd/jabberd -c yahootrans.xml & - ./jabberd/jabberd -c confserv.xml & - ./jabberd/jabberd -c icqtrans.xml & - ./jabberd/jabberd -c judserv.xml & - - eend $? -} - -stop() { - ebegin "Stopping Jabber Server" - killall jabberd - sleep 2 - eend $? -} diff --git a/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild b/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild deleted file mode 100644 index 275e13c614f5..000000000000 --- a/net-im/jabber-server/jabber-server-1.4.2-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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-r1.ebuild,v 1.5 2002/11/30 02:06:30 vapier Exp $ - -S="${WORKDIR}/jabber-${PV}" -DESCRIPTION="Open Source Jabber Server & JUD,AIM,MSN,ICQ,Yahoo and Conference transports" -HOMEPAGE="http://www.jabber.org/" -SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz - http://jabberd.jabberstudio.org/downloads/conference-0.4.tar.gz - http://jabberd.jabberstudio.org/downloads/jud-0.4.tar.gz - http://www.ibiblio.org/gentoo/distfiles/aim-transport-stable-20020503.tar.gz - http://www.ibiblio.org/gentoo/distfiles/msn-transport-stable-20011217.tar.gz - http://www.ibiblio.org/gentoo/distfiles/yahoo-transport-0.8.4.6.tar.gz - http://www.ibiblio.org/gentoo/distfiles/Install_AIM_3.5.1670.exe" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86" -IUSE="ssl" - -DEPEND=">=dev-libs/pth-1.4.0 - ssl? ( >=dev-libs/openssl-0.9.6c )" - -src_unpack() { - unpack jabber-${PV}.tar.gz - cd ${S} - tar -xjf ${FILESDIR}/config-1.4.2.tar.bz2 - unpack msn-transport-stable-20011217.tar.gz - unpack aim-transport-stable-20020503.tar.gz - unpack conference-0.4.tar.gz - unpack jud-0.4.tar.gz - unpack yahoo-transport-0.8.4.6.tar.gz - cd ${S}/aim-transport - cp ${DISTDIR}/Install_AIM_3.5.1670.exe . -} - -src_compile() { - local myconf - use ssl && myconf="--enable-ssl" - - mv jabberd/jabberd.c jabberd/jabberd.c.orig - sed 's:pstrdup(jabberd__runtime,HOME):"/usr/jabber-1.4.2":' jabberd/jabberd.c.orig > jabberd/jabberd.c - rm -f jabberd/jabberd.c.orig - ./configure ${myconf} || die - make || die - - cd ${S}/conference-0.4 - make || die - - cd ${S}/jud-0.4 - make || die - - cd ${S}/aim-transport - ./autogen.sh || die - make || die - - cd ${S}/msn-transport - ./bootstrap || die - ./configure || die - make || die - - cd ${S}/yahoo-transport - CPPFLAGS="$CPPFLAGS -I../jabberd -I../../jabberd" ./autogen.sh || die - make || die -} - - -src_install() { - cd ${S} - touch error.log - touch record.log - exeinto /etc/init.d ; newexe ${FILESDIR}/jabber.rc6 jabber - dodir/usr/jabber-${PV} - cp -rf * ${D}/usr/jabber-${PV}/ - cd ${D}/usr/jabber-${PV}/jabberd -} - -pkg_postinst() { - cd /usr/jabber-${PV} - groupadd jabber - useradd jabber -s /bin/false -d /usr/jabber-${PV} -g jabber -m - chown jabber.jabber * -R - chmod o-rwx * -R - chmod g-x * -R - chmod g+rw * -R - chmod u+xs jabberd/jabberd - - einfo "Change 'localhost' to your server's domainname in the *.xml configs first" - einfo "To enable SSL connections, execute ./self-cert.sh in the server's dir" - einfo "(Only if compiled with SSL support (ssl in USE)" - einfo "Server admins should be added to the "jabber" group" -} - -pkg_postrm() { - userdel jabber - groupdel jabber -} 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 dd5789a4b232..08d020b17b5a 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.21 2002/12/12 18:14:44 verwilst Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/jabber-server-1.4.2-r2.ebuild,v 1.22 2003/01/02 12:18:16 verwilst Exp $ S="${WORKDIR}/jabber-${PV}" DESCRIPTION="Open Source Jabber Server & MUC,AIM,MSN,ICQ and Yahoo transports" @@ -14,7 +14,7 @@ SRC_URI="http://jabberd.jabberstudio.org/downloads/jabber-${PV}.tar.gz SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="ssl" DEPEND="=dev-libs/pth-1.4.0 |