From 97032579e0e2561b7e1e385dc7f276eb5053bdc4 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 7 Apr 2012 07:22:35 +0000 Subject: The Net::ILO module is an interface to a subset of Hewlett-Packards Integrated Lights-Out out-of-band management system. HP's API is XML-based and cumbersome to use; this module aims to simplify accessing the iLO from Perl while retaining as much functionality as possible. WWW: http://search.cpan.org/dist/Net-ILO/ PR: ports/166615 Submitted by: Tsung-Han Yeh Feature safe: yes --- net-mgmt/Makefile | 1 + net-mgmt/p5-Net-ILO/Makefile | 30 +++++++++++++++++++++++++++++ net-mgmt/p5-Net-ILO/distinfo | 2 ++ net-mgmt/p5-Net-ILO/files/patch-Makefile.PL | 17 ++++++++++++++++ net-mgmt/p5-Net-ILO/pkg-descr | 7 +++++++ net-mgmt/p5-Net-ILO/pkg-plist | 5 +++++ 6 files changed, 62 insertions(+) create mode 100644 net-mgmt/p5-Net-ILO/Makefile create mode 100644 net-mgmt/p5-Net-ILO/distinfo create mode 100644 net-mgmt/p5-Net-ILO/files/patch-Makefile.PL create mode 100644 net-mgmt/p5-Net-ILO/pkg-descr create mode 100644 net-mgmt/p5-Net-ILO/pkg-plist (limited to 'net-mgmt') diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 095d699f4800..ae61e7e6d55f 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -205,6 +205,7 @@ SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-CIDR + SUBDIR += p5-Net-ILO SUBDIR += p5-Net-IP SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS diff --git a/net-mgmt/p5-Net-ILO/Makefile b/net-mgmt/p5-Net-ILO/Makefile new file mode 100644 index 000000000000..366de279ee56 --- /dev/null +++ b/net-mgmt/p5-Net-ILO/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: p5-Net-ILO +# Date created: 2012-04-03 +# Whom: Tsung-Han Yeh +# +# $FreeBSD$ +# + +PORTNAME= Net-ILO +PORTVERSION= 0.54 +CATEGORIES= net-mgmt perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= snowfly@yuntech.edu.tw +COMMENT= Interface to HP Integrated Lights-Out + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL \ + p5-XML-Simple>0:${PORTSDIR}/textproc/p5-XML-Simple +RUN_DEPENDS:= ${BUILD_DEPENDS} + +WRKSRC= ${WRKDIR}/${PORTNAME} + +PERL_CONFIGURE= yes + +MAN3= Net::ILO.3 + +.include diff --git a/net-mgmt/p5-Net-ILO/distinfo b/net-mgmt/p5-Net-ILO/distinfo new file mode 100644 index 000000000000..5c9156d97519 --- /dev/null +++ b/net-mgmt/p5-Net-ILO/distinfo @@ -0,0 +1,2 @@ +SHA256 (Net-ILO-0.54.tar.gz) = 79168b91106d36c10cf9bf3f3e8ec7e9604580d51ffcfb28e1069cfc023eb786 +SIZE (Net-ILO-0.54.tar.gz) = 31120 diff --git a/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL b/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL new file mode 100644 index 000000000000..abab84bff774 --- /dev/null +++ b/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL @@ -0,0 +1,17 @@ +--- Makefile.PL.orig 2012-04-06 04:48:50.000000000 -0400 ++++ Makefile.PL 2012-04-06 04:51:58.000000000 -0400 +@@ -16,3 +16,14 @@ + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'Net-ILO-*' }, + ); ++ ++package MY; ++ ++sub init_PM { ++ my $self = shift; ++ ++ $self->SUPER::init_PM(@_); ++ ++ # Do not install README.pod ++ delete $self->{PM}{"README.pod"}; ++} diff --git a/net-mgmt/p5-Net-ILO/pkg-descr b/net-mgmt/p5-Net-ILO/pkg-descr new file mode 100644 index 000000000000..a4fa39204bc6 --- /dev/null +++ b/net-mgmt/p5-Net-ILO/pkg-descr @@ -0,0 +1,7 @@ +The Net::ILO module is an interface to a subset of Hewlett-Packards +Integrated Lights-Out out-of-band management system. +HP's API is XML-based and cumbersome to use; this module aims to +simplify accessing the iLO from Perl while retaining as much +functionality as possible. + +WWW: http://search.cpan.org/dist/Net-ILO/ diff --git a/net-mgmt/p5-Net-ILO/pkg-plist b/net-mgmt/p5-Net-ILO/pkg-plist new file mode 100644 index 000000000000..f427b4efa46b --- /dev/null +++ b/net-mgmt/p5-Net-ILO/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Net/ILO.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ILO/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ILO +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net -- cgit v1.2.3