seperated out from p5-libwww, part of p5-libwww 6.08 updates.

Ok sthen@
This commit is contained in:
nigel 2014-10-23 19:21:09 +00:00
parent c7aba5beb4
commit d0551c0bb1
4 changed files with 42 additions and 0 deletions

25
net/p5-Net-HTTP/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/23 19:21:09 nigel Exp $
COMMENT = Perl HTTP connection client
DISTNAME = Net-HTTP-6.07
CATEGORIES = net
MAINTAINER = Nigel Taylor <nigel@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
# security/p5-Crypt-SSLeay cannot verify hostnames.
# IO-Socket-SSL should be used in most cases.
RUN_DEPENDS= security/p5-IO-Socket-SSL \
www/p5-URI
BUILD_DEPENDS= ${RUN_DEPENDS}
.ifdef LIVE_TEST
CONFIGURE_ARGS +=--live-tests
.endif
.include <bsd.port.mk>

2
net/p5-Net-HTTP/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (Net-HTTP-6.07.tar.gz) = nzHgMlpaCTCtMJ+gGdqdII5X4jb7BZhnXtiDyCAkA2Q=
SIZE (Net-HTTP-6.07.tar.gz) = 16945

View File

@ -0,0 +1,4 @@
The `Net::HTTP' class is a low-level HTTP client. An instance of
the `Net::HTTP' class represents a connection to an HTTP server.
The HTTP protocol is described in RFC 2616. The `Net::HTTP' class
supports `HTTP/1.0' and `HTTP/1.1'.

11
net/p5-Net-HTTP/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/23 19:21:09 nigel Exp $
@conflict p5-libwww-<6.0
${P5SITE}/Net/
${P5SITE}/Net/HTTP/
${P5SITE}/Net/HTTP.pm
${P5SITE}/Net/HTTP/Methods.pm
${P5SITE}/Net/HTTP/NB.pm
${P5SITE}/Net/HTTPS.pm
@man man/man3p/Net::HTTP.3p
@man man/man3p/Net::HTTP::NB.3p
@man man/man3p/Net::HTTPS.3p