Import the basic perl5 libnet.

This port needs configuration, but we counter IS_INTERACTIVE by bundling
the Configure script, since configuration can be altered after
installation.

We also let the user decide when he wants to alter that configuration, 
since other modules may depend on it.
This commit is contained in:
espie 2000-06-02 13:45:22 +00:00
parent c18b0836f7
commit 15cf1874e9
5 changed files with 81 additions and 0 deletions

28
net/p5-libnet/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/06/02 13:45:22 espie Exp $
DISTNAME= libnet-1.0703
PKGNAME= p5-libnet-1.0703
CATEGORIES= net perl5
NEED_VERSION= 1.290
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
MAINTAINER= espie@openbsd.org
# Artistic licence
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
pre-configure:
@cd ${WRKSRC} && perl ./Configure -d
post-build:
@cd ${WRKSRC} && \
sed -e 1s,/usr/local/bin/perl,/usr/bin/perl, <Configure >configure-libnet
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/configure-libnet ${PREFIX}/bin
.include <bsd.port.mk>

3
net/p5-libnet/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (libnet-1.0703.tar.gz) = 78dc0672a735756ec3c2bba15498cfa0
RMD160 (libnet-1.0703.tar.gz) = 92e1ba8fb50e101bc8c4be21e7275b582daf059c
SHA1 (libnet-1.0703.tar.gz) = ec1fe8058105f230ee89738b1fdc7443e458d971

View File

@ -0,0 +1 @@
basic modules for net-based perl applications

10
net/p5-libnet/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
LibNet implements the following interfaces:
Net::FTP RFC959 File Transfer Protocol
Net::SMTP RFC821 Simple Mail Transfer Protocol
Net::Time RFC867 Daytime Protocol
Net::Time RFC868 Time Protocol
Net::NNTP RFC977 Network News Transfer Protocol
Net::POP3 RFC1939 Post Office Protocol 3
Net::SNPP RFC1861 Simple Network Pager Protocol

View File

@ -0,0 +1,39 @@
@comment $OpenBSD: PLIST.sed,v 1.1.1.1 2000/06/02 13:45:22 espie Exp $
libdata/perl5/site_perl/Net/Cmd.pm
libdata/perl5/site_perl/Net/Config.pm
libdata/perl5/site_perl/Net/Domain.pm
libdata/perl5/site_perl/Net/DummyInetd.pm
libdata/perl5/site_perl/Net/FTP.pm
libdata/perl5/site_perl/Net/FTP/A.pm
libdata/perl5/site_perl/Net/FTP/E.pm
libdata/perl5/site_perl/Net/FTP/I.pm
libdata/perl5/site_perl/Net/FTP/L.pm
libdata/perl5/site_perl/Net/FTP/dataconn.pm
libdata/perl5/site_perl/Net/NNTP.pm
libdata/perl5/site_perl/Net/Netrc.pm
libdata/perl5/site_perl/Net/PH.pm
libdata/perl5/site_perl/Net/POP3.pm
libdata/perl5/site_perl/Net/SMTP.pm
libdata/perl5/site_perl/Net/SNPP.pm
libdata/perl5/site_perl/Net/Time.pm
bin/configure-libnet
@comment no checksum
libdata/perl5/site_perl/Net/libnet.cfg
@exec echo "Finish configuring p5-libnet by using 'configure-libnet -o %D/%F'"
libdata/perl5/site_perl/Net/libnetFAQ.pod
libdata/perl5/site_perl/@ARCH@-openbsd/auto/Net/.packlist
man/man3/Net::Cmd.3p
man/man3/Net::Domain.3p
man/man3/Net::DummyInetd.3p
man/man3/Net::FTP.3p
man/man3/Net::NNTP.3p
man/man3/Net::Netrc.3p
man/man3/Net::PH.3p
man/man3/Net::POP3.3p
man/man3/Net::SMTP.3p
man/man3/Net::SNPP.3p
man/man3/Net::Time.3p
man/man3/Net::libnetFAQ.3p
@dirrm libdata/perl5/site_perl/@ARCH@-openbsd/auto/Net
@dirrm libdata/perl5/site_perl/Net/FTP
@dirrm libdata/perl5/site_perl/Net