misc/ruby-sprockets22: remove package

Remove ruby-sprockets22 package which is kept for ruby-actionpack32
package.
This commit is contained in:
taca 2019-03-03 16:24:25 +00:00
parent 8847b0b149
commit 7c487d49bb
6 changed files with 0 additions and 92 deletions

View file

@ -1 +0,0 @@
bin/sprockets @PREFIX@/bin/sprockets22@RUBY_SUFFIX@

View file

@ -1,6 +0,0 @@
Sprockets: Rack-based asset packaging
Sprockets is a Ruby library for compiling and serving web assets.
It features declarative dependency management for JavaScript and CSS
assets, as well as a powerful preprocessor pipeline that allows you to
write assets in languages like CoffeeScript, Sass, SCSS and LESS.

View file

@ -1,27 +0,0 @@
# $NetBSD: Makefile,v 1.7 2018/09/08 16:59:45 taca Exp $
DISTNAME= sprockets-2.2.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/sprockets/sprockets22/}
PKGREVISION= 3
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rails/sprockets
COMMENT= Rack-based asset packaging system
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-hike1>=1.2<2:../../devel/ruby-hike1
DEPENDS+= ${RUBY_PKGPREFIX}-rack14>=1.4<2:../../www/ruby-rack14
DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.0<2:../../textproc/ruby-multi_json
DEPENDS+= ${RUBY_PKGPREFIX}-tilt1>=1.1<2:../../textproc/ruby-tilt1
OVERRIDE_GEMSPEC= :executables sprockets=sprockets22 \
:files bin/sprockets=bin/sprockets22
RUBYGEM_OPTIONS+= --format-executable
pre-configure:
${TEST} -f ${WRKSRC}/bin/sprockets22 || \
${MV} ${WRKSRC}/bin/sprockets ${WRKSRC}/bin/sprockets22
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,36 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2015/02/04 15:37:58 taca Exp $
bin/sprockets22${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/bin/sprockets22
${GEM_LIBDIR}/lib/rake/sprocketstask.rb
${GEM_LIBDIR}/lib/sprockets.rb
${GEM_LIBDIR}/lib/sprockets/asset.rb
${GEM_LIBDIR}/lib/sprockets/asset_attributes.rb
${GEM_LIBDIR}/lib/sprockets/base.rb
${GEM_LIBDIR}/lib/sprockets/bundled_asset.rb
${GEM_LIBDIR}/lib/sprockets/cache/file_store.rb
${GEM_LIBDIR}/lib/sprockets/caching.rb
${GEM_LIBDIR}/lib/sprockets/charset_normalizer.rb
${GEM_LIBDIR}/lib/sprockets/context.rb
${GEM_LIBDIR}/lib/sprockets/directive_processor.rb
${GEM_LIBDIR}/lib/sprockets/eco_template.rb
${GEM_LIBDIR}/lib/sprockets/ejs_template.rb
${GEM_LIBDIR}/lib/sprockets/engines.rb
${GEM_LIBDIR}/lib/sprockets/environment.rb
${GEM_LIBDIR}/lib/sprockets/errors.rb
${GEM_LIBDIR}/lib/sprockets/index.rb
${GEM_LIBDIR}/lib/sprockets/jst_processor.rb
${GEM_LIBDIR}/lib/sprockets/manifest.rb
${GEM_LIBDIR}/lib/sprockets/mime.rb
${GEM_LIBDIR}/lib/sprockets/processed_asset.rb
${GEM_LIBDIR}/lib/sprockets/processing.rb
${GEM_LIBDIR}/lib/sprockets/processor.rb
${GEM_LIBDIR}/lib/sprockets/safety_colons.rb
${GEM_LIBDIR}/lib/sprockets/server.rb
${GEM_LIBDIR}/lib/sprockets/static_asset.rb
${GEM_LIBDIR}/lib/sprockets/trail.rb
${GEM_LIBDIR}/lib/sprockets/utils.rb
${GEM_LIBDIR}/lib/sprockets/version.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -1,7 +0,0 @@
$NetBSD: distinfo,v 1.4 2018/09/08 16:59:45 taca Exp $
SHA1 (sprockets-2.2.3.gem) = c81e5cada0dfa45298678e57401819b13b7cb1ae
RMD160 (sprockets-2.2.3.gem) = 83647cf6b27a3474127ea3c96bfb80865c5af39d
SHA512 (sprockets-2.2.3.gem) = f4192aa296cdf5a92fd0b30e3184e1f8fda85fcdc91d6a60f309853599eea4d6cde780b930e2d2d34eeff66d5bd76b614cd24b70264c84234cf4ae9ab884ca51
Size (sprockets-2.2.3.gem) = 37376 bytes
SHA1 (patch-lib_sprockets_server.rb) = f3141893a9f2171a3692d8cbfa96339c9982c190

View file

@ -1,15 +0,0 @@
$NetBSD: patch-lib_sprockets_server.rb,v 1.1 2018/09/08 16:59:45 taca Exp $
Try to avoid CVE-2018-3760.
--- lib/sprockets/server.rb.orig 2018-06-20 01:37:23.885194827 +0000
+++ lib/sprockets/server.rb
@@ -90,7 +90,7 @@ module Sprockets
#
# http://example.org/assets/../../../etc/passwd
#
- path.include?("..") || Pathname.new(path).absolute?
+ path.include?("..") || Pathname.new(path).absolute? || path.include?("://")
end
# Returns a 403 Forbidden response tuple