diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-01-03 20:04:48 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-01-03 20:04:48 +0000 |
commit | 817f33bb0bbe2c5bf38370495af61c0b4a33a033 (patch) | |
tree | 2350c5d8009029080594db7031fac1d40288eb3c | |
parent | Add rubygem-abbrev 0.1.0 (diff) |
Add rubygem-net-http 0.1.1
Net::HTTP provides a rich library which can be used to build HTTP user-agents.
For more details about HTTP see RFC2616.
Net::HTTP is designed to work closely with URI. URI::HTTP#host, URI::HTTP#port
and URI::HTTP#request_uri are designed to work with Net::HTTP.
If you are only performing a few GET requests you should try OpenURI.
WWW: https://github.com/ruby/net-http
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/rubygem-net-http/Makefile | 26 | ||||
-rw-r--r-- | www/rubygem-net-http/distinfo | 3 | ||||
-rw-r--r-- | www/rubygem-net-http/pkg-descr | 9 |
4 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index f57b18658176..52a52b7e53bd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1968,6 +1968,7 @@ SUBDIR += rubygem-multipart-post SUBDIR += rubygem-nanoc SUBDIR += rubygem-nested_form + SUBDIR += rubygem-net-http SUBDIR += rubygem-net-http-digest_auth SUBDIR += rubygem-net-http-persistent SUBDIR += rubygem-net-http-persistent2 diff --git a/www/rubygem-net-http/Makefile b/www/rubygem-net-http/Makefile new file mode 100644 index 000000000000..970b5b8666d2 --- /dev/null +++ b/www/rubygem-net-http/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= net-http +PORTVERSION= 0.1.1 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP client api for Ruby + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +BROKEN_RUBY25= yes + +RUN_DEPENDS= rubygem-net-protocol>=0:net/rubygem-net-protocol \ + rubygem-uri>=0:net/rubygem-uri + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-net-http/distinfo b/www/rubygem-net-http/distinfo new file mode 100644 index 000000000000..81f5c9b9fce9 --- /dev/null +++ b/www/rubygem-net-http/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1609598835 +SHA256 (rubygem/net-http-0.1.1.gem) = 75a4e109b6f9af32fad0e98a6180c47aceb415927ca3bd70c8fc3e7dbbabbe86 +SIZE (rubygem/net-http-0.1.1.gem) = 36352 diff --git a/www/rubygem-net-http/pkg-descr b/www/rubygem-net-http/pkg-descr new file mode 100644 index 000000000000..e49b120ca77c --- /dev/null +++ b/www/rubygem-net-http/pkg-descr @@ -0,0 +1,9 @@ +Net::HTTP provides a rich library which can be used to build HTTP user-agents. +For more details about HTTP see RFC2616. + +Net::HTTP is designed to work closely with URI. URI::HTTP#host, URI::HTTP#port +and URI::HTTP#request_uri are designed to work with Net::HTTP. + +If you are only performing a few GET requests you should try OpenURI. + +WWW: https://github.com/ruby/net-http |