aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-06-07 23:18:22 +0300
committerKhem Raj <raj.khem@gmail.com>2019-06-15 16:45:33 -0700
commitd7ea637358f3840ff442f983d37bd0ccfd829737 (patch)
treee67ff0fb84848d4a08e1e1883aa29505394baccc /meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
parent2ab13510874809a4d44cf07ae82a408c08607a41 (diff)
downloadmeta-openembedded-contrib-d7ea637358f3840ff442f983d37bd0ccfd829737.tar.gz
meta-openembedded-contrib-d7ea637358f3840ff442f983d37bd0ccfd829737.tar.bz2
meta-openembedded-contrib-d7ea637358f3840ff442f983d37bd0ccfd829737.zip
recipes-devtools: Move back from meta-networking to meta-perl
It needs both freeradius and perl-module-data-dumper, so neither place would fulfill all dependencies. In general meta-perl looks like the more appropriate place. The location in meta-networking also had the problem that it was one directory too deep and therefore not included in BBFILES. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb')
-rw-r--r--meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
new file mode 100644
index 0000000000..ea5bb1b0c9
--- /dev/null
+++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb
@@ -0,0 +1,39 @@
+SUMMARY = "Authen::Radius - provide simple Radius client facilities"
+DESCRIPTION = "The Authen::Radius module provides a simple class that \
+ allows you to send/receive Radius requests/responses to/from a \
+ Radius server. \
+"
+
+HOMEPAGE = "http://search.cpan.org/~manowar/RadiusPerl"
+SECTION = "libs"
+
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=78ab6ea0cba1f1ec1680ebb149e3bc11"
+
+DEPENDS = "perl"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/RadiusPerl-${PV}.tar.gz \
+ file://test.pl-adjust-for-ptest.patch \
+ file://run-ptest \
+"
+SRC_URI[md5sum] = "d1fe2d6ecf7ea99299e4e3a8f945aad8"
+SRC_URI[sha256sum] = "3b276506986ccaa4949d92b13ce053a0017ad11562a991cc753364923fe81ca7"
+
+S = "${WORKDIR}/Authen-Radius-${PV}"
+
+inherit cpan ptest
+
+do_install_ptest() {
+ install -m 0755 ${S}/test.pl ${D}${PTEST_PATH}
+}
+
+RDEPENDS_${PN} += "\
+ libdata-hexdump-perl \
+ perl-module-digest-md5 \
+ perl-module-data-dumper \
+ perl-module-io-select \
+ perl-module-io-socket \
+"
+RDEPENDS_${PN}-ptest += "${PN} freeradius"
+
+BBCLASSEXTEND = "native"