summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/bitlbee/ChangeLog8
-rw-r--r--net-im/bitlbee/Manifest8
-rw-r--r--net-im/bitlbee/bitlbee-0.92-r3.ebuild157
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-0.92-r34
4 files changed, 173 insertions, 4 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index c95010c386ac..b76009e2b4ec 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/bitlbee
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.54 2005/07/16 21:34:10 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.55 2005/10/31 04:03:29 weeve Exp $
+
+*bitlbee-0.92-r3 (31 Oct 2005)
+
+ 31 Oct 2005; Jason Wever <weeve@gentoo.org> +bitlbee-0.92-r3.ebuild:
+ Rev bump, adds support for Google Talk. Resolves bug #109026. Thanks to
+ Ludvig Ericson <ludvig.ericson@gmail.com> for the ebuild.
*bitlbee-0.92-r2 (16 Jul 2005)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index c9f5867cab73..4bb2eb54ea46 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -1,8 +1,8 @@
-MD5 aa4af03e098b25feb73dd532ac528f87 ChangeLog 8768
+MD5 d5c5d3863b925b6041b513193f731ed1 ChangeLog 9006
MD5 966945411ce792116eaca60972578869 bitlbee-0.92-r1.ebuild 3491
-MD5 fb98267549502ea8bc56340613a29c29 bitlbee-0.92.ebuild 3127
-MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
MD5 83acd826aee3a5733fbde5b23cb51669 bitlbee-0.92-r2.ebuild 4246
+MD5 a2b6bd1475c65caa456bf6079c0b2456 bitlbee-0.92-r3.ebuild 4633
+MD5 fb98267549502ea8bc56340613a29c29 bitlbee-0.92.ebuild 3127
MD5 348ecbcec9cf34e7164b0f0189ea5963 files/bitlbee-0.80-xinetd.patch 730
MD5 ccb2adcfc701f086102639f5d5b38802 files/bitlbee-0.82-segv.diff 415
MD5 2332b3b72a6b0501882bacd09921c3ce files/bitlbee-0.84-passport.diff 976
@@ -13,3 +13,5 @@ MD5 ca5844d2edbb81e8ab4c8042e122aeb6 files/bitlbeed.init 724
MD5 6b480c57366738ceb275d86aece12bc7 files/digest-bitlbee-0.92 64
MD5 6b480c57366738ceb275d86aece12bc7 files/digest-bitlbee-0.92-r1 64
MD5 f6bb34a36e7f5f5d61aa430d2614a56a files/digest-bitlbee-0.92-r2 189
+MD5 139ef04e41295e394934ac1606d2fe51 files/digest-bitlbee-0.92-r3 258
+MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
diff --git a/net-im/bitlbee/bitlbee-0.92-r3.ebuild b/net-im/bitlbee/bitlbee-0.92-r3.ebuild
new file mode 100644
index 000000000000..fb8a3d25eecc
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-0.92-r3.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.92-r3.ebuild,v 1.1 2005/10/31 04:03:29 weeve Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="irc to IM gateway that support multiple IM protocols"
+HOMEPAGE="http://www.bitlbee.org/"
+SRC_URI="http://get.bitlbee.org/src/${P}.tar.gz
+ aimextras? ( http://get.bitlbee.org/patches/hanji/all.patch )
+ msnextras? ( http://www.bitlbee.be/andy/bitlbee-0.92-msn6.akke.patch )
+ gtalk? ( http://get.bitlbee.org/patches/bitlbee-jabberserver.patch )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64"
+IUSE="debug jabber gtalk msn oscar yahoo flood gnutls openssl aimextras msnextras"
+
+DEPEND="virtual/libc
+ >=dev-libs/glib-2.0
+ msn? ( gnutls? ( net-libs/gnutls )
+ openssl? ( dev-libs/openssl ) )
+ jabber? ( gnutls? ( net-libs/gnutls )
+ openssl? ( dev-libs/openssl ) )"
+
+no_flags_die() {
+ eerror ""
+ eerror "Please choose a protocol or protocols to use with"
+ eerror "bitlbee by enabling the useflag for the protocol"
+ eerror "desired."
+ eerror ""
+ eerror " Valid useflags are;"
+ eerror " jabber, msn, oscar and yahoo"
+ die "No IM protocols selected!"
+}
+
+pkg_setup() {
+ einfo "Note: as of bitlbee-0.82-r1, all protocols are useflags."
+ einfo " Make sure you've enabled the flags you want."
+ einfo ""
+ einfo "To use jabber over SSL or MSN Messenger, you will need to enable"
+ einfo "either the gnutls or openssl useflags."
+
+ if use aimextras; then
+ einfo ""
+ einfo "NOTE: This is a patch for extra AIM functionality that is NOT"
+ einfo " supported by upstream. Please do not report any problems"
+ einfo " to them about this as they will be ignored."
+ fi
+
+ if use msnextras; then
+ einfo ""
+ einfo "NOTE: This is a patch for extra MSN functionality that is NOT"
+ einfo " supported by upstream. Please do not report any problems"
+ einfo " to them about this as they will be ignored."
+ fi
+
+ if use gtalk; then
+ einfo ""
+ einfo "NOTE: This is a patch for Google Talk ability over Jabber"
+ einfo " It is provided by ludvig.ericson@gmail.com - do not"
+ einfo " mail any questions to the Portage buglist."
+ fi
+
+ use jabber || use msn || use oscar || use yahoo || no_flags_die
+}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ # Patch the default xinetd file to add/adjust values to Gentoo defaults
+ cd ${S}/doc && epatch ${FILESDIR}/${PN}-0.80-xinetd.patch
+ cd ${S} && epatch ${FILESDIR}/${PN}-gentoohack.patch
+
+ if use aimextras; then
+ epatch ${DISTDIR}/all.patch
+ fi
+
+ if use msnextras; then
+ epatch ${DISTDIR}/${P}-msn6.akke.patch
+ fi
+
+ if use gtalk; then
+ epatch ${DISTDIR}/bitlbee-jabberserver.patch
+ fi
+
+}
+
+src_compile() {
+ # setup useflags
+ local myconf
+ use debug && myconf="${myconf} --debug=1"
+ use msn || myconf="${myconf} --msn=0 "
+ use jabber || myconf="${myconf} --jabber=0"
+ use oscar || myconf="${myconf} --oscar=0"
+ use yahoo || myconf="${myconf} --yahoo=0"
+ use gnutls && myconf="${myconf} --ssl=gnutls"
+ use openssl && myconf="${myconf} --ssl=openssl"
+ use flood && myconf="${myconf} --flood=1"
+
+ if ( ( use jabber && ( use gnutls || use openssl ) ) || use msn ) && !gnutls && !openssl; then
+ myconf="${myconf} --ssl=bogus"
+ fi
+
+ econf --datadir=/usr/share/bitlbee --etcdir=/etc/bitlbee ${myconf} \
+ || die "econf failed"
+
+ emake || die "make failed"
+
+ # make bitlbeed forking server
+ cd utils
+ $(tc-getCC) ${CFLAGS} bitlbeed.c -o bitlbeed || die "bitlbeed failed to compile"
+}
+
+src_install() {
+ dodir /var/lib/bitlbee
+ make install DESTDIR=${D} || die "install failed"
+ make install-etc DESTDIR=${D} || die "install failed"
+ make install-doc DESTDIR=${D} || die "install failed"
+ keepdir /var/lib/bitlbee
+
+ dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README,TODO,user-guide.txt}
+ dohtml -A sgml doc/*.sgml
+ dohtml -A xml doc/*.xml
+ dohtml -A xsl doc/*.xsl
+ dohtml doc/*.html
+
+ doman doc/bitlbee.8 doc/bitlbee.conf.5
+
+ dobin utils/bitlbeed
+
+ insinto /etc/xinetd.d
+ newins doc/bitlbee.xinetd bitlbee
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/bitlbeed.init bitlbeed || die
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/bitlbeed.confd bitlbeed || die
+
+ dodir /var/run/bitlbeed
+ keepdir /var/run/bitlbeed
+
+ dodir /usr/share/bitlbee
+ cp ${S}/utils/* ${D}/usr/share/bitlbee
+ rm ${D}/usr/share/bitlbee/bitlbeed*
+
+}
+
+pkg_postinst() {
+ chown nobody:nobody ${ROOT}/var/lib/bitlbee
+ chmod 700 ${ROOT}/var/lib/bitlbee
+ einfo "The utils included in bitlbee (other than bitlbeed) are now"
+ einfo "located in /usr/share/bitlbee"
+ einfo
+ einfo "NOTE: The irssi script is no longer provided by bitlbee."
+}
diff --git a/net-im/bitlbee/files/digest-bitlbee-0.92-r3 b/net-im/bitlbee/files/digest-bitlbee-0.92-r3
new file mode 100644
index 000000000000..ef4d5ae3f6b3
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-0.92-r3
@@ -0,0 +1,4 @@
+MD5 e2bfa862645c776500fdd0f75cd93bda all.patch 38874
+MD5 fd78a28895c73d9afe39ddfed2af7076 bitlbee-0.92-msn6.akke.patch 86602
+MD5 0ffec374b76f376f75b2cab95636a0de bitlbee-0.92.tar.gz 464110
+MD5 bad7113544e72a9edcf0dec16a8ec630 bitlbee-jabberserver.patch 1996