perl5 modules to access and use network protocols.

This commit is contained in:
James FitzGibbon 1996-10-24 08:32:22 +00:00
parent 0ccaa9e6a9
commit fb4418ff9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4115
5 changed files with 147 additions and 0 deletions

34
net/p5-Net/Makefile Normal file
View file

@ -0,0 +1,34 @@
# New ports collection makefile for: p5-Net
# Version required: 1.01
# Date created: September 30th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $Id$
#
DISTNAME= libnet-1.01
PKGNAME= p5-Net-1.01
CATEGORIES+= net
MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/Net/ \
ftp://ftp.cdrom.com/pub/perl/CPAN/modules/by-module/Net/ \
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Net/ \
ftp://ftp.leo.org/pub/comp/programming/languages/perl/CPAN/modules/by-module/Net/ \
ftp://ftp.demon.co.uk/pub/mirrors/perl/CPAN/modules/by-module/Net/ \
ftp://ftp.lab.kdd.co.jp/lang/perl/CPAN/modules/by-module/Net/
MAINTAINER= jfitz@FreeBSD.ORG
BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 \
${PREFIX}/lib/perl5/IO::Socket.pm:${PORTSDIR}/net/p5-IO
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
post-install:
.if !defined(NOMANCOMPRESS)
@ for file in Net::Time Net::DummyInetd Net::NNTP Net::SNPP Net::POP3 Net::Cmd Net::SMTP Net::Domain Net::FTP Net::Netrc Net::Telnet; do \
gzip -9nf ${PREFIX}/lib/perl5/man/man3/$$file.3; \
done
.endif
.include <bsd.port.mk>

1
net/p5-Net/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (libnet-1.01.tar.gz) = 5d45a455dea9332f5d548f20590d33b9

1
net/p5-Net/pkg-comment Normal file
View file

@ -0,0 +1 @@
perl5 modules to access and use network protocols.

87
net/p5-Net/pkg-descr Normal file
View file

@ -0,0 +1,87 @@
Contents of perl5 Net class:
Net::FTP - FTP Client class
Net::FTP is a class implementing a simple FTP client in
Perl as described in RFC959
Net::FTP provides methods that will perform various
operations. These methods could be split into groups
depending the level of interface the user requires.
Net::Time - time and daytime network client interface
Net::Time provides subroutines that obtain the time on a
remote machine.
Net::DummyInetd - A dummy Inetd server
Net::DummyInetd is just what it's name says, it is a dummy
inetd server. Creation of a Net::DummyInetd will cause a
child process to be spawned off which will listen to a
socket. When a connection arrives on this socket the
specified command is fork'd and exec'd with STDIN and
STDOUT file descriptors duplicated to the new socket.
Net::NNTP - NNTP Client class
Net::NNTP is a class implementing a simple NNTP client in
Perl as described in RFC977. Net::NNTP inherits its
communication methods from Net::Cmd
Net::SNPP - Simple Network Pager Protocol Client
This module implements a client interface to the SNPP
protocol, enabling a perl5 application to talk to SNPP
servers. This documentation assumes that you are familiar
with the SNPP protocol described in RFC1861.
Net::POP3 - Post Office Protocol 3 Client class (RFC1081)
This module implements a client interface to the POP3
protocol, enabling a perl5 application to talk to POP3
servers. This documentation assumes that you are familiar
with the POP3 protocol described in RFC1081.
Net::Cmd - Network Command class (as used by FTP, SMTP etc)
Net::Cmd is a collection of methods that can be inherited
by a sub class of IO::Handle. These methods implement the
functionality required for a command based protocol, for
example FTP and SMTP.
Net::SMTP - Simple Mail transfer Protocol Client
This module implements a client interface to the SMTP
protocol, enabling a perl5 application to talk to SMTP
servers. This documentation assumes that you are familiar
with the SMTP protocol described in RFC821.
Net::Domain - Attempt to evaluate the current host's internet name and domain
Using various methods attempt to find the Fully Qualified
Domain Name (FQDN) of the current host. From this
determine the host-name and the host-domain.
Net::Netrc - OO interface to users netrc file
Net::Netrc is a class implementing a simple interface to
the .netrc file used as by the ftp program.
Net::Telnet - Defines constants for the telnet protocol
This module is VERY preliminary as I am not 100% sure how
it should be implemented.
Currently it just exports constants used in the telnet
protocol.

24
net/p5-Net/pkg-plist Normal file
View file

@ -0,0 +1,24 @@
lib/perl5/site_perl/Net/Time.pm
lib/perl5/site_perl/Net/Domain.pm
lib/perl5/site_perl/Net/NNTP.pm
lib/perl5/site_perl/Net/DummyInetd.pm
lib/perl5/site_perl/Net/SNPP.pm
lib/perl5/site_perl/Net/FTP.pm
lib/perl5/site_perl/Net/POP3.pm
lib/perl5/site_perl/Net/Telnet.pm
lib/perl5/site_perl/Net/Netrc.pm
lib/perl5/site_perl/Net/SMTP.pm
lib/perl5/site_perl/Net/Cmd.pm
lib/perl5/man/man3/Net::Time.3.gz
lib/perl5/man/man3/Net::DummyInetd.3.gz
lib/perl5/man/man3/Net::NNTP.3.gz
lib/perl5/man/man3/Net::SNPP.3.gz
lib/perl5/man/man3/Net::POP3.3.gz
lib/perl5/man/man3/Net::SMTP.3.gz
lib/perl5/man/man3/Net::Domain.3.gz
lib/perl5/man/man3/Net::FTP.3.gz
lib/perl5/man/man3/Net::Netrc.3.gz
lib/perl5/man/man3/Net::Telnet.3.gz
lib/perl5/site_perl/i386-freebsd/auto/Net/.packlist
@dirrm lib/perl5/site_perl/i386-freebsd/auto/Net
@dirrm lib/perl5/site_perl/Net