summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2005-12-08 03:21:15 +0000
committerJason Wever <weeve@gentoo.org>2005-12-08 03:21:15 +0000
commit1e074e822a150e15578c63b94a52c5b3b39a7937 (patch)
treec0ba3cfee74439caee2cbd44d74a50afbdbbd5f3 /net-im
parentversion bump (diff)
downloadhistorical-1e074e822a150e15578c63b94a52c5b3b39a7937.tar.gz
historical-1e074e822a150e15578c63b94a52c5b3b39a7937.tar.bz2
historical-1e074e822a150e15578c63b94a52c5b3b39a7937.zip
Version bump.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-im')
-rw-r--r--net-im/bitlbee/ChangeLog8
-rw-r--r--net-im/bitlbee/Manifest5
-rw-r--r--net-im/bitlbee/bitlbee-1.0.ebuild131
-rw-r--r--net-im/bitlbee/files/bitlbee-1.0-xinetd.patch15
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-1.02
5 files changed, 159 insertions, 2 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index fef85f6698d8..a42df20cd3a3 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.56 2005/11/07 00:06:47 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.57 2005/12/08 03:21:15 weeve Exp $
+
+*bitlbee-1.0 (08 Dec 2005)
+
+ 08 Dec 2005; Jason Wever <weeve@gentoo.org>
+ +files/bitlbee-1.0-xinetd.patch, +bitlbee-1.0.ebuild:
+ Version bump.
*bitlbee-0.99 (07 Nov 2005)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index aefee0c9e2c7..58f8bbc2e332 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -1,12 +1,14 @@
-MD5 bd67acc48f1b1aac0550f280d687feef ChangeLog 9314
+MD5 159914c326a241f1ff3121d1cef75608 ChangeLog 9461
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 08fd554a8e6ee7eaa164b5fc56505977 bitlbee-0.99.ebuild 3870
+MD5 3a44f5b7110e7ae24a3bd0ac946e84a5 bitlbee-1.0.ebuild 3825
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
+MD5 08e75332c7ad2b96ed49e563b086ffc7 files/bitlbee-1.0-xinetd.patch 473
MD5 bb2f200c9009854a3231720cc1e04ed1 files/bitlbee-gentoohack.patch 1015
MD5 144e462c0af1d82a3412a237519b32ca files/bitlbee-xinetd.patch 519
MD5 6ea807f03873746fb89cc62f5552cb9e files/bitlbeed.confd 556
@@ -16,4 +18,5 @@ 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 6e79fac8fae093968db5d08fc8e89539 files/digest-bitlbee-1.0 135
MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
diff --git a/net-im/bitlbee/bitlbee-1.0.ebuild b/net-im/bitlbee/bitlbee-1.0.ebuild
new file mode 100644
index 000000000000..90644d8b618f
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-1.0.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-1.0.ebuild,v 1.1 2005/12/08 03:21:15 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 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}/${P}-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"
+
+ if ( ( use jabber && ( use gnutls || use openssl ) ) || use msn ) && \
+ use !gnutls && use !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/bitlbee-1.0-xinetd.patch b/net-im/bitlbee/files/bitlbee-1.0-xinetd.patch
new file mode 100644
index 000000000000..e58b3b1cc0fc
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee-1.0-xinetd.patch
@@ -0,0 +1,15 @@
+--- doc/bitlbee.xinetd.orig 2005-12-07 20:04:48.000000000 -0700
++++ doc/bitlbee.xinetd 2005-12-07 20:06:31.000000000 -0700
+@@ -11,9 +11,10 @@
+
+ ## You most likely want to change these two
+ user = nobody
+- server = /usr/local/sbin/bitlbee
++ server = /usr/sbin/bitlbee
+
+ ## xinetd is fucking retarded, what's the use of this port flag if
+ ## it HAS to be the same as in /etc/services ?
+- # port = 6667
++ port = 6667
++ disable = yes
+ }
diff --git a/net-im/bitlbee/files/digest-bitlbee-1.0 b/net-im/bitlbee/files/digest-bitlbee-1.0
new file mode 100644
index 000000000000..87ed1b557013
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-1.0
@@ -0,0 +1,2 @@
+MD5 fd78a28895c73d9afe39ddfed2af7076 bitlbee-0.92-msn6.akke.patch 86602
+MD5 f3ae3beda45e6f7d3fdd77e377f0876d bitlbee-1.0.tar.gz 453937