Lars Strojny
A keks * initial commit
Lars Strojny commited 8c4e5b8 at 2006-12-17 11:28:02
jabberd-1.4.3-r5.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.4.3-r5.ebuild,v 1.5 2005/11/24 16:50:10 blubb Exp $
inherit eutils multilib
S="${WORKDIR}/jabberd-${PV}"
DESCRIPTION="Open Source Jabber Server"
HOMEPAGE="http://www.jabber.org"
SRC_URI="http://jabberd.jabberstudio.org/1.4/dist/jabberd-${PV}.tar.gz
http://www.gentoo-pt.org/~humpback/jabberd-1.4.3-extexpat.diff
ldap? ( http://www.jabberstudio.org/files/xdb_ldap/xdb_ldap-1.0.tar.gz )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~amd64"
IUSE="ssl ldap ipv6"
DEPEND="!net-im/jabber-server
>=dev-libs/pth-1.4.0
dev-libs/expat
ssl? ( >=dev-libs/openssl-0.9.6i )
ldap? ( =net-nds/openldap-2* )
>=net-im/jabber-base-0.0"
pkg_setup() {
if use ipv6 ; then
ewarn "You are about to build with ipv6 support, if your system is not using ipv6"
ewarn "do control-c now and emerge with \"USE=-ipv6\" "
epause 5
fi
}
src_unpack() {
unpack jabberd-${PV}.tar.gz
cd ${S}
use ldap && unpack xdb_ldap-1.0.tar.gz
epatch ${FILESDIR}/multiple-xml-patch-00
epatch ${FILESDIR}/multiple-xml-patch-01
#Patch for extexpat DoS http://www.jabber.org/pipermail/jadmin/2004-September/018046.html
epatch ${DISTDIR}/jabberd-1.4.3-extexpat.diff
mv jabber.xml multiple.xml
}
src_compile() {
use amd64 && LDFLAGS='-Wl,-z,now' emerge jabberd
# These can cause problems with certain configure scripts used...
unset LC_ALL LC_CTYPE
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX