Accepting request 295932 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295932 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSH-Perl?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
9376a664de
commit
df17db54ad
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9a57233e9dd88580b55a815ac6f938406da384f0bbee0ef0f66a7bdeef54253
|
||||
size 75102
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6e8dd1a03f8673d6d210a0c9adf44067b0e4e741c63b47b8e9db2257973425b6
|
||||
size 114507
|
3
Net-SSH-Perl-1.38.tar.gz
Normal file
3
Net-SSH-Perl-1.38.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d46ecca140c987e0586db2b4879aea41190559e15f93c66274a4d17b046cf363
|
||||
size 117028
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:09:12 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.38
|
||||
see /usr/share/doc/packages/perl-Net-SSH-Perl/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:09:08 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.34
|
||||
see /usr/share/doc/packages/perl-Net-SSH-Perl/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:34:10 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,69 +1,131 @@
|
||||
%define modname Net-SSH-Perl
|
||||
Name: perl-%{modname}
|
||||
Version: 1.30
|
||||
Release: 1
|
||||
#
|
||||
# spec file for package perl-Net-SSH-Perl
|
||||
#
|
||||
# Copyright (c) 2015 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Net-SSH-Perl
|
||||
Version: 1.38
|
||||
Release: 0
|
||||
%define cpan_name Net-SSH-Perl
|
||||
Summary: Perl client Interface to SSH
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Net-SSH-Perl/
|
||||
Source: http://www.cpan.org/authors/id/T/TU/TURNSTEP/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
BuildRequires: perl(Convert::PEM) >= 0.05
|
||||
BuildRequires: perl(Crypt::DES)
|
||||
BuildRequires: perl(Crypt::DH) >= 0.01
|
||||
BuildRequires: perl(Crypt::DSA) >= 0.11
|
||||
BuildRequires: perl(Crypt::IDEA)
|
||||
BuildRequires: perl(Crypt::RSA) >= 1.37
|
||||
BuildRequires: perl(Digest::BubbleBabble) >= 0.01
|
||||
BuildRequires: perl(Digest::HMAC_MD5)
|
||||
BuildRequires: perl(Digest::HMAC_SHA1)
|
||||
BuildRequires: perl(Digest::SHA1) >= 2.10
|
||||
BuildRequires: perl(Math::GMP) >= 1.04
|
||||
BuildRequires: perl(Math::Pari) >= 2.001804
|
||||
BuildRequires: perl(String::CRC32) >= 1.2
|
||||
Requires: perl(Convert::PEM) >= 0.05
|
||||
Requires: perl(Crypt::DES)
|
||||
Requires: perl(Crypt::DH) >= 0.01
|
||||
Requires: perl(Crypt::DSA) >= 0.11
|
||||
Requires: perl(Crypt::IDEA)
|
||||
Requires: perl(Crypt::RSA) >= 1.37
|
||||
Requires: perl(Digest::BubbleBabble) >= 0.01
|
||||
Requires: perl(Digest::HMAC_MD5)
|
||||
Requires: perl(Digest::HMAC_SHA1)
|
||||
Requires: perl(Digest::SHA1) >= 2.10
|
||||
Requires: perl(Math::GMP) >= 1.04
|
||||
Requires: perl(Math::Pari) >= 2.001804
|
||||
Requires: perl(String::CRC32) >= 1.2
|
||||
Recommends: perl(Crypt::RSA)
|
||||
Recommends: perl(Digest::BubbleBabble)
|
||||
Recommends: perl(Module::Signature) >= 0.50
|
||||
Recommends: perl(Term::ReadKey)
|
||||
%{perl_requires}
|
||||
Requires: perl-Convert-PEM perl-Crypt-DH perl-Crypt-DSA perl-Crypt-IDEA
|
||||
Requires: perl-Digest-HMAC perl-Digest-SHA1 perl-Math-GMP perl-Math-Pari
|
||||
Requires: perl-String-CRC32 perl-Crypt-RSA perl-Math-BigInt-GMP
|
||||
BuildRequires: perl-Convert-PEM perl-Crypt-DH perl-Crypt-DSA perl-Crypt-IDEA
|
||||
BuildRequires: perl-Digest-HMAC perl-Digest-SHA1 perl-Math-GMP perl-Math-Pari
|
||||
BuildRequires: perl-String-CRC32 perl-Crypt-RSA perl-Math-BigInt-GMP
|
||||
|
||||
%description
|
||||
Net::SSH::Perl is an all-Perl module implementing an SSH (Secure Shell) client.
|
||||
It is compatible with both the SSH-1 and SSH-2 protocols.
|
||||
_Net::SSH::Perl_ is an all-Perl module implementing an SSH (Secure Shell)
|
||||
client. It is compatible with both the SSH-1 and SSH-2 protocols.
|
||||
|
||||
Net::SSH::Perl enables you to simply and securely execute commands on remote
|
||||
machines, and receive the STDOUT, STDERR, and exit status of that remote
|
||||
command. It contains built-in support for various methods of authenticating
|
||||
with the server (password authentication, RSA challenge-response
|
||||
authentication, etc.). It completely implements the I/O buffering, packet
|
||||
transport, and user authentication layers of the SSH protocol, and makes use of
|
||||
external Perl libraries (in the Crypt:: family of modules) to handle encryption
|
||||
of all data sent across the insecure network. It can also read your existing
|
||||
SSH configuration files (/etc/ssh_config, etc.), RSA identity files, DSA
|
||||
identity files, known hosts files, etc.
|
||||
_Net::SSH::Perl_ enables you to simply and securely execute commands on
|
||||
remote machines, and receive the STDOUT, STDERR, and exit status of that
|
||||
remote command. It contains built-in support for various methods of
|
||||
authenticating with the server (password authentication, RSA
|
||||
challenge-response authentication, etc.). It completely implements the I/O
|
||||
buffering, packet transport, and user authentication layers of the SSH
|
||||
protocol, and makes use of external Perl libraries (in the Crypt:: family
|
||||
of modules) to handle encryption of all data sent across the insecure
|
||||
network. It can also read your existing SSH configuration files
|
||||
(_/etc/ssh_config_, etc.), RSA identity files, DSA identity files, known
|
||||
hosts files, etc.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Robins <dbrobins@cpan.org>
|
||||
One advantage to using _Net::SSH::Perl_ over wrapper-style implementations
|
||||
of ssh clients is that it saves on process overhead: you no longer need to
|
||||
fork and execute a separate process in order to connect to an sshd.
|
||||
Depending on the amount of time and memory needed to fork a process, this
|
||||
win can be quite substantial; particularly if you're running in a
|
||||
persistent Perl environment (_mod_perl_, for example), where forking a new
|
||||
process is a drain on process and memory resources.
|
||||
|
||||
It also simplifies the process of using password-based authentications;
|
||||
when writing a wrapper around _ssh_ you probably need to use _Expect_ to
|
||||
control the ssh client and give it your password. _Net::SSH::Perl_ has
|
||||
built-in support for the authentication protocols, so there's no longer any
|
||||
hassle of communicating with any external processes.
|
||||
|
||||
The SSH2 protocol support (present in _Net::SSH::Perl_ as of version 1.00)
|
||||
is compatible with the SSH2 implementation in OpenSSH, and should also be
|
||||
fully compatible with the "official" SSH implementation. If you find an
|
||||
SSH2 implementation that is not compatible with _Net::SSH::Perl_, please
|
||||
let me know (email address down in _AUTHOR & COPYRIGHTS_); it turns out
|
||||
that some SSH2 implementations have subtle differences from others. 3DES
|
||||
('3des-cbc'), Blowfish ('blowfish-cbc'), and RC4 ('arcfour') ciphers are
|
||||
currently supported for SSH2 encryption, and integrity checking is
|
||||
performed by either the 'hmac-sha1' or 'hmac-md5' algorithms. Compression,
|
||||
if requested, is limited to Zlib. Supported server host key algorithms are
|
||||
'ssh-dss' (the default) and 'ssh-rsa' (requires _Crypt::RSA_); supported
|
||||
SSH2 public key authentication algorithms are the same.
|
||||
|
||||
If you're looking for SFTP support, take a look at _Net::SFTP_, which
|
||||
provides a full-featured Perl implementation of SFTP, and sits on top of
|
||||
_Net::SSH::Perl_. SFTP requires the usage of the SSH2 protocol.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
echo 3 | perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
# Hangs
|
||||
#make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README eg Changes LICENSE README ToDo
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Net
|
||||
%{perl_vendorarch}/auto/Net
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README ToDo
|
||||
|
||||
%changelog
|
||||
|
||||
* Wed Jan 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.30-1
|
||||
- Add perl-Crypt-RSA and perl-Math-BigInt-GMP dependencies
|
||||
|
||||
* Mon Sep 11 2006 - James Oakley <jfunk@funktronics.ca> - 1.30-1
|
||||
- Initial release
|
||||
|
Reference in New Issue
Block a user