summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr@gentoo.org>2003-12-17 17:18:42 +0000
committerLuke Dashjr <luke-jr@gentoo.org>2003-12-17 17:18:42 +0000
commit1e3ee4a31ebecdcb7df243c581abba9a6f78cb8b (patch)
treef4e849dda1ee03e2d2ede1bc8f0c246f39c6c866 /net-im
parentJUD version bump; masked until tested (diff)
downloadgentoo-2-1e3ee4a31ebecdcb7df243c581abba9a6f78cb8b.tar.gz
gentoo-2-1e3ee4a31ebecdcb7df243c581abba9a6f78cb8b.tar.bz2
gentoo-2-1e3ee4a31ebecdcb7df243c581abba9a6f78cb8b.zip
JUD version bump; masked until tested
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-server/ChangeLog7
-rw-r--r--net-im/jabber-server/Manifest5
-rw-r--r--net-im/jabber-server/files/digest-jabber-server-1.4.3-r18
-rw-r--r--net-im/jabber-server/jabber-server-1.4.3-r1.ebuild223
4 files changed, 239 insertions, 4 deletions
diff --git a/net-im/jabber-server/ChangeLog b/net-im/jabber-server/ChangeLog
index c82115d9fba8..a1b13a7a7cd8 100644
--- a/net-im/jabber-server/ChangeLog
+++ b/net-im/jabber-server/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/jabber-server
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/ChangeLog,v 1.13 2003/12/08 23:47:02 luke-jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-server/ChangeLog,v 1.14 2003/12/17 17:18:24 luke-jr Exp $
+
+*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,
diff --git a/net-im/jabber-server/Manifest b/net-im/jabber-server/Manifest
index a3dffabc14e6..ff92feb38ee0 100644
--- a/net-im/jabber-server/Manifest
+++ b/net-im/jabber-server/Manifest
@@ -1,7 +1,6 @@
-MD5 4f66b585c271e3dfa142851b784ce169 ChangeLog 2916
+MD5 62b3e2ace6b95bac3a45ad8e78461d47 ChangeLog 3071
MD5 294f8b0ea0f44ada8012c8dcbc085830 metadata.xml 492
-MD5 1070968a7dfcda316e72b4375e3cc1c6 jabber-server-1.4.3-r1.ebuild 7318
-MD5 da741c2ede8b63271f227d7b938b6b13 jabber-server-1.4.3-r1.ebuild~ 7318
+MD5 b02de007814a9f7f2697e139d0978b3c jabber-server-1.4.3-r1.ebuild 7329
MD5 a017a161668d77a89baff93bb812e1e5 jabber-server-1.4.3.ebuild 7333
MD5 48039b6004a1236eb07d637d15334c28 files/digest-jabber-server-1.4.3-r1 536
MD5 cdd557874bd23433279e577b7e7a511d files/jabber.rc6-r3 904
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
new file mode 100644
index 000000000000..5dd66a067b36
--- /dev/null
+++ b/net-im/jabber-server/files/digest-jabber-server-1.4.3-r1
@@ -0,0 +1,8 @@
+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/jabber-server-1.4.3-r1.ebuild b/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild
new file mode 100644
index 000000000000..fde5e794972f
--- /dev/null
+++ b/net-im/jabber-server/jabber-server-1.4.3-r1.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2003 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.1 2003/12/17 17:18:24 luke-jr 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="-*"
+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
+}