diff options
Diffstat (limited to 'net-im/bitlbee')
-rw-r--r-- | net-im/bitlbee/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/bitlbee/Manifest | 2 | ||||
-rw-r--r-- | net-im/bitlbee/bitlbee-0.85.ebuild | 95 | ||||
-rw-r--r-- | net-im/bitlbee/files/digest-bitlbee-0.85 | 1 |
4 files changed, 104 insertions, 1 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog index c25450dc8ede..e8a85d5dd51e 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.28 2004/02/27 03:01:08 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.29 2004/03/14 23:59:45 weeve Exp $ + +*bitlbee-0.85 (14 Mar 2004) + + 14 Mar 2004; Jason Wever <weeve@gentoo.org> bitlbee-0.85.ebuild: + Version bump. 26 Feb 2004; Jason Wever <weeve@gentoo.org> bitlbee-0.84.ebuild: Marked stable on x86 and sparc. diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest index 8c3b744296d8..78838f77aa1d 100644 --- a/net-im/bitlbee/Manifest +++ b/net-im/bitlbee/Manifest @@ -1,5 +1,6 @@ MD5 0ae10593711d4a28c953e7050c7601be ChangeLog 4769 MD5 8c7aabc6e5ea7e76cae45062b14ce67f bitlbee-0.84.ebuild 2403 +MD5 10725e682069463a78275fd90f6b0cee bitlbee-0.85.ebuild 2405 MD5 be64c422fc7b104525f44ec6936d97da bitlbee-0.80-r2.ebuild 1571 MD5 3c19511150e0223b4b4ef30035afa937 bitlbee-0.82-r1.ebuild 2557 MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465 @@ -10,6 +11,7 @@ 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 7bee4259ae731f2c975e0a9d4b9aefb2 files/digest-bitlbee-0.85 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.85.ebuild b/net-im/bitlbee/bitlbee-0.85.ebuild new file mode 100644 index 000000000000..cc84bebf87be --- /dev/null +++ b/net-im/bitlbee/bitlbee-0.85.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.85.ebuild,v 1.1 2004/03/14 23:59:45 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.85 b/net-im/bitlbee/files/digest-bitlbee-0.85 new file mode 100644 index 000000000000..9abd23ff72b1 --- /dev/null +++ b/net-im/bitlbee/files/digest-bitlbee-0.85 @@ -0,0 +1 @@ +MD5 3952efbe51f43aa8c99d004319728dbb bitlbee-0.85.tar.gz 470233 |