Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 10:14:08 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443421 - in head/security: . rubygem-securecompare
Message-ID:  <201706121014.v5CAE8VV011820@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Mon Jun 12 10:14:08 2017
New Revision: 443421
URL: https://svnweb.freebsd.org/changeset/ports/443421

Log:
  New port: security/rubygem-securecompare
  
  securecompare borrows the secure_compare private method from
  ActiveSupport::MessageVerifier which lets you do safely compare strings without
  being vulnerable to timing attacks. Useful for Basic HTTP Authentication in your
  rack/rails application.
  
  WWW: https://github.com/samuelkadolph/securecompare

Added:
  head/security/rubygem-securecompare/
  head/security/rubygem-securecompare/Makefile   (contents, props changed)
  head/security/rubygem-securecompare/distinfo   (contents, props changed)
  head/security/rubygem-securecompare/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Mon Jun 12 10:06:14 2017	(r443420)
+++ head/security/Makefile	Mon Jun 12 10:14:08 2017	(r443421)
@@ -1076,6 +1076,7 @@
     SUBDIR += rubygem-ruby-rc4
     SUBDIR += rubygem-ruby-saml
     SUBDIR += rubygem-scrypt
+    SUBDIR += rubygem-securecompare
     SUBDIR += rubygem-signet
     SUBDIR += rubygem-six
     SUBDIR += rubygem-sshkey

Added: head/security/rubygem-securecompare/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-securecompare/Makefile	Mon Jun 12 10:14:08 2017	(r443421)
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME=	securecompare
+PORTVERSION=	1.0.0
+CATEGORIES=	security rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Constant time string comparison
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+NO_ARCH=	yes
+USE_RUBY=	yes
+USES=		gem
+
+.include <bsd.port.mk>

Added: head/security/rubygem-securecompare/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-securecompare/distinfo	Mon Jun 12 10:14:08 2017	(r443421)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1497262188
+SHA256 (rubygem/securecompare-1.0.0.gem) = cb0c6599deaaedf6d28f8d88538b06e7198c4826b1b8edb1dbeb44a2162fc62b
+SIZE (rubygem/securecompare-1.0.0.gem) = 6656

Added: head/security/rubygem-securecompare/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-securecompare/pkg-descr	Mon Jun 12 10:14:08 2017	(r443421)
@@ -0,0 +1,6 @@
+securecompare borrows the secure_compare private method from
+ActiveSupport::MessageVerifier which lets you do safely compare strings without
+being vulnerable to timing attacks. Useful for Basic HTTP Authentication in your
+rack/rails application.
+
+WWW: https://github.com/samuelkadolph/securecompare



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706121014.v5CAE8VV011820>