summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2012-04-07 07:22:35 +0000
committerFrederic Culot <culot@FreeBSD.org>2012-04-07 07:22:35 +0000
commit97032579e0e2561b7e1e385dc7f276eb5053bdc4 (patch)
tree8c58c9c3020fb9b4cdd2b0a144b161320bff25f4 /net-mgmt
parent1) Remove patches reflecting the project CVS and update to equivalent (diff)
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 <snowfly@yuntech.edu.tw> Feature safe: yes
Notes
Notes: svn path=/head/; revision=294312
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Net-ILO/Makefile30
-rw-r--r--net-mgmt/p5-Net-ILO/distinfo2
-rw-r--r--net-mgmt/p5-Net-ILO/files/patch-Makefile.PL17
-rw-r--r--net-mgmt/p5-Net-ILO/pkg-descr7
-rw-r--r--net-mgmt/p5-Net-ILO/pkg-plist5
6 files changed, 62 insertions, 0 deletions
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 <snowfly@yuntech.edu.tw>
+#
+# $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 <bsd.port.mk>
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