Add rubygem-private_address_check 0.4.1

PrivateAddressCheck checks if a URL or hostname would cause a request to a
private network (RFC 1918). This is useful in preventing attacks like Server
Side Request Forgery.

WWW: https://github.com/jtdowney/private_address_check
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-03-12 20:31:51 +00:00
parent 1cdbfc488e
commit 6d79a68ac7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464277
4 changed files with 28 additions and 0 deletions

View File

@ -1253,6 +1253,7 @@
SUBDIR += rubygem-opennebula
SUBDIR += rubygem-packetfu
SUBDIR += rubygem-pcaprub
SUBDIR += rubygem-private_address_check
SUBDIR += rubygem-proxifier
SUBDIR += rubygem-qiniu
SUBDIR += rubygem-rabbiter

View File

@ -0,0 +1,19 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= private_address_check
PORTVERSION= 0.4.1
CATEGORIES= net rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Check address for private network (RFC 1918)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
NO_ARCH= yes
USE_RUBY= yes
USES= gem
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1520734517
SHA256 (rubygem/private_address_check-0.4.1.gem) = 29201c0e3fedfe055bb4cbc297f7be3bf685a795758e22f443412a4b9d778b8b
SIZE (rubygem/private_address_check-0.4.1.gem) = 9216

View File

@ -0,0 +1,5 @@
PrivateAddressCheck checks if a URL or hostname would cause a request to a
private network (RFC 1918). This is useful in preventing attacks like Server
Side Request Forgery.
WWW: https://github.com/jtdowney/private_address_check