--- amanda-3.3.3-r1.ebuild 2014-11-25 06:39:33.548595341 +0800 +++ amanda-3.3.3-r2.ebuild 2015-04-03 07:38:39.308576590 +0800 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/amanda-3.3.3-r1.ebuild,v 1.9 2014/11/10 22:47:35 dilfridge Exp $ +# $Header: $ EAPI=5 inherit autotools eutils perl-module user systemd @@ -8,9 +8,12 @@ DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver" HOMEPAGE="http://www.amanda.org/" SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz" + LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+" SLOT="0" -KEYWORDS="amd64 ppc ppc64 ~sparc x86" +IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" RDEPEND="sys-libs/readline virtual/awk app-arch/tar @@ -43,8 +46,6 @@ dev-libs/libxslt " -IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs" - MYFILESDIR="${T}/files" ENVDIR="/etc/env.d" ENVDFILE="97amanda" @@ -135,6 +136,8 @@ } src_prepare() { + # gentoo bug #537248 + epatch "${FILESDIR}/local-amanda-perl5.20.patch" # gentoo bug #331111 sed -i '/^check-local: check-perl$/d' "${S}"/config/automake/scripts.am @@ -470,3 +473,4 @@ chmod u=srwx,g=rx,o= "${root}"/${i} done } +