Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-N
perl-Net-Appliance-Session
perl-Net-Appliance-Session.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Net-Appliance-Session.spec of Package perl-Net-Appliance-Session
# # spec file for package perl-Net-Appliance-Session # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Net-Appliance-Session Version: 4.300005 Release: 0 %define cpan_name Net-Appliance-Session Summary: Run command-line sessions to network appliances License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/O/OL/OLIVER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(File::ShareDir) >= 1.00 BuildRequires: perl(IO::Prompt::Tiny) BuildRequires: perl(Module::Build) >= 0.420000 BuildRequires: perl(Moo) BuildRequires: perl(Moo::Role) BuildRequires: perl(MooX::Types::MooseLike::Base) BuildRequires: perl(Net::CLI::Interact) >= 2.300003 BuildRequires: perl(Sub::Quote) BuildRequires: perl(Term::ReadPassword) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Text::Glob) BuildRequires: perl(Try::Tiny) Requires: perl(File::ShareDir) >= 1.00 Requires: perl(IO::Prompt::Tiny) Requires: perl(Moo) Requires: perl(Moo::Role) Requires: perl(MooX::Types::MooseLike::Base) Requires: perl(Net::CLI::Interact) >= 2.300003 Requires: perl(Sub::Quote) Requires: perl(Term::ReadPassword) Requires: perl(Text::Glob) Requires: perl(Try::Tiny) %{perl_requires} %description Use this module to establish an interactive command-line session with a network appliance. There is special support for moving into "privileged" mode and "configure" mode, along with the ability to send commands to the connected device and retrieve returned output. There are other CPAN modules that cover similar ground, but they are less robust and do not handle native SSH, Telnet and Serial Line connections with a single interface on both Unix and Windows platforms. Built-in commands come from a phrasebook which supports many network device vendors (Cisco, HP, etc) or you can install a new phrasebook. Most phases of the connection are configurable for different device behaviours. %prep %setup -q -n %{cpan_name}-%{version} %build perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor