diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/RadiusPerl |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/RadiusPerl')
-rw-r--r-- | dev-perl/RadiusPerl/Manifest | 6 | ||||
-rw-r--r-- | dev-perl/RadiusPerl/RadiusPerl-0.220.0-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-perl/RadiusPerl/files/dictionary.cisco.ssg.patch | 14 | ||||
-rw-r--r-- | dev-perl/RadiusPerl/metadata.xml | 12 |
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-perl/RadiusPerl/Manifest b/dev-perl/RadiusPerl/Manifest new file mode 100644 index 000000000000..bc19012e3222 --- /dev/null +++ b/dev-perl/RadiusPerl/Manifest @@ -0,0 +1,6 @@ +AUX dictionary.cisco.ssg.patch 789 SHA256 3ac6d2ee7f3f79cb3af2dc52d1a6589118dede965584cd165120dc700d117c44 SHA512 78497de611aaf280c8d4291776219489b678f9cd479fe3f2ae4c61d8e512f448435da5e77eff14d5a40a0d73e626d70c55e1fa6f932d13daa2c330235e6fe4cf WHIRLPOOL 2c774d40a62db5ee87ecb79cab9d1f0c63cac8e21e7954e4daafe090cd9c42296c2a3cb4b3af92298ec8787c386c30886ab83c638f374bea70ef0d35896f80c7 +DIST RadiusPerl-0.22.tar.gz 40980 SHA256 3b276506986ccaa4949d92b13ce053a0017ad11562a991cc753364923fe81ca7 SHA512 d5c7327fa3d4b6f74405e905f01be23479be542073d035c3babc34b63577069f6069e44dda9709b69b5dc25552170a764eb02ab6d2b6c2f7b366da566ae8e967 WHIRLPOOL cb55655e83579b7d59556d39a20e305f486a784b9258f2285cca1f6448e9b6ca59de3550dbfaa4f75984da5c5ebe3213ef5d6615cff72e8f2528479dfe7fe83d +EBUILD RadiusPerl-0.220.0-r1.ebuild 867 SHA256 c8e2bbde8196b3e6e8061839c0a4d9b7a9b8f7f0b1b63b69f29e1d595ee3edb8 SHA512 db376425633e6bd1f4320e6f5058b4b40351b71a4fa6247a5434cd7b5446e6aa488a68513da7cb2573b8ab0757fdb0d80061d1d1405703ef910f4e4966db0a68 WHIRLPOOL 89a29b25942b7b5d97b2d5512066e988be46350584bc1e0afba95f8ed1a8e6a4e054a65ebd421d4dab6fc9958a595789219ca7ae57ed14f231499ad39d97511a +MISC ChangeLog 2483 SHA256 974c75dbb8afe08900ae950c4627db2b1e010407e3e49ab94b8193ba4306c6d0 SHA512 d48f99435d9c26948d1fd54a27a8691f8d36ac3e19a9e57b8c4cb2c67460dec5743c9c1aa09af0b90c549c191aa35db7d95d8e29a2c78e9f67992b3b36bb6b3b WHIRLPOOL ef6e7d83fa962fe6c6c76d56765d89800b16ba522751298ba5aab8ce61b6d12f01a7f6a1bc738e3ff01f4144afb3ecdc3e9bf2ede96cd86d230af0004fe16642 +MISC ChangeLog-2015 1478 SHA256 b97078160cc0843aee4619932b74b42427c2a20b313fa4d4931ccc61b087b751 SHA512 ef4a6b5773a75ea6fb7a7b2f259447ba7b51ca0413f270b923d5785a4dadc61e947e82ad1cc0f865042eb803f3652aa4bd63d368b32c116442e2655242c880aa WHIRLPOOL a698dbf5a385edf1a81ebe2fa48bc5e6feeb867e6aa36264a409baefdcd175977b52dd106d67d54ddad569196c7d04c089eff85de8ddcf71e6117f20f010955f +MISC metadata.xml 395 SHA256 495a7444f4bfaa8988a43cbe42c73524f4768677e0c270c4a232f4123123dedf SHA512 481f862de0a5ddd228ed1f976d9d7712cb572dbc4041abc391e3f4159566630829f57ff0e6e84d4012882c7939038322e4298b2d8fb17c717abc404d839f2850 WHIRLPOOL b4dc57e0d9a3dda6a8023a9ba71b0c9aa20c32d0262eb177302d5fe7390f06c04712f23c812101288f60fbeb3f2e57b14135d45eb291b20212f7839026185a90 diff --git a/dev-perl/RadiusPerl/RadiusPerl-0.220.0-r1.ebuild b/dev-perl/RadiusPerl/RadiusPerl-0.220.0-r1.ebuild new file mode 100644 index 000000000000..a40722cc607f --- /dev/null +++ b/dev-perl/RadiusPerl/RadiusPerl-0.220.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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/RadiusPerl/files/dictionary.cisco.ssg.patch b/dev-perl/RadiusPerl/files/dictionary.cisco.ssg.patch new file mode 100644 index 000000000000..bbec7052ff67 --- /dev/null +++ b/dev-perl/RadiusPerl/files/dictionary.cisco.ssg.patch @@ -0,0 +1,14 @@ +--- /etc/raddb/dictionary.cisco 2010-02-10 01:04:00.000000000 +0200 ++++ dictionary.cisco 2010-02-10 01:06:10.000000000 +0200 +@@ -118,3 +118,11 @@ + VALUE Cisco-Disconnect-Cause Session-End-Callback 102 + VALUE Cisco-Disconnect-Cause Invalid-Protocol 120 + ++#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-Code 252 string Cisco ++ATTRIBUTE Cisco-SSG-Control-Info 253 string Cisco diff --git a/dev-perl/RadiusPerl/metadata.xml b/dev-perl/RadiusPerl/metadata.xml new file mode 100644 index 000000000000..ce2c24ac6113 --- /dev/null +++ b/dev-perl/RadiusPerl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">RadiusPerl</remote-id> + <remote-id type="cpan-module">Authen::Radius</remote-id> + </upstream> +</pkgmetadata> |