aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-10-05 18:32:54 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-10-05 18:32:54 +0800
commit02a19b6d001b0a9a3059d2964b6df5539b652f8b (patch)
treee0f9afc5bcafdd49409d31fca1eb1f3df38dbd3c
parent1ab2c95e8bd45d9009c2c60b98e22939346a21f0 (diff)
downloadfreebsd-ports-gnome-02a19b6d001b0a9a3059d2964b6df5539b652f8b.tar.gz
freebsd-ports-gnome-02a19b6d001b0a9a3059d2964b6df5539b652f8b.tar.zst
freebsd-ports-gnome-02a19b6d001b0a9a3059d2964b6df5539b652f8b.zip
- Add p5-Net-CLI-Interact 1.112610
Automating command line interface (CLI) interactions is not a new idea, but can be tricky to implement. This module aims to provide a simple and manageable interface to CLI interactions, supporting: - SSH, Telnet and Serial-Line connections - Unix and Windows support - Reuseable device command phrasebooks WWW: http://search.cpan.org/dist/Net-CLI-Interact/
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-CLI-Interact/Makefile51
-rw-r--r--net/p5-Net-CLI-Interact/distinfo2
-rw-r--r--net/p5-Net-CLI-Interact/pkg-descr8
-rw-r--r--net/p5-Net-CLI-Interact/pkg-plist59
5 files changed, 121 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index bb0ba8dce358..c058a565d441 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -540,6 +540,7 @@
SUBDIR += p5-Net-Blogger
SUBDIR += p5-Net-CIDR-Lite
SUBDIR += p5-Net-CIDR-MobileJP
+ SUBDIR += p5-Net-CLI-Interact
SUBDIR += p5-Net-CSTA
SUBDIR += p5-Net-CascadeCopy
SUBDIR += p5-Net-Cassandra
diff --git a/net/p5-Net-CLI-Interact/Makefile b/net/p5-Net-CLI-Interact/Makefile
new file mode 100644
index 000000000000..c1f2f20b488c
--- /dev/null
+++ b/net/p5-Net-CLI-Interact/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: p5-Net-CLI-Interact
+# Date created: 2011-10-05
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-CLI-Interact
+PORTVERSION= 1.112.610
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Toolkit for CLI Automation
+
+BUILD_DEPENDS= p5-IO-Tty>=0:${PORTSDIR}/devel/p5-IO-Tty \
+ p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \
+ p5-Log-Dispatch-Config>=0:${PORTSDIR}/devel/p5-Log-Dispatch-Config \
+ p5-Log-Dispatch-Configurator-Any>=0:${PORTSDIR}/devel/p5-Log-Dispatch-Configurator-Any \
+ p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
+ p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet \
+ p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::CLI::Interact.3 \
+ Net::CLI::Interact::Action.3 \
+ Net::CLI::Interact::ActionSet.3 \
+ Net::CLI::Interact::Logger.3 \
+ Net::CLI::Interact::Manual::Cookbook.3 \
+ Net::CLI::Interact::Manual::Phrasebook.3 \
+ Net::CLI::Interact::Manual::Tutorial.3 \
+ Net::CLI::Interact::Phrasebook.3 \
+ Net::CLI::Interact::Role::Engine.3 \
+ Net::CLI::Interact::Role::Iterator.3 \
+ Net::CLI::Interact::Role::Prompt.3 \
+ Net::CLI::Interact::Transport.3 \
+ Net::CLI::Interact::Transport::SSH.3 \
+ Net::CLI::Interact::Transport::Serial.3 \
+ Net::CLI::Interact::Transport::Telnet.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-CLI-Interact/distinfo b/net/p5-Net-CLI-Interact/distinfo
new file mode 100644
index 000000000000..7302de17570c
--- /dev/null
+++ b/net/p5-Net-CLI-Interact/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-CLI-Interact-1.112610.tar.gz) = 17bf2d7660baea1e7f0c823954c51a48bd070e4331724c3da59b25db2868c83e
+SIZE (Net-CLI-Interact-1.112610.tar.gz) = 46312
diff --git a/net/p5-Net-CLI-Interact/pkg-descr b/net/p5-Net-CLI-Interact/pkg-descr
new file mode 100644
index 000000000000..6a08943bd6db
--- /dev/null
+++ b/net/p5-Net-CLI-Interact/pkg-descr
@@ -0,0 +1,8 @@
+Automating command line interface (CLI) interactions is not a new idea, but can
+be tricky to implement. This module aims to provide a simple and manageable
+interface to CLI interactions, supporting:
+- SSH, Telnet and Serial-Line connections
+- Unix and Windows support
+- Reuseable device command phrasebooks
+
+WWW: http://search.cpan.org/dist/Net-CLI-Interact/
diff --git a/net/p5-Net-CLI-Interact/pkg-plist b/net/p5-Net-CLI-Interact/pkg-plist
new file mode 100644
index 000000000000..77d702cc2dd6
--- /dev/null
+++ b/net/p5-Net-CLI-Interact/pkg-plist
@@ -0,0 +1,59 @@
+%%SITE_PERL%%/Net/CLI/Interact.pm
+%%SITE_PERL%%/Net/CLI/Interact/Action.pm
+%%SITE_PERL%%/Net/CLI/Interact/ActionSet.pm
+%%SITE_PERL%%/Net/CLI/Interact/Logger.pm
+%%SITE_PERL%%/Net/CLI/Interact/Manual/Cookbook.pod
+%%SITE_PERL%%/Net/CLI/Interact/Manual/Phrasebook.pod
+%%SITE_PERL%%/Net/CLI/Interact/Manual/Tutorial.pod
+%%SITE_PERL%%/Net/CLI/Interact/Phrasebook.pm
+%%SITE_PERL%%/Net/CLI/Interact/Role/Engine.pm
+%%SITE_PERL%%/Net/CLI/Interact/Role/FindMatch.pm
+%%SITE_PERL%%/Net/CLI/Interact/Role/Iterator.pm
+%%SITE_PERL%%/Net/CLI/Interact/Role/Prompt.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Base.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Base/Unix.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Base/Win32.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Role/ConnectCore.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/SSH.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Serial.pm
+%%SITE_PERL%%/Net/CLI/Interact/Transport/Telnet.pm
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/catos/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/extremexos/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/hp/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/ios/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/junos/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/nortel/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/fwsm/fwsm3/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/pixos7/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/unix/csh/pb
+%%SITE_PERL%%/Net/CLI/Interact/phrasebook/unix/csh/sdf/pb
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/CLI/Interact/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/CLI/Interact
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/CLI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/unix/csh/sdf
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/unix/csh
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/unix
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/pixos7
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/fwsm/fwsm3
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos/fwsm
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/pixos
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/nortel
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/junos
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/ios
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/hp
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/extremexos
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco/catos
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook/cisco
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/phrasebook
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/Transport/Role
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/Transport/Base
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/Transport
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/Role
+@dirrm %%SITE_PERL%%/Net/CLI/Interact/Manual
+@dirrm %%SITE_PERL%%/Net/CLI/Interact
+@dirrmtry %%SITE_PERL%%/Net/CLI
+@dirrmtry %%SITE_PERL%%/Net