summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/bitlbee/ChangeLog9
-rw-r--r--net-im/bitlbee/Manifest2
-rw-r--r--net-im/bitlbee/bitlbee-0.99.ebuild131
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-0.992
4 files changed, 143 insertions, 1 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index b76009e2b4ec..fef85f6698d8 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,13 @@
# 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.55 2005/10/31 04:03:29 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.56 2005/11/07 00:06:47 weeve Exp $
+
+*bitlbee-0.99 (07 Nov 2005)
+
+ 07 Nov 2005; Jason Wever <weeve@gentoo.org> +bitlbee-0.99.ebuild:
+ Version bump, resolves bug #111419. Thanks to Ludvig Ericson
+ <ludvig.ericson@gmail.com> for the ebuild. The aimextras use flag is no
+ longer used as that functionality is natively present in this release.
*bitlbee-0.92-r3 (31 Oct 2005)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index 4bb2eb54ea46..688c3219b49b 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -3,6 +3,7 @@ MD5 966945411ce792116eaca60972578869 bitlbee-0.92-r1.ebuild 3491
MD5 83acd826aee3a5733fbde5b23cb51669 bitlbee-0.92-r2.ebuild 4246
MD5 a2b6bd1475c65caa456bf6079c0b2456 bitlbee-0.92-r3.ebuild 4633
MD5 fb98267549502ea8bc56340613a29c29 bitlbee-0.92.ebuild 3127
+MD5 57edf62262a61f39fe255c63240b8ef4 bitlbee-0.99.ebuild 3870
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
@@ -14,4 +15,5 @@ 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 0780b3b3747aeb38d06130cd071271a1 files/digest-bitlbee-0.99 136
MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
diff --git a/net-im/bitlbee/bitlbee-0.99.ebuild b/net-im/bitlbee/bitlbee-0.99.ebuild
new file mode 100644
index 000000000000..0b030f28edfe
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-0.99.ebuild
@@ -0,0 +1,131 @@
+# 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.99.ebuild,v 1.1 2005/11/07 00:06:47 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
+ msnextras? ( http://www.bitlbee.be/andy/bitlbee-0.92-msn6.akke.patch )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64"
+IUSE="debug jabber msn oscar yahoo flood gnutls openssl 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 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
+
+ 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 msnextras; then
+ epatch ${DISTDIR}/bitlbee-0.92-msn6.akke.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 are no longer provided by BitlBee."
+}
diff --git a/net-im/bitlbee/files/digest-bitlbee-0.99 b/net-im/bitlbee/files/digest-bitlbee-0.99
new file mode 100644
index 000000000000..e78c95e0addf
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-0.99
@@ -0,0 +1,2 @@
+MD5 fd78a28895c73d9afe39ddfed2af7076 bitlbee-0.92-msn6.akke.patch 86602
+MD5 cd7c0666385deea0f1ee309ba4073cbd bitlbee-0.99.tar.gz 469547