summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-09-28 12:59:51 +0000
committerCédric Krier <cedk@gentoo.org>2008-09-28 12:59:51 +0000
commita6e4b7514bf197e879f472c79976cc02d655243a (patch)
tree5696993527a309559953098d834576477c57dd3b /net-im
parentAdd install-dev for bug #237943 (diff)
downloadhistorical-a6e4b7514bf197e879f472c79976cc02d655243a.tar.gz
historical-a6e4b7514bf197e879f472c79976cc02d655243a.tar.bz2
historical-a6e4b7514bf197e879f472c79976cc02d655243a.zip
Remove old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-im')
-rw-r--r--net-im/bitlbee/ChangeLog10
-rw-r--r--net-im/bitlbee/Manifest22
-rw-r--r--net-im/bitlbee/bitlbee-1.0.3.ebuild148
-rw-r--r--net-im/bitlbee/bitlbee-1.0.4.ebuild161
-rw-r--r--net-im/bitlbee/bitlbee-1.1-r1.ebuild164
-rw-r--r--net-im/bitlbee/bitlbee-1.1.1.ebuild162
-rw-r--r--net-im/bitlbee/bitlbee-1.2.1.ebuild170
-rw-r--r--net-im/bitlbee/bitlbee-1.2.2.ebuild172
-rw-r--r--net-im/bitlbee/bitlbee-1.2.ebuild170
-rw-r--r--net-im/bitlbee/files/bitlbee-1.0.3-xinetd.patch17
-rw-r--r--net-im/bitlbee/files/bitlbee-gentoohack.patch32
-rw-r--r--net-im/bitlbee/files/bitlbee-xinetd.patch19
-rw-r--r--net-im/bitlbee/files/bitlbeed.confd16
-rw-r--r--net-im/bitlbee/files/bitlbeed.init27
-rw-r--r--net-im/bitlbee/files/oscar-sms.patch22
15 files changed, 10 insertions, 1302 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index bf853ade3e9e..efc811d13de8 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-im/bitlbee
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.117 2008/09/28 12:52:01 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.118 2008/09/28 12:59:50 cedk Exp $
+
+ 28 Sep 2008; Cédric Krier <cedk@gentoo.org>
+ -files/bitlbee-1.0.3-xinetd.patch, -files/bitlbee-gentoohack.patch,
+ -files/bitlbee-xinetd.patch, -files/bitlbeed.confd, -files/bitlbeed.init,
+ -files/oscar-sms.patch, -bitlbee-1.0.3.ebuild, -bitlbee-1.0.4.ebuild,
+ -bitlbee-1.1-r1.ebuild, -bitlbee-1.1.1.ebuild, -bitlbee-1.2.ebuild,
+ -bitlbee-1.2.1.ebuild, -bitlbee-1.2.2.ebuild:
+ Remove old
*bitlbee-1.2.3-r1 (28 Sep 2008)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index 99b5619328b1..26e25efedab9 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -1,28 +1,8 @@
-AUX bitlbee-1.0.3-xinetd.patch 504 RMD160 ceda3cb2ac112a8cd79565a4654c432747cf8821 SHA1 67cbfbcc411ec8846acb74398435daeb8bf0dddd SHA256 d1644765e413d2964997396f56ee7df915861f105a6238e926ac81d643c8d3ec
AUX bitlbee-1.2.2-fix_tests_check_set.patch 452 RMD160 22544fc0acde62566a44ca97a63f5c1a23e29d07 SHA1 5874404077a692a3c8be6fc29b3bbc2ff7324b58 SHA256 1569026c1c9e5d784e6deddbc71f9bf63a58c28fd62325294c733e897a151271
-AUX bitlbee-gentoohack.patch 1015 RMD160 7149ceb9401a3f3986bd79b10a2ee16bd671e4a6 SHA1 612e35eb03253f30d476b883a93c89f3a131c564 SHA256 5d492cce483fd54f3abc7cdf7268e60efca9d0c70ad42ce37b58e21cce6d5745
-AUX bitlbee-xinetd.patch 519 RMD160 7594a98df26708e500c3f0c9e02e7974de19eff0 SHA1 cb9f28ed97dc2222b4b14423f8e82e65e8da1b45 SHA256 8a2c05060ab68f44dc296ccf5054e1dd29342b61b9801d9d90e05830b9edc20e
-AUX bitlbeed.confd 556 RMD160 775492d2db54e176b204cf45a3b1884d0fde363d SHA1 210f526e8924dd516b483f5710105fe531699943 SHA256 6a01b88182ac4e72499744e0c4909bb2529f2c908d1667dc8c104083c05998c0
AUX bitlbeed.confd2 524 RMD160 13aeb8ebb6b2885a310ba8606d1994aced3c1cb6 SHA1 7ac73948da0ffeb705482cf1d05a6fa93c267f3d SHA256 8f9e258452d62eb15990b465e1f74251e7ceb4d6b2c93a35c42a026d75e96418
-AUX bitlbeed.init 724 RMD160 255ac91b8a905b865fc37a5795264b97604ec69d SHA1 9b54dfebaf8d472e1630b222052729e85a1fd31f SHA256 9354a26e47ca354b28e6a135eb6567970bd351a262ddb29202eab8fc2e6faf59
AUX bitlbeed.initd 619 RMD160 198fad260fc60a44897becca7ff442e3152e185d SHA1 105ec657f49b4be1fec46d8246eba988ea41e341 SHA256 32757768687046e379bf2f57dafcc8ce313b936431af1dcf835bef681d266a84
-AUX oscar-sms.patch 715 RMD160 f5e174cc7ac90242483ea1319d8b9c62afac8f18 SHA1 eadab70334facfce9d3f1e942d7d083c2d5b128a SHA256 b1401aa25f244795b921aff2894d685ab0ab04bbaca755b18938fe280140e021
-DIST bitlbee-1.0.3.tar.gz 455344 RMD160 d27c7a9104528402d4d3e2f78b40eda5f6490d72 SHA1 6e4065d8b576a3c11c2e6bb008ea1bdc7b182cd1 SHA256 1d272c8712ee279ee8ac305562e7b8591e634fae69664a5a2d43301cb1d6277d
-DIST bitlbee-1.0.4.tar.gz 455833 RMD160 f7e44595845aabf987a5112fdf6b9daed04448d0 SHA1 830e8a2b8930a6e5b1978a3cae9d8a16034ab7ff SHA256 6f23f37ea641d67e56c61b70d3ac7d404243929c393302ead4758d4ffe6d5b1c
-DIST bitlbee-1.1.1dev.tar.gz 461690 RMD160 2f89fa16148ea197a8ec3d3eb4f851287fe2aeed SHA1 47fe878395cc341752233ca525f9b28e483e0526 SHA256 c4f33233ba57c507f1236642f70e1ca98879c0a31fa97fc23d6ff1e72ef0a8dc
-DIST bitlbee-1.1dev.tar.gz 439464 RMD160 aacee84da6f88a85890760ad6d17a3504ea55cc9 SHA1 4355c4c4186b921da6232f17e9b4842dd2943607 SHA256 a7cd5be951ff65520aa4aabee86be60233399b578dd7efd992f01f6e0c55af1c
-DIST bitlbee-1.2.1.tar.gz 471454 RMD160 ab63c4ce1ad5ddb9a666df2196e16086cfdd72f3 SHA1 1fd96b3241987f092a1be6b850864eaf806770b6 SHA256 4654e8824eea2ba787b4751782ee3ca704b756d3c4f623cda409cde212198d06
-DIST bitlbee-1.2.2.tar.gz 475550 RMD160 e18fb4b6e9092cdd546ef12207c49352c42a21d3 SHA1 3dd2e9fcfa149d7731ead73592247de90d3de33c SHA256 97dc5f28197ba61415b9e01c887b81b0efc8df38d8d1e7a0b66dac3cec719025
DIST bitlbee-1.2.3.tar.gz 475748 RMD160 a4e994a97c3a7cc1d2bd6544a9a472d9c40ebb3f SHA1 cfa152bd4d0ff703feaeedf55dbab84b64657dc8 SHA256 0cbb30188c829dc486f8d1a4157626280f93ae2a60c9f6846fe6414c416745e2
-DIST bitlbee-1.2.tar.gz 469482 RMD160 c48c5f8af418ba4fe7310732ced6290521cc656e SHA1 71dc24e9025375460e999345db70fb5dff7d45d8 SHA256 ff69fa43445c833a34ea64c23178383e3abe98f2ec7e791ea0cf3913e4090bb8
-EBUILD bitlbee-1.0.3.ebuild 4622 RMD160 cad15ed525e30646bed341d56b50fc0ba0890280 SHA1 11241ceeb09841ee1c1967aa943255500a7b3143 SHA256 73034c4f9653ba2a71901f488719b90ea714dbd84b322d433fbf37804d59d658
-EBUILD bitlbee-1.0.4.ebuild 4780 RMD160 7ec0ca612ed9be89b962d3b8135de1d242411c66 SHA1 8ec67fb2ccbc57b12b4c929647c7d83c9553cfcc SHA256 985a541fd32d87aeece425260110bb2d278a174f869cf82178ef42b4a785575f
-EBUILD bitlbee-1.1-r1.ebuild 4525 RMD160 5db4e8fe9bbce32fcd893fe61fbea13c83e9a1e0 SHA1 3b6fd1383bf0bf9875f96f2cfb81a47d6a99926d SHA256 d6a509f1318f4c438915963792dd2ba84b97d883835cd16048b5848e2abaf4da
-EBUILD bitlbee-1.1.1.ebuild 4485 RMD160 7fadfde761bc4e8caf669c76b4d5e0f7277d9014 SHA1 1bfa40755c72c014bc3fc05b44dd28be086dbe42 SHA256 69cb6853f13059de983725bcb679db40f56312585879ed63bc90a046928d1074
-EBUILD bitlbee-1.2.1.ebuild 4746 RMD160 29cd751818c9f5c164a01d380f7a69d21e3a2353 SHA1 ac07153cad981e314b08341cd257bb975e9148ed SHA256 98e320c1896bd3b78c7b093dbae57d409db4dcd5e93a1f11e5d0192e8531b93e
-EBUILD bitlbee-1.2.2.ebuild 4800 RMD160 8f2bb9552c7510e0989829481c3979d2865ce99e SHA1 dc86a432d7a709a91b0a37f0b449f11d74b7a289 SHA256 94646b8b4174f60f479213fce88da1353d740818e1a78b761a602f7d9700375d
EBUILD bitlbee-1.2.3-r1.ebuild 4867 RMD160 236c337ccc43e547a1c0bd7edba9d9cdac0c7a10 SHA1 fc8f482f02e72c40b439707e2cd4c9bdeb0aa3cc SHA256 bddd7bcdf7db5eee9d81b7e58d518bec87dde1be80b099d42f34cf8349ae5bf2
EBUILD bitlbee-1.2.3.ebuild 4807 RMD160 9efe0aaae3595f57f426b2435b4134bc201998c9 SHA1 5a28e18d4622b5548658e85ad983f27f4012df20 SHA256 182ac2d29660c9c220693052fc2a8b8d8eaacbffadc3f6a69e955d431ceca83a
-EBUILD bitlbee-1.2.ebuild 4763 RMD160 90fa46de3289ce1697bba3b96fce3613c4489b19 SHA1 18387f34c9b734c6ed73a52e4ecb058492938c26 SHA256 4999807a9d122bf839ce357cfadd14c19517f6f0db7d42e9ea609f63224985e6
-MISC ChangeLog 17887 RMD160 65614675d47aa1750c8b70c8d0aed75dacac3ad4 SHA1 412aae05234d8db4db72f8cea7d543c1df6b9fe2 SHA256 9fcc508e0fdf99ddba64b5a59cb60da5dea0c5e285aa2422488eec8007fb9139
+MISC ChangeLog 18284 RMD160 97129e3680787bba52e6002ea7f356c750a7b338 SHA1 83196ee72c0742e3f7471863e89cd8d9e6877a17 SHA256 21fef0ae58cba84d945dd68042df90304f6d87d0016bb15d8709eea879957194
MISC metadata.xml 526 RMD160 962ae22fcec98d00ffe7c399a5aafb53c9f2a0dd SHA1 80d98eaf4c9a652adb79cf3b0cd3d6c6c25e06c0 SHA256 487bd953ddfca7c67071caefb3ca22387a4845d1e8b3dd34d45b101b95aafd9b
diff --git a/net-im/bitlbee/bitlbee-1.0.3.ebuild b/net-im/bitlbee/bitlbee-1.0.3.ebuild
deleted file mode 100644
index d36903c7fc14..000000000000
--- a/net-im/bitlbee/bitlbee-1.0.3.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.0.3.ebuild,v 1.14 2008/03/25 22:11:48 cedk 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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~x86-fbsd"
-IUSE="debug jabber msn oscar yahoo gnutls ssl nss xinetd ipv6"
-
-DEPEND=">=dev-libs/glib-2.0
- msn? ( gnutls? ( net-libs/gnutls )
- ssl? ( dev-libs/openssl )
- nss? ( dev-libs/nss ) )
- jabber? ( gnutls? ( net-libs/gnutls )
- ssl? ( dev-libs/openssl )
- nss? ( dev-libs/nss ) )"
-
-RDEPEND="${DEPEND}
- virtual/logger"
-
-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() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog ""
-
- # Warn but not die if jabber is enabled but SSL is not
- if ( use jabber && ( use !ssl && use !gnutls && use !nss ) ); then
- ewarn ""
- ewarn "You have enabled support for Jabber but do not have SSL"
- ewarn "support enabled. This *will* prevent bitlbee from being"
- ewarn "able to connect to SSL enabled Jabber servers. If you need to"
- ewarn "connect to Jabber over SSL, enable one of the following use"
- ewarn "flags: gnutls, nss ssl"
- ewarn ""
- fi
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- if ( use msn && ( use !ssl && use !gnutls && use !nss ) ); then
- eerror ""
- eerror "In order to enable support for the MSN Messenger protocol,"
- eerror "SSL support needs to be enabled. Please enable the ssl,"
- eerror "gnutls or nss use flags to provide SSL support".
- die "MSN support enabled without any SSL support enabled."
- 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.3-xinetd.patch
- cd "${S}" && epatch "${FILESDIR}"/${PN}-gentoohack.patch
-}
-
-src_compile() {
- # setup protocol, ipv6 and debug
- local myconf
- use debug && myconf="${myconf} --debug=1"
- use ipv6 || myconf="${myconf} --ipv6=0"
- use msn || myconf="${myconf} --msn=0 "
- use jabber || myconf="${myconf} --jabber=0"
- use oscar || myconf="${myconf} --oscar=0"
- use yahoo || myconf="${myconf} --yahoo=0"
-
- # setup ssl use flags
- use ssl && use gnutls && myconf="${myconf} --ssl=gnutls"
- use ssl && use nss && myconf="${myconf} --ssl=nss"
- use ssl && use !gnutls && use !nss && myconf="${myconf} --ssl=openssl"
-
- if ( ( use jabber && ( use gnutls || use ssl || use nss ) ) \
- || use msn ) && use !gnutls && use !ssl && use !nss; then
- myconf="${myconf} --ssl=bogus"
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation, so that is
- # why we don't use econf.
-
- ./configure --prefix=/usr --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}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.init bitlbeed || die
-
- newconfd "${FILESDIR}"/bitlbeed.confd bitlbeed || die
-
- 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
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.0.4.ebuild b/net-im/bitlbee/bitlbee-1.0.4.ebuild
deleted file mode 100644
index fb50af8f8959..000000000000
--- a/net-im/bitlbee/bitlbee-1.0.4.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.0.4.ebuild,v 1.4 2008/03/25 22:11:48 cedk 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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug jabber msn oscar yahoo gnutls ssl nss xinetd ipv6"
-
-DEPEND=">=dev-libs/glib-2.0
- msn? ( gnutls? ( net-libs/gnutls )
- ssl? ( dev-libs/openssl )
- nss? ( dev-libs/nss ) )
- jabber? ( gnutls? ( net-libs/gnutls )
- ssl? ( dev-libs/openssl )
- nss? ( dev-libs/nss ) )"
-
-RDEPEND="${DEPEND}
- virtual/logger"
-
-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() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog ""
-
- # Warn but not die if jabber is enabled but SSL is not
- if ( use jabber && ( use !ssl && use !gnutls && use !nss ) ); then
- ewarn ""
- ewarn "You have enabled support for Jabber but do not have SSL"
- ewarn "support enabled. This *will* prevent bitlbee from being"
- ewarn "able to connect to SSL enabled Jabber servers. If you need to"
- ewarn "connect to Jabber over SSL, enable one of the following use"
- ewarn "flags: gnutls, nss ssl"
- ewarn ""
- fi
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- if ( use msn && ( use !ssl && use !gnutls && use !nss ) ); then
- eerror ""
- eerror "In order to enable support for the MSN Messenger protocol,"
- eerror "SSL support needs to be enabled. Please enable the ssl,"
- eerror "gnutls or nss use flags to provide SSL support".
- die "MSN support enabled without any SSL support enabled."
- fi
-
- use jabber || use msn || use oscar || use yahoo || no_flags_die
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed"
-}
-
-src_compile() {
- # setup protocol, ipv6 and debug
- local myconf
- use debug && myconf="${myconf} --debug=1"
- use ipv6 || myconf="${myconf} --ipv6=0"
- use msn || myconf="${myconf} --msn=0 "
- use jabber || myconf="${myconf} --jabber=0"
- use oscar || myconf="${myconf} --oscar=0"
- use yahoo || myconf="${myconf} --yahoo=0"
-
- # setup ssl use flags
- use ssl && use gnutls && myconf="${myconf} --ssl=gnutls"
- use ssl && use nss && myconf="${myconf} --ssl=nss"
- use ssl && use !gnutls && use !nss && \
- myconf="${myconf} --ssl=openssl"
-
- if ( use jabber || use msn ) \
- && use !ssl && use !gnutls && use !nss; then
- myconf="${myconf} --ssl=bogus"
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
-
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.1-r1.ebuild b/net-im/bitlbee/bitlbee-1.1-r1.ebuild
deleted file mode 100644
index adc3db4ea405..000000000000
--- a/net-im/bitlbee/bitlbee-1.1-r1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.1-r1.ebuild,v 1.4 2008/03/25 22:11:48 cedk Exp $
-
-EAPI="1"
-inherit eutils toolchain-funcs confutils
-
-MY_P="${P}dev"
-
-DESCRIPTION="irc to IM gateway that support multiple IM protocols"
-HOMEPAGE="http://www.bitlbee.org/"
-SRC_URI="http://get.bitlbee.org/src/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl +yahoo xinetd" # ldap - Bug 195758
-
-COMMON_DEPEND=">=dev-libs/glib-2.4
- msn? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )
- jabber? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )"
- # ldap? ( net-nds/openldap )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-
-RDEPEND="${COMMON_DEPEND}
- virtual/logger
- xinetd? ( sys-apps/xinetd )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog
- confutils_require_any jabber msn oscar yahoo
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- confutils_use_depend_any msn gnutls nss ssl
-
- # Warn but not die if jabber is enabled but SSL is not
- if use jabber && ! use gnutls && ! use nss && ! use ssl ; then
- ewarn ""
- ewarn "You have enabled support for Jabber but do not have SSL"
- ewarn "support enabled. This *will* prevent bitlbee from being"
- ewarn "able to connect to SSL enabled Jabber servers. If you need to"
- ewarn "connect to Jabber over SSL, enable ONE of the following use"
- ewarn "flags: gnutls, nss or ssl"
- ewarn ""
- fi
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/oscar-sms.patch"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed in xinetd"
-
- sed -i \
- -e "s@mozilla-nss@nss@g" \
- configure || die "sed failed in configure"
-}
-
-src_compile() {
- # ldap hard-disabled for now
- local myconf="--ldap=0"
-
- # setup protocol, ipv6 and debug
- for flag in debug ipv6 msn jabber oscar yahoo ; do
- if use ${flag} ; then
- myconf="${myconf} --${flag}=1"
- else
- myconf="${myconf} --${flag}=0"
- fi
- done
-
- # setup ssl use flags
- if use gnutls ; then
- myconf="${myconf} --ssl=gnutls"
- elif use nss ; then
- myconf="${myconf} --ssl=nss"
- elif use ssl ; then
- myconf="${myconf} --ssl=openssl"
- else
- myconf="${myconf} --ssl=bogus"
- einfo "You will not have any encryption support enabled."
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
- doins bitlbee-ctl.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.1.1.ebuild b/net-im/bitlbee/bitlbee-1.1.1.ebuild
deleted file mode 100644
index da87aa33fbda..000000000000
--- a/net-im/bitlbee/bitlbee-1.1.1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.1.1.ebuild,v 1.1 2007/12/30 12:18:08 cedk Exp $
-
-EAPI="1"
-inherit eutils toolchain-funcs confutils
-
-MY_P="${P}dev"
-
-DESCRIPTION="irc to IM gateway that support multiple IM protocols"
-HOMEPAGE="http://www.bitlbee.org/"
-SRC_URI="http://get.bitlbee.org/src/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl +yahoo xinetd" # ldap - Bug 195758
-
-COMMON_DEPEND=">=dev-libs/glib-2.4
- msn? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )
- jabber? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )"
- # ldap? ( net-nds/openldap )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig"
-
-RDEPEND="${COMMON_DEPEND}
- virtual/logger
- xinetd? ( sys-apps/xinetd )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog
- confutils_require_any jabber msn oscar yahoo
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- confutils_use_depend_any msn gnutls nss ssl
-
- # Warn but not die if jabber is enabled but SSL is not
- if use jabber && ! use gnutls && ! use nss && ! use ssl ; then
- ewarn ""
- ewarn "You have enabled support for Jabber but do not have SSL"
- ewarn "support enabled. This *will* prevent bitlbee from being"
- ewarn "able to connect to SSL enabled Jabber servers. If you need to"
- ewarn "connect to Jabber over SSL, enable ONE of the following use"
- ewarn "flags: gnutls, nss or ssl"
- ewarn ""
- fi
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed in xinetd"
-
- sed -i \
- -e "s@mozilla-nss@nss@g" \
- configure || die "sed failed in configure"
-}
-
-src_compile() {
- # ldap hard-disabled for now
- local myconf="--ldap=0"
-
- # setup protocol, ipv6 and debug
- for flag in debug ipv6 msn jabber oscar yahoo ; do
- if use ${flag} ; then
- myconf="${myconf} --${flag}=1"
- else
- myconf="${myconf} --${flag}=0"
- fi
- done
-
- # setup ssl use flags
- if use gnutls ; then
- myconf="${myconf} --ssl=gnutls"
- elif use nss ; then
- myconf="${myconf} --ssl=nss"
- elif use ssl ; then
- myconf="${myconf} --ssl=openssl"
- else
- myconf="${myconf} --ssl=bogus"
- einfo "You will not have any encryption support enabled."
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
- doins bitlbee-ctl.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.2.1.ebuild b/net-im/bitlbee/bitlbee-1.2.1.ebuild
deleted file mode 100644
index ff817746dd9e..000000000000
--- a/net-im/bitlbee/bitlbee-1.2.1.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.2.1.ebuild,v 1.1 2008/07/08 07:52:04 cedk Exp $
-
-EAPI="1"
-inherit eutils toolchain-funcs confutils
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl test +yahoo xinetd" # ldap - Bug 195758
-
-COMMON_DEPEND=">=dev-libs/glib-2.4
- msn? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )
- jabber? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )"
- # ldap? ( net-nds/openldap )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig
- test? ( dev-libs/check )"
-
-RDEPEND="${COMMON_DEPEND}
- virtual/logger
- xinetd? ( sys-apps/xinetd )"
-
-pkg_setup() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog
- confutils_require_any jabber msn oscar yahoo
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- confutils_use_depend_any msn gnutls nss ssl
-
- if use jabber && ! use gnutls && ! use ssl ; then
- if use nss; then
- ewarn ""
- ewarn "You have enabled nss and jabber"
- ewarn "but nss doesn't work with jabber"
- ewarn "Enable ONE of the following use instead"
- ewarn "flags: gnutls or ssl"
- ewarn ""
- die "nss with jabber doesn't work"
- fi
- elog ""
- elog "You have enabled support for Jabber but do not have SSL"
- elog "support enabled. This *will* prevent bitlbee from being"
- elog "able to connect to SSL enabled Jabber servers. If you need to"
- elog "connect to Jabber over SSL, enable ONE of the following use"
- elog "flags: gnutls or ssl"
- elog ""
- fi
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed in xinetd"
-
- sed -i \
- -e "s@mozilla-nss@nss@g" \
- configure || die "sed failed in configure"
-}
-
-src_compile() {
- # ldap hard-disabled for now
- local myconf="--ldap=0"
-
- # setup protocol, ipv6 and debug
- for flag in debug ipv6 msn jabber oscar yahoo ; do
- if use ${flag} ; then
- myconf="${myconf} --${flag}=1"
- else
- myconf="${myconf} --${flag}=0"
- fi
- done
-
- # setup ssl use flags
- if use gnutls ; then
- myconf="${myconf} --ssl=gnutls"
- einfo "Use gnutls as SSL support"
- elif use ssl ; then
- myconf="${myconf} --ssl=openssl"
- einfo "Use openssl as SSL support"
- elif use nss ; then
- myconf="${myconf} --ssl=nss"
- einfo "Use nss as SSL support"
- else
- myconf="${myconf} --ssl=bogus"
- einfo "You will not have any encryption support enabled."
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
- doins bitlbee-ctl.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.2.2.ebuild b/net-im/bitlbee/bitlbee-1.2.2.ebuild
deleted file mode 100644
index 1bb1dbeaa109..000000000000
--- a/net-im/bitlbee/bitlbee-1.2.2.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.2.2.ebuild,v 1.7 2008/08/31 15:54:11 dertobi123 Exp $
-
-EAPI="1"
-inherit eutils toolchain-funcs confutils
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~x86-fbsd"
-IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl test +yahoo xinetd" # ldap - Bug 195758
-
-COMMON_DEPEND=">=dev-libs/glib-2.4
- msn? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )
- jabber? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )"
- # ldap? ( net-nds/openldap )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig
- test? ( dev-libs/check )"
-
-RDEPEND="${COMMON_DEPEND}
- virtual/logger
- xinetd? ( sys-apps/xinetd )"
-
-pkg_setup() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog
- confutils_require_any jabber msn oscar yahoo
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- confutils_use_depend_any msn gnutls nss ssl
-
- if use jabber && ! use gnutls && ! use ssl ; then
- if use nss; then
- ewarn ""
- ewarn "You have enabled nss and jabber"
- ewarn "but nss doesn't work with jabber"
- ewarn "Enable ONE of the following use instead"
- ewarn "flags: gnutls or ssl"
- ewarn ""
- die "nss with jabber doesn't work"
- fi
- elog ""
- elog "You have enabled support for Jabber but do not have SSL"
- elog "support enabled. This *will* prevent bitlbee from being"
- elog "able to connect to SSL enabled Jabber servers. If you need to"
- elog "connect to Jabber over SSL, enable ONE of the following use"
- elog "flags: gnutls or ssl"
- elog ""
- fi
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed in xinetd"
-
- sed -i \
- -e "s@mozilla-nss@nss@g" \
- configure || die "sed failed in configure"
-
- epatch "${FILESDIR}/${P}-fix_tests_check_set.patch"
-}
-
-src_compile() {
- # ldap hard-disabled for now
- local myconf="--ldap=0"
-
- # setup protocol, ipv6 and debug
- for flag in debug ipv6 msn jabber oscar yahoo ; do
- if use ${flag} ; then
- myconf="${myconf} --${flag}=1"
- else
- myconf="${myconf} --${flag}=0"
- fi
- done
-
- # setup ssl use flags
- if use gnutls ; then
- myconf="${myconf} --ssl=gnutls"
- einfo "Use gnutls as SSL support"
- elif use ssl ; then
- myconf="${myconf} --ssl=openssl"
- einfo "Use openssl as SSL support"
- elif use nss ; then
- myconf="${myconf} --ssl=nss"
- einfo "Use nss as SSL support"
- else
- myconf="${myconf} --ssl=bogus"
- einfo "You will not have any encryption support enabled."
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
- doins bitlbee-ctl.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/bitlbee-1.2.ebuild b/net-im/bitlbee/bitlbee-1.2.ebuild
deleted file mode 100644
index f2cb912206ce..000000000000
--- a/net-im/bitlbee/bitlbee-1.2.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.2.ebuild,v 1.9 2008/04/12 18:30:03 dertobi123 Exp $
-
-EAPI="1"
-inherit eutils toolchain-funcs confutils
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~x86-fbsd"
-IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl test +yahoo xinetd" # ldap - Bug 195758
-
-COMMON_DEPEND=">=dev-libs/glib-2.4
- msn? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )
- jabber? ( gnutls? ( net-libs/gnutls )
- !gnutls? ( nss? ( dev-libs/nss ) )
- !gnutls? ( !nss? ( ssl? ( dev-libs/openssl ) ) )
- )"
- # ldap? ( net-nds/openldap )"
-DEPEND="${COMMON_DEPEND}
- dev-util/pkgconfig
- test? ( dev-libs/check )"
-
-RDEPEND="${COMMON_DEPEND}
- virtual/logger
- xinetd? ( sys-apps/xinetd )"
-
-pkg_setup() {
- elog "Note: Support for all IM protocols are controlled by use flags."
- elog " Make sure you've enabled the flags you want."
- elog
- confutils_require_any jabber msn oscar yahoo
-
- # At the request of upstream, die if MSN Messenger support is enabled
- # but no SSL support has been enabled
- confutils_use_depend_any msn gnutls nss ssl
-
- if use jabber && ! use gnutls && ! use ssl ; then
- if use nss; then
- ewarn ""
- ewarn "You have enabled nss and jabber"
- ewarn "but nss doesn't work with jabber"
- ewarn "Enable ONE of the following use instead"
- ewarn "flags: gnutls or ssl"
- ewarn ""
- die "nss with jabber doesn't work"
- fi
- elog ""
- elog "You have enabled support for Jabber but do not have SSL"
- elog "support enabled. This *will* prevent bitlbee from being"
- elog "able to connect to SSL enabled Jabber servers. If you need to"
- elog "connect to Jabber over SSL, enable ONE of the following use"
- elog "flags: gnutls or ssl"
- elog ""
- fi
-
- enewgroup bitlbee
- enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
- -e "s/nobody/bitlbee/" \
- -e "s/}/ disable = yes\n}/" \
- doc/bitlbee.xinetd || die "sed failed in xinetd"
-
- sed -i \
- -e "s@mozilla-nss@nss@g" \
- configure || die "sed failed in configure"
-}
-
-src_compile() {
- # ldap hard-disabled for now
- local myconf="--ldap=0"
-
- # setup protocol, ipv6 and debug
- for flag in debug ipv6 msn jabber oscar yahoo ; do
- if use ${flag} ; then
- myconf="${myconf} --${flag}=1"
- else
- myconf="${myconf} --${flag}=0"
- fi
- done
-
- # setup ssl use flags
- if use gnutls ; then
- myconf="${myconf} --ssl=gnutls"
- einfo "Use gnutls as SSL support"
- elif use ssl ; then
- myconf="${myconf} --ssl=openssl"
- einfo "Use openssl as SSL support"
- elif use nss ; then
- myconf="${myconf} --ssl=nss"
- einfo "Use nss as SSL support"
- else
- myconf="${myconf} --ssl=bogus"
- einfo "You will not have any encryption support enabled."
- fi
-
- # NOTE: bitlbee's configure script is not an autotool creation,
- # so that is why we don't use econf.
- ./configure --prefix=/usr --datadir=/usr/share/bitlbee \
- --etcdir=/etc/bitlbee --strip=0 ${myconf} || die "econf failed"
-
- sed -i \
- -e "s/CFLAGS=.*$/CFLAGS=${CFLAGS}/" \
- Makefile.settings || die "sed 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() {
- 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
- fperms 700 /var/lib/bitlbee
- fowners bitlbee:bitlbee /var/lib/bitlbee
-
- dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README,RELEASE-SPEECH-1.2}
- dodoc doc/user-guide/user-guide.txt
- dohtml -A xml doc/user-guide/*.xml
- dohtml -A xsl doc/user-guide/*.xsl
- dohtml doc/user-guide/*.html
-
- doman doc/bitlbee.8 doc/bitlbee.conf.5
-
- dobin utils/bitlbeed
-
- if use xinetd; then
- insinto /etc/xinetd.d
- newins doc/bitlbee.xinetd bitlbee
- fi
-
- newinitd "${FILESDIR}"/bitlbeed.initd bitlbeed || die
- newconfd "${FILESDIR}"/bitlbeed.confd2 bitlbeed || die
-
- keepdir /var/run/bitlbeed
-
- dodir /usr/share/bitlbee
- insinto /usr/share/bitlbee
- cd utils
- doins centericq2bitlbee.sh convert_gnomeicu.txt create_nicksfile.pl
- doins bitlbee-ctl.pl
-}
-
-pkg_postinst() {
- chown -R bitlbee:bitlbee "${ROOT}"/var/lib/bitlbee
-
- elog "The utils included in bitlbee (other than bitlbeed) are now"
- elog "located in /usr/share/bitlbee"
- elog
- elog "NOTE: The IRSSI script is no longer provided by BitlBee."
-}
diff --git a/net-im/bitlbee/files/bitlbee-1.0.3-xinetd.patch b/net-im/bitlbee/files/bitlbee-1.0.3-xinetd.patch
deleted file mode 100644
index 7abffd48bccc..000000000000
--- a/net-im/bitlbee/files/bitlbee-1.0.3-xinetd.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- bitlbee.xinetd.orig 2006-07-16 11:38:25.534054090 -0600
-+++ bitlbee.xinetd 2006-07-16 11:39:25.039033992 -0600
-@@ -11,7 +11,7 @@
-
- ## You most likely want to change these two
- user = nobody
-- server = /usr/local/sbin/bitlbee
-+ server = /usr/sbin/bitlbee
-
- ## You might want to limit access to localhost only:
- # bind = 127.0.0.1
-@@ -21,4 +21,5 @@
- ## /etc/services too.
- type = UNLISTED
- port = 6667
-+ disable = yes
- }
diff --git a/net-im/bitlbee/files/bitlbee-gentoohack.patch b/net-im/bitlbee/files/bitlbee-gentoohack.patch
deleted file mode 100644
index b39a64922518..000000000000
--- a/net-im/bitlbee/files/bitlbee-gentoohack.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Naur bitlbee-0.91/bitlbee.c bitlbee-0.91-gentoohack/bitlbee.c
---- bitlbee-0.91/bitlbee.c 2004-11-21 15:52:28.000000000 +0100
-+++ bitlbee-0.91-gentoohack/bitlbee.c 2004-12-21 17:15:15.000000000 +0100
-@@ -285,6 +285,7 @@
- account_t *a;
- FILE *fp;
- char *hash;
-+ int retval;
-
- /*\
- * [SH] Nothing should be saved if no password is set, because the
-@@ -344,11 +345,16 @@
- g_snprintf( path, 511, "%s%s%s", global.conf->configdir, irc->nick, ".accounts~" );
- fp = fopen( path, "w" );
- if( !fp ) return( 0 );
-- if( fprintf( fp, "%s", hash ) != strlen( hash ) )
-+ retval = fprintf( fp, "%s", hash );
-+ if( retval != strlen( hash ) )
- {
-- irc_usermsg( irc, "fprintf() wrote too little. Disk full?" );
-- fclose( fp );
-- return( 0 );
-+ if( retval == 1) {
-+ irc_usermsg( irc, "Enabling writing hack for gentoo. This is dangerous and may corrupt your files.");
-+ } else {
-+ irc_usermsg( irc, "fprintf() wrote too little. Disk full?" );
-+ fclose( fp );
-+ return( 0 );
-+ }
- }
- g_free( hash );
-
diff --git a/net-im/bitlbee/files/bitlbee-xinetd.patch b/net-im/bitlbee/files/bitlbee-xinetd.patch
deleted file mode 100644
index d32dd8f3313a..000000000000
--- a/net-im/bitlbee/files/bitlbee-xinetd.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- bitlbee.xinetd.orig 2003-04-08 13:01:45.000000000 -0400
-+++ bitlbee.xinetd 2003-04-08 13:01:36.000000000 -0400
-@@ -1,12 +1,14 @@
- ## xinetd file for BitlBee. Please check this file before using it, the
- ## user, port and/or binary location might be wrong.
-
--service 6667
-+service ircd
- {
- socket_type = stream
- protocol = tcp
- wait = no
-- user = bitlbee
-+ user = nobody
-+ only_from = localhost
- server = /usr/sbin/bitlbee
- port = 6667
-+ disable = yes
- }
diff --git a/net-im/bitlbee/files/bitlbeed.confd b/net-im/bitlbee/files/bitlbeed.confd
deleted file mode 100644
index 0d75efd0c017..000000000000
--- a/net-im/bitlbee/files/bitlbeed.confd
+++ /dev/null
@@ -1,16 +0,0 @@
-# location of bitlbeed executable
-BITLBEED_EXEC=/usr/bin/bitlbeed
-#
-# output from bitlbeed -h
-#
-# Usage: bitlbeed [-i <interface>] [-p <port>] [-n <num>] <command> <args...>
-# A simple inetd-like daemon to have a program listening on a TCP socket without
-# needing root access to the machine
-#
-# -i Specify the interface (by IP address) to listen on.
-# (Default: 0.0.0.0 (any interface))
-# -p Port number to listen on. (Default: 6667)
-# -n Maximum number of connections. (Default: 0 (unlimited))
-# -h This information
-#
-#BITLBEED_OPTS=""
diff --git a/net-im/bitlbee/files/bitlbeed.init b/net-im/bitlbee/files/bitlbeed.init
deleted file mode 100644
index 093a06e7341e..000000000000
--- a/net-im/bitlbee/files/bitlbeed.init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or
-# later
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/files/bitlbeed.init,v 1.4 2004/07/14 23:44:31 agriffis Exp $
-
-
-depend() {
- need logger net
-}
-
-start () {
- ebegin "Starting bitlbeed"
- start-stop-daemon --start --startas ${BITLBEED_EXEC} \
- -c nobody:nobody --exec ${BITLBEED_EXEC} -- \
- ${BITLBEED_OPTS} /usr/sbin/bitlbee
- eend $? "Failed to start bitlbeed"
-}
-
-stop() {
- ebegin "Stopping bitlbeed"
- #killall -9 bitlbeed &>/dev/null
- start-stop-daemon --stop --signal 9 \
- --exec ${BITLBEED_EXEC}
- eend $? "Failed to stop bitlbeed"
-}
-
diff --git a/net-im/bitlbee/files/oscar-sms.patch b/net-im/bitlbee/files/oscar-sms.patch
deleted file mode 100644
index 070928b68bfb..000000000000
--- a/net-im/bitlbee/files/oscar-sms.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ru bitlbee-1.1dev~/protocols/oscar/oscar.c bitlbee-1.1dev/protocols/oscar/oscar.c
---- bitlbee-1.1dev~/protocols/oscar/oscar.c 2007-12-13 21:24:28.000000000 +0100
-+++ bitlbee-1.1dev/protocols/oscar/oscar.c 2007-12-13 21:30:18.000000000 +0100
-@@ -1093,8 +1093,17 @@
- } else {
- g_snprintf(tmp, BUF_LONG, "%s", args->msg);
- }
-- } else
-+ } else if (args->mpmsg.numparts == 0) {
- g_snprintf(tmp, BUF_LONG, "%s", args->msg);
-+ } else {
-+ int i;
-+
-+ *tmp = 0;
-+ for (i = 0; i < args->mpmsg.numparts; i ++) {
-+ g_strlcat(tmp, (char*) args->mpmsg.parts[i].data, BUF_LONG);
-+ g_strlcat(tmp, "\n", BUF_LONG);
-+ }
-+ }
-
- strip_linefeed(tmp);
- serv_got_im(gc, userinfo->sn, tmp, flags, time(NULL), -1);