diff options
-rw-r--r-- | security/p5-Net-SSH/DESCR | 2 | ||||
-rw-r--r-- | security/p5-Net-SSH/Makefile | 44 | ||||
-rw-r--r-- | security/p5-Net-SSH/PLIST | 1 | ||||
-rw-r--r-- | security/p5-Net-SSH/distinfo | 6 | ||||
-rw-r--r-- | security/p5-Net-SSH/patches/patch-aa | 15 |
5 files changed, 68 insertions, 0 deletions
diff --git a/security/p5-Net-SSH/DESCR b/security/p5-Net-SSH/DESCR new file mode 100644 index 00000000000..e38d49a33ad --- /dev/null +++ b/security/p5-Net-SSH/DESCR @@ -0,0 +1,2 @@ +The Net::SSH::Perl Perl5 module contains implementations of both the +SSH1 and SSH2 protocols. diff --git a/security/p5-Net-SSH/Makefile b/security/p5-Net-SSH/Makefile new file mode 100644 index 00000000000..51c38c7f7fe --- /dev/null +++ b/security/p5-Net-SSH/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/13 20:14:18 seb Exp $ +# + +DISTNAME= Net-SSH-Perl-1.29 +PKGNAME= p5-Net-SSH-1.29 +SVR4_PKGNAME= p5nsh +CATEGORIES= security net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +MAINTAINER= seb@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Net-SSH-Perl/ +COMMENT= Perl implementations of SSH1 and SSH2 protocols + +DEPENDS+= p5-Convert-PEM>=0.05:../../textproc/p5-Convert-PEM +DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish +DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES +DEPENDS+= p5-Crypt-DH>=0.01:../../security/p5-Crypt-DH +DEPENDS+= p5-Crypt-DSA>=0.11:../../security/p5-Crypt-DSA +DEPENDS+= p5-Crypt-RSA>=1.37:../../security/p5-Crypt-RSA +DEPENDS+= p5-Digest-BubbleBabble>=0.01:../../security/p5-Digest-BubbleBabble +DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC +DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 +DEPENDS+= p5-Digest-SHA1>=2.10:../../security/p5-Digest-SHA1 +DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64 +DEPENDS+= p5-Math-GMP>=1.04:../../math/p5-Math-GMP +DEPENDS+= p5-Math-Pari>=2.001804:../../math/p5-Math-Pari +DEPENDS+= p5-String-CRC32>=1.2:../../textproc/p5-String-CRC32 + +PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Net-SSH +PKG_SUPPORTED_OPTIONS= idea + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Midea) +DEPENDS+= p5-Crypt-IDEA-[0-9]*:../../security/p5-Crypt-IDEA +.endif + +PERL5_PACKLIST= auto/Net/SSH/Perl/.packlist + +# no prompt from ExtUtils::MakeMaker's prompt() +MAKE_ENV+= PERL_MM_USE_DEFAULT=true + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/p5-Net-SSH/PLIST b/security/p5-Net-SSH/PLIST new file mode 100644 index 00000000000..bdf2b9af3f9 --- /dev/null +++ b/security/p5-Net-SSH/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/13 20:14:18 seb Exp $ diff --git a/security/p5-Net-SSH/distinfo b/security/p5-Net-SSH/distinfo new file mode 100644 index 00000000000..ed38562474d --- /dev/null +++ b/security/p5-Net-SSH/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/13 20:14:18 seb Exp $ + +SHA1 (Net-SSH-Perl-1.29.tar.gz) = 862ff574d5cdf7f8200d19bd931e2ea1ede56a1f +RMD160 (Net-SSH-Perl-1.29.tar.gz) = 3be32ceeb64bb217952c8f785538b58e86f445a6 +Size (Net-SSH-Perl-1.29.tar.gz) = 94309 bytes +SHA1 (patch-aa) = 718adcedca009725d834be3307a45e4169f7eb29 diff --git a/security/p5-Net-SSH/patches/patch-aa b/security/p5-Net-SSH/patches/patch-aa new file mode 100644 index 00000000000..b54ddf9fb76 --- /dev/null +++ b/security/p5-Net-SSH/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/13 20:14:18 seb Exp $ + +XXX YMMV + +--- t/03-packet.t.orig 2003-12-20 04:40:21.000000000 +0000 ++++ t/03-packet.t +@@ -99,7 +99,7 @@ $ssh->{session}{sock} = $fh; + # with real handles that might be open. With Test::More in use + # (which dups some handles), we're likely to have as many as 8 + # real handles open, if note more +- sub FILENO { 255 } ++ sub FILENO { 16 } + + sub READ + { |