r18135 - in /branches/upstream/libnet-smtp-ssl-perl: ./ current/ current/lib/ current/lib/Net/ current/lib/Net/SMTP/ current/t/
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sat Mar 29 23:02:29 UTC 2008
Author: gregoa-guest
Date: Sat Mar 29 23:02:28 2008
New Revision: 18135
URL: http://svn.debian.org/wsvn/?sc=1&rev=18135
Log:
[svn-inject] Installing original source of libnet-smtp-ssl-perl
Added:
branches/upstream/libnet-smtp-ssl-perl/
branches/upstream/libnet-smtp-ssl-perl/current/
branches/upstream/libnet-smtp-ssl-perl/current/Changes
branches/upstream/libnet-smtp-ssl-perl/current/MANIFEST
branches/upstream/libnet-smtp-ssl-perl/current/META.yml
branches/upstream/libnet-smtp-ssl-perl/current/Makefile.PL
branches/upstream/libnet-smtp-ssl-perl/current/README
branches/upstream/libnet-smtp-ssl-perl/current/lib/
branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/
branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/
branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/SSL.pm
branches/upstream/libnet-smtp-ssl-perl/current/t/
branches/upstream/libnet-smtp-ssl-perl/current/t/test.t
Added: branches/upstream/libnet-smtp-ssl-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/Changes?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/Changes (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/Changes Sat Mar 29 23:02:28 2008
@@ -1,0 +1,3 @@
+1.01 2004-07-19
+
+ - Initial Revision.
Added: branches/upstream/libnet-smtp-ssl-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/MANIFEST?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/MANIFEST (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/MANIFEST Sat Mar 29 23:02:28 2008
@@ -1,0 +1,7 @@
+Changes
+lib/Net/SMTP/SSL.pm
+Makefile.PL
+MANIFEST This list of files
+META.yml
+README
+t/test.t
Added: branches/upstream/libnet-smtp-ssl-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/META.yml?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/META.yml (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/META.yml Sat Mar 29 23:02:28 2008
@@ -1,0 +1,13 @@
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
+name: Net-SMTP-SSL
+version: 1.01
+version_from: lib/Net/SMTP/SSL.pm
+installdirs: site
+requires:
+ IO::Socket::SSL:
+ Net::SMTP:
+ Test::More: 0.47
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.17
Added: branches/upstream/libnet-smtp-ssl-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/Makefile.PL?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/Makefile.PL (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/Makefile.PL Sat Mar 29 23:02:28 2008
@@ -1,0 +1,13 @@
+use ExtUtils::MakeMaker;
+
+WriteMakefile (
+ AUTHOR => 'Casey West <casey at geeknest.com>',
+ ABSTRACT => "SSL support for Net::SMTP",
+ NAME => 'Net::SMTP::SSL',
+ PREREQ_PM => {
+ 'Test::More' => '0.47',
+ 'Net::SMTP' => '',
+ 'IO::Socket::SSL' => '',
+ },
+ VERSION_FROM => 'lib/Net/SMTP/SSL.pm',
+ );
Added: branches/upstream/libnet-smtp-ssl-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/README?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/README (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/README Sat Mar 29 23:02:28 2008
@@ -1,0 +1,28 @@
+NAME
+ Net::SMTP::SSL - SSL support for Net::SMTP
+
+SYNOPSIS
+ use Net::SMTP::SSL;
+
+ my $smtps = Net::SMTP::SSL->new("example.com", Port => 465);
+
+DESCRIPTION
+ Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
+ network operations. Due to the nature of "Net::SMTP"'s "new" method, it
+ is not overridden to make use of a default port for the SMTPS service.
+ Perhaps future versions will be smart like that. Port 465 is usually
+ what you want, and it's not a pain to specify that.
+
+ For interface documentation, please see Net::SMTP.
+
+SEE ALSO
+ Net::SMTP, IO::Socket::SSL, perl.
+
+AUTHOR
+ Casey West, <casey at geeknest.com>.
+
+COPYRIGHT
+ Copyright (c) 2004 Casey West. All rights reserved.
+ This module is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
Added: branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/SSL.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/SSL.pm?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/SSL.pm (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/lib/Net/SMTP/SSL.pm Sat Mar 29 23:02:28 2008
@@ -1,0 +1,61 @@
+package Net::SMTP::SSL;
+# $Id: SSL.pm,v 1.1 2004/07/20 03:22:18 cwest Exp $
+use strict;
+
+use vars qw[$VERSION @ISA];
+$VERSION = sprintf "%d.%02d", split m/\./, (qw$Revision: 1.1 $)[1];
+
+use IO::Socket::SSL;
+use Net::SMTP;
+
+ at ISA = ( 'IO::Socket::SSL',
+ grep { $_ ne 'IO::Socket::INET' } @Net::SMTP::ISA );
+
+no strict 'refs';
+foreach ( keys %Net::SMTP:: ) {
+ next unless defined *{$Net::SMTP::{$_}}{CODE};
+ *{$_} = \&{"Net::SMTP::$_"};
+}
+
+1;
+
+__END__
+
+=head1 NAME
+
+Net::SMTP::SSL - SSL support for Net::SMTP
+
+=head1 SYNOPSIS
+
+ use Net::SMTP::SSL;
+
+ my $smtps = Net::SMTP::SSL->new("example.com", Port => 465);
+
+=head1 DESCRIPTION
+
+Implements the same API as L<Net::SMTP|Net::SMTP>, but uses
+L<IO::Socket::SSL|IO::Socket::SSL> for its network operations. Due to
+the nature of C<Net::SMTP>'s C<new> method, it is not overridden to make
+use of a default port for the SMTPS service. Perhaps future versions
+will be smart like that. Port C<465> is usually what you want, and it's
+not a pain to specify that.
+
+For interface documentation, please see L<Net::SMTP|Net::SMTP>.
+
+=head1 SEE ALSO
+
+L<Net::SMTP>,
+L<IO::Socket::SSL>,
+L<perl>.
+
+=head1 AUTHOR
+
+Casey West, <F<casey at geeknest.com>>.
+
+=head1 COPYRIGHT
+
+ Copyright (c) 2004 Casey West. All rights reserved.
+ This module is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+=cut
Added: branches/upstream/libnet-smtp-ssl-perl/current/t/test.t
URL: http://svn.debian.org/wsvn/branches/upstream/libnet-smtp-ssl-perl/current/t/test.t?rev=18135&op=file
==============================================================================
--- branches/upstream/libnet-smtp-ssl-perl/current/t/test.t (added)
+++ branches/upstream/libnet-smtp-ssl-perl/current/t/test.t Sat Mar 29 23:02:28 2008
@@ -1,0 +1,2 @@
+use Test::More tests => 1;
+use_ok 'Net::SMTP::SSL';
More information about the Pkg-perl-cvs-commits
mailing list