blob: a02d9d36c69e0ce941d95e91150605c46669b8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/RadiusPerl/RadiusPerl-0.220.0.ebuild,v 1.3 2013/07/10 05:18:28 ago Exp $
EAPI=4
MODULE_AUTHOR=MANOWAR
MODULE_VERSION=0.22
inherit perl-module
DESCRIPTION="Communicate with a Radius server from Perl"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ~sparc x86"
IUSE=""
DEPEND="
>=virtual/perl-Digest-MD5-2.200.0
>=virtual/perl-IO-1.12
>=dev-perl/Data-HexDump-0.02
"
RDEPEND="${DEPEND}"
S=${WORKDIR}/Authen-Radius-${MODULE_VERSION}
SRC_TEST="do"
export OPTIMIZE="$CFLAGS"
PATCHES=( "${FILESDIR}"/dictionary.cisco.ssg.patch )
src_prepare() {
sed -i '/install-radius-db.PL/d' Makefile.PL MANIFEST || die
mv "${S}"/install-radius-db.PL{,.orig} || die
perl-module_src_prepare
}
src_install() {
perl-module_src_install
# Really want to install these radius dictionaries?
insinto /etc/raddb
doins raddb/dictionary*
}
|