summaryrefslogtreecommitdiff
path: root/www/merb-param-protection
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-12 02:46:38 +0000
committertaca <taca@pkgsrc.org>2010-09-12 02:46:38 +0000
commit5bd8e580b2e5cc50aae4e315723242b4d5fce0b5 (patch)
treeca0dbaeea95613e92da16c88b53b7c073eddf2fd /www/merb-param-protection
parent366fe2cd36e667491aef404134eb96cb63bda688 (diff)
downloadpkgsrc-5bd8e580b2e5cc50aae4e315723242b4d5fce0b5.tar.gz
Update www/merb-param-protection pacakge to 1.1.3.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. * Ajust new ruby package's framework. Changes are unknown.
Diffstat (limited to 'www/merb-param-protection')
-rw-r--r--www/merb-param-protection/Makefile10
-rw-r--r--www/merb-param-protection/PLIST14
-rw-r--r--www/merb-param-protection/distinfo9
-rw-r--r--www/merb-param-protection/patches/patch-aa13
4 files changed, 18 insertions, 28 deletions
diff --git a/www/merb-param-protection/Makefile b/www/merb-param-protection/Makefile
index 3b3dcc78255..aa24eb3fa05 100644
--- a/www/merb-param-protection/Makefile
+++ b/www/merb-param-protection/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2010/09/12 02:46:38 taca Exp $
-DISTNAME= merb_param_protection-0.9.2
-PKGNAME= ${DISTNAME:S/_/-/g}
+DISTNAME= merb-param-protection-1.1.3
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.merbivore.com/
COMMENT= Merb plugin supplying methods to filter parameters
+LICENSE= mit
-DEPENDS+= merb-core>=0.9.2:../../www/merb-core
+DEPENDS+= ${RUBY_PKGPREFIX}-merb-core>=1.1.3:../../www/merb-core
-.include "../../misc/rubygems/rubygem.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/merb-param-protection/PLIST b/www/merb-param-protection/PLIST
index 86379fe2bef..36145d0b6a5 100644
--- a/www/merb-param-protection/PLIST
+++ b/www/merb-param-protection/PLIST
@@ -1,9 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:27 joerg Exp $
-${GEM_HOME}/cache/merb_param_protection-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.3 2010/09/12 02:46:38 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.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
+${GEM_LIBDIR}/lib/merb-param-protection.rb
+${GEM_LIBDIR}/lib/merb-param-protection/version.rb
+${GEM_LIBDIR}/spec/controllers/param_protection.rb
+${GEM_LIBDIR}/spec/merb_param_protection_spec.rb
+${GEM_LIBDIR}/spec/spec.opts
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/merb-param-protection/distinfo b/www/merb-param-protection/distinfo
index a2e6b19fed6..c5b76f5cc7d 100644
--- a/www/merb-param-protection/distinfo
+++ b/www/merb-param-protection/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:24:45 jlam Exp $
+$NetBSD: distinfo,v 1.2 2010/09/12 02:46:38 taca 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
+SHA1 (merb-param-protection-1.1.3.gem) = 489f5372d13bc7210f266cac2e5dd63a14523b17
+RMD160 (merb-param-protection-1.1.3.gem) = ad03f61631730e0d550188b04791889a236e7d02
+Size (merb-param-protection-1.1.3.gem) = 8192 bytes
diff --git a/www/merb-param-protection/patches/patch-aa b/www/merb-param-protection/patches/patch-aa
deleted file mode 100644
index c27a555a169..00000000000
--- a/www/merb-param-protection/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$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}/**/*")