6d79a68ac7
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
19 lines
357 B
Makefile
19 lines
357 B
Makefile
# 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>
|