Import ruby-rack-ssl 1.3.2, a Rails 3.1 dependency

Force SSL/TLS in your rack app:

    Redirects all "http" requests to "https"
    Set Strict-Transport-Security header
    Flag all cookies as "secure"

OK claudio@
This commit is contained in:
jeremy 2011-12-13 17:39:09 +00:00
parent 9b45481379
commit 6e4e07b985
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/13 17:39:09 jeremy Exp $
COMMENT = force SSL/TLS in your rack app
DISTNAME = rack-ssl-1.3.2
CATEGORIES = www
HOMEPAGE = https://github.com/josh/rack-ssl
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = www/ruby-rack,${MODRUBY_FLAVOR}
CONFIGURE_STYLE = ruby gem
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (rack-ssl-1.3.2.gem) = RdoiM7dYCvV/vpy+y1TjaQ==
RMD160 (rack-ssl-1.3.2.gem) = hEKTiqMrDgXFCNb4PNImQ44kPGw=
SHA1 (rack-ssl-1.3.2.gem) = sNTajt2eVrAhZsrJRMBaKgu1wLk=
SHA256 (rack-ssl-1.3.2.gem) = NvMEZd5tkotjPIUfhLBBVHJ3FF22rB3qfBGXxIp1N8E=
SIZE (rack-ssl-1.3.2.gem) = 5120

View File

@ -0,0 +1,5 @@
Force SSL/TLS in your rack app:
Redirects all "http" requests to "https"
Set Strict-Transport-Security header
Flag all cookies as "secure"

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/12/13 17:39:09 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/LICENSE
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/rack/
${GEM_LIB}/gems/${DISTNAME}/lib/rack/ssl.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec