summaryrefslogtreecommitdiff
path: root/net/p5-Net
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:32:22 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1996-10-24 08:32:22 +0000
commitfb4418ff9f7d20e40270f6335c04836e67165990 (patch)
treeabd047391e6aed78895cd6d0fd330545af1cd5b1 /net/p5-Net
parentUpdate for new perl5 ports. (diff)
perl5 modules to access and use network protocols.
Notes
Notes: svn path=/head/; revision=4115
Diffstat (limited to 'net/p5-Net')
-rw-r--r--net/p5-Net/Makefile34
-rw-r--r--net/p5-Net/distinfo1
-rw-r--r--net/p5-Net/pkg-comment1
-rw-r--r--net/p5-Net/pkg-descr87
-rw-r--r--net/p5-Net/pkg-plist24
5 files changed, 147 insertions, 0 deletions
diff --git a/net/p5-Net/Makefile b/net/p5-Net/Makefile
new file mode 100644
index 000000000000..a77d7b9d42a2
--- /dev/null
+++ b/net/p5-Net/Makefile
@@ -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>
diff --git a/net/p5-Net/distinfo b/net/p5-Net/distinfo
new file mode 100644
index 000000000000..2cb16fd4fe6f
--- /dev/null
+++ b/net/p5-Net/distinfo
@@ -0,0 +1 @@
+MD5 (libnet-1.01.tar.gz) = 5d45a455dea9332f5d548f20590d33b9
diff --git a/net/p5-Net/pkg-comment b/net/p5-Net/pkg-comment
new file mode 100644
index 000000000000..e3c94c156bf0
--- /dev/null
+++ b/net/p5-Net/pkg-comment
@@ -0,0 +1 @@
+perl5 modules to access and use network protocols.
diff --git a/net/p5-Net/pkg-descr b/net/p5-Net/pkg-descr
new file mode 100644
index 000000000000..a8adebcf9e60
--- /dev/null
+++ b/net/p5-Net/pkg-descr
@@ -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.
+
diff --git a/net/p5-Net/pkg-plist b/net/p5-Net/pkg-plist
new file mode 100644
index 000000000000..6ffe6b497940
--- /dev/null
+++ b/net/p5-Net/pkg-plist
@@ -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