From afaece0bdd2bc7aa8fc86191e0f2dae707648509 Mon Sep 17 00:00:00 2001 From: sturm Date: Wed, 23 Feb 2005 20:14:34 +0000 Subject: [PATCH] Initial import of Net-SSH-Perl-1.27 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/p5-Net-SSH-Perl/Makefile | 38 ++++++++ net/p5-Net-SSH-Perl/distinfo | 4 + net/p5-Net-SSH-Perl/patches/patch-Makefile_PL | 21 +++++ net/p5-Net-SSH-Perl/pkg/DESCR | 3 + net/p5-Net-SSH-Perl/pkg/PLIST | 93 +++++++++++++++++++ 5 files changed, 159 insertions(+) create mode 100644 net/p5-Net-SSH-Perl/Makefile create mode 100644 net/p5-Net-SSH-Perl/distinfo create mode 100644 net/p5-Net-SSH-Perl/patches/patch-Makefile_PL create mode 100644 net/p5-Net-SSH-Perl/pkg/DESCR create mode 100644 net/p5-Net-SSH-Perl/pkg/PLIST diff --git a/net/p5-Net-SSH-Perl/Makefile b/net/p5-Net-SSH-Perl/Makefile new file mode 100644 index 00000000000..dda473804d4 --- /dev/null +++ b/net/p5-Net-SSH-Perl/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/02/23 20:14:34 sturm Exp $ + +COMMENT= "perl implementation of the SSH1 and SSH2 protocols" + +DISTNAME= Net-SSH-Perl-1.27 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net security perl5 + +MAINTAINER= Nikolay Sturm + +# GPL/Artistic +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +BUILD_DEPENDS= ${RUN_DEPENDS} +# SSHv1 +RUN_DEPENDS= ::devel/p5-String-CRC32 \ + ::math/p5-Math-GMP +# SSHv2 +RUN_DEPENDS+= ::converters/p5-Convert-PEM \ + ::security/p5-Crypt-DH \ + ::security/p5-Crypt-DSA \ + ::security/p5-Crypt-RSA \ + ::security/p5-Digest-BubbleBabble \ + ::security/p5-Digest-HMAC + +CONFIGURE_STYLE=perl + +PKG_ARCH= * + +# 03-packet.t just hangs in test 2, known since early 2004 +NO_REGRESS= Yes + +.include diff --git a/net/p5-Net-SSH-Perl/distinfo b/net/p5-Net-SSH-Perl/distinfo new file mode 100644 index 00000000000..e08187690ea --- /dev/null +++ b/net/p5-Net-SSH-Perl/distinfo @@ -0,0 +1,4 @@ +MD5 (Net-SSH-Perl-1.27.tar.gz) = 77265880e8227bd9ca4ca1c2017eb80b +RMD160 (Net-SSH-Perl-1.27.tar.gz) = 0e7ecd10bce3fd9f266c5cc509667f371217ea5e +SHA1 (Net-SSH-Perl-1.27.tar.gz) = 15fed2aa2bca242ffbe0b252668eb66810f91b21 +SIZE (Net-SSH-Perl-1.27.tar.gz) = 92807 diff --git a/net/p5-Net-SSH-Perl/patches/patch-Makefile_PL b/net/p5-Net-SSH-Perl/patches/patch-Makefile_PL new file mode 100644 index 00000000000..55532671c26 --- /dev/null +++ b/net/p5-Net-SSH-Perl/patches/patch-Makefile_PL @@ -0,0 +1,21 @@ +$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2005/02/23 20:14:34 sturm Exp $ +--- Makefile.PL.orig Tue Feb 22 22:22:43 2005 ++++ Makefile.PL Tue Feb 22 22:23:52 2005 +@@ -47,7 +47,7 @@ MSG + printf " [%d] SSH%d\n", $_, $_ for 1..2; + printf " [3] Both SSH1 and SSH2\n"; + +-my $p = prompt("\nWhich protocol(s) do you plan to use?", 3); ++my $p = 3; + print "\n"; + + @prereq{keys %{$SSH_PREREQ{$p}}} = values %{$SSH_PREREQ{$p}}; +@@ -73,7 +73,7 @@ my $i = 1; + for my $ciph(sort { $a->[0] <=> $b->[0] } @cryptmod) { + printf " [%d] %s\n", $i++, $ciph->[0]; + } +-my $c = prompt("\nEnter your choices, separated by spaces:", 1); ++my $c = "2 3 4 5"; + print "\n"; + + for my $id(split /\s+/, $c) { diff --git a/net/p5-Net-SSH-Perl/pkg/DESCR b/net/p5-Net-SSH-Perl/pkg/DESCR new file mode 100644 index 00000000000..80369c826ca --- /dev/null +++ b/net/p5-Net-SSH-Perl/pkg/DESCR @@ -0,0 +1,3 @@ +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. diff --git a/net/p5-Net-SSH-Perl/pkg/PLIST b/net/p5-Net-SSH-Perl/pkg/PLIST new file mode 100644 index 00000000000..b8cf7ea390e --- /dev/null +++ b/net/p5-Net-SSH-Perl/pkg/PLIST @@ -0,0 +1,93 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/02/23 20:14:34 sturm Exp $ +${P5SITE}/Net/ +${P5SITE}/Net/SSH/ +${P5SITE}/Net/SSH/Perl/ +${P5SITE}/Net/SSH/Perl.pm +${P5SITE}/Net/SSH/Perl/Agent.pm +${P5SITE}/Net/SSH/Perl/Auth/ +${P5SITE}/Net/SSH/Perl/Auth.pm +${P5SITE}/Net/SSH/Perl/Auth/ChallengeResponse.pm +${P5SITE}/Net/SSH/Perl/Auth/KeyboardInt.pm +${P5SITE}/Net/SSH/Perl/Auth/Password.pm +${P5SITE}/Net/SSH/Perl/Auth/PublicKey.pm +${P5SITE}/Net/SSH/Perl/Auth/RSA.pm +${P5SITE}/Net/SSH/Perl/Auth/Rhosts.pm +${P5SITE}/Net/SSH/Perl/Auth/Rhosts_RSA.pm +${P5SITE}/Net/SSH/Perl/AuthMgr.pm +${P5SITE}/Net/SSH/Perl/Buffer.pm +${P5SITE}/Net/SSH/Perl/Channel.pm +${P5SITE}/Net/SSH/Perl/ChannelMgr.pm +${P5SITE}/Net/SSH/Perl/Cipher/ +${P5SITE}/Net/SSH/Perl/Cipher.pm +${P5SITE}/Net/SSH/Perl/Cipher/Blowfish.pm +${P5SITE}/Net/SSH/Perl/Cipher/CBC.pm +${P5SITE}/Net/SSH/Perl/Cipher/CFB.pm +${P5SITE}/Net/SSH/Perl/Cipher/DES.pm +${P5SITE}/Net/SSH/Perl/Cipher/DES3.pm +${P5SITE}/Net/SSH/Perl/Cipher/IDEA.pm +${P5SITE}/Net/SSH/Perl/Cipher/RC4.pm +${P5SITE}/Net/SSH/Perl/Comp/ +${P5SITE}/Net/SSH/Perl/Comp.pm +${P5SITE}/Net/SSH/Perl/Comp/Zlib.pm +${P5SITE}/Net/SSH/Perl/Config.pm +${P5SITE}/Net/SSH/Perl/Constants.pm +${P5SITE}/Net/SSH/Perl/Handle/ +${P5SITE}/Net/SSH/Perl/Handle/SSH1.pm +${P5SITE}/Net/SSH/Perl/Handle/SSH2.pm +${P5SITE}/Net/SSH/Perl/Kex/ +${P5SITE}/Net/SSH/Perl/Kex.pm +${P5SITE}/Net/SSH/Perl/Kex/DH1.pm +${P5SITE}/Net/SSH/Perl/Key/ +${P5SITE}/Net/SSH/Perl/Key.pm +${P5SITE}/Net/SSH/Perl/Key/DSA.pm +${P5SITE}/Net/SSH/Perl/Key/RSA.pm +${P5SITE}/Net/SSH/Perl/Key/RSA1.pm +${P5SITE}/Net/SSH/Perl/Mac.pm +${P5SITE}/Net/SSH/Perl/Packet.pm +${P5SITE}/Net/SSH/Perl/SSH1.pm +${P5SITE}/Net/SSH/Perl/SSH2.pm +${P5SITE}/Net/SSH/Perl/Util/ +${P5SITE}/Net/SSH/Perl/Util.pm +${P5SITE}/Net/SSH/Perl/Util/Authfile.pm +${P5SITE}/Net/SSH/Perl/Util/Hosts.pm +${P5SITE}/Net/SSH/Perl/Util/RSA.pm +${P5SITE}/Net/SSH/Perl/Util/SSH1MP.pm +${P5SITE}/Net/SSH/Perl/Util/SSH1Misc.pm +${P5SITE}/Net/SSH/Perl/Util/SSH2MP.pm +${P5SITE}/Net/SSH/Perl/Util/Term.pm +@man man/man3p/Net::SSH::Perl.3p +@man man/man3p/Net::SSH::Perl::Agent.3p +@man man/man3p/Net::SSH::Perl::Auth.3p +@man man/man3p/Net::SSH::Perl::Auth::KeyboardInt.3p +@man man/man3p/Net::SSH::Perl::Auth::Password.3p +@man man/man3p/Net::SSH::Perl::Auth::PublicKey.3p +@man man/man3p/Net::SSH::Perl::Auth::RSA.3p +@man man/man3p/Net::SSH::Perl::Auth::Rhosts.3p +@man man/man3p/Net::SSH::Perl::Auth::Rhosts_RSA.3p +@man man/man3p/Net::SSH::Perl::AuthMgr.3p +@man man/man3p/Net::SSH::Perl::Buffer.3p +@man man/man3p/Net::SSH::Perl::Channel.3p +@man man/man3p/Net::SSH::Perl::ChannelMgr.3p +@man man/man3p/Net::SSH::Perl::Cipher.3p +@man man/man3p/Net::SSH::Perl::Cipher::Blowfish.3p +@man man/man3p/Net::SSH::Perl::Cipher::CBC.3p +@man man/man3p/Net::SSH::Perl::Cipher::CFB.3p +@man man/man3p/Net::SSH::Perl::Cipher::DES.3p +@man man/man3p/Net::SSH::Perl::Cipher::DES3.3p +@man man/man3p/Net::SSH::Perl::Cipher::IDEA.3p +@man man/man3p/Net::SSH::Perl::Cipher::RC4.3p +@man man/man3p/Net::SSH::Perl::Comp.3p +@man man/man3p/Net::SSH::Perl::Comp::Zlib.3p +@man man/man3p/Net::SSH::Perl::Config.3p +@man man/man3p/Net::SSH::Perl::Constants.3p +@man man/man3p/Net::SSH::Perl::Kex.3p +@man man/man3p/Net::SSH::Perl::Kex::DH1.3p +@man man/man3p/Net::SSH::Perl::Key.3p +@man man/man3p/Net::SSH::Perl::Key::DSA.3p +@man man/man3p/Net::SSH::Perl::Key::RSA.3p +@man man/man3p/Net::SSH::Perl::Key::RSA1.3p +@man man/man3p/Net::SSH::Perl::Mac.3p +@man man/man3p/Net::SSH::Perl::Packet.3p +@man man/man3p/Net::SSH::Perl::SSH1.3p +@man man/man3p/Net::SSH::Perl::SSH2.3p +@man man/man3p/Net::SSH::Perl::Util.3p