aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-06-10 08:26:24 +0800
committerswills <swills@FreeBSD.org>2013-06-10 08:26:24 +0800
commit108f0f1c6765503c5c99d9f9bb9605ecab5cce4b (patch)
tree6ed8e865eab9c68db302135f6986bfa7d2fe6625 /devel
parent98b499dc77fe90c3b9dbcc08f7875da019586a61 (diff)
downloadfreebsd-ports-gnome-108f0f1c6765503c5c99d9f9bb9605ecab5cce4b.tar.gz
freebsd-ports-gnome-108f0f1c6765503c5c99d9f9bb9605ecab5cce4b.tar.zst
freebsd-ports-gnome-108f0f1c6765503c5c99d9f9bb9605ecab5cce4b.zip
Parse YAML safely, without that pesky arbitrary object deserialization
vulnerability WWW: http://dtao.github.io/safe_yaml/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-safe_yaml/Makefile16
-rw-r--r--devel/rubygem-safe_yaml/distinfo2
-rw-r--r--devel/rubygem-safe_yaml/pkg-descr4
4 files changed, 23 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index abe01afcde80..45c10993b390 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4164,6 +4164,7 @@
SUBDIR += rubygem-rubytree
SUBDIR += rubygem-runt
SUBDIR += rubygem-ruport
+ SUBDIR += rubygem-safe_yaml
SUBDIR += rubygem-sdl
SUBDIR += rubygem-sequel
SUBDIR += rubygem-sexp_processor
diff --git a/devel/rubygem-safe_yaml/Makefile b/devel/rubygem-safe_yaml/Makefile
new file mode 100644
index 000000000000..3d060731ab6b
--- /dev/null
+++ b/devel/rubygem-safe_yaml/Makefile
@@ -0,0 +1,16 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= safe_yaml
+PORTVERSION= 0.7.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Parse YAML safely
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-safe_yaml/distinfo b/devel/rubygem-safe_yaml/distinfo
new file mode 100644
index 000000000000..2c57bfaca9c7
--- /dev/null
+++ b/devel/rubygem-safe_yaml/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/safe_yaml-0.7.0.gem) = 9ea1e64b3539e7ae544e24e998b6f5dce9a911e010b064d3f9aed358efaed68b
+SIZE (rubygem/safe_yaml-0.7.0.gem) = 14336
diff --git a/devel/rubygem-safe_yaml/pkg-descr b/devel/rubygem-safe_yaml/pkg-descr
new file mode 100644
index 000000000000..9fcd1318b8c8
--- /dev/null
+++ b/devel/rubygem-safe_yaml/pkg-descr
@@ -0,0 +1,4 @@
+Parse YAML safely, without that pesky arbitrary object deserialization
+vulnerability
+
+WWW: http://dtao.github.io/safe_yaml/