debian/0000755000000000000000000000000012213164072007164 5ustar debian/compat0000644000000000000000000000000212213164072010362 0ustar 9 debian/copyright0000644000000000000000000000326212213164072011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net-SSH2 Upstream-Contact: David B. Robins, Source: https://metacpan.org/release/Net-SSH2/ Files: * Copyright: 2005-2010, David B. Robins, License: Artistic or GPL-1+ Files: debian/* Copyright: 2008, 2009, Ryan Niebur 2009-2013, Salvatore Bonaccorso 2011, Jotam Jr. Trejo License: Artistic or GPL-1+ Files: ppport.h Copyright: 2004-2010, Marcus Holland-Moritz 2001, Paul Marquess (Version 2.x) 1999, Kenneth Albanowski (Version 1.x) License: Artistic or GPL-1+ Files: inc/Module/* Copyright: 2002-2012, Adam Kennedy 2002-2012, Audrey Tang 2002-2012, Brian Ingerson License: Artistic or GPL-1+ Files: inc/Devel/CheckLib.pm Copyright: Copyright 2007 David Cantrell. Portions copyright 2007 David Golden. License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000013012213164072010236 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: dh_auto_configure -- gcrypt debian/watch0000644000000000000000000000015612213164072010217 0ustar version=3 https://metacpan.org/release/Net-SSH2/ .*/Net-SSH2-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/control0000644000000000000000000000173112213164072010571 0ustar Source: libnet-ssh2-perl Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), libgcrypt11-dev, libssh2-1-dev, perl, zlib1g-dev Maintainer: Debian Perl Group Uploaders: Ryan Niebur , Salvatore Bonaccorso , Jotam Jr. Trejo Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Net-SSH2/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-ssh2-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-ssh2-perl.git Package: libnet-ssh2-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Recommends: libterm-readkey-perl Description: Perl module for the SSH 2 protocol Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2. debian/source/0000755000000000000000000000000012213164072010464 5ustar debian/source/format0000644000000000000000000000001412213164072011672 0ustar 3.0 (quilt) debian/libnet-ssh2-perl.examples0000644000000000000000000000002212213164072014010 0ustar debian/example.pl debian/changelog0000644000000000000000000001727712213164072011054 0ustar libnet-ssh2-perl (0.53-1) unstable; urgency=low * Imported Upstream version 0.53 -- Salvatore Bonaccorso Sun, 08 Sep 2013 23:07:09 +0200 libnet-ssh2-perl (0.52-1) unstable; urgency=low * Imported Upstream version 0.52 -- Salvatore Bonaccorso Thu, 15 Aug 2013 20:36:06 +0200 libnet-ssh2-perl (0.51-1) unstable; urgency=low * Imported Upstream version 0.51 -- Salvatore Bonaccorso Sun, 04 Aug 2013 17:47:46 +0200 libnet-ssh2-perl (0.50-1) unstable; urgency=low * Imported Upstream version 0.50 -- Salvatore Bonaccorso Mon, 29 Jul 2013 19:09:55 +0200 libnet-ssh2-perl (0.49-1) unstable; urgency=low * Imported Upstream version 0.49 -- Salvatore Bonaccorso Wed, 24 Jul 2013 21:27:10 +0200 libnet-ssh2-perl (0.48-1) unstable; urgency=low * Imported Upstream version 0.47 and 0.48 * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs * Build using libgcrypt. Add override target for dh_auto_configure to explicitly build with gcrypt. * Add Build-Depends on libgcrypt11-dev * Update copyright years for debian/* packaging files -- Salvatore Bonaccorso Thu, 23 May 2013 21:27:02 +0200 libnet-ssh2-perl (0.46-2) unstable; urgency=low * Add zlib1g-dev to Build-Depends. Thanks to James McCoy (Closes: #696462) * Drop fix-build build patch -- Salvatore Bonaccorso Fri, 21 Dec 2012 11:13:38 +0100 libnet-ssh2-perl (0.46-1) unstable; urgency=low * Imported Upstream version 0.46 * Bump Standards-Version to 3.9.4 -- Salvatore Bonaccorso Sat, 10 Nov 2012 08:00:26 +0100 libnet-ssh2-perl (0.45-1) unstable; urgency=low * Team upload. [ Salvatore Bonaccorso ] * Imported Upstream version 0.45 [ gregor herrmann ] * Add libterm-readkey-perl to Recommends, needed for keyboard- interactive authentication. Thanks to jfried for the bug report (LP: #1035097) * Use debhelper 9.20120312 to get all hardening flags. -- gregor herrmann Thu, 09 Aug 2012 23:51:32 +0200 libnet-ssh2-perl (0.44-1) unstable; urgency=low * Imported Upstream version 0.44 * Update copyright information for ppport.h -- Salvatore Bonaccorso Wed, 25 Apr 2012 22:31:31 +0200 libnet-ssh2-perl (0.43-1) unstable; urgency=low * Imported Upstream version 0.43 * Refresh fix-build patch -- Salvatore Bonaccorso Tue, 24 Apr 2012 12:33:07 +0200 libnet-ssh2-perl (0.42-1) unstable; urgency=low * Imported Upstream version 0.41 and 0.42 * Update debian/copyright file. Update format to copyright-format 1.0 as released together with Debian policy 3.9.3. Update copyright years for debian/* packaging. Update copyright years for included copy of Module::Install. * Bump Debhelper compat level to 9. Adjust versioned Build-Depends on debhelper to (>= 9). * Bump Standards-Version to 3.9.3 * Update fix-build patch -- Salvatore Bonaccorso Sat, 21 Apr 2012 08:20:40 +0200 libnet-ssh2-perl (0.40-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. * Imported Upstream version 0.40 -- Salvatore Bonaccorso Mon, 24 Oct 2011 08:41:07 +0200 libnet-ssh2-perl (0.39-1) unstable; urgency=low * New upstream release * debian/patches: Refresh fix-build patch (offset). -- Salvatore Bonaccorso Wed, 20 Jul 2011 13:37:42 +0200 libnet-ssh2-perl (0.38-1) unstable; urgency=low [ Jotam Jr. Trejo ] * New upstream release * Add myself to Uploaders and Copyright [ Salvatore Bonaccorso ] * debian/copyright: Update copyright years for ppport.h * debian/patches/fix-build: refresh patch. -- Jotam Jr. Trejo Tue, 07 Jun 2011 21:11:17 -0600 libnet-ssh2-perl (0.35-1) unstable; urgency=low * New upstream release -- Salvatore Bonaccorso Thu, 12 May 2011 23:22:48 +0200 libnet-ssh2-perl (0.34-1) unstable; urgency=low * New upstream release * Email change: Salvatore Bonaccorso -> carnil@debian.org * debian/copyright: - Update copyright for debian/* packaging stanza. - Update copyright years for Module::Build. - Explicitly refer to GPL-1 license text in common-licenses. - Refer to Debian systems in general instead of only Debian GNU/Linux systems. * Bump Standards-Version to 3.9.2. -- Salvatore Bonaccorso Sat, 07 May 2011 21:50:02 +0200 libnet-ssh2-perl (0.33-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.9.0 (no changes needed). -- Salvatore Bonaccorso Tue, 13 Jul 2010 20:16:02 +0200 libnet-ssh2-perl (0.30-1) unstable; urgency=low * New upstream release -- Salvatore Bonaccorso Sat, 22 May 2010 08:58:33 +0200 libnet-ssh2-perl (0.29-1) unstable; urgency=low * New upstream release * Refresh debian/copyright to the revision 135 of format specification for machine readable copyright file in DEP5 and update copyright years. * Convert to '3.0 (quilt)' package source format. Drop README.source and adjust debian/control to not use the --with quilt framework. Drop quilt from Build-Depends and lower Build-Depends on debhelper (>= 7). * Bump Standards-Version to 3.8.4 (no changes). * Refresh debian/patches. -- Salvatore Bonaccorso Thu, 15 Apr 2010 08:20:50 +0200 libnet-ssh2-perl (0.28-1) unstable; urgency=low [ Salvatore Bonaccorso ] * New upstream release [ Ryan Niebur ] * Update ryan52's email address -- Salvatore Bonaccorso Sun, 25 Oct 2009 15:01:56 +0100 libnet-ssh2-perl (0.25-1) unstable; urgency=low * New upstream release - fix an unitialized warning -- Salvatore Bonaccorso Mon, 07 Sep 2009 21:24:25 +0200 libnet-ssh2-perl (0.24-1) unstable; urgency=low * New upstream release -- Salvatore Bonaccorso Fri, 21 Aug 2009 23:20:07 +0200 libnet-ssh2-perl (0.23-1) unstable; urgency=low * New upstream release - Fix timeout option (forgot key) -- Salvatore Bonaccorso Tue, 18 Aug 2009 20:26:36 +0200 libnet-ssh2-perl (0.22-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ryan Niebur ] * New upstream release * refresh patches [ Salvatore Bonaccorso ] * New upstream release * debian/control: Add myself to Uploaders * debian/copyright: Update copyright for debian/* packaging * debian/patches: Refresh the fix-build patch and add patch header. [ gregor herrmann ] * Add perl to Build-Depends. * Set Standards-Version to 3.8.3 (no changes). -- Salvatore Bonaccorso Sat, 15 Aug 2009 23:39:33 +0200 libnet-ssh2-perl (0.20-1) unstable; urgency=low * New upstream release * update copyright * add a quilt patch to fix the build -- Ryan Niebur Mon, 01 Jun 2009 16:58:21 -0700 libnet-ssh2-perl (0.19-1) unstable; urgency=low * New upstream release * Debian Policy 3.8.1 * remove patching, it's fixed upstream now * install TODO -- Ryan Niebur Fri, 10 Apr 2009 22:13:42 -0700 libnet-ssh2-perl (0.18-1) unstable; urgency=low * Initial Release. (Closes: #412199) -- Ryan Niebur Fri, 19 Dec 2008 18:05:26 -0800 debian/clean0000644000000000000000000000003112213164072010163 0ustar const-c.inc const-xs.inc debian/example.pl0000644000000000000000000000063512213164072011160 0ustar #!/usr/bin/perl -w use Net::SSH2; my $ssh2 = Net::SSH2->new(); # hostname of the server you are connecting to $ssh2->connect('asdf') or die; # username and password $ssh2->auth_password('guest', 'guest') or die; # run a program my $chan = $ssh2->channel(); $chan->exec('touch test'); # print the contents of a file my $sftp = $ssh2->sftp(); my $fh = $sftp->open('/etc/passwd') or die; print $_ while <$fh>; debian/libnet-ssh2-perl.docs0000644000000000000000000000001412213164072013123 0ustar README TODO