summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-10-29 08:00:49 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-10-29 08:00:49 +0000
commitedec1f039c5aed44ad7397f1b4472122c64ec272 (patch)
tree869586570838ab7546dab4101fdd65d60c971cf3 /dev-perl
parentCleanup. (diff)
downloadgentoo-2-edec1f039c5aed44ad7397f1b4472122c64ec272.tar.gz
gentoo-2-edec1f039c5aed44ad7397f1b4472122c64ec272.tar.bz2
gentoo-2-edec1f039c5aed44ad7397f1b4472122c64ec272.zip
Initial import, ebuilds borrowed from entoo / smokeping-overlay on github
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/RadiusPerl/ChangeLog9
-rw-r--r--dev-perl/RadiusPerl/Manifest4
-rw-r--r--dev-perl/RadiusPerl/RadiusPerl-0.20.ebuild53
-rw-r--r--dev-perl/RadiusPerl/files/dictionary.cisco.ssg.patch14
-rw-r--r--dev-perl/RadiusPerl/metadata.xml8
5 files changed, 88 insertions, 0 deletions
diff --git a/dev-perl/RadiusPerl/ChangeLog b/dev-perl/RadiusPerl/ChangeLog
new file mode 100644
index 000000000000..5d07bb0c4204
--- /dev/null
+++ b/dev-perl/RadiusPerl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-perl/RadiusPerl
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/RadiusPerl/ChangeLog,v 1.1 2012/10/29 08:00:49 patrick Exp $
+
+*RadiusPerl-0.20 (29 Oct 2012)
+
+ 29 Oct 2012; Patrick Lauer <patrick@gentoo.org> +RadiusPerl-0.20.ebuild,
+ +files/dictionary.cisco.ssg.patch, +metadata.xml:
+ Initial import, ebuilds borrowed from entoo / smokeping-overlay on github
diff --git a/dev-perl/RadiusPerl/Manifest b/dev-perl/RadiusPerl/Manifest
new file mode 100644
index 000000000000..e78adf9f13f9
--- /dev/null
+++ b/dev-perl/RadiusPerl/Manifest
@@ -0,0 +1,4 @@
+AUX dictionary.cisco.ssg.patch 789 SHA256 3ac6d2ee7f3f79cb3af2dc52d1a6589118dede965584cd165120dc700d117c44 SHA512 78497de611aaf280c8d4291776219489b678f9cd479fe3f2ae4c61d8e512f448435da5e77eff14d5a40a0d73e626d70c55e1fa6f932d13daa2c330235e6fe4cf WHIRLPOOL 2c774d40a62db5ee87ecb79cab9d1f0c63cac8e21e7954e4daafe090cd9c42296c2a3cb4b3af92298ec8787c386c30886ab83c638f374bea70ef0d35896f80c7
+DIST RadiusPerl-0.20.tar.gz 39863 SHA256 354c4a49a7fd103b00bb3915c73e4586995512eb64e4fa5bd1ac568884fbeeb5 SHA512 2b8c6388cf3314633a60919d6519fc69d3a286007e9686f244c88b7c9076b949cda71b15fe337a782a3065d1e71a3adf67d2f269e4e461f684e3ca0c1f62cf14 WHIRLPOOL 7999964a75437ec497f0d9f5a32e35b018716ce0efcc9f03caffef41ea710023cca782393d166f5cd6a7ce84e60724de1449933171b2ace7b35197be736497c7
+EBUILD RadiusPerl-0.20.ebuild 1487 SHA256 f87821663ff543d9c18a0a4292aedc0c78a18bd923a948d28a44e52bb4caa65c SHA512 284d08c647a24cf5df74a17a767ec3a89abd5a2948bf998627e8377fc29bd4b60b84e32fa4de4694ccafa88b3bb34d538e2a733c8f3de01a90bf8ced68ed66fe WHIRLPOOL 1972e3928b5be375eab734c8118c9d8ebd244eb04f694684a0c438db588b9b810123df8308396af7f02e53d483cb5669b6c1eccbf13bc5d6f0c937ff6131c561
+MISC metadata.xml 242 SHA256 065771213aab919e572fa5fb1a1471471e850e5fa2140ce421e7a0cf5d6e675e SHA512 959ca8ce530ac62439526f935516ae7cc64210073d4fd5b7596f6aef8340709c4462dea9927d94c55925604c4bb071a6aba4a03fdc362b882d364af3cc6c61d2 WHIRLPOOL 5133e578bf4bb7e302b16f49c8017ba291930821cfd2b4cf7d4ef36db6e2de4427e497b62a45f5bf955b5d03584a138d0221a7fe4e5c535bb2c24fb5ca62055e
diff --git a/dev-perl/RadiusPerl/RadiusPerl-0.20.ebuild b/dev-perl/RadiusPerl/RadiusPerl-0.20.ebuild
new file mode 100644
index 000000000000..05f0b40d0a43
--- /dev/null
+++ b/dev-perl/RadiusPerl/RadiusPerl-0.20.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/RadiusPerl/RadiusPerl-0.20.ebuild,v 1.1 2012/10/29 08:00:49 patrick Exp $
+
+EAPI="0"
+inherit perl-module
+
+DESCRIPTION="Communicate with a Radius server from Perl"
+AUTHOR="MANOWAR"
+HOMEPAGE="http://search.cpan.org/~manowar/"
+SRC_URI="mirror://cpan/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/${AUTHOR}/${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE=""
+
+SRC_TEST="do"
+
+export OPTIMIZE="$CFLAGS"
+DEPEND=">=perl-core/Digest-MD5-2.20
+ >=perl-core/IO-1.12
+ >=dev-perl/Data-HexDump-0.02
+ dev-lang/perl"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/Authen-Radius-${PV}
+
+src_unpack() {
+ perl-module_src_unpack
+ sed -i "s:/etc/raddb:${D}/etc/raddb:" "${S}/install-radius-db.PL"
+ mkdir -p "${D}/etc/raddb"
+ cd "${S}"
+ epatch "${FILESDIR}"/dictionary.cisco.ssg.patch
+}
+
+src_install()
+{
+ perl-module_src_install || die "perl-module_src_install failed"
+ insinto /etc/raddb
+ newins raddb/dictionary dictionary
+ newins raddb/dictionary.xtradius dictionary.xtradius
+ newins raddb/dictionary.shiva dictionary.shiva
+ newins raddb/dictionary.tunnel dictionary.tunnel
+ newins raddb/dictionary.versanet dictionary.versanet
+ newins raddb/dictionary.cisco dictionary.cisco
+ newins raddb/dictionary.livingston dictionary.livingston
+ newins raddb/dictionary.ascend dictionary.ascend
+ newins raddb/dictionary.usr dictionary.usr
+ newins raddb/dictionary.quintum dictionary.quintum
+ newins raddb/dictionary.compat dictionary.compat
+}
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..bc8ef6362456
--- /dev/null
+++ b/dev-perl/RadiusPerl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>perl</herd>
+ <upstream>
+ <remote-id type="cpan">Net-SFTP-Foreign</remote-id>
+ </upstream>
+</pkgmetadata>