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:18
Message-Id: 1514601530.2b80e4786314b536fffb4487ae522ecc8e0fbfbb.kentnl@gentoo
1 commit: 2b80e4786314b536fffb4487ae522ecc8e0fbfbb
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 30 02:34:11 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 30 02:38:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b80e478
7
8 dev-perl/Authen-Radius: Bump to version 0.260.0
9
10 - EAPI6
11 - Update patches for eapply format
12 - Patchify sed code
13 - Don't run export in global scope
14 - Parallel tests
15
16 Upstream:
17 - Clear authenticator under clear_attributes()
18 - Add support for changing I/O activity timeouts
19 - Add ACCESS_CHALLENGE packet type definition
20 - Fix large wait on processing broadcasts
21 - Add support for Status-Server requests
22 - Add support for IPv6
23 - Add support for integer64
24 - Fix warning using uninitialized $vendor_name
25 - Add support for date and time types
26 - Improve support for FreeRADIUS and GNU Radius dictionarty files
27 - Add support for tagged attributes
28 - Fix sublist attribute type encoding
29
30 Package-Manager: Portage-2.3.18, Repoman-2.3.6
31
32 .../Authen-Radius/Authen-Radius-0.260.0.ebuild | 48 ++++++++++++++++++++++
33 dev-perl/Authen-Radius/Manifest | 1 +
34 .../Authen-Radius-0.26-cisco-dictionary.patch | 28 +++++++++++++
35 .../files/Authen-Radius-0.26-no-install-db.patch | 43 +++++++++++++++++++
36 4 files changed, 120 insertions(+)
37
38 diff --git a/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild b/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild
39 new file mode 100644
40 index 00000000000..93ca6b83ed0
41 --- /dev/null
42 +++ b/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild
43 @@ -0,0 +1,48 @@
44 +# Copyright 1999-2017 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=6
48 +
49 +DIST_AUTHOR=PORTAONE
50 +DIST_VERSION=0.26
51 +inherit perl-module
52 +
53 +DESCRIPTION="Communicate with a Radius server from Perl"
54 +
55 +LICENSE="Artistic-2"
56 +SLOT="0"
57 +KEYWORDS="~amd64 ~hppa ~sparc ~x86"
58 +IUSE="test"
59 +
60 +RDEPEND="
61 + >=virtual/perl-Data-Dumper-1.0.0
62 + >=dev-perl/Data-HexDump-0.20.0
63 + >=virtual/perl-Digest-MD5-2.200.0
64 + >=virtual/perl-IO-1.120.0
65 + >=dev-perl/Net-IP-1.260.0
66 +"
67 +DEPEND="${RDEPEND}
68 + >=virtual/perl-ExtUtils-MakeMaker-6.640.0
69 + test? (
70 + dev-perl/Test-NoWarnings
71 + virtual/perl-Test-Simple
72 + )
73 +"
74 +
75 +PATCHES=(
76 + "${FILESDIR}"/${PN}-0.26-cisco-dictionary.patch
77 + "${FILESDIR}"/${PN}-0.26-no-install-db.patch
78 +)
79 +
80 +src_configure() {
81 + export OPTIMIZE="$CFLAGS"
82 + perl-module_src_configure
83 +}
84 +
85 +src_install() {
86 + perl-module_src_install
87 +
88 + # Really want to install these radius dictionaries?
89 + insinto /etc/raddb
90 + doins raddb/dictionary*
91 +}
92
93 diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest
94 index 3642180cf55..a69b438b9f7 100644
95 --- a/dev-perl/Authen-Radius/Manifest
96 +++ b/dev-perl/Authen-Radius/Manifest
97 @@ -1 +1,2 @@
98 +DIST Authen-Radius-0.26.tar.gz 49432 BLAKE2B 05ce64cf463faa1ad1004a659859961d6df24d0651a180603a5a5fc3d672a91f8df521f7d19bbc7b62aa0d63e1ae5b54dec3d46718973ee160f3e7bae5f15d02 SHA512 6779712cd4fdc45115c6e68766ef58c8b1dc9bf3037f3e0e243bc23318d13b09104df5f825b40ce26f7eebe52e6c4887efc8525334f2ab00da23fe76322f0b56
99 DIST RadiusPerl-0.22.tar.gz 40980 BLAKE2B 5c8a1870d7a95c89f9f2b8546c0285b5cf62873b3960ee67d45db3c9edfa0117fc40f3238d42a1306a15c4740e739381ae7bb88234bfceff2a79d73a84e384f1 SHA512 d5c7327fa3d4b6f74405e905f01be23479be542073d035c3babc34b63577069f6069e44dda9709b69b5dc25552170a764eb02ab6d2b6c2f7b366da566ae8e967
100
101 diff --git a/dev-perl/Authen-Radius/files/Authen-Radius-0.26-cisco-dictionary.patch b/dev-perl/Authen-Radius/files/Authen-Radius-0.26-cisco-dictionary.patch
102 new file mode 100644
103 index 00000000000..19d6b0ed9ca
104 --- /dev/null
105 +++ b/dev-perl/Authen-Radius/files/Authen-Radius-0.26-cisco-dictionary.patch
106 @@ -0,0 +1,28 @@
107 +From c3955cd5e9232cf891500cdddf96c0f4e336029b Mon Sep 17 00:00:00 2001
108 +From: Patrick Lauer <patrick@g.o>
109 +Date: Mon, 29 Oct 2012 21:02:39 +1300
110 +Subject: Add ISG support to raddb cisco dictionary
111 +
112 +---
113 + raddb/dictionary.cisco | 8 ++++++++
114 + 1 file changed, 8 insertions(+)
115 +
116 +diff --git a/raddb/dictionary.cisco b/raddb/dictionary.cisco
117 +index 4dadaa3..8d57a03 100644
118 +--- a/raddb/dictionary.cisco
119 ++++ b/raddb/dictionary.cisco
120 +@@ -118,3 +118,11 @@ VALUE Cisco-Disconnect-Cause Session-Failed-Security 101
121 + VALUE Cisco-Disconnect-Cause Session-End-Callback 102
122 + VALUE Cisco-Disconnect-Cause Invalid-Protocol 120
123 +
124 ++#ISG Support http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapa.html
125 ++ATTRIBUTE Cisco-Policy-Up 37 string Cisco
126 ++ATTRIBUTE Cisco-Policy-Down 38 string Cisco
127 ++ATTRIBUTE Cisco-SSG-Subscriber-Password 249 string Cisco
128 ++ATTRIBUTE Cisco-SSG-Account-Info 250 string Cisco
129 ++ATTRIBUTE Cisco-SSG-Service-Info 251 string Cisco
130 ++ATTRIBUTE Cisco-SSG-Command-Code 252 string Cisco
131 ++ATTRIBUTE Cisco-SSG-Control-Info 253 string Cisco
132 +--
133 +2.15.1
134 +
135
136 diff --git a/dev-perl/Authen-Radius/files/Authen-Radius-0.26-no-install-db.patch b/dev-perl/Authen-Radius/files/Authen-Radius-0.26-no-install-db.patch
137 new file mode 100644
138 index 00000000000..746ba993def
139 --- /dev/null
140 +++ b/dev-perl/Authen-Radius/files/Authen-Radius-0.26-no-install-db.patch
141 @@ -0,0 +1,43 @@
142 +From 57b9f1a710c2eee1c8f54eb87d164584aa9532ce Mon Sep 17 00:00:00 2001
143 +From: Torsten Veller <tove@g.o>
144 +Date: Mon, 5 Nov 2012 01:02:48 +1300
145 +Subject: Remove automatic radis-db installer code
146 +
147 +---
148 + MANIFEST | 1 -
149 + Makefile.PL | 1 -
150 + install-radius-db.PL => install-radius-db.PL.orig | 0
151 + 3 files changed, 2 deletions(-)
152 + rename install-radius-db.PL => install-radius-db.PL.orig (100%)
153 +
154 +diff --git a/MANIFEST b/MANIFEST
155 +index a8e2801..09913da 100644
156 +--- a/MANIFEST
157 ++++ b/MANIFEST
158 +@@ -4,7 +4,6 @@ README
159 + LICENSE
160 + MANIFEST
161 + Radius.pm
162 +-install-radius-db.PL
163 + t/decode.t
164 + t/dictionary.t
165 + t/digest.t
166 +diff --git a/Makefile.PL b/Makefile.PL
167 +index 45653ab..7f1b202 100644
168 +--- a/Makefile.PL
169 ++++ b/Makefile.PL
170 +@@ -4,7 +4,6 @@ use ExtUtils::MakeMaker;
171 + WriteMakefile(
172 + NAME => 'Authen::Radius',
173 + VERSION_FROM => 'Radius.pm', # finds $VERSION
174 +- PPM_INSTALL_SCRIPT => 'install-radius-db.PL',
175 + MIN_PERL_VERSION => "v5.10",
176 + BUILD_REQUIRES => {
177 + # Support for TEST_REQUIRES
178 +diff --git a/install-radius-db.PL b/install-radius-db.PL.orig
179 +similarity index 100%
180 +rename from install-radius-db.PL
181 +rename to install-radius-db.PL.orig
182 +--
183 +2.15.1
184 +