aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 21:22:22 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 21:46:31 +0000
commit34d2d1f6564bb83293cd8f140784a59c7ad9a749 (patch)
tree4c894b3088c62608bf7eeb0907b0c47d5cbce59a /net
parent2bad89b9d2b86fdb1e833154f9ba7db2b4795376 (diff)
downloadports-34d2d1f6564bb83293cd8f140784a59c7ad9a749.tar.gz
ports-34d2d1f6564bb83293cd8f140784a59c7ad9a749.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-ipaddr/Makefile20
-rw-r--r--net/rubygem-ipaddr/distinfo3
-rw-r--r--net/rubygem-ipaddr/pkg-descr4
4 files changed, 28 insertions, 0 deletions
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 <sunpoet@FreeBSD.org>
+
+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 <bsd.port.mk>
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