summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2006-01-15 21:32:54 +0000
committerJason Wever <weeve@gentoo.org>2006-01-15 21:32:54 +0000
commit3d13cc55892e70c06f932fffb0ec626da2d3d4a4 (patch)
treef077def03e0d58776469de96303af060043e13c3
parentAdd dep on enblend, and also add patch to fix compilation with gcc-4.1 (diff)
downloadhistorical-3d13cc55892e70c06f932fffb0ec626da2d3d4a4.tar.gz
historical-3d13cc55892e70c06f932fffb0ec626da2d3d4a4.tar.bz2
historical-3d13cc55892e70c06f932fffb0ec626da2d3d4a4.zip
Version bump.
Package-Manager: portage-2.1_pre3-r1
-rw-r--r--net-im/bitlbee/ChangeLog9
-rw-r--r--net-im/bitlbee/Manifest4
-rw-r--r--net-im/bitlbee/bitlbee-1.0.1.ebuild131
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-1.0.12
4 files changed, 143 insertions, 3 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index a42df20cd3a3..c7f37b20ca38 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,11 @@
# 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.57 2005/12/08 03:21:15 weeve Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.58 2006/01/15 21:32:54 weeve Exp $
+
+*bitlbee-1.0.1 (15 Jan 2006)
+
+ 15 Jan 2006; Jason Wever <weeve@gentoo.org> +bitlbee-1.0.1.ebuild:
+ Version bump.
*bitlbee-1.0 (08 Dec 2005)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index 58f8bbc2e332..7916d144c4de 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -1,9 +1,10 @@
-MD5 159914c326a241f1ff3121d1cef75608 ChangeLog 9461
+MD5 62d61bc80b2d6008f26c836fd49b3055 ChangeLog 9577
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 2d9e3634a3ba5f098446bfd93770d815 bitlbee-1.0.1.ebuild 3798
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
@@ -19,4 +20,5 @@ 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 5bb7647bf6772f9eb33a99019faadc02 files/digest-bitlbee-1.0.1 138
MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
diff --git a/net-im/bitlbee/bitlbee-1.0.1.ebuild b/net-im/bitlbee/bitlbee-1.0.1.ebuild
new file mode 100644
index 000000000000..7ef96c0518ba
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-1.0.1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.0.1.ebuild,v 1.1 2006/01/15 21:32:54 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? ( mirror://${P}-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}/${PN}-1.0-xinetd.patch
+ cd ${S} && epatch ${FILESDIR}/${PN}-gentoohack.patch
+
+ if use msnextras; then
+ epatch ${DISTDIR}/${P}-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/digest-bitlbee-1.0.1 b/net-im/bitlbee/files/digest-bitlbee-1.0.1
new file mode 100644
index 000000000000..f44dde76f8f3
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-1.0.1
@@ -0,0 +1,2 @@
+MD5 fc2fb26394c6eb3b08382aea8293eacf bitlbee-1.0.1-msn6.akke.patch 85644
+MD5 a4d7daa9b64898dd41a3a6d104692d9a bitlbee-1.0.1.tar.gz 458676