summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2004-02-14 00:30:43 +0000
committerJason Wever <weeve@gentoo.org>2004-02-14 00:30:43 +0000
commit45d203b412d657624acae4b9e5cf2d6b38a27b62 (patch)
tree3f0966aefc4254d04fc1860512c28b4ef606fd94 /net-im
parentYet another small ppc fix, missed it the first time (Manifest recommit) (diff)
downloadgentoo-2-45d203b412d657624acae4b9e5cf2d6b38a27b62.tar.gz
gentoo-2-45d203b412d657624acae4b9e5cf2d6b38a27b62.tar.bz2
gentoo-2-45d203b412d657624acae4b9e5cf2d6b38a27b62.zip
Version bump.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/bitlbee/ChangeLog7
-rw-r--r--net-im/bitlbee/Manifest2
-rw-r--r--net-im/bitlbee/bitlbee-0.84.ebuild95
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-0.841
4 files changed, 104 insertions, 1 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index a45c507206fd..0c5f19c12a0e 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/bitlbee
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.26 2004/01/26 19:05:44 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.27 2004/02/14 00:30:43 weeve Exp $
+
+*bitlbee-0.84 (13 Feb 2004)
+
+ 13 Feb 2004; Jason Wever <weeve@gentoo.org> bitlbee-0.84.ebuild:
+ Version bump.
26 Jan 2004; Jason Wever <weeve@gentoo.org> files/bitlbeed.init:
Fixed init.d script to correctly reference the options from the conf.d file.
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index 7e03d5d3c839..e1516a9b713d 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -1,4 +1,5 @@
MD5 4c0550dd269e372c55d2392eb4b9470e ChangeLog 4554
+MD5 1193f57a2aaa6372339e06d7e8f88129 bitlbee-0.84.ebuild 2403
MD5 be64c422fc7b104525f44ec6936d97da bitlbee-0.80-r2.ebuild 1571
MD5 3c19511150e0223b4b4ef30035afa937 bitlbee-0.82-r1.ebuild 2557
MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465
@@ -8,6 +9,7 @@ MD5 ccb2adcfc701f086102639f5d5b38802 files/bitlbee-0.82-segv.diff 415
MD5 144e462c0af1d82a3412a237519b32ca files/bitlbee-xinetd.patch 519
MD5 6ea807f03873746fb89cc62f5552cb9e files/bitlbeed.confd 556
MD5 658374790b73d4b9550b497f55d0b9ed files/bitlbeed.init 730
+MD5 b5361a82a904f5e2bf9c5a6d0717f374 files/digest-bitlbee-0.84 64
MD5 e20daee3dcba62b15424f0f72838bf64 files/digest-bitlbee-0.80-r2 64
MD5 f28bfc3eed8f41e2ed33ce03e06a9659 files/digest-bitlbee-0.82-r1 64
MD5 6668146d14da88ef8240b49671db3e9b files/yahoo.diff 25463
diff --git a/net-im/bitlbee/bitlbee-0.84.ebuild b/net-im/bitlbee/bitlbee-0.84.ebuild
new file mode 100644
index 000000000000..1ec536058ccc
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-0.84.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.84.ebuild,v 1.1 2004/02/14 00:30:43 weeve Exp $
+
+inherit eutils
+
+DESCRIPTION="Bitlbee is an irc to IM gateway that support multiple IM protocols"
+HOMEPAGE="http://www.bitlbee.org"
+SRC_URI="http://get.bitlbee.org/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+IUSE="debug jabber msn oscar yahoo"
+
+DEPEND="virtual/glibc
+ msn? ( net-libs/gnutls )"
+
+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."
+
+ 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
+}
+
+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"
+
+ econf --datadir=/usr/share/bitlbee --etcdir=/etc/bitlbee ${myconf}
+ emake || die "make failed"
+
+ # make bitlbeed forking server
+ cd utils
+ [ -n "${CC}" ] \
+ && ${CC} ${CFLAGS} bitlbeed.c -o bitlbeed \
+ || gcc ${CFLAGS} bitlbeed.c -o bitlbeed
+
+}
+
+src_install() {
+ mkdir -p ${D}/var/lib/bitlbee
+ make install DESTDIR=${D} || die "install failed"
+ make install-etc DESTDIR=${D} || die "install failed"
+ keepdir /var/lib/bitlbee
+
+ dodoc COPYING
+ dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README,TODO}
+ dohtml -A sgml doc/*.sgml
+ doman doc/bitlbee.8
+
+ dobin utils/bitlbeed utils/create_nicksfile.pl
+
+ 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
+
+}
+
+pkg_postinst() {
+ chown nobody:nobody /var/lib/bitlbee
+ chmod 700 /var/lib/bitlbee
+}
diff --git a/net-im/bitlbee/files/digest-bitlbee-0.84 b/net-im/bitlbee/files/digest-bitlbee-0.84
new file mode 100644
index 000000000000..b18a650bce32
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-0.84
@@ -0,0 +1 @@
+MD5 d633383a67ff89b064c2bcd4822f6157 bitlbee-0.84.tar.gz 473930