diff options
author | Jason Wever <weeve@gentoo.org> | 2003-11-06 21:02:24 +0000 |
---|---|---|
committer | Jason Wever <weeve@gentoo.org> | 2003-11-06 21:02:24 +0000 |
commit | d8edcd7335835cba926f28b139def19152f52dd2 (patch) | |
tree | 6bd3862435db75c3c8122b903f8eaa33d32ad515 /net-im/bitlbee | |
parent | Version bump. removed the tcpd useflag as bitlbee's authors say it doesn't w... (diff) | |
download | gentoo-2-d8edcd7335835cba926f28b139def19152f52dd2.tar.gz gentoo-2-d8edcd7335835cba926f28b139def19152f52dd2.tar.bz2 gentoo-2-d8edcd7335835cba926f28b139def19152f52dd2.zip |
Version bump. removed the tcpd useflag as bitlbee's authors say it doesn't work right and they don't support it anymore. Added useflags for debug and msn since msn now requires libsoup to run.
Diffstat (limited to 'net-im/bitlbee')
-rw-r--r-- | net-im/bitlbee/ChangeLog | 10 | ||||
-rw-r--r-- | net-im/bitlbee/Manifest | 4 | ||||
-rw-r--r-- | net-im/bitlbee/bitlbee-0.82.ebuild | 79 | ||||
-rw-r--r-- | net-im/bitlbee/files/bitlbee-0.82-segv.diff | 12 | ||||
-rw-r--r-- | net-im/bitlbee/files/digest-bitlbee-0.82 | 1 |
5 files changed, 103 insertions, 3 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog index aab0449ed9f4..f16de1904643 100644 --- a/net-im/bitlbee/ChangeLog +++ b/net-im/bitlbee/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-im/bitlbee # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.19 2003/10/16 20:10:32 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.20 2003/11/06 21:02:21 weeve Exp $ + +*bitlbee-0.82 (06 Nov 2003) + + 06 Nov 2003; Jason Wever <weeve@gentoo.org> bitlbee-0.82.ebuild, + files/bitlbee-0.82-segv.diff: + Version bump. removed the tcpd useflag as bitlbee's authors say it doesn't + work right and they don't support it anymore. Added useflags for debug and msn + since msn now requires libsoup to run. *bitlbee-0.81a (16 Oct 2003) diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest index 028bf74effe7..31b08a63486e 100644 --- a/net-im/bitlbee/Manifest +++ b/net-im/bitlbee/Manifest @@ -1,4 +1,4 @@ -MD5 a2b3bd216703b2d2e4509bcbc61ef8ef ChangeLog 3030 +MD5 8b7674dd1c263334129916fbfad9ea92 ChangeLog 3358 MD5 23ee60306a0cf6969d18a55e3409053c bitlbee-0.72.ebuild 1088 MD5 f0edb4325376030565902192f83cabe8 bitlbee-0.73-r1.ebuild 1328 MD5 abf8374300f5e107e68a298db32da1e6 bitlbee-0.73.ebuild 1088 @@ -7,7 +7,7 @@ MD5 dd79ef42e1362999f2f979c4ed604f69 bitlbee-0.80-r1.ebuild 1451 MD5 be64c422fc7b104525f44ec6936d97da bitlbee-0.80-r2.ebuild 1571 MD5 94b8adf097f6f9ea3d51f2afa75c0617 bitlbee-0.80.ebuild 1304 MD5 fc51bd6f3a89c98a4a447e9b1725e488 metadata.xml 465 -MD5 4dbaa13bd4bbfde626ceba9e64c6cc5b bitlbee-0.82.ebuild 1915 +MD5 00400d96dbff0a3e882192e90a08018f bitlbee-0.82.ebuild 1913 MD5 2332b535cea5bad587f39cd8daf3359f bitlbee-0.81a.ebuild 1653 MD5 348ecbcec9cf34e7164b0f0189ea5963 files/bitlbee-0.80-xinetd.patch 730 MD5 144e462c0af1d82a3412a237519b32ca files/bitlbee-xinetd.patch 519 diff --git a/net-im/bitlbee/bitlbee-0.82.ebuild b/net-im/bitlbee/bitlbee-0.82.ebuild new file mode 100644 index 000000000000..94e9794a72cf --- /dev/null +++ b/net-im/bitlbee/bitlbee-0.82.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.82.ebuild,v 1.1 2003/11/06 21:02:21 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 ~alpha" +IUSE="debug msn" + +DEPEND="virtual/glibc + msn? ( >=net-libs/libsoup-1.99.26 )" + +src_unpack() { + unpack ${P}.tar.gz + + # Patch from bitlbee to fix a segfault when trying to enable + # unsupported accounts. + cd ${S} + epatch ${FILESDIR}/${P}-segv.diff + + # 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" + + 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/bitlbee-0.82-segv.diff b/net-im/bitlbee/files/bitlbee-0.82-segv.diff new file mode 100644 index 000000000000..267cba514892 --- /dev/null +++ b/net-im/bitlbee/files/bitlbee-0.82-segv.diff @@ -0,0 +1,12 @@ +diff -uNrx debian bitlbee-0.82/account.c bitlbee-0.83/account.c +--- bitlbee-0.82/account.c Sat Nov 1 00:21:36 2003 ++++ bitlbee-0.83/account.c Sat Nov 1 00:32:37 2003 +@@ -106,7 +106,7 @@ + return; + } + +- if( proto_prpl[a->protocol] == NULL ) ++ if( proto_prpl[a->protocol]->login == NULL ) + { + irc_usermsg( irc, "Support for protocol %s is not included in this BitlBee", proto_name[a->protocol] ); + return; diff --git a/net-im/bitlbee/files/digest-bitlbee-0.82 b/net-im/bitlbee/files/digest-bitlbee-0.82 new file mode 100644 index 000000000000..dc13c008305e --- /dev/null +++ b/net-im/bitlbee/files/digest-bitlbee-0.82 @@ -0,0 +1 @@ +MD5 fecb84a97e13a46b45989d71e7723b35 bitlbee-0.82.tar.gz 375607 |