From 15cf1874e9d3624c838915dc43c991318efef983 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 2 Jun 2000 13:45:22 +0000 Subject: [PATCH] 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. --- net/p5-libnet/Makefile | 28 ++++++++++++++++++++++++++ net/p5-libnet/files/md5 | 3 +++ net/p5-libnet/pkg/COMMENT | 1 + net/p5-libnet/pkg/DESCR | 10 ++++++++++ net/p5-libnet/pkg/PLIST.sed | 39 +++++++++++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 net/p5-libnet/Makefile create mode 100644 net/p5-libnet/files/md5 create mode 100644 net/p5-libnet/pkg/COMMENT create mode 100644 net/p5-libnet/pkg/DESCR create mode 100644 net/p5-libnet/pkg/PLIST.sed diff --git a/net/p5-libnet/Makefile b/net/p5-libnet/Makefile new file mode 100644 index 00000000000..1e44dcd8bd1 --- /dev/null +++ b/net/p5-libnet/Makefile @@ -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-libnet +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/configure-libnet ${PREFIX}/bin + +.include diff --git a/net/p5-libnet/files/md5 b/net/p5-libnet/files/md5 new file mode 100644 index 00000000000..695f77a74f4 --- /dev/null +++ b/net/p5-libnet/files/md5 @@ -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 diff --git a/net/p5-libnet/pkg/COMMENT b/net/p5-libnet/pkg/COMMENT new file mode 100644 index 00000000000..4863be01bff --- /dev/null +++ b/net/p5-libnet/pkg/COMMENT @@ -0,0 +1 @@ +basic modules for net-based perl applications diff --git a/net/p5-libnet/pkg/DESCR b/net/p5-libnet/pkg/DESCR new file mode 100644 index 00000000000..08f7d72b595 --- /dev/null +++ b/net/p5-libnet/pkg/DESCR @@ -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 + diff --git a/net/p5-libnet/pkg/PLIST.sed b/net/p5-libnet/pkg/PLIST.sed new file mode 100644 index 00000000000..4519c66b892 --- /dev/null +++ b/net/p5-libnet/pkg/PLIST.sed @@ -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