summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-03-19 14:15:17 +0000
committerCédric Krier <cedk@gentoo.org>2008-03-19 14:15:17 +0000
commit52dede4cbe808289671fa818472facf0b427d419 (patch)
tree23a7b71a53e59c4fd24dda52b4b8e3f2d2c66f31 /net-im
parentremoving old and/or vulnerable versions (diff)
downloadhistorical-52dede4cbe808289671fa818472facf0b427d419.tar.gz
historical-52dede4cbe808289671fa818472facf0b427d419.tar.bz2
historical-52dede4cbe808289671fa818472facf0b427d419.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-im')
-rw-r--r--net-im/bitlbee/ChangeLog9
-rw-r--r--net-im/bitlbee/Manifest4
-rw-r--r--net-im/bitlbee/bitlbee-1.2.ebuild158
3 files changed, 168 insertions, 3 deletions
diff --git a/net-im/bitlbee/ChangeLog b/net-im/bitlbee/ChangeLog
index a348774bd859..b123ebaefdd7 100644
--- a/net-im/bitlbee/ChangeLog
+++ b/net-im/bitlbee/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/bitlbee
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.91 2007/12/30 12:18:08 cedk Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/ChangeLog,v 1.92 2008/03/19 14:15:17 cedk Exp $
+
+*bitlbee-1.2 (19 Mar 2008)
+
+ 19 Mar 2008; Cédric Krier <cedk@gentoo.org> +bitlbee-1.2.ebuild:
+ Version bump
*bitlbee-1.1.1 (30 Dec 2007)
diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest
index 131788212b84..e0d571a752ba 100644
--- a/net-im/bitlbee/Manifest
+++ b/net-im/bitlbee/Manifest
@@ -10,9 +10,11 @@ DIST bitlbee-1.0.3.tar.gz 455344 RMD160 d27c7a9104528402d4d3e2f78b40eda5f6490d72
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.tar.gz 469482 RMD160 c48c5f8af418ba4fe7310732ced6290521cc656e SHA1 71dc24e9025375460e999345db70fb5dff7d45d8 SHA256 ff69fa43445c833a34ea64c23178383e3abe98f2ec7e791ea0cf3913e4090bb8
EBUILD bitlbee-1.0.3.ebuild 4596 RMD160 dc3dcb30a2b75c612648b37b25a38f114f53e40d SHA1 0a7d53d8e64d5ad062e4df579abe36d3a2fbec10 SHA256 53d67d6361f22f525c85006ad6289de2adea64bbb5d28662522edce81d21ba73
EBUILD bitlbee-1.0.4.ebuild 4774 RMD160 addfb0cbc7bb3c52240dafa122fca6a9990566a2 SHA1 9abd1cf99418a4902e14c93d43389e664fdb3725 SHA256 1caaeb4192d15dc8ca94985a940e8f95256ce83b0a2db85403b0cacb0051f0b9
EBUILD bitlbee-1.1-r1.ebuild 4522 RMD160 9db9def9d8f65bef689af8a4af1f52c28a89a2d3 SHA1 ade9acec15d73b88b44cc6db037c706eb3868620 SHA256 5038b3668f502dc4049677eb5b1424e4fc6b932c81d4a3ec1af82b6e11db2561
EBUILD bitlbee-1.1.1.ebuild 4485 RMD160 7fadfde761bc4e8caf669c76b4d5e0f7277d9014 SHA1 1bfa40755c72c014bc3fc05b44dd28be086dbe42 SHA256 69cb6853f13059de983725bcb679db40f56312585879ed63bc90a046928d1074
-MISC ChangeLog 14954 RMD160 6c5c8671e8572cb5097647b1e28495200a4c727f SHA1 a9087044db1c17f41db003b5bb2df8b6adc70138 SHA256 68b1388f06edbdf0de1201e285f4969aafb90c7a81deabf1ca6fca24619d1378
+EBUILD bitlbee-1.2.ebuild 4451 RMD160 e7dbc490a620434e28034b55e1653948570fe3e7 SHA1 57edf4f503579fb8a3652d26a3e9528133bb480e SHA256 453380fff638528a9d24a27df5af92a883f88b46b5241f9ed1dfd089c4d16f00
+MISC ChangeLog 15066 RMD160 7295c2d9a4c2fe0cb519677d21d964b54c180f0b SHA1 f7051c60773e1fd5b38f5eff0e4392669f4d21f3 SHA256 8832a8c624290a8b21f7a235a73a3723150f88e617a90be365eb24c65b0f733f
MISC metadata.xml 441 RMD160 f440e9e63bc4c6abdcf4b7e23fcfddcd678f961e SHA1 6cca8fafd875ff937fc225a1b0fd1876802ffb42 SHA256 a6dcfed15814498c58a9625f9bb9f742595a253181656d8b7fc69234d3170840
diff --git a/net-im/bitlbee/bitlbee-1.2.ebuild b/net-im/bitlbee/bitlbee-1.2.ebuild
new file mode 100644
index 000000000000..c1a12ab04f4b
--- /dev/null
+++ b/net-im/bitlbee/bitlbee-1.2.ebuild
@@ -0,0 +1,158 @@
+# 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.1 2008/03/19 14:15:17 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 +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 )"
+
+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,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."
+}