Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312901 | Differences between
and this patch

Collapse All | Expand All

(-)bitlbee-1.2.4-r1.ebuild (-9 / +6 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-1.2.4-r1.ebuild,v 1.1 2010/02/28 15:48:42 cedk Exp $
3
# $Header: $
4
4
5
EAPI="1"
5
EAPI="2"
6
inherit eutils toolchain-funcs confutils
6
inherit eutils toolchain-funcs confutils
7
7
8
DESCRIPTION="irc to IM gateway that support multiple IM protocols"
8
DESCRIPTION="irc to IM gateway that support multiple IM protocols"
Lines 12-18 Link Here
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
14
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
15
IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl test +yahoo xinetd" # ldap - Bug 195758
15
IUSE="debug gnutls ipv6 +jabber msn nss +oscar ssl test twitter +yahoo xinetd" # ldap - Bug 195758
16
16
17
COMMON_DEPEND=">=dev-libs/glib-2.4
17
COMMON_DEPEND=">=dev-libs/glib-2.4
18
	msn? ( gnutls? ( net-libs/gnutls )
18
	msn? ( gnutls? ( net-libs/gnutls )
Lines 36-42 Link Here
36
	elog "Note: Support for all IM protocols are controlled by use flags."
36
	elog "Note: Support for all IM protocols are controlled by use flags."
37
	elog "      Make sure you've enabled the flags you want."
37
	elog "      Make sure you've enabled the flags you want."
38
	elog
38
	elog
39
	confutils_require_any jabber msn oscar yahoo
39
	confutils_require_any jabber msn oscar twitter yahoo
40
40
41
	# At the request of upstream, die if MSN Messenger support is enabled
41
	# At the request of upstream, die if MSN Messenger support is enabled
42
	# but no SSL support has been enabled
42
	# but no SSL support has been enabled
Lines 65-74 Link Here
65
	enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
65
	enewuser bitlbee -1 -1 /var/lib/bitlbee bitlbee
66
}
66
}
67
67
68
src_unpack() {
68
src_prepare() {
69
	unpack ${A}
70
	cd "${S}"
71
72
	sed -i \
69
	sed -i \
73
		-e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
70
		-e "s@/usr/local/sbin/bitlbee@/usr/sbin/bitlbee@" \
74
		-e "s/nobody/bitlbee/" \
71
		-e "s/nobody/bitlbee/" \
Lines 85-91 Link Here
85
	local myconf="--ldap=0"
82
	local myconf="--ldap=0"
86
83
87
	# setup protocol, ipv6 and debug
84
	# setup protocol, ipv6 and debug
88
	for flag in debug ipv6 msn jabber oscar yahoo ; do
85
	for flag in debug ipv6 msn jabber oscar twitter yahoo ; do
89
		if use ${flag} ; then
86
		if use ${flag} ; then
90
			myconf="${myconf} --${flag}=1"
87
			myconf="${myconf} --${flag}=1"
91
		else
88
		else

Return to bug 312901