[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Radius/files/

2021-10-10 Thread Jakov Smolić
commit: 64f667936304f84f3ff391813f13d032b06a7269
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Oct 10 18:16:16 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Oct 10 19:05:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f66793

dev-perl/Authen-Radius: remove unused patch

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Jakov Smolić  gentoo.org>

 .../files/Authen-Radius-0.26-no-install-db.patch   | 43 --
 1 file changed, 43 deletions(-)

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
deleted file mode 100644
index 746ba993def..000
--- a/dev-perl/Authen-Radius/files/Authen-Radius-0.26-no-install-db.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 57b9f1a710c2eee1c8f54eb87d164584aa9532ce Mon Sep 17 00:00:00 2001
-From: Torsten Veller 
-Date: Mon, 5 Nov 2012 01:02:48 +1300
-Subject: Remove automatic radis-db installer code
-

- MANIFEST  | 1 -
- Makefile.PL   | 1 -
- install-radius-db.PL => install-radius-db.PL.orig | 0
- 3 files changed, 2 deletions(-)
- rename install-radius-db.PL => install-radius-db.PL.orig (100%)
-
-diff --git a/MANIFEST b/MANIFEST
-index a8e2801..09913da 100644
 a/MANIFEST
-+++ b/MANIFEST
-@@ -4,7 +4,6 @@ README
- LICENSE
- MANIFEST
- Radius.pm
--install-radius-db.PL
- t/decode.t
- t/dictionary.t
- t/digest.t
-diff --git a/Makefile.PL b/Makefile.PL
-index 45653ab..7f1b202 100644
 a/Makefile.PL
-+++ b/Makefile.PL
-@@ -4,7 +4,6 @@ use ExtUtils::MakeMaker;
- WriteMakefile(
- NAME => 'Authen::Radius',
- VERSION_FROM => 'Radius.pm', # finds $VERSION
--PPM_INSTALL_SCRIPT => 'install-radius-db.PL',
- MIN_PERL_VERSION => "v5.10",
- BUILD_REQUIRES => {
- # Support for TEST_REQUIRES
-diff --git a/install-radius-db.PL b/install-radius-db.PL.orig
-similarity index 100%
-rename from install-radius-db.PL
-rename to install-radius-db.PL.orig
--- 
-2.15.1
-



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Radius/files/, dev-perl/Authen-Radius/

2017-12-29 Thread Kent Fredric
commit: 03d6c2a04a2059d6456d5e716c5765189aef6650
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Dec 28 07:58:43 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Dec 30 02:38:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03d6c2a0

dev-perl/Authen-Radius: Copy from dev-perl/RadiusPerl

Upstream name change migration

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 .../Authen-Radius/Authen-Radius-0.220.0-r1.ebuild  | 44 ++
 dev-perl/Authen-Radius/Manifest|  1 +
 .../Authen-Radius/files/dictionary.cisco.ssg.patch | 14 +++
 dev-perl/Authen-Radius/metadata.xml| 12 ++
 4 files changed, 71 insertions(+)

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
new file mode 100644
index 000..157df28ca9c
--- /dev/null
+++ b/dev-perl/Authen-Radius/Authen-Radius-0.220.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PN=RadiusPerl
+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*
+}

diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest
new file mode 100644
index 000..3642180cf55
--- /dev/null
+++ b/dev-perl/Authen-Radius/Manifest
@@ -0,0 +1 @@
+DIST RadiusPerl-0.22.tar.gz 40980 BLAKE2B 
5c8a1870d7a95c89f9f2b8546c0285b5cf62873b3960ee67d45db3c9edfa0117fc40f3238d42a1306a15c4740e739381ae7bb88234bfceff2a79d73a84e384f1
 SHA512 
d5c7327fa3d4b6f74405e905f01be23479be542073d035c3babc34b63577069f6069e44dda9709b69b5dc25552170a764eb02ab6d2b6c2f7b366da566ae8e967

diff --git a/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch 
b/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch
new file mode 100644
index 000..bbec7052ff6
--- /dev/null
+++ b/dev-perl/Authen-Radius/files/dictionary.cisco.ssg.patch
@@ -0,0 +1,14 @@
+--- /etc/raddb/dictionary.cisco2010-02-10 01:04:00.0 +0200
 dictionary.cisco   2010-02-10 01:06:10.0 +0200
+@@ -118,3 +118,11 @@
+ VALUE   Cisco-Disconnect-CauseSession-End-Callback102
+ VALUE   Cisco-Disconnect-CauseInvalid-Protocol120
+ 
++#ISG Support 
http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapa.html
++ATTRIBUTE   Cisco-Policy-Up   37  string  Cisco
++ATTRIBUTE   Cisco-Policy-Down 38  string  Cisco
++ATTRIBUTE Cisco-SSG-Subscriber-Password   249 string  Cisco
++ATTRIBUTE Cisco-SSG-Account-Info  250 string  Cisco
++ATTRIBUTE Cisco-SSG-Service-Info  251 string  Cisco
++ATTRIBUTE   Cisco-SSG-Command-Code252 string  Cisco
++ATTRIBUTE Cisco-SSG-Control-Info  253 string  Cisco

diff --git a/dev-perl/Authen-Radius/metadata.xml 
b/dev-perl/Authen-Radius/metadata.xml
new file mode 100644
index 000..d5df1a58b81
--- /dev/null
+++ b/dev-perl/Authen-Radius/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+p...@gentoo.org
+Gentoo Perl Project
+  
+  
+Authen-Radius
+Authen::Radius
+  
+



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Authen-Radius/files/, dev-perl/Authen-Radius/

2017-12-29 Thread Kent Fredric
commit: 2b80e4786314b536fffb4487ae522ecc8e0fbfbb
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Dec 30 02:34:11 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Dec 30 02:38:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b80e478

dev-perl/Authen-Radius: Bump to version 0.260.0

- EAPI6
- Update patches for eapply format
- Patchify sed code
- Don't run export in global scope
- Parallel tests

Upstream:
- Clear authenticator under clear_attributes()
- Add support for changing I/O activity timeouts
- Add ACCESS_CHALLENGE packet type definition
- Fix large wait on processing broadcasts
- Add support for Status-Server requests
- Add support for IPv6
- Add support for integer64
- Fix warning using uninitialized $vendor_name
- Add support for date and time types
- Improve support for FreeRADIUS and GNU Radius dictionarty files
- Add support for tagged attributes
- Fix sublist attribute type encoding

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 .../Authen-Radius/Authen-Radius-0.260.0.ebuild | 48 ++
 dev-perl/Authen-Radius/Manifest|  1 +
 .../Authen-Radius-0.26-cisco-dictionary.patch  | 28 +
 .../files/Authen-Radius-0.26-no-install-db.patch   | 43 +++
 4 files changed, 120 insertions(+)

diff --git a/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild 
b/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild
new file mode 100644
index 000..93ca6b83ed0
--- /dev/null
+++ b/dev-perl/Authen-Radius/Authen-Radius-0.260.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=PORTAONE
+DIST_VERSION=0.26
+inherit perl-module
+
+DESCRIPTION="Communicate with a Radius server from Perl"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="
+   >=virtual/perl-Data-Dumper-1.0.0
+   >=dev-perl/Data-HexDump-0.20.0
+   >=virtual/perl-Digest-MD5-2.200.0
+   >=virtual/perl-IO-1.120.0
+   >=dev-perl/Net-IP-1.260.0
+"
+DEPEND="${RDEPEND}
+   >=virtual/perl-ExtUtils-MakeMaker-6.640.0
+   test? (
+   dev-perl/Test-NoWarnings
+   virtual/perl-Test-Simple
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.26-cisco-dictionary.patch
+   "${FILESDIR}"/${PN}-0.26-no-install-db.patch
+)
+
+src_configure() {
+   export OPTIMIZE="$CFLAGS"
+   perl-module_src_configure
+}
+
+src_install() {
+   perl-module_src_install
+
+   # Really want to install these radius dictionaries?
+   insinto /etc/raddb
+   doins raddb/dictionary*
+}

diff --git a/dev-perl/Authen-Radius/Manifest b/dev-perl/Authen-Radius/Manifest
index 3642180cf55..a69b438b9f7 100644
--- a/dev-perl/Authen-Radius/Manifest
+++ b/dev-perl/Authen-Radius/Manifest
@@ -1 +1,2 @@
+DIST Authen-Radius-0.26.tar.gz 49432 BLAKE2B 
05ce64cf463faa1ad1004a659859961d6df24d0651a180603a5a5fc3d672a91f8df521f7d19bbc7b62aa0d63e1ae5b54dec3d46718973ee160f3e7bae5f15d02
 SHA512 
6779712cd4fdc45115c6e68766ef58c8b1dc9bf3037f3e0e243bc23318d13b09104df5f825b40ce26f7eebe52e6c4887efc8525334f2ab00da23fe76322f0b56
 DIST RadiusPerl-0.22.tar.gz 40980 BLAKE2B 
5c8a1870d7a95c89f9f2b8546c0285b5cf62873b3960ee67d45db3c9edfa0117fc40f3238d42a1306a15c4740e739381ae7bb88234bfceff2a79d73a84e384f1
 SHA512 
d5c7327fa3d4b6f74405e905f01be23479be542073d035c3babc34b63577069f6069e44dda9709b69b5dc25552170a764eb02ab6d2b6c2f7b366da566ae8e967

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
new file mode 100644
index 000..19d6b0ed9ca
--- /dev/null
+++ b/dev-perl/Authen-Radius/files/Authen-Radius-0.26-cisco-dictionary.patch
@@ -0,0 +1,28 @@
+From c3955cd5e9232cf891500cdddf96c0f4e336029b Mon Sep 17 00:00:00 2001
+From: Patrick Lauer 
+Date: Mon, 29 Oct 2012 21:02:39 +1300
+Subject: Add ISG support to raddb cisco dictionary
+
+---
+ raddb/dictionary.cisco | 8 
+ 1 file changed, 8 insertions(+)
+
+diff --git a/raddb/dictionary.cisco b/raddb/dictionary.cisco
+index 4dadaa3..8d57a03 100644
+--- a/raddb/dictionary.cisco
 b/raddb/dictionary.cisco
+@@ -118,3 +118,11 @@ VALUE   Cisco-Disconnect-Cause
Session-Failed-Security 101
+ VALUE   Cisco-Disconnect-CauseSession-End-Callback102
+ VALUE   Cisco-Disconnect-CauseInvalid-Protocol120
+ 
++#ISG Support 
http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapa.html
++ATTRIBUTE   Cisco-Policy-Up   37  string  Cisco
++ATTRIBUTE   Cisco-Policy-Down 38  string  Cisco
++ATTRIBUTE Cisco-SSG-Subscriber-Password   249 string  Cisco
++ATTRIBUTE Cisco-SSG-Account-Info  250 string  Cisco
++ATTRIBUTE Cisco-SSG-Service-Info  251 string  Cisco