Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Radius/files/, dev-perl/Authen-Radius/
Date: Sat, 30 Dec 2017 02:40:14
Message-Id: 1514601525.03d6c2a04a2059d6456d5e716c5765189aef6650.kentnl@gentoo
1 commit: 03d6c2a04a2059d6456d5e716c5765189aef6650
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 28 07:58:43 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 30 02:38:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03d6c2a0
7
8 dev-perl/Authen-Radius: Copy from dev-perl/RadiusPerl
9
10 Upstream name change migration
11
12 Package-Manager: Portage-2.3.18, Repoman-2.3.6
13
14 .../Authen-Radius/Authen-Radius-0.220.0-r1.ebuild | 44 ++++++++++++++++++++++
15 dev-perl/Authen-Radius/Manifest | 1 +
16 .../Authen-Radius/files/dictionary.cisco.ssg.patch | 14 +++++++
17 dev-perl/Authen-Radius/metadata.xml | 12 ++++++
18 4 files changed, 71 insertions(+)
19
20 diff --git a/dev-perl/Authen-Radius/Authen-Radius-0.220.0-r1.ebuild b/dev-perl/Authen-Radius/Authen-Radius-0.220.0-r1.ebuild
21 new file mode 100644
22 index 00000000000..157df28ca9c
23 --- /dev/null
24 +++ b/dev-perl/Authen-Radius/Authen-Radius-0.220.0-r1.ebuild
25 @@ -0,0 +1,44 @@
26 +# Copyright 1999-2017 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=5
30 +
31 +MY_PN=RadiusPerl
32 +MODULE_AUTHOR=MANOWAR
33 +MODULE_VERSION=0.22
34 +inherit perl-module
35 +
36 +DESCRIPTION="Communicate with a Radius server from Perl"
37 +
38 +LICENSE="Artistic-2"
39 +SLOT="0"
40 +KEYWORDS="amd64 ~hppa ~sparc x86"
41 +IUSE=""
42 +
43 +DEPEND="
44 + >=virtual/perl-Digest-MD5-2.200.0
45 + >=virtual/perl-IO-1.12
46 + >=dev-perl/Data-HexDump-0.02
47 +"
48 +RDEPEND="${DEPEND}"
49 +
50 +S=${WORKDIR}/Authen-Radius-${MODULE_VERSION}
51 +
52 +SRC_TEST="do"
53 +export OPTIMIZE="$CFLAGS"
54 +PATCHES=( "${FILESDIR}"/dictionary.cisco.ssg.patch )
55 +
56 +src_prepare() {
57 + sed -i '/install-radius-db.PL/d' Makefile.PL MANIFEST || die
58 + mv "${S}"/install-radius-db.PL{,.orig} || die
59 +
60 + perl-module_src_prepare
61 +}
62 +
63 +src_install() {
64 + perl-module_src_install
65 +
66 + # Really want to install these radius dictionaries?
67 + insinto /etc/raddb
68 + doins raddb/dictionary*
69 +}
70
71 diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest
72 new file mode 100644
73 index 00000000000..3642180cf55
74 --- /dev/null
75 +++ b/dev-perl/Authen-Radius/Manifest
76 @@ -0,0 +1 @@
77 +DIST RadiusPerl-0.22.tar.gz 40980 BLAKE2B 5c8a1870d7a95c89f9f2b8546c0285b5cf62873b3960ee67d45db3c9edfa0117fc40f3238d42a1306a15c4740e739381ae7bb88234bfceff2a79d73a84e384f1 SHA512 d5c7327fa3d4b6f74405e905f01be23479be542073d035c3babc34b63577069f6069e44dda9709b69b5dc25552170a764eb02ab6d2b6c2f7b366da566ae8e967
78
79 diff --git a/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch b/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch
80 new file mode 100644
81 index 00000000000..bbec7052ff6
82 --- /dev/null
83 +++ b/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch
84 @@ -0,0 +1,14 @@
85 +--- /etc/raddb/dictionary.cisco 2010-02-10 01:04:00.000000000 +0200
86 ++++ dictionary.cisco 2010-02-10 01:06:10.000000000 +0200
87 +@@ -118,3 +118,11 @@
88 + VALUE Cisco-Disconnect-Cause Session-End-Callback 102
89 + VALUE Cisco-Disconnect-Cause Invalid-Protocol 120
90 +
91 ++#ISG Support http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapa.html
92 ++ATTRIBUTE Cisco-Policy-Up 37 string Cisco
93 ++ATTRIBUTE Cisco-Policy-Down 38 string Cisco
94 ++ATTRIBUTE Cisco-SSG-Subscriber-Password 249 string Cisco
95 ++ATTRIBUTE Cisco-SSG-Account-Info 250 string Cisco
96 ++ATTRIBUTE Cisco-SSG-Service-Info 251 string Cisco
97 ++ATTRIBUTE Cisco-SSG-Command-Code 252 string Cisco
98 ++ATTRIBUTE Cisco-SSG-Control-Info 253 string Cisco
99
100 diff --git a/dev-perl/Authen-Radius/metadata.xml b/dev-perl/Authen-Radius/metadata.xml
101 new file mode 100644
102 index 00000000000..d5df1a58b81
103 --- /dev/null
104 +++ b/dev-perl/Authen-Radius/metadata.xml
105 @@ -0,0 +1,12 @@
106 +<?xml version="1.0" encoding="UTF-8"?>
107 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
108 +<pkgmetadata>
109 + <maintainer type="project">
110 + <email>perl@g.o</email>
111 + <name>Gentoo Perl Project</name>
112 + </maintainer>
113 + <upstream>
114 + <remote-id type="cpan">Authen-Radius</remote-id>
115 + <remote-id type="cpan-module">Authen::Radius</remote-id>
116 + </upstream>
117 +</pkgmetadata>