summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:24:45 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:24:45 +0000
commita3e894bb570f26e37577fe01d71223c0a1e39d45 (patch)
treedc314933a98e7f68053320a05380e5052d58f9fb /www
parentdae9510c7d22015aaa04c06d34828e098d18166a (diff)
downloadpkgsrc-a3e894bb570f26e37577fe01d71223c0a1e39d45.tar.gz
Initial import of merb-param-protection-0.9.2 as www/merb-param-protection.
This package contains a plugin for the Merb framework that exposes two new controller methods which allow one to simply and flexibly filter the parameters available within the controller.
Diffstat (limited to 'www')
-rw-r--r--www/merb-param-protection/DESCR3
-rw-r--r--www/merb-param-protection/Makefile14
-rw-r--r--www/merb-param-protection/PLIST12
-rw-r--r--www/merb-param-protection/distinfo6
-rw-r--r--www/merb-param-protection/patches/patch-aa13
5 files changed, 48 insertions, 0 deletions
diff --git a/www/merb-param-protection/DESCR b/www/merb-param-protection/DESCR
new file mode 100644
index 00000000000..1eb6ee5c934
--- /dev/null
+++ b/www/merb-param-protection/DESCR
@@ -0,0 +1,3 @@
+This package contains a plugin for the Merb framework that exposes two
+new controller methods which allow one to simply and flexibly filter
+the parameters available within the controller.
diff --git a/www/merb-param-protection/Makefile b/www/merb-param-protection/Makefile
new file mode 100644
index 00000000000..3b3dcc78255
--- /dev/null
+++ b/www/merb-param-protection/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+
+DISTNAME= merb_param_protection-0.9.2
+PKGNAME= ${DISTNAME:S/_/-/g}
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.merbivore.com/
+COMMENT= Merb plugin supplying methods to filter parameters
+
+DEPENDS+= merb-core>=0.9.2:../../www/merb-core
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/merb-param-protection/PLIST b/www/merb-param-protection/PLIST
new file mode 100644
index 00000000000..b420e920992
--- /dev/null
+++ b/www/merb-param-protection/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+${GEM_HOME}/cache/merb_param_protection-${PKGVERSION}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/TODO
+${GEM_LIBDIR}/lib/merb_param_protection.rb
+${GEM_LIBDIR}/lib/merb_param_protection/merbtasks.rb
+${GEM_HOME}/specifications/merb_param_protection-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/lib/merb_param_protection
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}
diff --git a/www/merb-param-protection/distinfo b/www/merb-param-protection/distinfo
new file mode 100644
index 00000000000..a2e6b19fed6
--- /dev/null
+++ b/www/merb-param-protection/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+
+SHA1 (merb_param_protection-0.9.2.gem) = 565895992f641e0e172ddef2ce1559d0f24d639d
+RMD160 (merb_param_protection-0.9.2.gem) = 5b0f1a4937e03a890da9def32f7546f87a2a1168
+Size (merb_param_protection-0.9.2.gem) = 6656 bytes
+SHA1 (patch-aa) = b9ba0d90dea0fbee5fe61efe5737b486ca1db4fe
diff --git a/www/merb-param-protection/patches/patch-aa b/www/merb-param-protection/patches/patch-aa
new file mode 100644
index 00000000000..c27a555a169
--- /dev/null
+++ b/www/merb-param-protection/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+
+--- Rakefile.orig 2008-03-28 23:50:52.000000000 -0400
++++ Rakefile
+@@ -21,7 +21,7 @@ spec = Gem::Specification.new do |s|
+ s.author = AUTHOR
+ s.email = EMAIL
+ #s.homepage = HOMEPAGE
+- s.add_dependency('merb', '>= 0.9.2')
++ s.add_dependency('merb-core', '>= 0.9.2')
+ s.require_path = 'lib'
+ s.autorequire = PLUGIN
+ s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")