From 34d2d1f6564bb83293cd8f140784a59c7ad9a749 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 26 Oct 2021 05:22:22 +0800 Subject: [PATCH] net/rubygem-ipaddr: Add rubygem-ipaddr 1.2.3 IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 are supported. WWW: https://github.com/ruby/ipaddr --- net/Makefile | 1 + net/rubygem-ipaddr/Makefile | 20 ++++++++++++++++++++ net/rubygem-ipaddr/distinfo | 3 +++ net/rubygem-ipaddr/pkg-descr | 4 ++++ 4 files changed, 28 insertions(+) create mode 100644 net/rubygem-ipaddr/Makefile create mode 100644 net/rubygem-ipaddr/distinfo create mode 100644 net/rubygem-ipaddr/pkg-descr diff --git a/net/Makefile b/net/Makefile index 8bf717e30664..215917156355 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1299,6 +1299,7 @@ SUBDIR += rubygem-http-parser SUBDIR += rubygem-http_parser.rb SUBDIR += rubygem-httpauth + SUBDIR += rubygem-ipaddr SUBDIR += rubygem-ipaddress SUBDIR += rubygem-iproto SUBDIR += rubygem-kas-grpc diff --git a/net/rubygem-ipaddr/Makefile b/net/rubygem-ipaddr/Makefile new file mode 100644 index 000000000000..e19c8e6f7fdc --- /dev/null +++ b/net/rubygem-ipaddr/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= ipaddr +PORTVERSION= 1.2.3 +CATEGORIES= net rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Set of methods to manipulate an IP address + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/net/rubygem-ipaddr/distinfo b/net/rubygem-ipaddr/distinfo new file mode 100644 index 000000000000..b2e5c5616c0c --- /dev/null +++ b/net/rubygem-ipaddr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635181003 +SHA256 (rubygem/ipaddr-1.2.3.gem) = 62957d6cbec2d42c8351eaa94dd16f79e4728bbf83d8c05e443954e8e38d4c68 +SIZE (rubygem/ipaddr-1.2.3.gem) = 11776 diff --git a/net/rubygem-ipaddr/pkg-descr b/net/rubygem-ipaddr/pkg-descr new file mode 100644 index 000000000000..9c6848912989 --- /dev/null +++ b/net/rubygem-ipaddr/pkg-descr @@ -0,0 +1,4 @@ +IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 +are supported. + +WWW: https://github.com/ruby/ipaddr